Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#380 closed defect (fixed)

44100 Hz MP3 audio detected as 16000 Hz

Reported by: patriceac@… Owned by: alex@…
Priority: normal Component: core
Version: HEAD Severity: normal
Keywords: Cc: poirierg@…
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

Sample file : http://xplaya2.free.fr/rizelmine.avi

Symptoms :

On some files MPlayer 1.0pre7 and CVS detect the wrong audio informations, so
the audio is playing back very slow :

==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
Blocktype == 0 and window-switching == 1 not allowed.
AUDIO: 16000 Hz, 2 ch, s16le, 56.0 kbit/10.94% (ratio: 7000->64000)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================

This does not happen with MPlayer 1.0pre5, which plays the same file just fine :

==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================

Furthermore, this affects mencoder encoding too. If I encode the problematic
file with 1.0pre7+ the resulting video exposes the same problem, while this
won't happen with mencoder 1.0pre5.

The video is playing fine under VLC.

Full problematic MPlayer informations :

MPlayer dev-CVS-050922-01:43-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Intel (Family: 6, Stepping: 6)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

87 audio & 202 video codecs
c:/windows/fonts/arial.ttf doesn't look like a font description, ignoring.
Cannot load font: c:/windows/fonts/arial.ttf
Playing C:\Documents and Settings\Nous\Bureau\rizelmine.avi.
AVI file format detected.
VIDEO: [DX50] 640x480 24bpp 23.976 fps 1073.8 kbps (131.1 kbyte/s)
Clip info:

Software: FairUse? Wizard - http://fairusewizard.com

==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
Blocktype == 0 and window-switching == 1 not allowed.
AUDIO: 16000 Hz, 2 ch, s16le, 56.0 kbit/10.94% (ratio: 7000->64000)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Opening video filter: [pp=lb/ac]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Building audio filter chain for 16000Hz/2ch/s16le -> 0Hz/0ch/??...
AO: [dsound] 16000Hz 2ch s16le (2 B/s)
Building audio filter chain for 16000Hz/2ch/s16le -> 16000Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [directx] 640x480 => 640x480 Planar YV12 [fs]

Full working MPlayer informations :

MPlayer 1.0pre5-3.2.3 (C) 2000-2004 MPlayer Team

CPU: Intel 1607 MHz (Family: 6, Stepping: 6)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directo
ry
Reading config file E:/Outils/MPlayer1.0pre5/MPlayer/mplayer/config
Reading E:/Outils/MPlayer1.0pre5/MPlayer/mplayer/codecs.conf: Can't open 'E:/Out
ils/MPlayer1.0pre5/MPlayer/mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/c
odecs.conf': No such file or directory
Using built-in default codecs.conf.
c:/windows/fonts/arial.ttf doesn't look like a font description, ignoring
Cannot load font: c:/windows/fonts/arial.ttf
Using usleep() timing
Input config file E:/Outils/MPlayer1.0pre5/MPlayer/mplayer/input.conf parsed: 53

binds

Playing C:\Documents and Settings\Nous\Bureau\rizelmine.avi.
AVI file format detected.
VIDEO: [DX50] 640x480 24bpp 23.976 fps 1073.8 kbps (131.1 kbyte/s)
Clip info:

Software: FairUse? Wizard - http://fairusewizard.com

==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [win32] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [directx] 640x480 => 640x480 Planar YV12 [fs]

Change History (1)

comment:1 Changed 14 years ago by poirierg@…

  • Cc poirierg@… added
  • Resolution set to fixed
  • Status changed from new to closed

Hi,

Please try current CVS, it should be fixed now. If it's not, please report it.

Happy new year,

Guillaume

Note: See TracTickets for help on using tickets.