You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
It very strange.
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
The text was updated successfully, but these errors were encountered: