gst-omx on Tegra 3

Sebastian Dröge sebastian at centricular.com
Tue Feb 25 11:03:50 PST 2014


On Di, 2014-02-25 at 19:45 +0100, Erwin Rol wrote:
> Hey all,
> 
> I have some problems getting gst-omx for Tegra 3 to work acceptably fast.
> 
> With the following pipeline I tested the speed;
> 
> gst-launch-1.0 filesrc
> location=/ads/data/current/movies/sintel_trailer-720p.mp4 ! qtdemux !
> h264parse ! omxh264dec ! progressreport ! fakesink
> [...]
> The CPU load seems to be really high for some unidentified thread;
> [...]
> Any idea what I am doing wrong? The decoding really seems to be done in
> hardware since apart from the omx h264 decoder there is no other h264
> decoder on this system. So I am a bit surprised by the high CPU load,
> and the poor performance.

So as this thread got no name it is most likely a thread created not by
GStreamer. You should check e.g. with gdb which threads are running and
what they are doing. Maybe it's a thread running by the OpenMAX IL
implementation of NVIDIA, and it's doing stuff because the decoder was
not configured correctly. But without understanding what this thread is
doing at all this is just guessing.

Running inside a profiler should also help you to find the place where
all the CPU is spent.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- 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-openmax/attachments/20140225/5022fd3e/attachment.pgp>


More information about the gstreamer-openmax mailing list