gstreamer-embedded Digest, Vol 9, Issue 2

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


Hi,

 Is there any element/way to reduce cpu usage except neon instruction(neon core is not in AM1808).


Regards,
Saravanan.
________________________________________
From: Saravanan Vijayaperumal
Sent: Wednesday, October 19, 2011 10:08 AM
To: gstreamer-embedded at lists.freedesktop.org
Subject: RE: gstreamer-embedded Digest, Vol 9, Issue 2

     Thank you all for your responses. i need a suggestion for the below

Which is the best audio file format to stream from host to target with low cpu usage. i need to stream 6 audio  files at a time, i am using rtp server and my target board is am335x.


Regards,
Saravanan
________________________________________
From: gstreamer-embedded-bounces+saravanan.vijayaperumal=lnties.com at lists.freedesktop.org [gstreamer-embedded-bounces+saravanan.vijayaperumal=lnties.com at lists.freedesktop.org] on behalf of gstreamer-embedded-request at lists.freedesktop.org [gstreamer-embedded-request at lists.freedesktop.org]
Sent: Sunday, October 16, 2011 12:30 AM
To: gstreamer-embedded at lists.freedesktop.org
Subject: gstreamer-embedded Digest, Vol 9, Issue 2

Send gstreamer-embedded mailing list submissions to
        gstreamer-embedded at lists.freedesktop.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded
or, via email, send a message with subject or body 'help' to
        gstreamer-embedded-request at lists.freedesktop.org

You can reach the person managing the list at
        gstreamer-embedded-owner at lists.freedesktop.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gstreamer-embedded digest..."


Today's Topics:

   1. Re: How to reduce cpu usage (Stuart Gray)
   2. Re: How to reduce cpu usage (Stefan Sauer)


----------------------------------------------------------------------

Message: 1
Date: Sat, 15 Oct 2011 08:13:38 +0800
From: Stuart Gray <stuart68 at gmail.com>
Subject: Re: How to reduce cpu usage
To: gstreamer-embedded at lists.freedesktop.org
Message-ID:
        <CAG2RAVYGDB3ZYrbHi-0M7z150nP8o0xaz_F88ocXhcKmSfeNUw at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

I would add a queue element just after the rtspsrc. I have a similar
pipeline running on an omapl-138 and it can decode mp3, flac, ALAC , aiff
and wav with no issues within the software domain. I use

       souphttpsrc ! queue2 ! decodebin2 ! audioconvert ! audioresample !
alsasink

It works extremely well with CPU running at 372mHz.

  I am streaming mp3 audio file from host to AM1808 BOARD using gstreamer
> and RTP server, I am able to stream using the following command.
>
> gst-launch-0.10 -v rtspsrc location=rtsp://
> 192.168.174.66:8554/mp3AudioTest ! rtpmpadepay ! mad ! audioconvert !
> alsasink &
>
> But my CPU usage time is very high. Please suggest, how do i reduce the cpu
> usage? How do i optimize the gstreamer?
>
>
I did not have to do any optimizations to gstreamer, just play around with
the queue2 settings.

Stuart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20111015/3cfbe396/attachment.htm>

------------------------------

Message: 2
Date: Sat, 15 Oct 2011 16:17:41 +0200
From: Stefan Sauer <ensonic at hora-obscura.de>
Subject: Re: How to reduce cpu usage
To: gstreamer-embedded at lists.freedesktop.org
Message-ID: <4E999605.2040002 at hora-obscura.de>
Content-Type: text/plain; charset=ISO-8859-1

On 10/13/2011 11:49 AM, Victor Manuel J?quez Leal wrote:
> On Thu, Oct 13, 2011 at 11:14 AM, Saravanan Vijayaperumal
> <Saravanan.Vijayaperumal at lnties.com> wrote:
>> gst-launch-0.10 -v rtspsrc location=rtsp://192.168.174.66:8554/mp3AudioTest
>> ! rtpmpadepay ! mad ! audioconvert ! alsasink &
>>
>> But my CPU usage time is very high. Please suggest, how do i reduce the cpu
>> usage? How do i optimize the gstreamer?
> mad and audioconvert are very cpu intensive elements.
Exactly thats the issue. You can try this one:
https://github.com/lazka/gst-mpg123

Stefan

> You would need to develop/use a mp3 decoder that use the dsp in the
> omap3, or develop/use a mp3 decoder that make use of the neon
> instructions instead of the generic ones, and finally get  rid of the
> audioconvert, delivering the raw audio as is consumed by alsa.
>
> Either case you'd need to develop it, or buy it, because i'm not aware
> of open source version of those elements.
>
> cheers,
>
> vmjl
> _______________________________________________
> gstreamer-embedded mailing list
> gstreamer-embedded at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded



------------------------------

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


End of gstreamer-embedded Digest, Vol 9, Issue 2
************************************************


Larsen & Toubro Limited

www.larsentoubro.com

This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.


[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