[FFmpeg-user] FFmpeg CPU usage

Pete pjjuliana216 at gmail.com
Mon Aug 12 23:23:40 CEST 2013


> Please provide an actual, unscripted command and the complete ffmpeg
> console output.

By nonscripted I assume you mean the command without the variables. Here it 
is: 

ffmpeg -y -i "inputVid" -c:v libx264 -preset fast -b:v 480k -threads 0 -c:a 
libfdk_aac -b:a 128k -f mp4 "outputVid.mp4"

here is the ffmpeg output from the server I'm using to transcode:

ffmpeg version git-2013-08-06-a68b6ec Copyright (c) 2000-2013 the FFmpeg 
developers
  built on Aug  7 2013 10:24:15 with gcc 4.4.5 (GCC) 20110214 (Red Hat 
4.4.5-6)
  configuration: --prefix=/usr/local/bin/ffmpeg_build/ --extra-cflags=-
I/usr/local/bin/ffmpeg_build/include --extra-ldflags=-
L/usr/local/bin/ffmpeg_build/lib --bindir=/usr/local/bin --extra-libs=-ldl -
-enable-gpl --enable-nonfree --
enable-libfdk_aac --enable-libx264 --enable-pthreads
  libavutil      52. 41.100 / 52. 41.100
  libavcodec     55. 22.100 / 55. 22.100
  libavformat    55. 13.102 / 55. 13.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 82.100 /  3. 82.100
  libswscale      2.  4.100 /  2.  4.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] 
outfile}...
Use -h to get full help or, even better, run 'man ffmpeg'

I compiled it using the instructions here:
https://trac.ffmpeg.org/wiki/CentosCompilationGuide

> If your viewers with watch using progressive download then consider
> adding "-movflags faststart". This will reloate the moov atom so the
> video does not have to be completely downloaded before playback begins. 

I'll look into the "-movflag faststart" option. Thanks for the tip. Let me 
know if you need anything else from me.

-Pete



More information about the ffmpeg-user mailing list