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 run both H.264 and JPEG encoder in GStreamer?

I want to feed both from a v4l2 source, but they seem to disagree on YUV pixel formats...

In my connect experiments, the H.264 encoder in the TIVidenc1 element seems to accept only NV12, the JPEG encoder in the TIImgenc1 element seems to accept only UYVY.

Is there a solution?

 

Thanks,

Jörg

  • Think about getting the JPEG's from the KEY-FRAMES of the H264

    This way you preserve also the encoding resources...

    Amir

     

  • JPEG and H.264 intra frames are completely different in coding and algorithm.

    Returning to my question, I meanwhile found the following:

    http://e2e.ti.com/support/embedded/f/356/p/40743/141964.aspx#141964

    So "down at the metal" it seems possible to use both. Some unknown to me layer, no idea what they're talking about...  ;-)

    Could this solve my GStreamer case, and how?

    Also I'm doomed because no common pixel format for both encoders seems to be allowed. In this documentation:

    http://processors.wiki.ti.com/index.php/DM365_Codecs_FAQ#Can_H.264_and_Mpeg.2FJpeg_run_concurrently_as_they_use_different_accelerators.3F

    I found that they should both be able to work with YUV420. But perhaps this capability is not wired all the way up. The JPEG encoder refuses such a connection.

     

    Thank you,

    Jörg