Jump to content

No sound from MPlayer [solved]


Recommended Posts

  • Replies 41
  • Created
  • Last Reply

Top Posters In This Topic

Sure:

 

root@WaynesWorld:/home/ctt1wbw # mplayer -ao help

MPlayer 1.0pre6-3.3.4 © 2000-2004 MPlayer Team

CPU: Intel Pentium M Banias (Family: 6, Stepping: 5)

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

 

 

Available audio output drivers:

mpegpes DVB audio output

oss OSS/ioctl audio output

esd EsounD audio output

null Null audio output

pcm RAW PCM/WAVE file writer audio output

plugin Plugin audio output

 

root@WaynesWorld:/home/ctt1wbw #

 

 

ALSA is not listed for whatever reason. And then:

 

root@WaynesWorld:/home/ctt1wbw/Videos # mplayer --disable-esd -ao alsa BattlestarGalactica1x12.avi

MPlayer 1.0pre6-3.3.4 © 2000-2004 MPlayer Team

CPU: Intel Pentium M Banias (Family: 6, Stepping: 5)

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

 

 

77 audio & 188 video codecs

Failed to open /dev/rtc: No such file or directory (it should be readable by the user.)

Playing -ao.

File not found: '-ao'

Failed to open -ao

 

Playing alsa.

File not found: 'alsa'

Failed to open alsa

 

Playing BattlestarGalactica1x12.avi.

AVI file format detected.

VIDEO: [XVID] 640x368 24bpp 25.000 fps 1036.6 kbps (126.5 kbyte/s)

Clip info:

Software: transcode-0.6.14

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

Opening audio decoder: [mp3lib] MPEG layer-2, layer-3

AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128.0 kbit)

Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)

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

vo: X11 running at 1280x800 with depth 24 and 32 bpp (":0.0" => local display)

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

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

Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)

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

Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...

AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int

AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)

[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory

[AO ESD] esd_open_sound failed: No such file or directory

AO: [null] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)

Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...

Starting playback...

VDec: vo config request - 640 x 368 (preferred csp: Planar YV12)

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

Movie-Aspect is 1.74:1 - prescaling to correct movie aspect.

VO: [xv] 640x368 => 640x368 Planar YV12

root@WaynesWorld:/home/ctt1wbw/Videos # 130/130 13% 1% 2.5% 3 0

 

Still no audio... I guess it's not working because ALSA is not installed?

Link to comment
Share on other sites

Okay, I'm getting somewhere! Diego from Mplayer's website told me to type:

 

modprobe snd-pcm-oss

 

as root and I did and voila! Baby it works! But it only works if I type that as root, if I launch MPlayer it won't work again. Now I need to figure out what alsa dev packages I need...

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...
Guest settermj
Try with disabling esd (google says there are problem with mplayer and esd): mplayer --disable-esd <moviename>. Or make sure you build it with esd support.

 

I'm not a big audio nut, so I'm not sure why the --disable-esd worked, but I just want 2 say that it did an I'm very happy for the fact. Thanks kindly for your notes.

 

Matt :headbang:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...
 Share


×
×
  • Create New...