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.

AM62A7-Q1: Seeking Help for setting parameters of v4l2h264enc Node

Part Number: AM62A7-Q1

Hello TI experts,

I am currently facing an issue with my pipeline setup and would appreciate some guidance. I attempted to use the pipeline to obtain an H264 stream. We are currently using SDK8.6.

However, from v4l2h264enc, only the first frame is a keyframe (I-frame) with the format 00 00 00 01 67, while the subsequent frames are keyframes with the format 00 00 00 01 65.

I tried adding extra-controls="controls, prepend_sps_and_pps_to_idr=(int)1;" to v4l2h264enc, but it seems not to have taken effect. Does SDK8.6 support this extra-controls?

I have seen some posts describing extra-controls in the following format:

v4l2h264enc extra-controls="enc,prepend_sps_and_pps_to_idr=1,video_gop_size=5"

I tried this approach, but it didn't work either. How can I correctly pass parameters to v4l2h264enc? Also, where can I find information about what parameters need to be passed to extra-controls ? 

Any insights or suggestions would be greatly appreciated!

Thank you

  • Hi Yan,

    The extra-controls got added post 9.0 SDK, so try and test with the latest software. Verify with 9.1 SDK and provide us the logs if it fails still along with the pipeline you are trying to test.

    Also, 9.2 SDK release is planned for 1st week of April. 

    Best Regards,

    Suren