This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

capture_encode: How to get SPS/PPS H264 parameters generated more frequently?

Hello,

We've been streaming some H264 content which has been previously captured via the capture_encode demo [EZSDK 5.02].

We're using VLC on a PC as a sanity check on the content. When we start the VLC client first we can view the streamed file with

no problems. When we attempt to start the viewing of the stream "mid-stream", VLC keeps conplaining that it's not seeing/getting

the SPS/PPS parameters.

I poked around and found that the NALU settings are visible via OpenMax/OMX interfaces and made changes to the capture_encode

demo app to setup the H264 encoder NALU settings on the 5 "position" masks to include SPS/PPS on the START, END, INTRA, NON-INTRA,

and IDR positions (i.e., flipped bit positions 7 and 8 on each mask to 1).

Despite all this, VLC is still complaining that it's not seeing the SPS/PPS parameters when we attempt to "catch" the stream after it's

already started.

We're only seeing this problem with the 8168 OpenMax H264 encoder.

QUESTION #1: Are the OpenMax APIs for setting NALU actually working or is it a placeholder for future functionality?

QUESTION #2: Should we be using another technique to request more frequent SPS/PPS NALUs out of the H264 encoder?

QUESTION #3: Any known issues with this functionality?

Thanks.

Juan Solis