1
Angstrom & OpenZaurus / Video How-to
« on: May 24, 2005, 06:46:09 pm »
Hi !
Since Xora launched a video how to for c7x0 serie on the open zaurus webpage, i really really want to try to get a universal how to.
i tweaked a bit his script, and here is waht i now use on my 750 :
use/edit/comment as much as possible for each Z model. I saved it as vid2zaurus and use it by "vid2zaurus file.avi". This produces a Z-file.avi.
Note that Z-file :
* automatically keeps aspect ratio
* needs around 100mo/hour
* enlight colors so that you can see them even without full lightscreen
* is a bit chunky as it is only 15 fps
* produces each one of the two passes at around 50 fps on my duron 1.3 ghz 512mo ram. (So a 2 hours film would be ready in about 2 hours.)
To play it, use Xora's script :
FOR GPE USERS :
FOR OPIE USERS :
FOR 5XXXX USERS :
remove the two fbset lines (and i have a doubt about the w100 driver for GPE users...)
Now things i'd like to know :
- is there a way to keep the black frames really black ? the enlighting process makes the darks frames look ugly, but without it, movie are unwatchable unless you are in the dark... Anyone who knows anything in matrices is welcome.
- what is the maximum bitrate each Z models can play ? i need testers for this, or someone who knows haow to calculate this.
- is there a way to make a gui from this ? i don't know anything in coding, if someone wants to take that, that would be great ! Something with a bitrate calculator, and all. (wonder if it would be very usefull...)
- can someone make the same job for Windows users ? i know virtualdub has some sripting abilities in filtering, and that the filtering process can be saved in a file. Can someone post those files here ?
Since Xora launched a video how to for c7x0 serie on the open zaurus webpage, i really really want to try to get a universal how to.
i tweaked a bit his script, and here is waht i now use on my 750 :
Code: [Select]
#!/bin/sh
mencoder $1 -srate 24000 -ofps 15 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=150:vpass=1 -lameopts cbr:br=64:mode=3 -vf scale=320:-2:::,eq2=1.0:0.6:0.1:0.7 -oac mp3lame -o Z-$1;
mencoder $1 -srate 24000 -ofps 15 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=150:vpass=2 -lameopts cbr:br=64:mode=3 -vf scale=320:-2:::,eq2=1.0:0.6:0.1:0.7 -oac mp3lame -o Z-$1
use/edit/comment as much as possible for each Z model. I saved it as vid2zaurus and use it by "vid2zaurus file.avi". This produces a Z-file.avi.
Note that Z-file :
* automatically keeps aspect ratio
* needs around 100mo/hour
* enlight colors so that you can see them even without full lightscreen
* is a bit chunky as it is only 15 fps
* produces each one of the two passes at around 50 fps on my duron 1.3 ghz 512mo ram. (So a 2 hours film would be ready in about 2 hours.)
To play it, use Xora's script :
FOR GPE USERS :
Code: [Select]
#! /bin/sh
fbset -n -xres 240 -yres 320;
echo 1 >/sys/class/graphics/fb0/driver/w100fb/fastpllclk;
mplayer -cache 16384 -vo w100 -ac mad -ao oss -framedrop -fs -really-quiet -vop rotate=1 $@;
fbset -n -xres 640 -yres 480
FOR OPIE USERS :
Code: [Select]
#! /bin/sh
fbset -n -xres 240 -yres 320;
mplayer -cache 16384 -ac mad -ao oss -framedrop -really-quiet -fs -vop rotate=1 $@;
fbset -n -xres 640 -yres 480
FOR 5XXXX USERS :
remove the two fbset lines (and i have a doubt about the w100 driver for GPE users...)
Now things i'd like to know :
- is there a way to keep the black frames really black ? the enlighting process makes the darks frames look ugly, but without it, movie are unwatchable unless you are in the dark... Anyone who knows anything in matrices is welcome.
- what is the maximum bitrate each Z models can play ? i need testers for this, or someone who knows haow to calculate this.
- is there a way to make a gui from this ? i don't know anything in coding, if someone wants to take that, that would be great ! Something with a bitrate calculator, and all. (wonder if it would be very usefull...)
- can someone make the same job for Windows users ? i know virtualdub has some sripting abilities in filtering, and that the filtering process can be saved in a file. Can someone post those files here ?