Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - alan

Pages: [1] 2
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 :

Code: [Select]
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 :

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

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

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 ?

Angstrom & OpenZaurus / Snes9x Blank Screen
« on: May 08, 2005, 04:37:50 pm »
hi all !

snes9x doesn't work here on my c750 oz 3.5.3 opie. The sound works but the screen is blank. sdl is up to date (and instalation is checked). Any idea ?

Angstrom & OpenZaurus / Usb Networking And Mandrake 10.1
« on: April 24, 2005, 05:18:03 pm »
Hi !

i've just flashe Open Zaurus 3.5.3 on my Zaurus sl-C750 with a 2.6.11 kernel. I can't access the network at all from the Zaurus...

The desktop pc is a mandrake 10.1 with a kernel, and i'm connected to it trough usb.

- Usb0 is up and configured on the zaurus side.
- usbnet is loaded on the mandrake side, but i can't get usb0 up on it.

I did everything that was told on the oz website, but it doesn't work.

the strange point is here (on the zaurus side) :

Code: [Select]
usb 2-2: new full speed USB device using address 25
usb 2-2: configuration #2 chosen from 2 choices

I don't understand the 2 choices part.

"usb0: register usbnet at usb-0000:00:10.3-1, Linux Device, 3a:6b:24:1f:af:0a" is what i should get with dmesg...
what is the file that rules this registration ?

thanks in advance for your precious help.

Angstrom & OpenZaurus / Oz 3.5.3 Bug List
« on: April 20, 2005, 05:02:58 am »
Some bugs have been found in Open Zaurus 3.5.3. We all know at least one.

Please use this thread in order to list them, so that the developpers' work become more efficient.

Please organize your posts, it will be easier to read. A static form could be usefull. I suggest this form

- Zaurus model
- kernel version
- opie or gpe
- last upgrade date
(bugtracker where bug is reported and bugnumber)

SOLUTION (if found) :


I hope it will be useful.


Zaurus - pdaXrom / Openbsd For Zaurus
« on: March 07, 2005, 12:56:10 pm »


Zaurus - pdaXrom / Vlc And Dvd Streaming
« on: January 24, 2005, 12:07:56 pm »
Hello everyone...

Has anyone of you been able to stream a DVD to your zaurus ? There seems to be a pb with transcoding a52 dvd audio files. The bug is already submitted to VLC's developpers, but i wonder if by any chance someone had found a solution here ?


Zaurus - pdaXrom / Screen Troubles
« on: December 27, 2004, 03:03:04 pm »
hello every one !

I flashed RC8 on my 750 yesterday and since this, i have a strange problem with my screen when it is in rotated mode. Each vertical line is like "duplicated" to the left by something like 8 pixels. It's quite difficult to describe... and i can't take a picture of it for now...

The strange thing is that is doesn't occur when i'm in landscape mode, nor in 320x240 rotated or not !

I even don't know if it is hardware or software related, but it only hapens since my last flashing and my Zaurus has never been chocked.

Am i the only one with this problem ?
Is there something i should do to be more precise ?
Is there something i could ajust ? Maybe something about the flinkering screen bug fix ?

I'm a bit afraid my z might be dying, i REALLY need it

Please, help me...

Security and Networking / Strange Networking Pb...
« on: December 20, 2004, 10:13:29 am »
I've been accessing the internet from my zaurus for monthes now, but since yesterday, it won't work...

I have a mandrake 10.0 and a sl c750 running pdaxrom katherin RC5.

i can ping from my zaurus to my mandrake, and to without any pb.
i can't pig from my mandrake to my zaurus.

I can't access the net with dillo, ans the status bar indicates "Contacting the host".

my zaurus ip is
my mandrake ip is
both have the same bcast and mask given by ifconfig.

i really don't understand anything...
Any help would be apreciated...

Zaurus - pdaXrom / Little Things To Fix In Feeds
« on: December 16, 2004, 03:46:54 pm »
some progs can't be installed from the Package manager :

- Mplayer1.0pre5 : not listed in the manager
- infones : looking for infones_0.93J_armv5.ipk instead of infones_0.93j_armv5.ipk (typo pb)

i'll post some more if needed...

Zaurus - pdaXrom / Ext2 On A Cf Card
« on: December 15, 2004, 05:02:34 pm »
hi !

I would like to format my 256Mo CF card to ext2 in order to stock progs on it. I try to follow those instructions from pdaxrom homepage

Code: [Select]
When i'm installing programs(IPKs) to SD or CF card it fails?

You must format the SD/CF card to ext2:
Format CF:
umount /dev/hda1
mkfs.ext2 /dev/hda1
mount /dev/hda1 /mnt/cf
Format SD:
umount /dev/mmcda1
mkfs.ext2 /dev/mmcda1
mount /dev/mmcda1 /mnt/card

