View previous topic :: View next topic |
Author |
Message |
MasterX Veteran
Joined: 26 Jun 2003 Posts: 1165
|
Posted: Thu Jan 13, 2005 2:03 am Post subject: mplayer + fbdev + kernel 2.6.10 do not work very well |
|
|
Hi
I found the following problem with mplayer and fbdev
When I was using kernel 2.6.7 I was switching to another terminal and run mplayer with "-vo fbdev". Because the image was small the command "-vop scale=1024:768" will resize it to the size of the screen.
Now, that I am using kernel 2.6.10 the switch "-vop scale=1024:768" results in either no image or the lower part of the image on the top of the screen; the width of the image is equal to the width of the screen. Wether I would get an image or not I think depends on the type of the movie (avi, mpeg, etc).
With the new kernel I do have support of framebuffer; I used the config file from the previous version of the kernel.
Does anybody know why this is happening? Is this a bug in the code of the kernel/mplayer?
I forgot to say that I have mplayer-1_pre6a
Thank you |
|
Back to top |
|
|
MasterX Veteran
Joined: 26 Jun 2003 Posts: 1165
|
Posted: Fri Jan 14, 2005 3:49 pm Post subject: |
|
|
No one has ever experienced this?
Does this mean that it works fine for you or that you have not tested it? |
|
Back to top |
|
|
BlastM Tux's lil' helper
Joined: 07 Mar 2003 Posts: 133 Location: Newcastle, Australia. 7487 miles south-west of America.
|
Posted: Tue Jan 18, 2005 7:35 am Post subject: |
|
|
I've been experiencing it.
I'm sorry I can't contribute anything, other than letting you know you're not alone.
Mplayer was fetched and compiled last night (from x86), as were all it's dependencies. Kernel 2.6.9-rc2-love4. |
|
Back to top |
|
|
Gentist Apprentice
Joined: 20 Mar 2004 Posts: 247
|
Posted: Wed Mar 02, 2005 12:23 pm Post subject: |
|
|
I've been trying to get mplayer to run on my console, though while fbdev worked for me, scaling the video (-vf scale=1280:960) kills the framerate completely, which makes it pointless to watch the video.
Right now I'm using the following:
Code: |
mplayer -ao alsa -vo fbdev -sws 2 -autoq 100 -fs -vf scale=1280:960 video.avi
|
Which gives me said result. Is there a way to accelerate playback in some way? I've got an nVidia (5200) gfx card, so if there's any hardware acceleration or similar that could help me, let me know...
Regarding the misplaced image, try adding the -fs (fullscreen) option to mplayer. It's supposed to center the image and add black borders around it. |
|
Back to top |
|
|
k_max n00b
Joined: 28 Oct 2004 Posts: 20
|
Posted: Wed Mar 02, 2005 2:23 pm Post subject: |
|
|
hi all!
i'm using the following code in my ~/.bashrc. i have a 1024x768 fb console.
Code: |
case $TERM in
linux)
alias mplayer='mplayer -really-quiet -vo fbdev -ao alsa -menu -vf scale=1024:-2 -fs'
*)
;;
esac
|
works OK.
mplayer --version said:
Code: |
MPlayer dev-CVS-050210-11:27-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 10)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE
|
_________________ 2.6.12-rc3-love1 / 2.6.12-rc4-nitro1
static custom DSDT |
|
Back to top |
|
|
Gentist Apprentice
Joined: 20 Mar 2004 Posts: 247
|
Posted: Thu Mar 03, 2005 1:42 pm Post subject: |
|
|
I tried your setup, but it's still slow. Isn't there some acceleration for nvidia cards or something? Or am I missing some option in MPlayer? I'm running gensplash with framebuffer at 1280x1024@75Hz. As I mentioned before, not scaling it works fine.
My mplayer --version says:
Code: |
MPlayer 1.0pre6-3.4.3 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
3DNow supported but disabled
3DNowExt supported but disabled
CPUflags: MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions:
|
The only major difference between my output and yours is the MMX support, and the version number... I'm not sure if MMX support would help much, though if it will, I'll give it a try. |
|
Back to top |
|
|
MasterX Veteran
Joined: 26 Jun 2003 Posts: 1165
|
Posted: Thu Mar 03, 2005 3:45 pm Post subject: |
|
|
It turns out that I do not experience this for all the movies. There were movies which were played just fine and some others which gave me the above problem. |
|
Back to top |
|
|
|