OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Debian => Topic started by: canguy247 on February 02, 2008, 07:13:04 am
-
Hey all,
I have installed Debian EABI from the preconfigured rootfs, thanks all who contributed to that! Everything is great except I am having trouble with Mplayer. I noticed the only other person who had the same issues was kkazakov13, so I checked and found that the script I was using was written by kkazakov13! The settings I tweaked in the script worked great with pdaxii13. So what I wanted to know was this...could anyone who has had luck with 640x480 video please post their encoding options. The easiest way is to post your mencoder/ffmpeg command line, this way I can see ALL of the options you use.
Thanks,
Canguy
-
Does nobody play video with Debian???
-
Well, I currently _try_ to play video in debian. But all I got so far (without overclocking) is playback, with on-few-seconds freeze for a second. Which is kinda annoying. I must admit that I do reencode my movies to 640x480 ( and I include black bars so my subtitles can play ) and then rotate it on another round, because If I do it on the same round, things get messy.
Also, the OSD controls are rotated, which suxx. _And_ I have to find a way to put some font in there so it displays the playtime ( I never have enough time to watch full movie on Z )
If you want some help, contact me in PM. I will be glad if we can solve this, as it's a problem for me too. My Z is just sitting as brick right now
-
I finally had a chance to play around today.
So far I have found out the following;
1) The sample rate of the audio must be 44100. This is due to a bug in the sound driver.
2) PXA only works for videos of a specific resolution: 320x240, 240x320, 480x640. NOT 640x480.
I am now stuck. Whenever I use -vo sdl, it is still slow and chunky. When I use -vo pxa, the screen goes white and a reset is required. I have read post on the Angstrom forum about this, with no resolution. I have gotten tired of reseting my Zaurus, so I will give it a break for now.
-
Does nobody play video with Debian???
my mplayer doesn't work either... now i use my PSP to play video
-
I am happy to say I have found a solution. I got the info from this link,
Good video performance... (http://www.atari-source.org/node/57)
It comes down to this. You need to create a file which contains your video interface info (refresh rates and geometry) called /etc/fb.modes
This is what should be in the file:
mode "qvga"
geometry 240 320 240 320 16
timings 134617 20 46 1 0 20 2
accel false
endmode
mode "480x640-117"
# D: 51.999 MHz, H: 75.252 kHz, V: 116.851 Hz
geometry 480 640 480 640 16
timings 19231 46 125 1 0 40 3
accel false
endmode
mode "vga"
# D: 51.999 MHz, H: 75.252 kHz, V: 116.851 Hz
geometry 480 640 480 640 16
timings 19231 46 125 1 0 40 3
accel false
endmode
you then run mplayer with the following command line (you can make a shell script and add the options to ~/.mplayer/config as it is quite long):
mplayer -vo fbdev -fbmode qvga -vf rotate=1,crop=240:320 -fs -framedrop -vm -cache 8192 -really-quiet filename.avi
He also included his mencoder line, although I have not yet tried it...
mencoder -quiet -of avi -ofps 25 -sws 10 -vf scale=320:-2::: -ovc lavc -lavcopts vcodec=msmpeg4:vme=4:autoaspect:mbd=1:vbitrate=250 -oac mp3lame -lameopts preset=cd inputfile.avi -o outputfile.avi
So, many thanks to piku over at atari-source.org for this! Video was the last gremlin I had to work out.
EDIT: Now I just need to mash together a quick script to run mplayer and then redraw the screen as mplayer does not do it. Anyone know an easy way to do this?
-
Anyone know an easy way to do this?
Isn't Quasar available in the Debian feeds? If so, that might be a good option. A fast GUI that will use whatever options you like. I don't currently run Debian.
-
Yes, there is a Quasar package in the custom post (and feed).
Thanks canguy247 for the tip. It's interesting because now you say mplayer can play video smoothly without the "-vo pxa" option. Haven't tested it though.
-
Yes, there is a Quasar package in the custom post (and feed).
Thanks canguy247 for the tip. It's interesting because now you say mplayer can play video smoothly without the "-vo pxa" option. Haven't tested it though.
Actually, it is using pxa (I think...could be wrong). By using FB overlay it uses pxa. Even if it is not used, it does not do much anyway (ie. does not provide scaling which is the big thing)
Someone correct me if I am on crack.
-
So how is the actual performance of video playback now? Is it good enough?
-
I have not had a chance to really play with it but 320x240 is perfect. I will try 640x480 at some point but the article in the link says it is a no-go.
Canguy
-
I have not had a chance to really play with it but 320x240 is perfect. I will try 640x480 at some point but the article in the link says it is a no-go.
Canguy
You should also try 512x384.
-
Now I just need to mash together a quick script to run mplayer and then redraw the screen as mplayer does not do it. Anyone know an easy way to do this?
AFAIK ,to redraw the screen u can just just issue xrandr -o normal
good luck
-
I have not had a chance to really play with it but 320x240 is perfect. I will try 640x480 at some point but the article in the link says it is a no-go.
Canguy
Well, in pdaXrom beta3 it was a go-go. Overclocked, but worked. For some movies overclocking wasn't needed. I thought Debian is *optimized* and will work great, but I was mistaken. The difference in quality between 320x240 and 640x480 is huge. At least to me. Watching 640x480 is the only way to go there, as 320x240 is just ugly.
-
I am happy to say I have found a solution. I got the info from this link,
This isnt working for me.
I get an error saying that mplayer "cannot connect to socket" and "file not found".
Any Ideas?