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.

Hardware accelerated video performance

Hi,

I'm using ducati codecs and SGX based videosink on a non-debian based distribution. I followed the steps provided at  http://e2e.ti.com/support/omap/f/849/p/249986/875729.aspx#875729 .

The video performance doesn't seem to be great. The framerate is lesser than the actual framerate. Are the gst ducati plugins and the codecs provided at  https://launchpad.net/~tiomap-dev/+archive/release/  optimized enough for a decent performance? Am i missing out on something?

Thanks in advance,

Carol

  • Carol,

    Yes, gst-ducati and ducati codecs are optimized enough for either 1080p decode or simultaneous 720P encode and decode.

    However, since you have rebuilt all from scratch on a non-debian distribution, it is easy to overlook a step. When HW decode (gst-ducati) is not functional, decodebin and playbin2 will fallback to SW decode (gst-ffmpeg), with a subpar performance (10 fps or so).

    To double-check that HW codecs are functional, you may run:

    DISPLAY=:0 GST_DEBUG=*:2 gst-launch-0.10 -ev videotestsrc horizontal-speed=4 ! "video/x-raw-yuv, format=(fourcc)NV12, width=1280, height=720, framerate=25/1" ! queue ! ducatih264enc ! ducatih264dec ! queue ! fpsdisplaysink video-sink="dri2videosink" sync=true text-overlay=false signal-fps-measurements=true

    For this 720P enc/dec, the traces should show 25 fps:

    /GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = "rendered: 412, dropped: 5, current: 25.00, average: 24.98"

    Regards,
    -- Olivier

  • Hi Olivier,

    Thank you so much.

    Regards,

    Carol