[FFmpeg-user] Lowering the conversion time with ffmpeg

Andrei Petru Mura mapandrei at gmail.com
Wed Oct 30 12:51:48 CET 2013


> ./ffmpeg -i /path/to/file.avi -c:v libx264 -b:v 1000k -r 30
> > -vf scale=640:480 ~/Desktop/out2.mp4
>
> > The time needed for this conversion was 1 minute and 10
> > seconds. Is there a possibility to improve this time?
>
> You are using libx264 as an encoder, please see the x264
> documentation for possibilities how to increase encoding
> speed (-preset ultrafast etc).
>
where can I see the documentation for x264? I can't find it in
Documentation section.

>
> The decoding speed can be increased with -skip_loop_filter
> and -skip_frame, both may not be what you want.
>
> scaling speed can be increased but I don't think it is a
> relevant part of your overall time, please test with:
> $ ffmpeg -i file.avi -f null -
> $ ffmepg -i file.avi -vf scale=640:480 -f null -
>
> Carl Eugen
>


More information about the ffmpeg-user mailing list