Jump to content
Sign in to follow this  
Kieth

mplayer not working

Recommended Posts

Trying to start mplayer from console gives me the following report. Of course it will not start. Any idea why? I usually use mplayer and xine. Are there viable alternatives? Thanks, Kieth

 

[kieth@host-001 ~]$ mplayer

MPlayer SVN-1.rc3.0.r29554.2plf2010.0-4.4.1 © 2000-2009 MPlayer Team

3DNow supported but disabled

3DNowExt supported but disabled

Usage: mplayer [options] [url|path/]filename

 

I un-installed it, then re-installed it, to see if it would add any dependent packages. But no, nothing changed.

 

 

[moved from Software by spinynorman]

Share this post


Link to post
Share on other sites

mplayer %URL%

or

mplayer %FILE%

 

This is the correct syntax to start mplayer from console.

Of course you can add one hundred different switches.

Try "mplayer -h" for more options.

Share this post


Link to post
Share on other sites

Trying to start mplayer from console gives me the following report. Of course it will not start. Any idea why? I usually use mplayer and xine. Are there viable alternatives? Thanks, Kieth

 

[kieth@host-001 ~]$ mplayer

MPlayer SVN-1.rc3.0.r29554.2plf2010.0-4.4.1 © 2000-2009 MPlayer Team

3DNow supported but disabled

3DNowExt supported but disabled

Usage: mplayer [options] [url|path/]filename

 

I un-installed it, then re-installed it, to see if it would add any dependent packages. But no, nothing changed.

I've been wondering the same thing about the 3DNow support. I can't find an answer anywhere. I'm wondering if it's a stability issue.

 

As soon as there's a stable version on their trunk, I'm going to compile it myself to get all the bells & whistles.

 

At any rate, mplayer functions fine for me.

Edited by JillSwift

Share this post


Link to post
Share on other sites

Here's the result of the commands you gave, scrawcrow. Even when I push the icon to start mplayer, it doesn't start. That's why I tried to start it in console.

 

[kieth@host-001 ~]$ mplayer %URL%

MPlayer SVN-1.rc3.0.r29554.2plf2010.0-4.4.1 © 2000-2009 MPlayer Team

3DNow supported but disabled

3DNowExt supported but disabled

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 %URL%.

File not found: '%URL%'

Failed to open %URL%.

 

 

Exiting... (End of file)

[kieth@host-001 ~]$ mplayer %FILE%

MPlayer SVN-1.rc3.0.r29554.2plf2010.0-4.4.1 © 2000-2009 MPlayer Team

3DNow supported but disabled

3DNowExt supported but disabled

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 %FILE%.

File not found: '%FILE%'

Failed to open %FILE%.

 

 

Exiting... (End of file)

Share this post


Link to post
Share on other sites

%URL% and %FILE% aren't literal, replace them with a URL to stream from or file name with content to play.

Share this post


Link to post
Share on other sites

It works fine here.

 

mplayer Xanadu.avi

MPlayer SVN-1.rc3.0.r29554.2plf2010.0-4.4.1 © 2000-2009 MPlayer Team

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 Xanadu.avi.

AVI file format detected.

[aviheader] Video stream found, -vid 0

[aviheader] Audio stream found, -aid 1

VIDEO: [DIV3] 608x256 24bpp 23.976 fps 819.3 kbps (100.0 kbyte/s)

Clip info:

Software: Nandub v1.0rc2

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

Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family

Selected video codec: [ffdivx] vfm: ffmpeg (FFmpeg DivX ;-) (MSMPEG-4 v3))

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

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

Trying to force audio codec driver family libmad...

Opening audio decoder: [libmad] libmad mpeg audio decoder

AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)

Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)

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

AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)

Starting playback...

VDec: vo config request - 608 x 256 (preferred colorspace: Planar YV12)

VDec: using Planar YV12 as output csp (no 0)

Movie-Aspect is undefined - no prescaling applied.

VO: [xv] 608x256 => 608x256 Planar YV12 [zoom]

A: 19.3 V: 19.3 A-V: 0.002 ct: 0.022 464/464 3% 0% 1.1% 1 0

Share this post


Link to post
Share on other sites
%URL% and %FILE% aren't literal, replace them with a URL to stream from or file name with content to play.

 

Well, I really didn't think they were, but . . . .

 

Anyway - it did work. Any idea why it won't start when I push the mplayer icon? The executable command, mplayer, is in usr/bin.

 

[kieth@host-001 ~]$ mplayer /home/kieth/Desktop/Greeting.mov

MPlayer SVN-1.rc3.0.r29554.2plf2010.0-4.4.1 © 2000-2009 MPlayer Team

3DNow supported but disabled

3DNowExt supported but disabled

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/kieth/Desktop/Greeting.mov.

libavformat file format detected.

[lavf] Video stream found, -vid 0

[lavf] Audio stream found, -aid 1

VIDEO: [avc1] 160x120 24bpp 10.000 fps 0.0 kbps ( 0.0 kbyte/s)

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

Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family

Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)

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

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

Trying to force audio codec driver family libmad...

Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)

FAAD: compressed input bitrate missing, assuming 128kbit/s!

