Hi,

I'm trying to verify that the keyframes of videos we are using are properly
aligned.  I've found ffprobe to extract the some info but I'm not sure what
data I should be comparing.

This is so that we can do some adaptive bitrate switching using an SMIL
file for RTMP, HLS and eventually MPEG-DASH.  I've been reading that they
keyframes should be a constant 3 seconds apart.  Hopefully someone has some
experience in this.

[FRAME]

media_type=video

key_frame=1

pkt_pts=0

pkt_pts_time=0.000000

pkt_dts=0

pkt_dts_time=0.000000

best_effort_timestamp=0

best_effort_timestamp_time=0.000000

pkt_duration=100

pkt_duration_time=0.033333

pkt_pos=48

pkt_size=2950

width=1280

height=720

pix_fmt=yuv420p

sample_aspect_ratio=N/A

pict_type=I

coded_picture_number=0

display_picture_number=0

interlaced_frame=0

top_field_first=0

repeat_pict=0

[/FRAME]

[FRAME]

media_type=video

key_frame=0

pkt_pts=100

pkt_pts_time=0.033333

pkt_dts=100

pkt_dts_time=0.033333

best_effort_timestamp=100

best_effort_timestamp_time=0.033333

pkt_duration=100

pkt_duration_time=0.033333

pkt_pos=3136

pkt_size=140

width=1280

height=720

pix_fmt=yuv420p

sample_aspect_ratio=N/A

pict_type=B

coded_picture_number=2

display_picture_number=0

interlaced_frame=0

top_field_first=0

repeat_pict=0

[/FRAME]

[FRAME]

media_type=video

key_frame=0

pkt_pts=200

pkt_pts_time=0.066667

pkt_dts=200

pkt_dts_time=0.066667

best_effort_timestamp=200

best_effort_timestamp_time=0.066667

pkt_duration=100

pkt_duration_time=0.033333

pkt_pos=2998

pkt_size=138

width=1280

height=720

pix_fmt=yuv420p

sample_aspect_ratio=N/A

pict_type=P

coded_picture_number=1

display_picture_number=0

interlaced_frame=0

top_field_first=0

repeat_pict=0

[/FRAME]

[FRAME]

media_type=video

key_frame=0

pkt_pts=300

pkt_pts_time=0.100000

pkt_dts=300

pkt_dts_time=0.100000

best_effort_timestamp=300

best_effort_timestamp_time=0.100000

pkt_duration=100

pkt_duration_time=0.033333

pkt_pos=3414

pkt_size=140

width=1280

height=720

pix_fmt=yuv420p

sample_aspect_ratio=N/A

pict_type=B

coded_picture_number=4

display_picture_number=0

interlaced_frame=0

top_field_first=0

repeat_pict=0

[/FRAME]
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to