write_videofile() works with static filename parameters, (i.e.
"this_is_my_file.mp4") but does not work as intended when variables are passed into the filename parameter (i.e.
my_variable = "a dynamic filename"). The resulting video possess audio, but is always frozen on the first frame.
production of video files with dynamic file names.
produces a video with the audio and the correct filename, but video is frozen on the first frame.
Steps to Reproduce the Problem
my_clip.write_videofile("meaty_chungus.mp4") #works meaty_chungus = "meaty_chungus" my_clip.write_videofile(meaty_chungus + ".mp4") #produces a video with the audio and the correct filename, but video is frozen on the first frame.
- Python Version: 3.x
- Moviepy Version: most recent
- Platform Name: Windows
- Platform Version: 10