mplayer on linux not having sound

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chickeneater
    Digital Video Expert
    Digital Video Expert
    • Apr 2002
    • 672

    mplayer on linux not having sound

    I'm back for just one thread.

    I just compiled mplayer on linux, and I don't have any sound. here is the startup log:

    [lastlee@targa stuff]$ mplayer dvd://1
    MPlayer dev-CVS-031231-21:00-3.2.2 (C) 2000-2003 MPlayer Team

    CPU: Intel Pentium 4/Xeon/Celeron Foster 2400 MHz (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

    Reading config file /usr/local/etc/mplayer/mplayer.conf
    Reading config file /home/lastlee/.mplayer/config
    Reading /home/lastlee/.mplayer/codecs.conf: 62 audio & 164 video codecs
    font: can't open file: /home/lastlee/.mplayer/font/font.desc
    font: can't open file: /usr/local/share/mplayer/font/font.desc
    Failed to open /dev/rtc: Device or resource busy (mplayer should be setuid root
    or /dev/rtc should be readable by the user.)
    Using usleep() timing
    Input config file /home/lastlee/.mplayer/input.conf parsed: 53 binds

    Playing dvd://1.
    Reading disc structure, please wait...
    There are 1 titles on this DVD.
    There are 54 chapters in this DVD title.
    There are 1 angles in this DVD title.
    DVD successfully opened.
    Cache fill: 0.00% (0 bytes) LMLM4 Stream Format not found
    MPEG-PS file format detected.
    VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 9801.6 kbps (1225.2 kbyte/s)
    ================================================== ========================
    Opening audio decoder: [liba52] AC3 decoding with liba52
    Using SSE optimized IMDCT transform
    AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
    Using MMX optimized resampler
    AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
    Selected audio codec: [a52] afm:liba52 (AC3-liba52)
    ================================================== ========================
    vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
    ================================================== ========================
    Forced video codec: null
    Opening video decoder: [null] Null video decoder
    VDec: vo config request - 720 x 480 (preferred csp: BGR 24-bit)
    VDec: using BGR 32-bit as output csp (no 5)
    Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
    VO: [x11] 720x480 => 854x480 BGR 32-bit
    SwScaler: using unscaled BGR 32-bit -> BGR 32-bit special converter
    Selected video codec: [null] vfm:null (NULL codec (no decoding!))
    ================================================== ========================
    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)
    Could not open/initialize audio device -> no sound.
    Audio: no sound
    Starting playback...
    V: 2.4 67 0% 0% 0.0% 0 0 42%
    demux_mpg: 24fps progressive NTSC content detected, switching framerate.
    V: 15.5 382 0% 0% 0.0% 0 0 48%

    Exiting... (End of file)
    [lastlee@targa stuff]$


    that's it. I have tried oss audio and alsa, and both don't work. I have also tried installing rpm's of lamemp3, but I haven't succeded in doing so.
    FFDShow filters
    Guliverkli's Media Player Classic
  • chickeneater
    Digital Video Expert
    Digital Video Expert
    • Apr 2002
    • 672

    #2
    and as root I should set up the paths, but here:

    [root@targa root]# mplayer dvd://1
    MPlayer dev-CVS-031231-21:00-3.2.2 (C) 2000-2003 MPlayer Team

    CPU: Intel Pentium 4/Xeon/Celeron Foster 2400 MHz (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

    Reading config file /usr/local/etc/mplayer/mplayer.conf
    Reading config file /root/.mplayer/config
    Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No
    such file or directory
    Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
    Using built-in default codecs.conf.
    font: can't open file: /root/.mplayer/font/font.desc
    font: can't open file: /usr/local/share/mplayer/font/font.desc
    Failed to open /dev/rtc: Device or resource busy (mplayer should be setuid root
    or /dev/rtc should be readable by the user.)
    Using usleep() timing
    Can't open input config file /root/.mplayer/input.conf: No such file or directory
    Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or
    directory
    Falling back on default (hardcoded) input config

    Playing dvd://1.
    Reading disc structure, please wait...
    There are 1 titles on this DVD.
    There are 54 chapters in this DVD title.
    There are 1 angles in this DVD title.
    DVD successfully opened.
    LMLM4 Stream Format not found
    MPEG-PS file format detected.
    VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 9801.6 kbps (1225.2 kbyte/s)
    ================================================== ========================
    Opening audio decoder: [liba52] AC3 decoding with liba52
    Using SSE optimized IMDCT transform
    AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
    Using MMX optimized resampler
    AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
    Selected audio codec: [a52] afm:liba52 (AC3-liba52)
    ================================================== ========================
    vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
    ================================================== ========================
    Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
    VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
    Could not find matching colorspace - retrying with -vf scale...
    Opening video filter: [scale]
    The selected video_out device is incompatible with this codec.
    VDecoder init failed
    Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
    Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
    ================================================== ========================
    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)
    Could not open/initialize audio device -> no sound.
    Audio: no sound
    Starting playback...
    VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
    VO: [x11] 720x480 => 854x480 Planar YV12
    SwScaler: using unscaled Planar YV12 -> BGR 32-bit special converter
    New_Face failed. Maybe the font path is wrong.
    Please supply the text font file (~/.mplayer/subfont.ttf).
    subtitle font: load_sub_face failed.
    V: 2.4 67 13% 20% 0.0% 0 0 44%
    demux_mpg: 24fps progressive NTSC content detected, switching framerate.
    No bind found for key MOUSE_BTN2
    V: 7.2 182 12% 15% 0.0% 0 0 43%

    Exiting... (End of file)
    [root@targa root]#
    FFDShow filters
    Guliverkli's Media Player Classic

    Comment

    • chickeneater
      Digital Video Expert
      Digital Video Expert
      • Apr 2002
      • 672

      #3
      and with the dirs set up, and in root:

      [root@targa .mplayer]# mplayer dvd://1
      MPlayer dev-CVS-031231-21:00-3.2.2 (C) 2000-2003 MPlayer Team

      CPU: Intel Pentium 4/Xeon/Celeron Foster 2400 MHz (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

      Reading config file /usr/local/etc/mplayer/mplayer.conf
      Reading config file /root/.mplayer/config
      Reading /root/.mplayer/codecs.conf: 62 audio & 164 video codecs
      font: can't open file: /root/.mplayer/font/font.desc
      font: can't open file: /usr/local/share/mplayer/font/font.desc
      Failed to open /dev/rtc: Device or resource busy (mplayer should be setuid root
      or /dev/rtc should be readable by the user.)
      Using usleep() timing
      Input config file /root/.mplayer/input.conf parsed: 53 binds

      Playing dvd://1.
      Reading disc structure, please wait...
      There are 1 titles on this DVD.
      There are 54 chapters in this DVD title.
      There are 1 angles in this DVD title.
      DVD successfully opened.
      LMLM4 Stream Format not found
      MPEG-PS file format detected.
      VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 9801.6 kbps (1225.2 kbyte/s)
      ================================================== ========================
      Opening audio decoder: [liba52] AC3 decoding with liba52
      Using SSE optimized IMDCT transform
      AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
      Using MMX optimized resampler
      AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
      Selected audio codec: [a52] afm:liba52 (AC3-liba52)
      ================================================== ========================
      vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
      ================================================== ========================
      Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
      VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
      Could not find matching colorspace - retrying with -vf scale...
      Opening video filter: [scale]
      The selected video_out device is incompatible with this codec.
      VDecoder init failed
      Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
      Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
      ================================================== ========================
      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)
      Could not open/initialize audio device -> no sound.
      Audio: no sound
      Starting playback...
      VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
      VDec: using Planar YV12 as output csp (no 0)
      Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
      VO: [x11] 720x480 => 854x480 Planar YV12
      SwScaler: using unscaled Planar YV12 -> BGR 32-bit special converter
      New_Face failed. Maybe the font path is wrong.
      Please supply the text font file (~/.mplayer/subfont.ttf).
      subtitle font: load_sub_face failed.
      Broken pipe59 13% 20% 0.0% 0 0 45%
      [root@targa .mplayer]#
      FFDShow filters
      Guliverkli's Media Player Classic

      Comment

      • chickeneater
        Digital Video Expert
        Digital Video Expert
        • Apr 2002
        • 672

        #4
        now now, don't worry. I fixed it.

        BYE
        FFDShow filters
        Guliverkli's Media Player Classic

        Comment

        Working...