[Ffmpeg-devel] Re: Problems encoding H264 with a MP4 / MOV container with ffmpeg

Erik Slagter erik
Sat Jun 18 13:00:23 CEST 2005


On Sat, 2005-06-18 at 02:09 +0200, Michael Niedermayer wrote:
> > > Index: movenc.c
> > > ===================================================================
> > > RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/movenc.c,v
> > > retrieving revision 1.37
> > > diff -u -p -r1.37 movenc.c
> > > --- movenc.c	27 Mar 2005 00:16:17 -0000	1.37
> > > +++ movenc.c	7 May 2005 08:22:32 -0000
> > > @@ -259,7 +259,7 @@ static int mov_write_wave_tag(ByteIOCont
> >
> > [ ... ]
> >
> > Please note that this patch is not to be included in ffmpeg as-is, it's
> > just testing and also it contains lot of cosmetics. If it really helps,
> > I'd rather make another, minimal patch.
> 
> yes, please

Cleaned up now.

This trivial patch adds "avc1" as fourcc for h264 in mp4, which makes it
a little bit more standard, although it still seems to lack some
metadata. Anyway, recent mplayer plays these streams without problems.

It also has two globally scoped global structs changed to "static".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: text/x-patch
Size: 1226 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20050618/49741d0b/attachment.bin>



More information about the ffmpeg-devel mailing list