[Ffmpeg-devel] [RFC] stream copy, -flags, global_header
Fri Nov 10 15:09:44 CET 2006
I noticed a problem when stream copy, you cannot set -flags. It appears
unneeded at first sight, but some flags interfere also with stream copy
: -global_header and -local_header.
It does not work basically cause the set is only done when not stream
copying, also because -global_header flag is not A|V|E, latter is
trivial to fix.
My goal is to be able to force mpeg2video in mov, but cause of mov big
mess, mpeg2video must be stored "as is" and atm since global_header is
always set for mov, it splits bitstream. Btw for which container,
mpeg2video spliting is required ?
I see 2 ways, either change codec flags set to both case (stream copy
and encoding) in ffmpeg.c, or change -vglobal behaviour to -1 (auto), 1
force global header, 2 force local header.
What do you guys think ?
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A. http://www.smartjog.com
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
More information about the ffmpeg-devel