Help on execution speed and optimization in gst-launch.

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

Help on execution speed and optimization in gst-launch.

arasu
Hi All,
We are using gst-plugins-bad-0.10.13,gst-plugins-base-0.10.23,gst-plugins-good-0.10.14.
we are using pipeline below mentioned

gst-launch rtspsrc location=rtsp://192.168.1.223/mpeg4 latency=100
name=demux demux. ! queue ! rtpmp4vdepay ! mpeg4videoparse !
dmaidec_mpeg4 ! TIDmaiVideoSink videoOutput=LCD videoStd=320X240
demux. ! queue ! rtppcmudepay ! mulawdec ! alsasink


  gst-launch application takes 3-4 second for displaying video on Output device(LCD).
Please suggest me is their any way to optimize the execution time.


Regards,
Arasu.M


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Help on execution speed and optimization in gst-launch.

Marco Ballesio
Hi,

On Thu, Oct 21, 2010 at 5:31 PM, tamil arasu <[hidden email]> wrote:
Hi All,
We are using gst-plugins-bad-0.10.13,gst-plugins-base-0.10.23,gst-plugins-good-0.10.14.
we are using pipeline below mentioned

gst-launch rtspsrc location=rtsp://192.168.1.223/mpeg4 latency=100
name=demux demux. ! queue ! rtpmp4vdepay ! mpeg4videoparse !
dmaidec_mpeg4 ! TIDmaiVideoSink videoOutput=LCD videoStd=320X240
demux. ! queue ! rtppcmudepay ! mulawdec ! alsasink


  gst-launch application takes 3-4 second for displaying video on Output device(LCD).
Please suggest me is their any way to optimize the execution time.

The version at HEAD should contain a few optimisations good to reduce the set-up latencies. Unfortunately, I don't think your system will ever be able to get anything better than 2 seconds, mainly because of this:

https://gstreamer.ti.com/gf/project/gstreamer_ti/forum/?_forum_action=ForumMessageBrowse&thread_id=3676&action=ForumBrowse&forum_id=187

I would suggest you to try with gst-dsp.

Regards
 


Regards,
Arasu.M


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Help on execution speed and optimization ingst-launch.

Gruenke, Matt

From the link:

 

> The only way to really improve on this behavior is to parse the encoded H.264 stream and

> pass the codec one frame at a time.  The codec should be ok if you give it less data than

> the minimum it reported, as long as you guarantee that you are giving it a full encoded frame.

 

 

I see that you’ve already got mpeg4videoparse in your pipeline.  Sounds like all you need to do is somehow tell it that you’re giving it full frames.

 

 

Matt

 

 


From: Marco Ballesio [mailto:[hidden email]]
Sent: Thursday, October 21, 2010 14:13
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] Help on execution speed and optimization ingst-launch.

 

Hi,

On Thu, Oct 21, 2010 at 5:31 PM, tamil arasu <[hidden email]> wrote:

Hi All,
We are using gst-plugins-bad-0.10.13,gst-plugins-base-0.10.23,gst-plugins-good-0.10.14.
we are using pipeline below mentioned

gst-launch rtspsrc location=rtsp://192.168.1.223/mpeg4 latency=100
name=demux demux. ! queue ! rtpmp4vdepay ! mpeg4videoparse !
dmaidec_mpeg4 ! TIDmaiVideoSink videoOutput=LCD videoStd=320X240
demux. ! queue ! rtppcmudepay ! mulawdec ! alsasink


  gst-launch application takes 3-4 second for displaying video on Output device(LCD).
Please suggest me is their any way to optimize the execution time.


The version at HEAD should contain a few optimisations good to reduce the set-up latencies. Unfortunately, I don't think your system will ever be able to get anything better than 2 seconds, mainly because of this:

https://gstreamer.ti.com/gf/project/gstreamer_ti/forum/?_forum_action=ForumMessageBrowse&thread_id=3676&action=ForumBrowse&forum_id=187

I would suggest you to try with gst-dsp.

Regards
 



Regards,
Arasu.M


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

 


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel