[FFmpeg-user] Set same audio/video codecs for avi files
Carl Eugen Hoyos
cehoyos at ag.or.at
Tue Jun 19 08:56:02 CEST 2012
Rossana Guerra <guerra.rossana <at> gmail.com> writes:
> 1- Encode an .avi file to h264 and audio codec to mp3 (another parameters
> are setting to te resulting filesuch frame rate and bit rate)
> ffmpeg -i com1.avi -vcodec libx264 -b 1400k -acodec libmp3lame -ar 22050
> -ab 64k -r 30 -f avi comfin1.avi
>
> 2 - I set a logo
> ffmpeg -i comfin1.avi -vf "movie=logo.bmp [logo]; [in][logo]
> overlay=W-w-10:10[out]" -vcodec libx264 -b 1400k out1.avi
Why don't you do both steps with one FFmpeg command line?
Carl Eugen
More information about the ffmpeg-user
mailing list