A Python project to convert a .mp3 audio file into a .mp4 video file. Used to convert podcast episodes into videos to upload to YouTube.
Clone the repo and move into the main repo directory.
Create a conda env, activate and install ffmpeg:
conda create -y -n audio-to-video
conda activate audio-to-video
conda install -y -c conda-forge ffmpeg gooey
Run the Gooey app:
python run.py
Make sure there are not spaces in the file path's of the .mp3 or image or their parent directories
If this doesn't work, the raw ffmpeg command is below:
ffmpeg -loop 1 -i image.png -i audio.mp3 -c:a copy -c:v libx264 -shortest video.mp4