I'm using ffprobe right now but I don't if it supports showing whether the video contains b-frames and what could be the syntax. Can I do this with ffprobe and so, how, or is there any other free alternative that could do this?

  • You seem to have misunderstood the question. I'm not asking for a shopping recommendation, but for a way to check if an h264 video contains b-frames. – Asik Apr 8 '13 at 21:48
  • 1
    software recommendation is the same thing as a shopping recommendation. Take a look at this meta post for more info. – James Mertz Apr 8 '13 at 21:58
  • According to that meta post, this question is exactly how you should ask for something that may require a software recommendation. – Asik Apr 9 '13 at 1:30
  • I've edited your question to be more about the technology, than a software rec. Feel free to rollback if you disagree, however IMO your original edit was more about asking for a "tool" to do the work, instead of asking how to do something. – James Mertz Apr 9 '13 at 2:18

I found a way. With ffprobe:

ffprobe -show_frames videofilename.mp4 > outputfile.txt

Then you just look for the pict_type entries, which will be either I, P, or B. B denotes a b-frame.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.