but it does'nt work...

Code: [Select]
# umount /dev/hda1
umount: /dev/hda1 not mounted
# mkfs.ext2 /dev/hda1
mke2fs 1.34 (25_Jul_2003)
/dev/hda1 is mounted; will not make a filesystem here!

   Any idea ?

Zaurus - pdaXrom / Live Cd For Developpers
« on: December 11, 2004, 05:04:50 pm »
i would like to show you a good idea that might interrest every developpers :

ZFR c'est quoi ?

ZFR est la distribution GNU/Linux orientée PDA sous OS Libre.

Il s'agit d'un live-cd classique dans lequel ont été ajoutées les applications nécessaires à la synchronisation et au développement d'applications pour votre PDA favori.
Pourquoi ZFR ?

La seule distribution existant à ce jour à ma connaissance est celle proposée sur le site de Sharp. Cette distribution semble ne plus évoluer et se trouve être relativement pauvre. Il s'agit en fait d'une distribution demolinux à laquelle a été ajouté un cross compilateur pour processeurs ARM. L'équipe de pdaXrom indique sur son site qu'une distribution va voir le jour avec leur SDK... Bref, aucune distribution ne propose tout le necessaire pour travailler efficacement et complètement avec son PDA. Il fallait y remédier ! Hors de question de se limiter à une "ROM" particulière où à un profil développeur endurci !
Qui fait ZFR ?

ZFR à été créée à l'initiative de votre serviteur (Titeuf) pour le compte de la Communauté des Utilisateurs Francophones de PDA sous OS Libre : ZaurusFR

C'est une distribution ouverte à laquelle chacun peut, s'il le désire, participer.
Comment participer ?

C'est très simple, et il y a beaucoup de manières de participer (debug, doc, scripts, propositions, etc...) Tout le monde est invité à apporter sa touche personnelle, toutes les idées sont les bienvenues. Pour le moment, il suffit de faire un mail à A ce jour, il est prévu de mettre en place un forum de discussion
Comment est construit ZFR ?

La distribution live ZFR est basée non pas sur la debian (effet de mode !) mais sur LFS 5.1 et BLFS 5.0

Le cdrom contient tous les outils nécessaires pour refabriquer un nouveau cdrom. Cependant, afin de ne pas partir dans tous les sens et de faire profiter à tous de vos idées, il est conseillé de proposer vos modifications/ajouts afin qu'ils soient pris en compte dans la distribution "officielle".

I'm really tired, so i won't translate everything tonight. (bablefish might do the trick for me.) In short, ZFR is a live CD in wich any necessary pda programing tool have been added. It s not desingned for any particular rom, but might be a good source of inspiration for pdaxrom team.

more infos (in french, sorry...) here :

Angstrom & OpenZaurus / What About Qpe ?
« on: November 26, 2004, 01:00:18 pm »
hi !

Just 2 questions :

1) Why is the qpe image not usable for now ? What is missing ? when is it planned to be released ? (please, just don't answer me "when it will be ready™"  ) Are there many developpers on this project ?

2) What will be the difference between qpe and pdaxrom, both using a X server ?

Thanks in advance...

User Request for Applications / Mplayer GUI
« on: October 03, 2004, 02:38:58 am »
title is explicit, isn't it ?

I wish i knew how to make it but i don't... If anyone knows a good tutorial to code for pdaxrom (for hard newbies  ), i'm ready to learn !!

General Discussion / networking troubles !!
« on: September 28, 2004, 03:29:06 am »
Hi !!

I own a c750 runing cacko 1.22b and a linux box (mandrake 10.0 official download edition withe 2.6.3-16mdk kernel). I want to connect my Z to the internet through USB but it does'nt seem to work.

* I can ping my pc and back.
ping -c 4 => avg = 0.7 ms

* ssh
ssh: connect to host port 22 Network is unreachable

* opera remains offline

* Sharing Internet connection is activated from usb0 to ppp+ (i used  drakconf)

