command for Streaming with minimum CPU usage ?

For the developers that use FFmpeg in their software.
Post Reply
navedjobs
Posts: 19
Joined: Sun Jun 10, 2012 3:18 pm

command for Streaming with minimum CPU usage ?

Post by navedjobs » Sun Jul 08, 2012 2:38 pm

Code: Select all

ffmpeg -f dshow -i video="UScreenCapture" -r 10 -bufsize 99999k -preset ultrafast -async 1 -f mpegts -s 500x400 -vcodec libx264 -acodec libmap3lame udp://111.119.227.81:5555
I m streaming using this command does any one know what else i can add to this command so that CPU usage is minimum ?
any suggesstions are welcome...

rogerdpack
Posts: 1877
Joined: Fri Aug 05, 2011 9:56 pm

Re: command for Streaming with minimum CPU usage ?

Post by rogerdpack » Mon Jul 09, 2012 11:27 pm

You may get some traction by setting a "maximum bit rate" or a lower "q rating" (quality level). Or by scaling down the capture so that it's not as large.

Also out of curiosity is UScreenCapture better than screen-capture-recorder, if yes, how?
Thanks!
-roger-

rogerdpack
Posts: 1877
Joined: Fri Aug 05, 2011 9:56 pm

Re: command for Streaming with minimum CPU usage ?

Post by rogerdpack » Thu Jul 12, 2012 8:23 pm

Ok I put a paragraph with any idea I could think of here:
http://ffmpeg.org/trac/ffmpeg/wiki/StreamingGuide
"latency/cpu-usage"

Post Reply
'