[MPlayer-users] ffmpeg can't play uncompressed pcm from avi
Robert Henney
robh at rut.org
Wed Oct 3 03:31:31 CEST 2007
I don't know if ffmpeg should be able to play uncompressed pcm, but
the resulting audio is just loud static. Using "-ac pcm" fixes the
issue, but is it a bug that ffmpeg appears to be selected by default
for a stream it can't handle?
the sample file:
http://rut.org/Ah!%20My%20Goddess%20-%20Guardian%20Angel.avi
-------------- next part --------------
MPlayer dev-SVN-r24688-4.1.2 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) Processor (Family: 6, Model: 4, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
Playing Ah! My Goddess - Guardian Angel.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [XVID] 640x480 24bpp 29.970 fps 6972.4 kbps (851.1 kbyte/s)
Clip info:
Software: VirtualDubMod 1.5.10.2 (build 2540/release)
Name: Grace
Artist: Radical_Yue (Younique)
Copyright: Once In A Blue Moon Productions
dvdsublang...ah my goddess guardian angel en
dvdsublang...ah my goddess guardian angel en
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 192000 + 65536 = 257536 bytes for output buffer.
FFmpeg's libavcodec audio codec
INFO: libavcodec init OK!
lavc_audio: error
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [ffadpcmimaamv] afm: ffmpeg (FFmpeg AMV IMA ADPCM audio)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Starting playback...
Uninit audio filters...
Uninit audio: ffmpeg
Exiting... (End of file)
-------------- next part --------------
MPlayer dev-SVN-r24688-4.1.2 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) Processor (Family: 6, Model: 4, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
Playing Ah! My Goddess - Guardian Angel.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [XVID] 640x480 24bpp 29.970 fps 6972.4 kbps (851.1 kbyte/s)
Clip info:
Software: VirtualDubMod 1.5.10.2 (build 2540/release)
Name: Grace
Artist: Radical_Yue (Younique)
Copyright: Once In A Blue Moon Productions
dvdsublang...ah my goddess guardian angel en
dvdsublang...ah my goddess guardian angel en
dvdsublang...ah my goddess guardian angel en
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Forced audio codec: pcm
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer.
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Starting playback...
Uninit audio filters...
Uninit audio: pcm
Exiting... (End of file)
More information about the MPlayer-users
mailing list