Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mplayer + fbdev + kernel 2.6.10 do not work very well
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
MasterX
Veteran
Veteran


Joined: 26 Jun 2003
Posts: 1165

PostPosted: Thu Jan 13, 2005 2:03 am    Post subject: mplayer + fbdev + kernel 2.6.10 do not work very well Reply with quote

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
View user's profile Send private message
MasterX
Veteran
Veteran


Joined: 26 Jun 2003
Posts: 1165

PostPosted: Fri Jan 14, 2005 3:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
BlastM
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2003
Posts: 133
Location: Newcastle, Australia. 7487 miles south-west of America.

PostPosted: Tue Jan 18, 2005 7:35 am    Post subject: Reply with quote

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
View user's profile Send private message
Gentist
Apprentice
Apprentice


Joined: 20 Mar 2004
Posts: 247

PostPosted: Wed Mar 02, 2005 12:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
k_max
n00b
n00b


Joined: 28 Oct 2004
Posts: 20

PostPosted: Wed Mar 02, 2005 2:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gentist
Apprentice
Apprentice


Joined: 20 Mar 2004
Posts: 247

PostPosted: Thu Mar 03, 2005 1:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
MasterX
Veteran
Veteran


Joined: 26 Jun 2003
Posts: 1165

PostPosted: Thu Mar 03, 2005 3:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum