Help - Search - Members - Calendar
Full Version: Mplayer Questions
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
silencer51
I'm back to beta3, I'm using XFCE4 from Chero's feed, and everything works perfectly.

I have installed mplayer 1.1.5 bvdd from the cacko feed - while it is faster than the pdaX one, I still can't play a 640x480 file properly.

Even with a video bitrate of 200kbps and audio at 56kbps, mplayer gives about 15-20 fps max. The audio is also out of sync.

When I play the video with -nosound, it plays perfectly - which leads me to believe there's some sort of problem with the audio decoding.

The sound on the video is a 56k mp3.

I've noticed that libmp3 is nowhere to be found. (mplayer reports it uses libmad instead).

Could this be the problem?
stupkid
The Cacko mplayer uses libmad because it is faster at decoding audio on ARM procs. There are ancient threads you could probably find on this.
silencer51
Ok, I think I've made some progress.

I've encoded a 640x272 clip with a video bitrate of 500kbps and an audio bitrate of 96kbps (mp3).

It plays fine with the following options:

mplayer -vo bvdd -cache 8192 -autosync 30

I am playing the video from the microdrive. However, after the portion of the video stored in the cache is over, the microdrive spins up every once in a while to load data, thus causing pauses and loss of a/v synchronization...

Any ideas about that?
Da_Blitz
dont ask. its highly technical.

to sum it up, the pxa processor cant read from the microdrive and ram at the same time and reading from the microdrive causes a huge performance hit because it is so slow

try SD smile.gif
silencer51
When playing from the microdrive, if I don't use the -cache option, the video plays perfectly! Weird...

Video bitrate @ 500kbps, audio @ 96kbps.

Not bad... ;-)
adf
QUOTE(silencer51 @ Aug 12 2006, 11:17 AM)
When playing from the microdrive, if I don't use the -cache option, the video plays perfectly! Weird...

Video bitrate @ 500kbps, audio @ 96kbps.

Not bad... ;-)
*

I gotta ask< though... do you really think a 640x480 (or 270) ar 500k looks better than a 320x240 at 500k..or even 300k? My impression has been that the artifacting you get from hires lowbandwidth is actually worse than the loss of resolution you get going to lowres qvga while maintaining things like framrate and contrast.

eitherway, -framedrop and -autosync 30 are probably a good idea.
silencer51
QUOTE(adf @ Aug 13 2006, 02:05 AM)
QUOTE(silencer51 @ Aug 12 2006, 11:17 AM)
When playing from the microdrive, if I don't use the -cache option, the video plays perfectly! Weird...

Video bitrate @ 500kbps, audio @ 96kbps.

Not bad... ;-)
*

I gotta ask< though... do you really think a 640x480 (or 270) ar 500k looks better than a 320x240 at 500k..or even 300k? My impression has been that the artifacting you get from hires lowbandwidth is actually worse than the loss of resolution you get going to lowres qvga while maintaining things like framrate and contrast.

eitherway, -framedrop and -autosync 30 are probably a good idea.
*



Unfortunately, I can't seem to be able to get mplayer to play a 320x240 video fullscreen...
InSearchOf
I have you used -vf scale=640:480?

Late
silencer51
Thanks InSearchOf, that did the trick.

However I can see no difference in performance between 640x272 and 320x163.

The 640x272 looks crisper, as it should.

It's a pity that while the Z can play xvid videos beautifully, the internal microdrive holds it back...

Are CF cards faster than SD cards? Perhaps the videos played through a CF card won't have this problem...
Da_Blitz
the way the CF card is wired up causes a big performance hit, SD dosent have this problem however unless you have high speed support for SD cards enabled the SD card might not be fast enough

basically there are problems with CF and SD, SD we dont have the spec so writing drivers is hard and CF is wired up so that while acsessing the CF card you cant talk to the RAM (shared bus)
silencer51
The SD card I've tried is 66x and when playing the same 500mb video I get minor stuttering here and there too... :-(

So upgrading to a high speed CF card won't solve the problem, then?
Meanie
QUOTE(silencer51 @ Aug 16 2006, 10:05 AM)
The SD card I've tried is 66x and when playing the same 500mb video I get minor stuttering here and there too... :-(

So upgrading to a high speed CF card won't solve the problem, then?
*


I think the problem with the MicroDrive is that it goes to sleep after some time of inactivity, ie when the movie is being played and when the section has finished playing, the microdrive is read again, but since it has gone to sleep it takes a short moment for it to wake up again and spin to the right location causing a slight delay. what you want is to enable buffering, but make sure you disable any swapfile or partition that may have been enabled. you want the buffer in cache/real memory, not in swap.
neo_com_3
Hi there...

I want to try mplayer, but when I install it, I use the terminal and it won't run...

Why?

Tnx...
Da_Blitz
what error messages do you get?
zi99y
To resurrect an mplayer thread with a couple of my finds-

I just can't get a 640x480 movie running smoothly enough, this isn't such a problem as I have encoded some 320x240 vids to work, the problem now is running them fullscreen.

- BVDD mode will not run when the screen size is set to 320x240 using xrandr

- BVDD doesn't work with -vf scale=640:480

What does work:

- I can use xrandr to resize the screen and use the default video out device, but it's still not fast enough to keep, this is what I use most of the time.

- Using the -vm parameter with BVDD works! screen is resized and video's play beautifully BUT!! when the screen is resized there is some evil looking flashing, and once mplayer has quit there is horrid artifacts left behind until the screen refreshes. I'm scared to use this mode in case it's damaging the screen.

So does anyone have any input into this problem, or some settings they can recommend me?

Thanks
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.