[Live-devel] CPU intensive on ARM using testH264VideoStreamer with TI encoder

Matt Schuckmann matt at schuckmannacres.com
Thu Aug 2 15:12:04 PDT 2012


Shlomi,

I'm doing pretty much the same thing you are on the same processor 
(except with my own app and a live 3Mpix camera source) and I've seen 
the same thing, and in my experience the CPU utilization goes up in 
direct relationship to the streaming bit rate. For me anything over 
about 20mbps pretty much swamps the ARM CPU at about 85%, note when I'm 
not streaming, i.e. just capture and encode the ARM CPU is only about 4%

I've determined that big part of this is plain old memcpy(), it's 
really not all that efficient on this processor and you have do it to 
use liveMedia.

The IP stack isn't all that efficient either. I've done experiments 
with iperf and streaming 20Mbps in UDP mode consumes about 30% of the 
ARM CPU. It gets even worse with TCP streaming.

For my application I think I'll be ok, as there isn't whole lot more 
going on on the proc, other than streaming and my bit rates should be 
sub 15Mbps but it sure would be nice if we could avoid the memcpy() in 
liveMedia, I know all the reasons why it is there and that there is a 
hope to some day get rid of it but who knows when that will happen.

Matt S.

On Thursday, August 02, 2012 6:38:48 AM, Shlomi wrote:
> The file is available at
> http://minicomdsje.sytes.net:8090/Support/video.264
>
> Thanks
>
> *From:*live-devel-bounces at ns.live555.com
> [mailto:live-devel-bounces at ns.live555.com] *On Behalf Of *Ross Finlayson
> *Sent:* ה02 אוגוסט2012 15:53
> *To:* LIVE555 Streaming Media - development & use
> *Subject:* Re: [Live-devel] CPU intensive on ARM using
> testH264VideoStreamer with TI encoder
>
>     I am using a TI DaVinci processor to create a h264 file.
>     When trying to stream this file with testH264VideoStreamer, the
>     cpu goes up
>     to 80% (which is bad for me since it is already in use by other
>     applications).
>
> http://www.live555.com/liveMedia/faq.html#my-file-doesnt-work
>
> Please put your ".264" file on a (publicly accessible) web server, and
> send us the URL, so we can download and test it for ourselves.
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel


More information about the live-devel mailing list