[FFmpeg-devel] [PATCH] flvenc: prefer adpcm_swf after mp3

Michael Niedermayer michaelni
Wed Nov 14 21:53:07 CET 2007


Hi

On Wed, Nov 14, 2007 at 07:20:16PM +0100, Alex Beregszaszi wrote:
> On Wed, 2007-11-14 at 13:19 -0500, Rich Felker wrote:
> > On Wed, Nov 14, 2007 at 08:40:12AM -0800, Mike Melanson wrote:
> > > Alex Beregszaszi wrote:
> > > > The only solutions is to have an mp3 encoder inside ffmpeg :)
> > > 
> > > One day, I'm certain.
> > 
> > Anyone up for implementing my idea: patching the mp2 encoder to
> > support translating the output bitstream to mp3 syntax while not
> > actually using any mp3 features?

what mp3 features?
IIRC theres not much optional
mp3 is just mp2 with MDCT +  antialias + different bitstream packing
the MDCT we have, antialias is 2 lines of C code, just look at the
antialias code in the decoder this is trivial

the only optional thing i remember is a silly buffer to store parts of
the bitstream, we dont need to use that


> 
> That couldn't be done in a bitstream filter?

not losslessly
if lossy is ok then yes it could be done, but this really wouldnt be much
easier than a simple full mp3 encoder


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is not what we do, but why we do it that matters.
-------------- 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/20071114/e74e17bb/attachment.pgp>



More information about the ffmpeg-devel mailing list