AUDIO: 32000 Hz, 2 ch, s16le, 128.0 kbit/12.50% (ratio: 16000->128000)

Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))

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

AO: [pulse] 32000Hz 2ch s16le (2 bytes per sample)

Starting playback...

VDec: vo config request - 160 x 120 (preferred colorspace: Planar YV12)

VDec: using Planar YV12 as output csp (no 0)

Movie-Aspect is undefined - no prescaling applied.

VO: [xv] 160x120 => 160x120 Planar YV12 [zoom]

A: 24.1 V: 24.1 A-V: -0.000 ct: 0.064 0/ 0 3% 2% 1.2% 2 0

Exiting... (Quit)

Share this post


Link to post
Share on other sites

Well, I really didn't think they were, but . . . .

 

Anyway - it did work. Any idea why it won't start when I push the mplayer icon? The executable command, mplayer, is in usr/bin.

I have a suspicion: mplayer configures without GUI support by default now.

 

The GUI is launched with "gmplayer" (alternatively, "mplayer -gui"). See if that gives you any information, yes?

 

 

P.S. I've discovered that 3dnow and 3dnowext support is very unstable in mplayer at the moment, that's why it's been disabled.

Edited by JillSwift

Share this post


Link to post
Share on other sites

Hey, thanks. The command gmplayer works fine in console. Still, the icon in the menu still doesn't work, but at least I can get it to work if I want.

Share this post


Link to post
Share on other sites

yay! :thumbs:

 

You can have a look at the menu icon by editing the menu (right click on the menu icon, select edit menu"). Perhaps it has a switch set that it should not.

Share this post


Link to post
Share on other sites

:) So I edited the menu. Still some strange things happen. If I click on the .mov video and say open with mplayer, I get the the same results as the following command done in console:

 

[kieth@host-001 ~]$ gmplayer /home/kieth/Desktop/Greeting.mov

MPlayer SVN-1.rc3.0.r29554.3.1mdv2010.0-4.4.1 © 2000-2009 MPlayer Team

3DNow supported but disabled

3DNowExt supported but disabled

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/kieth/Desktop/Greeting.mov.

libavformat file format detected.

[lavf] Video stream found, -vid 0

[lavf] Audio stream found, -aid 1

VIDEO: [avc1] 160x120 24bpp 10.000 fps 0.0 kbps ( 0.0 kbyte/s)

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

Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family

Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)

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

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

Trying to force audio codec driver family libmad...

Requested audio codec family [faad] (afm=faad) not available.

Enable it at compilation.

Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders

AUDIO: 16000 Hz, 1 ch, s16le, 0.0 kbit/0.00% (ratio: 0->32000)

Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))

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

AO: [alsa] 16000Hz 1ch s16le (2 bytes per sample)

[AO_ALSA] Unable to find simple control 'PCM',0.

Starting playback...

VDec: vo config request - 160 x 120 (preferred colorspace: Planar YV12)

VDec: using Planar YV12 as output csp (no 0)

Movie-Aspect is undefined - no prescaling applied.

VO: [xv] 160x120 => 160x120 Planar YV12 [zoom]

[AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 0 0

[AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 1 0

[AO_ALSA] Unable to find simple control 'PCM',0. ??% ??% ??,?% 2 0

[AO_ALSA] Unab

 

 

As you can see below, if I start the .mov video with the command mplayer, it works just fine. When I run this video with xine or totem, there's no sound.

 

[kieth@host-001 ~]$ mplayer /home/kieth/Desktop/Greeting.mov

MPlayer SVN-1.rc3.0.r29554.3.1mdv2010.0-4.4.1 © 2000-2009 MPlayer Team

3DNow supported but disabled

3DNowExt supported but disabled

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/kieth/Desktop/Greeting.mov.

libavformat file format detected.

[lavf] Video stream found, -vid 0

[lavf] Audio stream found, -aid 1

VIDEO: [avc1] 160x120 24bpp 10.000 fps 0.0 kbps ( 0.0 kbyte/s)

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

Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family

Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)

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

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

Trying to force audio codec driver family libmad...

Requested audio codec family [faad] (afm=faad) not available.

Enable it at compilation.

Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders

AUDIO: 16000 Hz, 1 ch, s16le, 0.0 kbit/0.00% (ratio: 0->32000)

Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))

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

AO: [pulse] 16000Hz 1ch s16le (2 bytes per sample)

Starting playback...

VDec: vo config request - 160 x 120 (preferred colorspace: Planar YV12)

VDec: using Planar YV12 as output csp (no 0)

Movie-Aspect is undefined - no prescaling applied.

VO: [xv] 160x120 => 160x120 Planar YV12 [zoom]

A: 4.2 V: 4.2 A-V: -0.021 ct: 0.062 0/ 0 8% 0% 0.1% 2 0

Exiting... (Quit)

Share this post


Link to post
Share on other sites

Now I think you may have bad settings in (or corruption of) the GUI configure files.

 

cd ~/.mplayer
mv gui.* ../

 

and see if gmplayer behaves better afterward.

 

To move the files back:

cd ~/.mplayer
mv ../gui.* .

Share this post


Link to post
Share on other sites
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...