[FFmpeg-devel] [PATCH] flac demuxer

Michael Niedermayer michaelni
Sat May 3 01:44:49 CEST 2008

On Fri, May 02, 2008 at 04:04:30PM -0700, Mike Melanson wrote:
> matthieu castet wrote:
> > AFAIK there is a similar problem with alac and maybe other audio codec.
> > If you decompress luckynight.m4a, it will be shorter than 
> > luckynight.wav.bz2.
> I've always wondered how lossless audio compressors cope with the fact
> that there is only a 1 in FRAMESIZE probability that the total number of
> input frames will be evenly divisible by FRAMESIZE.

Its not really specific to lossless, lossy audio codecs (except *DPCM) also
tend to have a (few) fixed frame sizes.

> Suddenly, it becomes clear why nearly every lossless audio compressor
> feels that it needs a custom container.

huh? If the codec bitstream supports a smaller last frame the container
wont make it bigger or make it dissapear.


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080503/75b50074/attachment.pgp>

More information about the ffmpeg-devel mailing list