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

moviepy.video.io.VideoFileClip.VideoFileClip.set_audio does not set audio #1030

Closed
IdoWSC opened this issue Oct 29, 2019 · 1 comment
Closed

Comments

@IdoWSC
Copy link

IdoWSC commented Oct 29, 2019

Hi,
Using the set audio method with and AudioFileClip as an input results in VideoFileClip.audio to be None.
However, directly setting the audio var with the VideoFileClip works great.

@Zulko
Copy link
Owner

Zulko commented Oct 29, 2019

That's because set_audio is not inplace, it creates a new clip (I know, the name is not ideal)

@Zulko Zulko closed this as completed Oct 29, 2019
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

2 participants