Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AudioTrim() not atually trim first seconds #23

Open
PoDBoT opened this issue Jan 26, 2019 · 0 comments
Open

AudioTrim() not atually trim first seconds #23

PoDBoT opened this issue Jan 26, 2019 · 0 comments

Comments

@PoDBoT
Copy link

PoDBoT commented Jan 26, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant