AviSynthPlus icon indicating copy to clipboard operation
AviSynthPlus copied to clipboard

AudioTrim() not atually trim first seconds

Open PoDBoT opened this issue 7 years ago • 0 comments

If you want to mix video (containing audio track, but probably it doesn`t matter) with a distinct audio track, like this:

video = FFMS2("some.video")
audio = FFAudioSource("some_audio.mp3")

audio = DelayAudio(AudioTrim(audio, 10.0, 0.0), 10.0)

MixAudio(video, audio)

Then audio will not be trimmed from the beginning, it simply shifts "start_time" seconds to the beginning of the clip. Audio in example above will start from very beginning of the video.

PoDBoT avatar Jan 26 '19 15:01 PoDBoT