joelancer
7th December 2004, 03:52
1. i am a newb, other then what i have read about, i have no encoding experience.
2. iv read about mpeg 4's B frame decoder lag, and i understand most of it.
3. im not encoding anything, here is my situation - i have 2 xvid files. one is Xvid.ac3.avi (bitstream is packed, i get no DecoderLag warning in vdub). the second is Xvid.ogm (bitstream not packed, i get decoderLag)
the files are exactly the same content, 25fps pal. Except the .ogm encode has a slightly sharper image, and a slightly smaller bitrate/filesize. so i wont to keep the vid from the .ogm. And keep the .ac3 audio from the .avi version. So i demuxed the .ac3. But when i open the .ogm in Vdubmod, the vid is exactly 1 frame ahead of the .avi vid. My question is.. is the i frame difference because of the DecoderLag, or do i need to compensate for the 1 frame ontop of the DecoderLag.. 80ms audio delay, instead of just 40ms?
iv done this in the past with vid files were both had packed bitstreams, and i only had to compensate for the frame difference from the starting point to get perfect matching sync. but with this .ogm, i tryed both 40 and 80ms delay, and the 80 i think apears to sync better, but at such small intervals its hard to tell. thats y im asking for feedback. And id also like to know if the .ogm being 1 frame ahead in Vdubmod is just how the video is, or if its cause of the unpacked bitstream and DecoderLag? for my own reference.
-------------------------------------------
seperate question i was curious about..
i was also able to save aproximetly 1.5mbs of space off a 350mb Xvid.ac3.avi file, by de-interleaving the audio. However, when i de-interleaved the audio from a 400mb Dvix.mp3.avi file, i found no change in file size.
so i was just wondering... is the overhead from the interleaved Xvid file caused mostly cause the .ac3 is uncompressed, compaired to the .mp3?
2. iv read about mpeg 4's B frame decoder lag, and i understand most of it.
3. im not encoding anything, here is my situation - i have 2 xvid files. one is Xvid.ac3.avi (bitstream is packed, i get no DecoderLag warning in vdub). the second is Xvid.ogm (bitstream not packed, i get decoderLag)
the files are exactly the same content, 25fps pal. Except the .ogm encode has a slightly sharper image, and a slightly smaller bitrate/filesize. so i wont to keep the vid from the .ogm. And keep the .ac3 audio from the .avi version. So i demuxed the .ac3. But when i open the .ogm in Vdubmod, the vid is exactly 1 frame ahead of the .avi vid. My question is.. is the i frame difference because of the DecoderLag, or do i need to compensate for the 1 frame ontop of the DecoderLag.. 80ms audio delay, instead of just 40ms?
iv done this in the past with vid files were both had packed bitstreams, and i only had to compensate for the frame difference from the starting point to get perfect matching sync. but with this .ogm, i tryed both 40 and 80ms delay, and the 80 i think apears to sync better, but at such small intervals its hard to tell. thats y im asking for feedback. And id also like to know if the .ogm being 1 frame ahead in Vdubmod is just how the video is, or if its cause of the unpacked bitstream and DecoderLag? for my own reference.
-------------------------------------------
seperate question i was curious about..
i was also able to save aproximetly 1.5mbs of space off a 350mb Xvid.ac3.avi file, by de-interleaving the audio. However, when i de-interleaved the audio from a 400mb Dvix.mp3.avi file, i found no change in file size.
so i was just wondering... is the overhead from the interleaved Xvid file caused mostly cause the .ac3 is uncompressed, compaired to the .mp3?