LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-01-2005, 11:59 PM   #1
JoeUser11
Member
 
Registered: Dec 2004
Location: Austin, TX
Distribution: SuSe9.3
Posts: 143

Rep: Reputation: 15
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
 
Old 04-02-2005, 02:29 AM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You are running it in framebuffer. Try use xv or x11 as the video output device.
 
Old 04-04-2005, 10:45 PM   #3
JoeUser11
Member
 
Registered: Dec 2004
Location: Austin, TX
Distribution: SuSe9.3
Posts: 143

Original Poster
Rep: Reputation: 15
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?
 
Old 04-04-2005, 11:08 PM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
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.
 
Old 04-05-2005, 10:12 PM   #5
JoeUser11
Member
 
Registered: Dec 2004
Location: Austin, TX
Distribution: SuSe9.3
Posts: 143

Original Poster
Rep: Reputation: 15
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.
 
Old 04-06-2005, 10:33 AM   #6
rjkfsm
Member
 
Registered: Apr 2004
Location: Charleston, SC
Distribution: RHEL, CentOS, Debian, Gentoo, Knoppix & DSL
Posts: 126

Rep: Reputation: 15
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
 
Old 04-07-2005, 04:23 PM   #7
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
using mplayer with .asx without -playlist? Would be useful for mplayer plug-in pierrethibault Linux - Software 1 02-18-2005 08:12 AM
No sound in mplayer or mplayer firefox plugin case1984 Linux - Newbie 1 01-21-2005 12:58 AM
How to install mplayer gui after installing mplayer kaega2 Linux - Software 5 10-07-2003 10:44 AM
More mplayer issues...no /.mplayer folder?! lt1derful Linux - Software 3 08-03-2003 09:09 PM
mplayer is cool ... mplayer plug-in is even cooler..! linuxlah Linux - General 4 07-16-2003 10:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration