<accidently posted into general discussion area, but wanted it in here>
hi everyone,
been trying for the last 2 days to find the best encoding and resolution for the zaurus to play divx's nicely...
(this has been done on a c3000)
firstly you need to use tetsu 18a kernel with bvdd iwxmmt and mplayer 1.1.5 from atty.jp
I've tried to sqeeze movies down the smallest possible size whilest having an acceptible quality. in my trials ive tried the following on the same divx.
mencoder -cache 4000 -vf scale,expand=0:-60 -zoom -xy 320 -ffourcc XVID -oac lavc -lavcopts acodec=mp2:abitrate=48 -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=448 -ofps 25 -sws 2 ./input.avi -o ./output.avi
Output.avi = 233507436bytes small widescreen
"mencoder -vf dsize=640:480,scale=320:240,expand=0:-60 Â -sws 2 -o Output2.avi -oac mp3lame -lameopts preset=96:mode=0:vol=10 -ovc lavc -lavcopts vcodec=mpeg4:vhq:v4mv:mbd=2:trell:cmp=3:subcmp=3:mbcmp=3:vbitrate=200:autoaspect
-ofps 23.976"
"mencoder -vf dsize=640:272,scale=320:136,expand=0:-104 -sws 2 -o Output1.avi -oac mp3lame -lameopts preset=96:mode=0:vol=10 -ovc lavc -lavcopts vcodec=mpeg4:vhq:v4mv:mbd=2:trell:cmp=3:subcmp=3:mbcmp=3:vbitrate=200:autoaspect
-ofps 23.976"
mencoder xxxxi -vf scale,expand=0:-60 Â -zoom -xy 320 -sws 2 -o Output3.avi -oac mp3lame -lameopts preset=96:mode=0:vol=10 -ovc lavc -lavcopts vcodec=mpeg4:vhq:v4mv:mbd=2:trell:cmp=3:subcmp=3:mbcmp=3:vbitrate=200:autoaspect
yyyy64.avi = Â 169408660bytes
mencoder xxxx -oac copy -srate 24000 -vop scale=320:240 -o yyyy.avi -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=64 -ofps 20 -sws 2
yyyy96.avi
mencoder xxxx -oac copy -srate 24000 -vop scale=320:240 -o yyyy.avi -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=96 -ofps 20 -sws 2
Output2.avi - no lame
mencoder xxxxx -vf dsize=640:480,scale=320:240,expand=0:-104 -sws 2 -o Output4.avi -oac copy -srate 24000 -ovc lavc -lavcopts vcodec=mpeg4:vhq:v4mv:mbd=2:trell:cmp=3:subcmp=3:mbcmp=3:vbitrate=200:autoaspect Â
mencoder xxxxx -vf dsize=640:480,scale=320:240,expand=0:-60 -sws 2 -o Output5.avi -oac copy -srate 24000 -ovc lavc -lavcopts vcodec=mpeg4:vhq:v4mv:mbd=2:trell:cmp=3:subcmp=3:mbcmp=3:vbitrate=200:autoaspect
with lame
mencoder xxxxx -vf dsize=640:480,scale=320:240,expand=0:-104 -sws 2 -o Output6.avi -oac mp3lame -lameopts preset=96:mode=0:vol=10 -ovc lavc -lavcopts vcodec=mpeg4:vhq:v4mv:mbd=2:trell:cmp=3:subcmp=3:mbcmp=3:vbitrate=200:autoaspect
best one??
mencoder xxxx -vf scale,expand=0:-60 Â -zoom -xy 320 -sws 2 -o Output7.avi -oac mp3lame -lameopts preset=96:mode=0:vol=10 -ovc lavc -lavcopts vcodec=mpeg4:vhq:v4mv:mbd=2:trell:cmp=3:subcmp=3:mbcmp=3:vbitrate=200:autoaspect
mencoder xxxxx -vf scale,expand=0:-60 -zoom -xy 320 -sws 2 -o Output8.avi -oac mp3lame -lameopts preset=96:mode=0:vol=10 -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=96
this will work???
mencoder xxxx -oac mp3lame -lameopts preset=96:mode=0:vol=10 -srate 24000 -vop scale=640:480 -o output9.avi -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=96 -ofps 20 -sws 2
mencoder xxxx -oac mp3lame -lameopts preset=96:mode=0:vol=10 -srate 24000 -vop scale=320:240 -o output10.avi -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=96 -ofps 20 -sws 2
tries...
mencoder xxxx -oac mp3lame -lameopts preset=96:mode=0:vol=10 -srate 24000 -vop scale=320:240 -o output11.avi -ovc lavc -lavcopts vcodec=mpeg4:vhq:v4mv:vbitrate=96 -ofps 20 -sws 2
mencoder xxxx -oac mp3lame -lameopts preset=96:mode=0:vol=10 -srate 24000 -vop scale=320:240 -o output12.avi -ovc lavc -lavcopts vcodec=mpeg4:vhq:v4mv:mbd=2:vbitrate=96 -ofps 20 -sws 2
mencoder xxxx -oac mp3lame -lameopts preset=96:mode=0:vol=10 -srate 24000 -vop scale=320:240 -o output13.avi -ovc lavc -lavcopts vcodec=mpeg4:vhq:v4mv:mbd=2:trell:vbitrate=96 -ofps 20 -sws 2
mencoder xxxx -oac mp3lame -lameopts preset=96:mode=0:vol=10 -srate 24000 -vop scale=320:240 -o output14.avi -ovc lavc -lavcopts vcodec=mpeg4:vhq:v4mv:mbd=2:trell:cmp=3:vbitrate=96 -ofps 20 -sws 2
mencoder xxxx -oac mp3lame -lameopts preset=96:mode=0:vol=10 -srate 24000 -vop scale=320:240 -o output15.avi -ovc lavc -lavcopts vcodec=mpeg4:vhq:v4mv:mbd=2:trell:cmp=3:subcmp=3:vbitrate=96 -ofps 20 -sws 2
mencoder xxxx -oac mp3lame -lameopts preset=96:mode=0:vol=10 -srate 24000 -vop scale=320:240 -o output16.avi -ovc lavc -lavcopts vcodec=mpeg4:vhq:v4mv:mbd=2:trell:cmp=3:subcmp=3:mbcmp=3:vbitrate=96 -ofps 20 -sws 2
mencoder xxxx -oac mp3lame -lameopts preset=96:mode=0:vol=10 -srate 24000 -vop scale=320:240 -o output17.avi -ovc lavc -lavcopts vcodec=mpeg4:vhq:v4mv:vbitrate=200 -ofps 20 -sws 2
along the way found a weird thing, the :autoaspect breaks bvdd and doesnt play any avi anymore... reboot is needed to fix the problem...
to play the movie you need to add "-vm -vo bvdd -fs output.avi" either manually in terminal or in kino2 or zplayer options.
anyway after painstakingly encoding all the options above... found the best one, which makes the movie full screen, sound in sync, good clear resolution and an acceptable size = 200MB down from 704MB... and the winner is...
<updated the post - found a better encoding to make the files even smaller - doesnt use lame for audio>
mencoder xxxx -oac copy -srate 24000 -vop scale=320:240 -ovc lavc -lavcopts vcodec=mpeg4:vhq:v4mv:vbitrate=100 -ofps 20 -sws 2 -o xxxxxx.avi
try it with your movies and let us know how it goes....