Python Script to join / concatenate video files
- moviepy - https://zulko.github.io/moviepy/
- ffmpeg - https://gpac.wp.mines-telecom.fr/mp4box/
For Python3
$ pip3 install moviepy
For Python2
$ pip install moviepy
For ffmpeg
$ sudo apt-get install ffmpeg
For Python3
$ pip3 install moviepy
For Python2
$ pip install moviepy
For ffmpeg
$ brew install ffmpeg
- Add file names as command line arguments like example below.Dont forget to include the extension
- Run
$ python videoeditor.py intro.mp4 content.mp4 outer.mp4
- Add file names to a text file. Refer list.txt file
- Run
$ ffmpeg -f concat -safe 0 -protocol_whitelist file,http,https,tcp,tls,crypto -i list.txt -c copy outfile.mp4 -n
This is made using moviepy library