Tuesday, August 12, 2014

2004 update ffmpeg ,mp4 to libxvid XVID avi

mp4 to libxvid XVID avi

mkdir encoded
for f in *.mp4; do \
ffmpeg -i "$f" -vf scale=720: -vcodec libxvid -vtag XVID -qmin 2 -qmax 4 -b:v 900K -minrate 900K -r 29.97 -async 0 -preset fast -acodec libmp3lame -ab 197k encoded/"${f%.avi}.avi"; done

--------------------------------
xxxxxxxxxxxxxxxxxx
To summarize:

(To set up a CBR process, use -b:v 3500K -minrate 3500K, or leave out the "-minrate " altogether)

No comments: