Find the answer to your Linux question:
Results 1 to 6 of 6
I'm using mplayer on an Arch system, and when I tried to play a DVD, the sound came out funny. I ran it from the console and got this: Code: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2005
    Location
    Indiana
    Posts
    27

    Mplayer DVD Sound issues


    I'm using mplayer on an Arch system, and when I tried to play a DVD, the sound came out funny. I ran it from the console and got this:
    Code:
    Checking audio filter chain for 48000Hz/2ch/ac3 -> 48000Hz/2ch/ac3...
    AF_pre: 48000Hz/2ch/ac3
    [AO OSS] Can't set audio device /dev/dsp to ac3 output, trying s16le...
    AO: [oss] 48000Hz 2ch s16le (2 bps)
    Building audio filter chain for 48000Hz/2ch/ac3 -> 48000Hz/2ch/s16le...
    [format] Sample format big-endian AC3 not yet supported 
    [libaf] Reinitialization did not work, audio filter 'format' returned error code -2
    Couldn't find matching filter/ao format!
    Anyone know how to fix it or what I may have done wrong?

  2. #2
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Did you install the "codecs" package? (Or "win32codecs" perhaps.)
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  3. #3
    Just Joined!
    Join Date
    Jun 2005
    Location
    Indiana
    Posts
    27
    Yeah, the codecs package is installed.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Apparently it is something related to DTS support:
    http://forums.gentoo.org/viewtopic-t...light-ac3.html
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  6. #5
    Just Joined!
    Join Date
    Jun 2005
    Location
    Indiana
    Posts
    27
    Thank you. That is what I was having trouble with, although I'm not sure how I would fix it. Unfortunately, that was a rental DVD and I returned it, so I don't know how to reproduce the error.

    However, while checking other DVD's around the house to replicate the problem, I got new errors! The pop-up alert said "FATAL: Could not initialize video filters (-vf) or video output (-vo)."

    Code:
    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.4.0b
    Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2))
    ==========================================================================
    Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
    AF_pre: 48000Hz/2ch/s16le
    AO: [oss] 48000Hz 2ch s16le (2 bps)
    Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
    Starting playback...
    a52: error at resampling
    
    FATAL: Could not initialize video filters (-vf) or video output (-vo).

  7. #6
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Hum... what's your video & audio hardware? What is the content of your ~/.mplayer/config file?

    You can view the complete liste of mplayer audio output with this command:
    Code:
    mplayer -ao help
    and test which works better for you (best quality & least CPU usage).

    For video, you might want to test as well:
    Code:
    mplayer -vo help
    For more info on video filters:
    Code:
    mplayer -pphelp
    Some video filters options are tailored for DVD viewing, like:
    Code:
    mplayer -vf pp=lb:a dvd://1 -dvd-device /dev/dvd
    To get the most out of MPlayer, you need a solid config file (subtitles adjustments, video filters, caching, etc.).
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •