[FFmpeg-user] Help me speed up my transcoding command

Francois Visagie francois.visagie at gmail.com
Fri Apr 12 08:00:56 CEST 2013


> -----Original Message-----
> From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-
> bounces at ffmpeg.org] On Behalf Of scott80109
> Sent: 11 April 2013 18:33
> To: ffmpeg-user at ffmpeg.org
> Subject: [FFmpeg-user] Help me speed up my transcoding command
> 
> I'm new to ffmpeg and video transcoding. This command seems pretty slow.
> I'm using it to get rid of b-frames. If anyone has any tips on how to
> accomplish this faster, it would be much appreciated.
> 
> ffmpeg videoToEncod.mp4 -y  -preset faster -acodec libvo_aacenc -ac 2 -ab
> 128k -vcodec libx264 -b:v 2400k -r 29.97 -s 960x540 -g 15 -flags +loop
-cmp
> +chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method umh -subq 6
> -trellis 1 -refs 1 -coder 0 -me_range 16 -sc_threshold 40 -i_qfactor 0.71
-bt
> 2400k -maxrate 10M -bufsize 10M -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -
> level 30 -threads 0 theNewFile.mp4 2>&1';

I believe '-bf' specifies the number of B-frames to use, '0' in your case.

Other than that and bitrate specifiers, I'd get rid of all command-line
options and evaluate the various x264 presets for suitable speed vs. quality
instead: http://ffmpeg.org/trac/ffmpeg/wiki/x264EncodingGuide.

Cheers,
Francois
> 
> 
> 
> --
> View this message in context: http://ffmpeg-
> users.933282.n4.nabble.com/Help-me-speed-up-my-transcoding-command-
> tp4658412.html
> Sent from the FFmpeg-users mailing list archive at Nabble.com.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list