* Drakfirewall is set up to block any intrusion from the internet (does this affect connection from local network ? I don't think so but i am not sure...)

Can someone help me please ? I'm lost :'(

I though this was the command to enable usb network connection in Qtopia but it does'nt work...
* qcop QPE/Networking "up()"
SlSharedManager: can't get proc entry

thanks in advance.

General Discussion / Easy way to make a video for your Z
« on: September 25, 2004, 01:05:58 pm »
Hi guys !
Googling aound, i found a little script on this site

Here it comes :
Code: [Select]
#version 1.1
#Changes 1-1.1
#Added aspect ratio.  There will be black bars on top and bottom to keep the resolution at 320x240 to avoid software scaling on the Z.

#This script should convert any mplayer playable video file (audio + video) to ogm format playable on the sharp zaurus 5600 using mplayer with Tremor codec support. You need mencoder and mplayer of course, plus oggenc and ogmmerge.  

#Variable assignment

#Check the command line arguments
if [ -z "$1" ]; then
              echo "Usage is 'createogm   ' "

if [ -z "$2" ]; then
              echo "Usage is 'createogm   ' "

if [ -f "$2" ]; then
              echo "The file $2 exists. Aborting "

#find $1 2>/dev/null
#if [ $? = 1   ]; then
#              echo "Cannot find source file. Aborting"
#              exit

#Check the source audio rate

AUDIO_RATE=$(mplayer -vo null -ao null -frames 0 -identify $1 2>/dev/null | grep "ID_AUDIO_RATE" | sed "s/ID_AUDIO_RATE=//g")

if [ -z $AUDIO_RATE  ]; then
              echo "Cannot detect audio in source file. Aborting"

#Delete log files from previous encodes

if [ -f divx2pass.log ]; then
rm divx2pass.log
if [ -f audiotmp.wav ]; then
rm audiotmp.wav
if [ -f videotmp.avi ]; then
rm videotmp.avi
if [ -f audiotmp.ogg ]; then
rm audiotmp.ogg

#Encode the video
#First Pass
    nice -19 mencoder -nosound -ovc lavc -lavcopts vcodec=mpeg4:trell:mbd=2:vqmin=2:vqmax=31:v4mv:vmax_b_frames=1:cmp=2:subcmp=2:precmp=2:predia=1:dia=1:vme=4:vqcomp=0.6:vlelim=9:vcelim=-4:idct=7:lumi_mask=0.05:dark_mask=0.01:vstrict=-1:cbp:vfdct=1:vbitrate=$VIDEO_BITRATE:keyint=150:vpass=1 -vop expand=$X_RESOLUTION:$Y_RESOLUTION,pp=hb/vb/dr,eq=$BRIGHTNESS,scale=$X_RESOLUTION:-2,hqdn3d=8:6:12:lavcdeint -ofps $OUTPUT_FPS -zoom -sws 2 -o /dev/null  $1

#Second Pass
    nice -19 mencoder -nosound -ovc lavc -lavcopts vcodec=mpeg4:trell:mbd=2:vqmin=2:vqmax=31:v4mv:vmax_b_frames=1:vb_strategy=0:cmp=2:subcmp=2:precmp=2:predia=1:dia=1:vme=4:vqcomp=0.6:vlelim=9:vcelim=-4:idct=7:lumi_mask=0.05:dark_mask=0.01:vstrict=-1:cbp:vfdct=1:vbitrate=$VIDEO_BITRATE:keyint=150:vpass=2 -vop expand=$X_RESOLUTION:$Y_RESOLUTION,pp=hb/vb/dr,eq=$BRIGHTNESS,scale=$X_RESOLUTION:-2,hqdn3d=8:6:12:lavcdeint -ofps $OUTPUT_FPS -zoom -sws 2 -o ./videotmp.avi $1

#Extract the audio
    nice -n 19 mplayer -vc dummy -vo null -ao pcm -aofile ./audiotmp.wav $1 2>/dev/null

#Convert to ogg

    if [ $AUDIO_RATE -eq $ENCODE_RATE ]; then
         nice -n 19 oggenc -r -C 2 -R $AUDIO_RATE -B 16 -q $AUDIO_QUALITY -o audiotmp.ogg  audiotmp.wav
         nice -n 19 oggenc -r -C 2 -R $AUDIO_RATE -B 16 -q $AUDIO_QUALITY --resample $ENCODE_RATE -o audiotmp.ogg  audiotmp.wav

#Multiplex the audio and video streams
    nice -n 19 ogmmerge -o  $2 videotmp.avi --sync $AV_DELAY  audiotmp.ogg

#Delete the temporary files
rm audiotmp.ogg
rm audiotmp.wav
rm videotmp.avi
rm divx2pass.log

It works fast and very well. It produces light and beautiful movies : a 20min episode of futurama is 30mo and Metropolis (2 hours) is 190 mo. To use it, it's simple :

Code: [Select]
sh createogm
One thing is to be noticed yet : you should edit the "Y_RESOLUTION=240" line in order to keep your aspect ratio.

This leads me to a request : could someone optimize this script so that it automtically keeps the video aspect ratio or automatically crop depending on the output ? I don't know a lot about this, but i'm trying to learn , any help would ba appreciated.

PS: feel free to mail the author of this script, he did a good job !

Pages: [1] 2