This is a simple script to convert many video files to audio files all at once by specifying the location of the target directory containing the video files.
Used is the python library moviepy .Here is it's documentation
Installation instructions available on the above documentation link.
I encountered some problems importing modules,incase you have the same problems here is what to do:
- pip install ffmpeg
- pip install imageio-ffmpeg
- Try running your program out of the python environment(don't activate env; just run
python script.py
in the terminal)