[FFmpeg-user] Reg: CPU Usage Issue

subeesh.babu subeesh.babu at industeqsite.com
Wed Jul 23 09:45:36 CEST 2014


Am using ffmpeg 1.1.4 for streaming .
Processor Model: TI-DM8148 Davinci processor .
                ARM 7 with 600MHz speed
                Linux 2.6.32 kernel
 For ffmpeg live streaming through video port am using the following command

            ffmpeg -s 720x576 -f v4l2 -pix_fmt rgb24 -i /dev/video0  -target 
pal-vcd -vcodec mpeg4 -f mpegts -q 2 -s 360x288 udp:
With the above command if i check my CPU usage it shows 99% . By giving 
'top' command am checking the CPU usage .
Any one suggest how to reduce the CPU usage .


----- Original Message ----- 
From: "Moritz Barsnick" <barsnick at gmx.net>
To: "FFmpeg user discussions" <ffmpeg-user at ffmpeg.org>
Sent: Saturday, July 05, 2014 4:40 PM
Subject: Re: [FFmpeg-user] Reg: CPU Usage Issue

> On Fri, Jul 04, 2014 at 11:39:19 +0530, subeesh.babu wrote:
>>                      ffmpeg -re -i video.mp4 -f mpegts udp:
>>   a..     It takes 99% of CPU usage . Any one suggest how to reduce my 
>> CPU usage .
> If video.mp4 already contains the correct codecs with the correct
> parameters for your streamed mpegts, you could avoid recoding totally
> by adding:
> -c copy
> (or -c:v copy, if it shall only apply to video).
> That avoids very much of the CPU usage.
> Apart from that, we usually expect your full ffmpeg command line and
> the complete, uncut output on this list, to better understand your
> scenario.
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user 

**************** CAUTION - Disclaimer *****************This email may contain confidential and privileged material for the
sole use of the intended recipient(s). Any review, use, retention, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. Also, email is susceptible to data corruption, interception, tampering, unauthorized amendment and viruses. We only send and receive emails on the basis that we are not liable for any such corruption, interception, tampering, amendment or viruses or any consequence thereof. 
*********** End of Disclaimer ***********DataPatterns ITS Group**********

More information about the ffmpeg-user mailing list