LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help!! ....mplayer (https://www.linuxquestions.org/questions/linux-newbie-8/help-mplayer-216394/)

dodo1983 08-11-2004 05:15 PM

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.

SciYro 08-11-2004 05:48 PM

open up a terminal and type in

mplayer /path/to/the/file/you/want/play.mpg

dodo1983 08-12-2004 05:10 AM

[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?

jomen 08-12-2004 05:36 AM

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

SciYro 08-12-2004 05:49 AM

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

jomen 08-12-2004 08:41 AM

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.

dodo1983 08-12-2004 11:48 AM

[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


All times are GMT -5. The time now is 10:58 PM.