8

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?

Asik
  • 349
  • 2
  • 9
  • 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 08 '13 at 21:48
  • 1
    software recommendation is the same thing as a shopping recommendation. Take a look at [this meta post](http://meta.superuser.com/questions/5372/how-do-i-ask-a-question-that-may-require-recommending-software) for more info. – James Mertz Apr 08 '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 09 '13 at 01: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 09 '13 at 02:18

1 Answers1

14

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.

Asik
  • 349
  • 2
  • 9