mencoder -o out.mp4 -oac mp3lame -ovc lavc -srate 11025 \
-channels 1 -af-adv force=1 -lameopts preset=medium \
-lavcopts vcodec=mpeg4:vbitrate=2048 in.avi
That gets Canon's slightly weird format into something Google Video can handle, at a pretty good quality level. If you've got a batch of files to transcode, you can use the following shell script:
#!/bin/bash
for f in "$@"
do
mencoder -o "${f/%\.[Aa][Vv][Ii]/.mp4}" -oac mp3lame -ovc lavc
-srate 11025 -channels 1 -af-adv force=1 -lameopts preset=medium \
-lavcopts vcodec=mpeg4:vbitrate=2048 "$f"
done
That will create X.mp4 from X.avi without altering the latter. As a plus, it will drop the size by about 85% to 90%.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.