View Single Post
Old 7th December 2019, 13:30   #5  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by yellowolf View Post
...The common issue is the demuxed AV are out of synchronous mainly due to the shorten or lengthen duration of audio streams...
Like videoh say you in a container the problem is solved with the timestamps, but the demuxed streams can lose the sync.

See the attached image in https://forum.doom9.org/showthread.p...94#post1600694

The 0.m2ts can be a credit and have a audio length greater (or shorter) than video length.

In (A) the next 1.m2ts begin with a new audio stream than play at timestamp 400 ms. But if you extract the audio streams this new audio begin at 416 ms, the 16+ overlap can't be corrected, if you delete the frame 13 of first audio you have a gap of -16ms.

To preserve the sync you need decode the streams, cut the 16 ms and recode all.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote