2007-02-21, 09:34 AM
OK, I think I've got it figured out, there's no solution for what I understand though.
The sync issue (something I haven't encountered since the beginning of this thread with the ffmpeg adjustments I made) is due to the fact that the mpg stream or does not consist of a GOP structure as defined by the DVD/MPEG2 specs or when skipping starts within a GOP instead of the beginning (what sould always be an I frame). Sync issues will always occur when editing within a GOP (15 frames for PAL /18 frames for NTSC) That's why you (officially) can't edit a MPEG stream that consist of I-B and P frames.
Editing can be done without any problems within an I frame only MPEG stream.
For what I understand, "keyframes" or "keyint(erval)" should preferably be the same as the amount of I frames within 1 GOP (maybe they're even the same, not sure here). Normaly there is 1 I frame in a (PAL) GOP. So lowering the keyframes below 15 in this case doesn't make sence.
All of this makes sence when it comes to these sync issues we're seeing.
The sync issue (something I haven't encountered since the beginning of this thread with the ffmpeg adjustments I made) is due to the fact that the mpg stream or does not consist of a GOP structure as defined by the DVD/MPEG2 specs or when skipping starts within a GOP instead of the beginning (what sould always be an I frame). Sync issues will always occur when editing within a GOP (15 frames for PAL /18 frames for NTSC) That's why you (officially) can't edit a MPEG stream that consist of I-B and P frames.
Editing can be done without any problems within an I frame only MPEG stream.
For what I understand, "keyframes" or "keyint(erval)" should preferably be the same as the amount of I frames within 1 GOP (maybe they're even the same, not sure here). Normaly there is 1 I frame in a (PAL) GOP. So lowering the keyframes below 15 in this case doesn't make sence.
All of this makes sence when it comes to these sync issues we're seeing.
-[Arjan]-
___________________________
[SIZE="1"]-I'm not a pessimist, just realistic- :p[/SIZE]
___________________________
[SIZE="1"]-I'm not a pessimist, just realistic- :p[/SIZE]