Optimizing Gstreamer pipeline

Sebastian Dröge sebastian at centricular.com
Mon Dec 14 00:33:31 PST 2015


On Sa, 2015-12-12 at 15:34 +0530, Shyamjith K V wrote:
> I am trying to play a full HD(1080p) mp4 video using gst-launch-0.10
> in imxq-sabreauto board ,using the following pipleline

The first thing to try would be to use a GStreamer version that is not
more than 3 years old. Try using 1.6.1 and the Freescale GStreamer
plugin from https://github.com/Freescale/gstreamer-imx/

1.x is more optimized for hardware specific elements and especially
embedded platforms.

>     gst-launch-0.10 -q filesrc location=/imx-video/birds1080.mp4
> typefind=true ! aiurdemux name=demux demux. ! queue max-size-
> buffers=0 max-size-time=0 ! vpudec ! mfw_v4lsink demux. ! queue max-
> size-buffers=0 max-size-time=0 ! beepdec ! audioconvert ! 'audio/x-
> raw-int, channels=2' ! alsasink
> 
> 
> But it takes more than 2 seconds to display the video on HDMI screen
> after running the command.
> 1. Is there any kind of optimization possible in the above pipe line?
> so that it can launch the video faster.

You should try to run a profiler on this to see where all the work is
done during those 2 seconds.

> 2.How to disable the the logs and debug messages from gstreamer? i
> have tried with '-q' option but no use.

You can compile GStreamer with --disable-gst-debug to disable
everything. But I wouldn't recommend that during development as you'll
have a hard time debugging anything then. Only do that for production
later, and most likely you also won't have the debugging subsystem show
up in your profiler logs.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20151214/4045762e/attachment.sig>


More information about the gstreamer-embedded mailing list