Moviepy: no audio in written videofile when running on heroku
问题 I am making videos with moviepy. Created locally, the final videofile has audio. When I run the same code on heroku, the final video has no audio. First, I thought not using the /tmp directory on heroku might be the issue. I also followed advice to add audio parameters to write_videofile . Both didn't solve the problem. I am using the heroku ffmpeg buildpack. #Make soundtrack soundtrack = AudioFileClip('https://storage.googleapis.com/ABC/music.mp3') soundtrack = soundtrack.set_duration(final