How to optimize the performance of gstreamer

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to optimize the performance of gstreamer

yangsb
I am using gstreamer as a rtsp client on my arm-based board.
My pipeline is as simple as the following :
#################
gst-launch-0.10 --gst-debug=0 \
rtspsrc location=rtsp://192.168.1.55:554/55mbps.mp4 latency=20000 name=s ! \
rtph264depay ! \
TIViddec engineName=decode codecName=h264dec ! \
TIDmaiVideoSink displayStd=fbdev displayDevice=/dev/fb/3 \
videoStd=D1_NTSC videoOutput=COMPOSITE \
resizer=FALSE accelFrameCopy=TRUE sync=0 s. ! rtpmp4gdepay ! TIAuddec engineName=decode codecName=aachedec ! osssink sync=0
#################
When the video bitrate is low , the gstreamer works fine .
However , when the video bitrate is high , for example , 5Mbps for 720x480 sized video ,
I found that the arm load is nearly 99% , and may lose some video frames .
I tried to add -O3 options for the gcc , things becomes better , but may still lose some frames.
Is there anyother way to optimize the performance of the gstreamer ?  


Thanks .
Best regards.
Reply | Threaded
Open this post in threaded view
|

Re: How to optimize the performance of gstreamer

Simon Holm Thøgersen
tor, 14 05 2009 kl. 03:05 -0700, skrev yangsb:

> I am using gstreamer as a rtsp client on my arm-based board.
> My pipeline is as simple as the following :
> #################
> gst-launch-0.10 --gst-debug=0 \
> rtspsrc location=rtsp://192.168.1.55:554/55mbps.mp4 latency=20000 name=s ! \
> rtph264depay ! \
> TIViddec engineName=decode codecName=h264dec ! \
> TIDmaiVideoSink displayStd=fbdev displayDevice=/dev/fb/3 \
> videoStd=D1_NTSC videoOutput=COMPOSITE \
> resizer=FALSE accelFrameCopy=TRUE sync=0 s. ! rtpmp4gdepay ! TIAuddec
> engineName=decode codecName=aachedec ! osssink sync=0
> #################
> When the video bitrate is low , the gstreamer works fine .
> However , when the video bitrate is high , for example , 5Mbps for 720x480
> sized video ,
> I found that the arm load is nearly 99% , and may lose some video frames .
> I tried to add -O3 options for the gcc , things becomes better , but may
> still lose some frames.
> Is there anyother way to optimize the performance of the gstreamer ?  

A good starting point would be to profile your application to see where
the majority of cpu time is used. Post the profile here and we can
probably find some places to tweak.


Simon Holm Thøgersen


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel