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.

How to reduce H264 encode/decode latency

Hi Champs,

 I want to use Slice based encoding for my video streaming project. Project based on Panda5 platform (SW: http://omapedia.org/wiki/Panda5AJ.1.5_Release_Notes and It uses H.264 Encoder 2.0 on HDVICP2 ). How can I enable the Slice encoding feature in this ?

 In our setup, we also find some substantial latency in video decoding also. We need to reduce the video encode/decode latency to less than 100ms. Please provide some techniques on how to reduce the latency on both sides ?

Thanks & Regards,

Hari

  • Hi Hari,

    Both H264 encoder and decoder support low-latency based processing. 

    Please go through the Appendix of the UserGuide provided with the codec package you received.

    What is the frame-work you are using? It is is OMX, it will be very complex to support slice based processing, since for each buffer application has to provide a buffer to component.

  • Hi Ramprasad,

     Thanks for the reply. I am using OMX framework only. I am referring to H.264 encoder datasheet. But don't know how to implement this in application side, is there any reference model available ? please provide some pointers ?

      I have question for slice based decoder that,  is it able to decode any encoded inputs or only the slice based encoded inputs ?

    Regards,

    Hareesh

  • Hi Hareesh,

    Refer Appendix G of H264 encoder userGuide H264_Encoder_HDVICP2_UserGuide.pdf for the details of how to configure encoder for slice based encoding and sending slice by slice to RTP.

    Similarly for decoder, refer Appendix I of H264_Decoder_HDVICP2_UserGuide.pdf. Decoder will support both single slice or multi-slice decoding.

    Go through these chapters first.