Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
    
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. –  KronoS 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. –  KronoS Apr 9 '13 at 2:18
add comment

1 Answer

up vote 2 down vote accepted

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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