![]() ![]() |
Feb 2 2008, 04:13 AM
Post
#1
|
|
|
Group: Members Posts: 70 Joined: 6-January 07 Member No.: 13,740 |
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 |
|
|
|
Feb 4 2008, 08:57 PM
Post
#2
|
|
|
Group: Members Posts: 70 Joined: 6-January 07 Member No.: 13,740 |
Does nobody play video with Debian???
|
|
|
|
Feb 4 2008, 09:35 PM
Post
#3
|
|
![]() Group: Members Posts: 409 Joined: 3-December 06 Member No.: 13,063 |
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 |
|
|
|
Feb 10 2008, 08:52 AM
Post
#4
|
|
|
Group: Members Posts: 70 Joined: 6-January 07 Member No.: 13,740 |
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. |
|
|
|
Feb 15 2008, 04:59 AM
Post
#5
|
|
![]() Group: Members Posts: 1,019 Joined: 15-February 05 From: France Member No.: 6,477 |
|
|
|
|
Mar 24 2008, 10:11 AM
Post
#6
|
|
|
Group: Members Posts: 70 Joined: 6-January 07 Member No.: 13,740 |
I am happy to say I have found a solution. I got the info from this link,
Good video performance... 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: QUOTE 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): QUOTE 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... QUOTE 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? |
|
|
|
Mar 24 2008, 06:21 PM
Post
#7
|
|
|
Group: Members Posts: 578 Joined: 2-January 04 From: Texas USA Member No.: 1,324 |
|
|
|
|
Mar 25 2008, 12:16 AM
Post
#8
|
|
|
Group: Members Posts: 2,003 Joined: 16-April 04 From: the Netherlands && /dev/null Member No.: 2,882 |
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. |
|
|
|
Mar 25 2008, 12:24 AM
Post
#9
|
|
|
Group: Members Posts: 70 Joined: 6-January 07 Member No.: 13,740 |
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. |
|
|
|
Mar 25 2008, 12:39 AM
Post
#10
|
|
|
Group: Members Posts: 2,003 Joined: 16-April 04 From: the Netherlands && /dev/null Member No.: 2,882 |
So how is the actual performance of video playback now? Is it good enough?
|
|
|
|
Mar 25 2008, 01:23 AM
Post
#11
|
|
|
Group: Members Posts: 70 Joined: 6-January 07 Member No.: 13,740 |
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 |
|
|
|
Mar 25 2008, 10:35 AM
Post
#12
|
|
|
Group: Members Posts: 578 Joined: 2-January 04 From: Texas USA Member No.: 1,324 |
|
|
|
|
Apr 13 2008, 12:06 PM
Post
#13
|
|
|
Group: Members Posts: 26 Joined: 24-June 07 Member No.: 17,442 |
|
|
|
|
Apr 13 2008, 08:46 PM
Post
#14
|
|
![]() Group: Members Posts: 409 Joined: 3-December 06 Member No.: 13,063 |
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. |
|
|
|
Jul 29 2008, 06:52 AM
Post
#15
|
|
|
Group: Members Posts: 36 Joined: 29-August 06 Member No.: 11,035 |
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 23rd May 2013 - 10:11 AM |