LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mplayer? (https://www.linuxquestions.org/questions/linux-newbie-8/mplayer-308846/)

JoeUser11 04-01-2005 11:59 PM

mplayer?
 
Since Kaffine and RealPlayer have insisted on being lame, I've gone with mPlayer. Only problem is, if I play any movie, it plays it really wierd.

I'm using SuSe9.2, a Micro-Star International i845 graphics card and a "generic monitor". Anything else you need just ask.

Here is the text it outputs when I run it:
Code:

Script started on Fri 01 Apr 2005 11:36:27 PM PST
jordan@linux:~/Desktop> mplayer Mule.wmv
MPlayer 1.0pre6-3.3.3 (C) 2000-2004 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 9)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2


Failed to open /dev/rtc: Permission denied (it should be readable by the user.)
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Permission denied
Failed to open LIRC support.
You will not be able to use your remote control.
Playing Mule.wmv.
ASF file format detected.
VIDEO:  [WMV1]  320x240  24bpp  1000.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 name: Mule
 author:
 copyright: BMW Great Britain Ltd
 comments:
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 16000 Hz, 1 ch, 16 bit (0x10), ratio: 2000->32000 (16.0 kbit)
Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (ffmpeg))
==========================================================================
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffwmv1] vfm:ffmpeg (FFmpeg M$ WMV1/WMV7)
==========================================================================
Checking audio filter chain for 16000Hz/1ch/16bit -> 16000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 1 ch, 16000 hz, little endian signed int
AF_pre: 16000Hz 1ch Signed 16-bit (Little-Endian)
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
AO: [null] 16000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 16000Hz/1ch/16bit -> 16000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 320 x 240 (preferred csp: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: using unscaled Planar YV12 -> BGR 16-bit special converter
VO: [fbdev] 320x240 => 320x240 BGR 16-bit
A:  5.0 V:  5.0 A-V:  0.001 ct:  0.000  1/  1 ??% ??% ??,?% 0 0                                                                                       
A:  5.0 V:  5.1 A-V: -0.019 ct: -0.002  2/  2 ??% ??% ??,?% 0 0                                                                       

#... A whole bunch of above, untill finally, when the video ends...               
                                                                                     
A:  35.0 V:  35.2 A-V: -0.184 ct: -0.072 454/454  1%  0%  0.2% 0 0                                                                                       


Exiting... (End of file)
jordan@linux:~/Desktop> hu
Script done on Fri 01 Apr 2005 11:37:23 PM PST

And look at this screenshot. You can see it barely up top. I can hear the sound fine.
http://www.freewebs.com/clanbird/snapshot5.png
and here is it in "fullscreen"
http://www.freewebs.com/clanbird/snapshot6.png

Electro 04-02-2005 02:29 AM

You are running it in framebuffer. Try use xv or x11 as the video output device.

JoeUser11 04-04-2005 10:45 PM

no xv or x11 seem to work. I looked throught the mplayer list of video output devices and tried them all one by one, with no luck. Where can I get xv or x11?

Electro 04-04-2005 11:08 PM

It depends on the driver. You may have to run Linux only in framebuffer mode. If you do not want to use framebuffer, search Intel's site for a Linux driver.

JoeUser11 04-05-2005 10:12 PM

Can you explain a little more? How can you run linux in framebuffer mode? I'm fine with that, I just want some way to actually watch movies.

rjkfsm 04-06-2005 10:33 AM

IMHO, me thinks your error has nothing to do with your video. Look at your first error:

Failed to open /dev/rtc: Permission denied (it should be readable by the user.)


/dev/rtc is the real time clock. It appears your kernel is not loading the rtc as a module, thus it is not available and thus unreadable. This would explain why the audio sounds warbled. Without a time standard, the app cannot keep "a beat".

I'm not sure how to configure the kernel in SuSE, but the Debian way is with module-assistant. I believe you need to d/l, configure and install enhanced RTC support.

RK

Electro 04-07-2005 04:23 PM

mplayer works fine if /dev/rtc does not have the right permissions or you are using 2.6.x kernel which relies on a different real time scheme. Again it is the framebuffer because not all codecs works correctly in that mode. Try using either xv or x11 as the video output device. If that does not work buy an AGP graphics card like a nVidia GeForce6 6200.


All times are GMT -5. The time now is 07:55 AM.