I have been learning ffmepg for a couple of days. I'm struggling to understand how pts or dts works.
This is the command I entered
ffprobe -show_entries packet -read_intervals 10%+#3 Input
Stream #0:0: Video: h264 (High 10), yuv420p10le(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Metadata:
DURATION : 00:02:00.203000000
Stream #0:1: Audio: flac, 48000 Hz, stereo, s16 (default)
Metadata:
DURATION : 00:02:00.062000000
[PACKET]
codec_type=video
stream_index=0
pts=6506
pts_time=6.506000
dts=N/A
dts_time=N/A
duration=41
duration_time=0.041000
convergence_duration=N/A
convergence_duration_time=N/A
size=205369
pos=9510964
flags=K_
[/PACKET]
I guess duration_time 0.041000 means the frame last(show) for 0.041 second.
I don't know how to interpret this 'pts_time' as normal time like minutes and seconds( e.g 1 min 3 second )
I set the intervals 10%+=3, which means 3 packets after 10 seconds. I can't find the relation between 10 second and pts_time=6.506000