LinuxQuestions.org
Help answer threads with 0 replies.
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 08-11-2004, 05:15 PM   #1
dodo1983
Member
 
Registered: May 2004
Location: BS
Distribution: Mandrake
Posts: 59

Rep: Reputation: 15
help!! ....mplayer


I installed and compiled mplayer but I cannot play anything in it.
If I want make something play (video/audio), mplayer isn't shown under the application-list. And if I (for ex.) choose Totem, he asks me to download something. I agree and try it once again and it starts me asking again to download a codec or whatever.
I am realy confused and I would be very happy for some help.
 
Old 08-11-2004, 05:48 PM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
open up a terminal and type in

mplayer /path/to/the/file/you/want/play.mpg
 
Old 08-12-2004, 05:10 AM   #3
dodo1983
Member
 
Registered: May 2004
Location: BS
Distribution: Mandrake
Posts: 59

Original Poster
Rep: Reputation: 15
[usr@usr usr$ mplayer /home/usr/Documents/redirect.lsc
MPlayer 1.0pre3-3.3.2 (C) 2000-2003 MPlayer Team

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 1123 MHz (Family: 6, Stepping: 6)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading config file /etc/mplayer/mplayer.conf
Reading config file /home/usr/.mplayer/config
Reading /home/usr/.mplayer/codecs.conf: Can't open '/home/usr/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 61 audio & 169 video codecs
font: can't open file: /home/usr/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Using usleep() timing
Can't open input config file /home/usr/.mplayer/input.conf: No such file or directory
Input config file /etc/mplayer/input.conf parsed: 53 binds
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.

Playing /home/usr/Documents/redirect.lsc.
Cache fill: 0.00% (129 bytes) LMLM4 Stream Format not found


Exiting... (End of file)
===============================================
Any help?
 
Old 08-12-2004, 05:36 AM   #4
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
Your command was:

mplayer /home/usr/Documents/redirect.lsc

are you sure that this is a file you can play - that this is a media-file? - MPlayer plays almost anything right out of the box.
I've never seen a media file with the ending .lsc
 
Old 08-12-2004, 05:49 AM   #5
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
never that format either...

but like it says, mplayer was compiled wrongly, it cant open the rtc timer, and it cant open a socket .... (bad kernel?)

i dono what the problem is.... but you should think of recompiling mplayer like it says to get more optimal performance
 
Old 08-12-2004, 08:41 AM   #6
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
I suppose (in fact - I know!) these errors are not fatal and are not causing mplayer to fail playing that file.
The socket it complains about is related to LIRC - which is not neccesary to have - and the error about RTC-init is definitivly not fatal - I had this all the time until I did what the message suggests:
"Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts."

I did and it is using RTC now - but it works just fine without this - using usleep() timing
Fot the RTC timing method to work it is also necessary to have kernel-level support for it - not sure if that is even the case here.

Anyway - mplayer always works best, if you compiled it yourself on - and for - your machine.

It is just not a media-file - or at least not one, that mplayer knows about.

MPlayer does not care about the files ending - it determines the file-type by content - but this could fail and then it goes by what the filenames ending suggests.
 
Old 08-12-2004, 11:48 AM   #7
dodo1983
Member
 
Registered: May 2004
Location: BS
Distribution: Mandrake
Posts: 59

Original Poster
Rep: Reputation: 15
[usr@usr Documents]$ mplayer troy@www.pl?ynetcn.com.rmvb
MPlayer 1.0pre3-3.3.2 (C) 2000-2003 MPlayer Team

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 1672 MHz (Family: 6, Stepping: 6)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading config file /etc/mplayer/mplayer.conf
Reading config file /home/usr/.mplayer/config
Reading /home/usr/.mplayer/codecs.conf: Can't open '/home/dodo/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 61 audio & 169 video codecs
font: can't open file: /home/usr/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Using usleep() timing
Can't open input config file /home/usr/.mplayer/input.conf: No such file or directory
Input config file /etc/mplayer/input.conf parsed: 53 binds
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.

Playing troy@www.pl?ynetcn.com.rmvb.
Cache fill: 0.00% (0 bytes) REAL file format detected.
skip_str: 12 bytes skipped
skip_str: 20 bytes skipped
======= WAVE Format =======
Format Tag: 29793 (0x7461)
Channels: 2
Samplerate: 44100
avg byte/sec: 66150
Block align: 768
bits/sample: 16
cbSize: 20
Unknown extra header dump: [c0] [0] [14] [0] [0] [0] [0] [3] [a] [0] [0] [0] [0] [4] [8] [0] [8] [8e] [0] [12]
===========================
skip_str: 12 bytes skipped
skip_str: 20 bytes skipped
skip_str: 0 bytes skipped
skip_str: 16 bytes skipped
Not audio/video stream or unsupported!


========================

here I try to play an other media... maybe I have to download some other codecs?
Thanks for your help
 
  


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 12:46 AM.

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