The Reason for effects like this are basically, that a DTV audio MPEG-2 stream may have "gaps" of varying length in the audio. If you simply decode as a stream the gaps disappear and sync disappears.
Another common Problem is problems caused by varying pull-down in the original. If you have some 3:2 pulldown material (say some Ads) where one field of a frame is repeated at playback time simply decoding frame-by-frame and re-encoding will affect timing. Basically, its pretty complex and to get transcoding to work right all the time you need a carefully written transcode decoder that communicates the pulldown information to the video encoder and silence pads the audio stream being sent to the audio encoder at the right places. > > Why does it go out of sync when I encode it? > How can it go out of sync? > Can I somehow force synchronicity? (sp?) Andrew ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users