Gregor Lawatscheck wrote:
Moreover it looks like just tagging just the I-FRAME once it's synced
doesn't help the situation reliably enough. For some reason it needs to
be done outtside case VIDEO_STREAM_S ... VIDEO_STREAM_E (odd, I'll look
into it) and there are better effects (i.e less sporadic deadlocks) by
setting vbv_delay to 0xFFFF throughout
i.e.
if (PictureType != NO_PICTURE) {
resultBuffer[i + 5] |= 0x07;
resultBuffer[i + 6] |= 0xFF;
resultBuffer[i + 7] |= 0xF8;
}
I don't have the box in front of me (I'm at work), but should I be trying
to fit this into the same remux.c file (but in a different location) as
the previous version
(which didn't seem to do anything for me) ?
Yes, you could just patch the patch basically :)