viewty divx encoding
someone might find this useful:
to encode a whole directory of .avi video files into a format suitable for mobile phones (a viewty at least), similar to 3gp, you can use this at a bash prompt:
Code:
mkdir mobile; IFS=$'\n' ; for f in `ls -1 *.avi` ; do FILE=$(basename "$f" .avi) ; mencoder "$FILE.avi" -oac lavc -lavcopts acodec=libmp3lame:abitrate=64 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1:vbitrate=200 -ffourcc DX50 -vf scale=400:240 -o "mobile/$FILE.avi"; sleep 30; mencoder "$FILE.avi" -oac lavc -lavcopts acodec=libmp3lame:abitrate=64 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2:vbitrate=200 -ffourcc DX50 -vf scale=400:240 -o "mobile/$FILE.avi"; rm "frameno.avi"; rm "divx2pass.log"; sleep 30; done
<a href="http://ubuntucounter.geekosophical.net" title="The Ubuntu Counter Project - user number # 8807"><img src="http://ubuntucounter.geekosophical.net/img/ubuntu-user.php?user=8807" alt="The Ubuntu Counter Project - user number # 8807" /></a>
Bookmarks