[Libav-user] This command take 2 minutes to render. Can it be quicker?

Carl Eugen Hoyos cehoyos at ag.or.at
Sat May 31 09:54:25 CEST 2014

Vijay Kanta <viju.kantah at ...> writes:

> ffmpeg -i music/qT0pdDhKxFDnfJHq2.mp3 -c:a copy 
> -i video/HKp1ZpHbANT4dmGRC.mp4 -vcodec libx264 
> -crf 23 -vf subtitles=subtitles/1718379803.srt 
> -preset ultrafast -strict -2
> film/HKp1ZpHbANT4dmGRC.mp4

Move "-c:a copy" behind the last input file.

But please note that compared to H264 encoding, 
audio encoding should always be fast, so the 
speed difference between audio copying and 
audio reencoding should be less than using 
different x264 presets.

Carl Eugen

More information about the Libav-user mailing list