[MPlayer-dev-eng] About H.264 4-byte start code
Reimar.Doeffinger at stud.uni-karlsruhe.de
Mon Jan 12 18:29:42 CET 2009
On Mon, Jan 12, 2009 at 05:07:25PM +0000, Loren Merritt wrote:
> On Mon, 12 Jan 2009, Reimar Döffinger wrote:
>> On Mon, Jan 12, 2009 at 12:19:15PM +0100, Nico Sabbi wrote:
>>> are you sure?
>>> I remember that some time ago you explained me that the 4 leading 0s
>>> were actually the right format to use
>> For files according to annex B (AFAIK only raw and MPEG container) yes,
>> but not in general. I also think that I didn't do the explaining, but
>> that it was actually explained to me...
> Annex B is the only part of the standard that mentions startcodes, so what
> else would you be using?
Not quite, 6.1 does mention it too and I read it too quickly...
So since I obviously was wrong, I have to look again why then I did not
And the answer is simple: because it is pointless currently, if it is
necessary you can brute-force fix the H.264 case by changing in
// COPY STARTCODE:
to add another 0 there.
More information about the MPlayer-dev-eng