[FFmpeg-devel] The New Flash Video

Michael Niedermayer michaelni
Fri Aug 24 16:13:55 CEST 2007


Hi

On Fri, Aug 24, 2007 at 03:22:18PM +0200, Michael Niedermayer wrote:
> Hi
> 
> On Fri, Aug 24, 2007 at 03:01:30PM +0200, Diego Biurrun wrote:
> > On Tue, Aug 21, 2007 at 09:03:51AM -0700, Mike Melanson wrote:
> > > 
> > > More:
> > > 
> > > http://www.kaourantin.net/2007/08/what-just-happened-to-video-on-web_20.html
> > 
> > Hmmmm
> > 
> >   Overall though and leaving out the bugs I listed here which are my
> >   fault, the H.264 decoder is a remarkable piece of engineering, it is
> >   provided to us by MainConcept. It weights in at less than 100KB of
> >   compressed code which is quite an achievement for such a complicated
> >   standard.
> > 
> > How does this decoder compare to FFmpeg's?
> 
> with --enable-small, strip and lzma
> 
> -rw-r----- 1 michael michael  1254 2007-08-24 15:22 h264idct.o.lzma
> -rw-r----- 1 michael michael 52483 2007-08-24 15:22 h264.o.lzma
> -rw-r----- 1 michael michael   662 2007-08-24 15:22 h264_parser.o.lzma
> 
> thats without dsputil stuff though which iam to lazy to seperate h264 out
> for testing
> 
> and with bzip2 instead of lzma:
> -rw-r----- 1 michael michael  1418 2007-08-24 15:22 h264idct.o.bz2
> -rw-r----- 1 michael michael 58282 2007-08-24 15:22 h264.o.bz2
> -rw-r----- 1 michael michael   797 2007-08-24 15:22 h264_parser.o.bz2
> 
> (lzma is tuned for binaries ...)

note, h264.o also contains the svq3 decoder due to #include "svq3.c"
and ive forgotten cabac which would be
-rw-r----- 1 michael michael 823 2007-08-24 16:02 cabac.o.lzma

but that also contains the cabac encoder ...

so summary we are quite a bit below 100k with compressed code

still our code can be improved a lot if someone wants to get it smaller
looking at nm --size-sort h264.o is the obvious start point  ...

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- 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/20070824/bbeaf956/attachment.pgp>



More information about the ffmpeg-devel mailing list