buggy audio w/ ffwmav2 under 1.0pre3
Hello, all. New to the list, though not new to MPlayer. I'm running MPlayer 1.0pre3 (latest official release, not CVS) and have found it can't handle files that use the audio codec ffwmav2 and an audio bitrate of either 32000 or 16000. Video plays fine, if a little jerky, but the audio comes out like "dbfzzzt...[2-3 seconds of silence]...bzzort...zeeplt..." and so on. Qualitatively, it sounds like mplayer is trying to process and play 3-4 seconds of audio *at once*, giving up, and then trying it again with the next 3-4 seconds. The problem is not strictly linear; 32k and 16k exhibit the bug, but files using the same audio codec with a bitrate of 48k or 64k are fine. Audio bitrate of 32040, or something else just shy of the magic number, is also OK. I can't reproduce the bug in 0.92. It's just not there. Ordinarily I'd ignore the problem and drop down a version, but 1.0 is in other respects vastly superior and if this is a fixable bug I'd rather not. I'm running Debian woody (or something very close to it, given the vagaries of apt-get) over the 2.2.22 kernel. I have a CrystalFusion 4281 soundcard and am using the OSS drivers. A bugfix beginning "first, you upgrade to the 2.4 kernel" won't help me. The exact reason is long, stupid, and not of general interest, but the upshot is that I'm stuck with 2.2. Below is MPlayer's output when playing a representative file. If necessary, I can also post the output of dmesg and ./configure. --- Output when playing essence.wmv (with -identify flag) under 1.0pre3: MPlayer 1.0pre3-3.3.2 (C) 2000-2003 MPlayer Team CPU: Advanced Micro Devices K6-2 475.8 MHz (Family: 5, Stepping: 12) Detected cache-line size is 32 bytes 3DNow supported but disabled CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0 Compiled for x86 CPU with extensions: MMX Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory Reading config file /home/booklegger/.mplayer/config Reading /home/booklegger/.mplayer/codecs.conf: 61 audio & 169 video codecs font: can't open file: /home/booklegger/.mplayer/font/font.desc font: can't open file: /usr/local/share/mplayer/font/font.desc Failed to open /dev/rtc: No such device (mplayer should be setuid root or /dev/rtc should be readable by the user.) Using usleep() timing Input config file /home/booklegger/.mplayer/input.conf parsed: 53 binds Playing essence.wmv. Cache fill: 14.16% (1187840 bytes) ASF file format detected. ============ ASF Stream group == START === object size = 38 stream count=[0x2][2] stream id=[0x1][1] max bitrate=[0x8610][34320] stream id=[0x2][2] max bitrate=[0x4e520][320800] ============ ASF Stream group == END === VIDEO: [WMV1] 320x240 24bpp Clip info: name: author: copyright: comments: ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 32000 Hz, 2 ch, 16 bit (0x10), ratio: 4000->128000 (32.0 kbit) Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (ffmpeg)) ========================================================================== ID_FILENAME=essence.wmv ID_VIDEO_FORMAT=WMV1 ID_VIDEO_BITRATE=0 ID_VIDEO_WIDTH=320 ID_VIDEO_HEIGHT=240 ID_VIDEO_FPS=1000.000 ID_VIDEO_ASPECT=0.0000 ID_AUDIO_CODEC=ffwmav2 ID_AUDIO_FORMAT=353 ID_AUDIO_BITRATE=32000 ID_AUDIO_RATE=32000 ID_AUDIO_NCH=2 ID_LENGTH=317 vo: X11 running at 800x600 with depth 24 and 32 bpp (":0.0" => local display) ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffwmv1] vfm:ffmpeg (FFmpeg M$ WMV1/WMV7) ========================================================================== Checking audio filter chain for 32000Hz/2ch/16bit -> 32000Hz/2ch/16bit... AF_pre: af format: 2 bps, 2 ch, 32000 hz, little endian signed int AF_pre: 32000Hz 2ch Signed 16-bit (Little-Endian) AO: [oss] 32000Hz 2ch Signed 16-bit (Little-Endian) (2 bps) Building audio filter chain for 32000Hz/2ch/16bit -> 32000Hz/2ch/16bit... Starting playback... VDec: vo config request - 320 x 240 (preferred csp: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO: [x11] 320x240 => 320x240 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. Exiting... (Quit) --- Messages when playing the same file (sans -identify) using 0.92: MPlayer 0.92-3.3.2 (C) 2000-2003 MPlayer Team CPU: Advanced Micro Devices K6-2 (Family: 5, Stepping: 12) Detected cache-line size is 32 bytes 3DNow supported but disabled CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0 Compiled for x86 CPU with extensions: MMX Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory Reading config file /home/booklegger/.mplayer/config Reading /home/booklegger/.mplayer/codecs.conf: 50 audio & 136 video codecs font: can't open file: /home/booklegger/.mplayer/font/font.desc font: can't open file: /usr/local/share/mplayer/font/font.desc Failed to open /dev/rtc: No such device (mplayer should be setuid root or /dev/rtc should be readable by the user.) Using usleep() timing Input config file /home/booklegger/.mplayer/input.conf parsed: 52 binds Playing essence.wmv Cache fill: 12.50% (1048576 bytes) ASF file format detected. ============ ASF Stream group == START === object size = 38 stream count=[0x2][2] stream id=[0x1][1] max bitrate=[0x8610][34320] stream id=[0x2][2] max bitrate=[0x4e520][320800] ============ ASF Stream group == END === VIDEO: [WMV1] 320x240 24bpp Clip info: name: author: copyright: comments: ========================================================================== Opening audio decoder: [dmo] Win32/DMO decoders ======= WAVE Format ======= Format Tag: 353 (0x161) Channels: 2 Samplerate: 32000 avg byte/sec: 4000 Block align: 768 bits/sample: 16 cbSize: 10 Unknown extra header dump: [0] [88] [0] [0] [17] [0] [0] [1e] [0] [0] ======= WAVE Format ======= Format Tag: 1 (0x1) Channels: 2 Samplerate: 32000 avg byte/sec: 128000 Block align: 4 bits/sample: 16 cbSize: 0 External func OLEAUT32.dll:7 External func OLEAUT32.dll:8 GetOutput r=0x0 size:16384 align:1 StreamCount r=0x0 1 1 AUDIO: 32000 Hz, 2 ch, 16 bit (0x10), ratio: 4000->128000 (32.0 kbit) Selected audio codec: [wmadmo] afm:dmo (Windows Media Audio DMO) ========================================================================== vo: X11 running at 800x600 with depth 24 and 32 bpp (":0.0" => local display) ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffwmv1] vfm:ffmpeg (FFmpeg M$ WMV1/WMV7) ========================================================================== Checking audio filter chain for 32000Hz/2ch/16bit -> 32000Hz/2ch/16bit... AF_pre: af format: 2 bps, 2 ch, 32000 hz, little endian signed int AF_pre: 32000Hz 2ch Signed 16-bit (Little-Endian) AO: [oss] 32000Hz 2ch Signed 16-bit (Little-Endian) (2 bps) Building audio filter chain for 32000Hz/2ch/16bit -> 32000Hz/2ch/16bit... Starting playback... VDec: vo config request - 320 x 240 (preferred csp: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO: [x11] 320x240 => 320x240 Planar YV12 Using MMX for colorspace transform 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. Total Unfree 0 bytes cnt 0 [(nil),0].073 266/266 18% 34% 6.4% 1 0 93% Exiting... (Quit) --- Thanks for your help. - katherine --- "He said his name was Columbus, and I just said 'good luck'" Need a new email address that people can remember Check out the new EudoraMail at http://www.eudoramail.com
participants (1)
-
k. m.