Log in

View Full Version : max reference frame number


ranchu
25th April 2015, 16:37
Hi,

I am trying to understand the "max reference frame number" associated with h.264 frame. I see in analyzer that the following h.264 raw video contain no b-frames while "max reference frame number" is 2.
I don't understand how is it that there are no b-frames if "max reference number" is 2.
https://drive.google.com/file/d/0B22GsWueReZTYWtpYU9mcVFoRm8/view?usp=sharing

Does anyone understand this ?

Regards,
Ran

foxyshadis
27th April 2015, 03:03
One of the most basic parts of H.264 is that any previously coded frame can be a reference, up to a maximum of 16. What don't you understand?

kuchikirukia
4th May 2015, 19:43
Did you set it to use b-frames > 0?

ndjamena
5th May 2015, 02:58
B-frames are just like p-frames except they use future frames as references as well as past ones. If you don't want the frames to be decoded out of order, you disable b-frames and all predictive frames become p-frames which only reference past frames.

It's not rocket science:

http://en.wikipedia.org/wiki/Inter_frame#B-frame