EnsureVBRMP3Sync
From Avisynth wiki
(Difference between revisions)
m (1 revision) |
(add link to avs+ documentation) |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
+ | <div {{BlueBox2|40|0|3px solid purple}} > | ||
+ | {{AvsPlusFullname}}<br> | ||
+ | Up-to-date documentation: [https://avisynthplus.readthedocs.io/en/latest/avisynthdoc/corefilters/ensuresync.html https://avisynthplus.readthedocs.io] | ||
+ | </div> | ||
+ | |||
+ | |||
EnsureVBRMP3Sync(clip ''clip'') | EnsureVBRMP3Sync(clip ''clip'') | ||
Line 14: | Line 20: | ||
[[Category:Internal filters]] | [[Category:Internal filters]] | ||
+ | [[Category:Audio_filters]] | ||
+ | [[Category:Timeline_editing_filters]] |
Latest revision as of 07:34, 18 September 2022
AviSynth+
Up-to-date documentation: https://avisynthplus.readthedocs.io
EnsureVBRMP3Sync(clip clip)
EnsureVBRMP3Sync will ensure synchronization of video with variable bitrate audio (MP3-AVI's for example) during seeking or trimming. It does so by buffering the audio. The name of the filter is a bit misleading, since it is useful for every stream with variable bitrate audio and not just for MP3.
It will slow seeking down considerably, but is very useful when using Trim for instance. Always use it before trimming.
Example:
# ensures that soundtrack is in sync after trimming AviSource("movie.avi") EnsureVBRMP3Sync() Trim(250, 2500)