Re: Optimizing Gstreamer pipeline

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
gstreamer-embedded mailing list
gstreamer-embedded@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded

[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux