Hi
I'm trying to get my beagle-Xm board to send SPS/PPS headers and IDR frame for instance every 30 frames, but so far I'm not successful. Looking at other forum posts I leaned about a idrFrameInterval variable to use but I'm don't see this variable in the codecs-omap3530_4_00_00_00 package I have.
So I went for the other approach this was using the ForceFrame = IVIDEO_IDR_FRAME setting this is done as described in following forum post http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/100/t/7826.aspx
The generation of the SPS/PPS headers is OK but when I issue the VIDENC1_control() after seting forceFrame to IDR this control returns -1 error.
Does anyone know how to influence generation of IDR frames using the omap3530 codecs package?
Thanks,
Rudger.
The deal with IDR versus I frames in h264 is that while both have all blocks coded as intra (i.e. you can decode them independently), IDR's are always seekable but I's generally aren't. While all IDR-frames are I-frames, not all I-frames are IDR-frames. An IDR-frame starts a new GOP and frames after it cannot reference frames before it. A normal I-frame on the other hand can have P- or B-frames after the I-frame referencing frames before the I-frame, so you can't just start decoding from the I-frame, you need to go back to the previous IDR.