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

Output video without sound #2202

Open
O-O1024 opened this issue Jul 10, 2024 · 0 comments
Open

Output video without sound #2202

O-O1024 opened this issue Jul 10, 2024 · 0 comments
Labels
bug Issues that report (apparent) bugs.

Comments

@O-O1024
Copy link

O-O1024 commented Jul 10, 2024

It very strange.

video.set_audio(audio)   # I'm sure audio is not None.
video.write_videofile(
    self.path_vid_out,
    audio=True,
)

I have already call set_audio! But the output videos are without sound.
The values of (audiofile is None), (audio == True), (self.audio is not None) are True, True, False.
So I try to print(self.audio) in the first line of write_videofile()'s body, but the result is None.

Does it caused by decorators.

Specifications

  • Python Version: 3.9.13
  • MoviePy Version: 1.0.3
  • Platform Name: Win10
  • Platform Version: Don't know
@O-O1024 O-O1024 added the bug Issues that report (apparent) bugs. label Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that report (apparent) bugs.
Projects
None yet
Development

No branches or pull requests

1 participant