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.

AM5728: GStreamer H.264 decode speed

Part Number: AM5728

Hello,

Is there a way to decode my input file faster than the Input framerate? I want to check the IVAHD for performance and see how fast I can decode a 1080p H264 stream.
Ideally I'd want to write to a filesink. The command I've tried so far was:

gst-launch-1.0 -v filesrc Location=bbb_sunflower_1080p_60fps_normal.mp4 ! qtdemux ! h264parse ! ducatih264dec ! filesink Location=/run/media/mmcblk0p3/test sync=FALSE

Setting sync to FALSE didn't help.

Best Regards
Raymond

  • Hi,

    The software team have been notified. They will respond here.
  • Hello,

    What you mean sync=false does not help?
    When sync is FALSE, incoming samples will be played as fast as possible.
    What is the input fps and resolution and what you observe on the output?

    You could try to decode h264 elementary stream.

    BR
    Margarita
  • Hello,

    If your input is 1920x1080@60 please check this thread(rogerio's answer):
    e2e.ti.com/.../1903578

    BR
    Margarita
  • Hey,

    Margarita Gashova said:
    What you mean sync=false does not help?


    it seems that there was another problem with my filesink resulting in a much longer decoding time.

    Tried the same thing with a fakesink using sync=false and got noticably better results.

    Margarita Gashova said:
    What is the input fps and resolution and what you observe on the output?


    The input file is 1080p@60FPS (video length is ~10 Minutes, 38040 Frames). When using the pipeline described in my original post it took much longer than the 10 minutes of the original video (cancelled it at 18min).

    Using a pipeline with a fakesink took 00:08:31, noticably faster than 60 FPS (around 74 FPS). As far as testing the maximum performance goes I'd mark this thread as resolved.

    gst-launch-1.0 -v filesrc location=bbb_sunflower_1080p_60fps_normal.mp4 ! gqtdemux ! h264parse ! ducatih264dec ! fakesink sync=false

    Thanks for your fast response!

    Best Regards
    Raymond