Reputation: 397
I am checking a video file using ffprobe to findout if a video file has any b_frames or not, i can see ffprobe output shows “has_b_frames=0
" , “has_b_frames=1
" and “has_b_frames=2
" when i check for different video files.
index=0
codec_name=h264
codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
profile=Main
codec_type=video
codec_time_base=1001/60000
codec_tag_string=avc1
codec_tag=0x31637661
width=1080
height=1920
coded_width=1088
coded_height=1920
has_b_frames=1
“has_b_frames=0" means there are no B frames present in video file ?
can someone tell me what these values indicates,
Upvotes: 4
Views: 4346
Reputation: 93028
has_b_franes
in general indicates whether there's video delay i.e. is the frame presented in same order as decoding. The actual attribute being referenced depends on the specific bitstream format. For H264, it's the maximum expected delay, in frames, between when a frame is decoded and its presentation. For other codecs, it may reveal if there's some delay, but not how much.
Upvotes: 4