[Ffmpeg-devel] I'm giving up

Michael Niedermayer michaelni
Wed Dec 6 14:55:59 CET 2006


Hi

On Wed, Dec 06, 2006 at 01:27:58PM +0100, Baptiste Coudurier wrote:
> Nico Sabbi wrote:
> > Luca Abeni wrote:
> > 
> >> BTW, talking about the code... I see that support for the 
> >> CODEC_FLAG_GLOBAL_HEADER is not implemented yet. How can ./ffmpeg
> >> -i sourcevideo -vcodec ffh264 -vtag avc1 -an targetvideo.mp4 work?
> >> (Or am I missing something as usual?) Anyway, if you are interested
> >> I can try to work on it and provide a patch for supporting
> >> CODEC_FLAG_GLOBAL_HEADER in one week or two.
> >> 
> >> 
> >> Thanks, Luca
> >> 
> >> 
> > why spreading that shit??  Bytestream format is the only reasonable
> > one. Fuck mp4!
> 
> Nonsense. You don't need startcodes at all with mov/mp4, and having nal
> size is really easier and faster than searching for startcodes.

total nonsense, you MUST read the whole data once to remove startcode
escaping, RTFS h264.c

if they would have droped the excaping too then yes there would a speed
advantage but they didnt, so its just yet another format and you still need
exactly the same number of passes over the data ...

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you really think that XML is the answer, then you definitly missunderstood
the question -- Attila Kinali




More information about the ffmpeg-devel mailing list