[Ffmpeg-devel] [PATCH] different vorbis extradata handling

castet.matthieu at free.fr castet.matthieu
Fri May 13 09:43:00 CEST 2005


Hi,

Selon Nico Sabbi <nsabbi at tiscali.it>:

> matthieu castet wrote:
> >
> > Shouldn't you do the same thing for theora ?
> > And for flac ?
> >
>
> for theora yes (although I still have to figure out how), but why for flac?
> support for flac was added 2 days ago
>
For flac there is actually two way to do it : pass the raw stream without
extradata or pass streaminfodata as extraheader.

Actually I don't dont know if ffmpeg matroska demuxer support flac (nor mplayer)
and what mastroska use as extradata.
Mplayer don't support well flac in ogg [1] , ffmpeg do it using streaminfodata
extradata.

I was just wondering if the flac extradata format was ok. Better do it now than
latter, if we should change it.

Matthieu

[1]
pening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[flac @ 0x8654560]STREAM HEADER
[flac @ 0x8654560] metadata block: flag = 0, type = 0, size = 34
[flac @ 0x8654560]  Blocksize: 4608 .. 4608 (0)
[flac @ 0x8654560]  Framesize: 0 .. 18432
[flac @ 0x8654560]  Samplerate: 44100
[flac @ 0x8654560]  Channels: 2
[flac @ 0x8654560]  Bits: 16
[flac @ 0x8654560] metadata block: flag = 0, type = 79, size = 6776659


MPlayer interrupted by signal 11 in module: init_audio_codec





More information about the ffmpeg-devel mailing list