OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Divx Encoding For Z, how to for your movies
daemon1
post Jun 20 2005, 11:14 PM
Post #1





Group: Members
Posts: 86
Joined: 18-April 04
Member No.: 2,901



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.

CODE
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 <Input> -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 <Input> -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 = 230MB down from 704MB... and the winner is...

CODE
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


try it with your movies and let us know how it goes.... smile.gif
Go to the top of the page
 
+Quote Post
speculatrix
post Jun 21 2005, 02:58 PM
Post #2





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



I'm afraid I went the lame route and booted windows on my desktop PC, and used the windows media encoder with registry hacked to allow mp4 video/mp3 audio:

http://www.double.co.nz/zaurus/

Am still playing with best settings, but it works for me.
Go to the top of the page
 
+Quote Post
someonehoi
post Jun 22 2005, 09:36 AM
Post #3





Group: Members
Posts: 40
Joined: 19-December 04
Member No.: 5,977



Below are the sample of converted VGA movies.
Simply plays them on C3000 after used tetsu 18a kernel with bvdd iwxmmt ,mplayer 1.1.5 ,zplayer from atty.jp.
I can play them on C3000 smoothly,
I would like to know whether C1000/Cxxx can play it or not.
Please give some comments.THANKS. smile.gif


Anime[A] (Opening only)
http://popup8.tok2.com/home2/somekwanwa2/T...Water_nadia.wmv
Anime[B] (Opening only)
http://popup8.tok2.com/home2/somekwanwa2/K...Unbalance02.wmv
TV Drama (opening only)
http://popup8.tok2.com/home2/somekwanwa2/anego8.wmv



I use Window Media Encoder,too.
I am using the same method from this tutorial.
http://www.double.co.nz/zaurus/
But I changed the settings that shows below.
Video:ISO MEPG-4 VideoV1,640x480,500Kbps,20 fps,
Sound:MPEG layer-3 Codec,[56kBit/s,24000Hz,Stereo]

Here are different porporties movies,
so each movie's convert time is variable.
I get the Movie properties from Media Player Classic->File->Properties->Details.

1.Anime[A]
Input:[rmvb,31MB,Movie Lenght:1min24s]
Audio: RealAudio COOK 44100Hz stereo
Video: RealVideo 4 640x480 24.00fps 615Kbps

Output:[wmv,5MB,Convert Time:1min30]
Audio: MPEG Audio Layer 3 24000Hz stereo 56Kbps
Video: MP4S 640x480 20.00fps 435Kbps

2.Anime[B]
Input:[rmvb,88MB,Movie Lenght:25mins]
Audio: RealAudio COOK 44100Hz stereo
Video: RealVideo 4 640x480 30.00fps 408Kbps

Output:[wmv,86MB,Convert Time:20mins]
Audio: MPEG Audio Layer 3 24000Hz stereo 56Kbps
Video: MP4S 640x480 20.00fps 435Kbps


3.GAME Opening .MTV
Input:[avi,126MB,Movie Lenght 1min42s]
Audio: MPEG Audio 48000Hz stereo 128Kbps
Video: MPEG1 Video 800x600 29.97fps 10000Kbps

Output:[wmv,5.7MB,Convert Time :2mins]
Audio: MPEG Audio Layer 3 24000Hz stereo 56Kbps
Video: MP4S 640x480 20.00fps 474Kbps

4.Anime[C]
Input:[rmvb,160MB,Movie Lenght:45mins]
Audio: RealAudio COOK 22050Hz stereo
Video: RealVideo 4 640x360 30.00fps 440Kbps

Output:[wmv,157MB,Convert Time:30mins]
Audio: MPEG Audio Layer 3 24000Hz stereo 56Kbps
Video: MP4S 640x360 20.00fps 435Kbps

5.TV Drama
Input:[rmvb,236MB,Movie Lenght:46mins32s]
Audio: RealAudio COOK 44100Hz stereo
Video: RealVideo 4 704x396 29.97fps 637Kbps

Output:[wmv,165MB,Convert Time:45mins]
Audio: MPEG Audio Layer 3 24000Hz stereo 56Kbps
Video: MP4S 640x360 20.00fps 435Kbps
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 1st August 2014 - 05:54 AM