[MPlayer-dev-eng] Add support for vorbis.acm

Zuxy Meng zuxy.meng at gmail.com
Sat Mar 1 14:31:17 CET 2008


Hi,

2008/3/1, Diego Biurrun <diego at biurrun.de>:
> On Fri, Feb 29, 2008 at 04:24:59PM +0800, Zuxy Meng wrote:
> >
> > Quite a few people have problems like "Cannot find codec for audio
> > format 0x6771." Such avi files turn out to have been encoded with an
> > old codec whose binary and source can be found at
> > http://svn.xiph.org/tags/vorbis/vorbisacm_20020708/.
> >
> > The attached patch enables mplayer to play at least some of them, like
> > ftp://upload.mplayerhq.hu/MPlayer/samples/avi/ogg/mode2_ogg.avi. But
> > mode3_ogg.avi seems still broken.
>
> Indeed a few samples work better, but the following has no sound after
> applying your patch:
>
> http://samples.mplayerhq.hu/avi/ogg/Coyote.Ugly.Sample.Ogg.Vorbis.avi

Seriously? Played fine here. MPlayer selected ffvorbis as the decoder:

MPlayer dev-SVN-r26108-4.2.1 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 2.00GHz (Family: 6, Model: D, Stepping: 8)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing Coyote.Ugly.Sample.Ogg.Vorbis.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [DIV3]  640x480  24bpp  25.000 fps  1944.3 kbps (237.3 kbyte/s)
Opening video filter: [screenshot]
Opening video filter: [pp=de]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm: ffmpeg (FFmpeg DivX ;-) (MSMPEG-4 v3))
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Ogg : bad packet in stream 0
AUDIO: 48000 Hz, 2 ch, s16le, 160.0 kbit/10.42% (ratio: 20000->192000)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis decoder)
==========================================================================
AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 00A23850]No accelerated colorspace conversion found
[swscaler @ 00A23850]SwScaler: using unscaled yuv420p -> rgb24 special converter

VO: [directx] 640x480 => 640x480 Planar YV12

Exiting... (Quit)

-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6



More information about the MPlayer-dev-eng mailing list