That's what all the cool people do.AtomX wrote:OMGEDITINGANENTIREVIDEOINONEDAYHAHAHAHAHAIMGOINGCRAZY

Or the MPEG-2 is 2 seconds longer than the uncompressed PCM. This is assuming that the editor didn't add 1 second before and after to the original WAV file (they sent the original un-edited audio).AVI and MPEG-2 files must have 1 second of black before the video starts and after.
That's not the issue. It has to do what happens with the video when it is compressed to MPEG-2. You cannot take the raw audio source and have it maintain sync after the MPEG-2 compression is done. The audio must be run through your MPEG-2 compression program with the video at the same time (either muxing together our outputting 2 elementary streams) or you cannot maintain sync.Willen wrote:I assume the audio offset isn't 1 second?
So, I hope you will use the muxed versions that where sent by some of us along with the wav file, cuz if the sync is screwed up, so is the video ... and it makes us look bad and not you, cuz the audiance will blame the creator ....outlawed wrote:That's not the issue. It has to do what happens with the video when it is compressed to MPEG-2. You cannot take the raw audio source and have it maintain sync after the MPEG-2 compression is done. The audio must be run through your MPEG-2 compression program with the video at the same time (either muxing together our outputting 2 elementary streams) or you cannot maintain sync.Willen wrote:I assume the audio offset isn't 1 second?
I didn't think about this issue because in all honesty I never approached handling audio this way before with MPEG-2. My flaw was treating this as if I was dealing with two avi editing-codec files and this is not the case.
If you want to visually understand what happens:
Take some segment and encode it to mpeg-2 with audio. Make another copy of this by muxing the mpeg-2 video stream with the uncompressed source audio. Compare.
I won't be using the wav files since there are sync issues. If there is anything that will cause problems I contact the creator after reviewing their file. Of the 63 entries processed so far only two were MPEG-2 that did not have muxed audio.JudgeHolden wrote:So, I hope you will use the muxed versions that where sent by some of us along with the wav file, cuz if the sync is screwed up, so is the video