- Clone this repository
- Create a
sourcedirectory next to the script files- If you wish to operate with the
sourceanddistdirectories on different harddrives than the repository, you can create symlinks
- If you wish to operate with the
- If you wish to download recordings from blackboard, paste the contents of blackboard-download.js into the browser devtools console while on the recordings page
- Put your video files into the source directory
- Run the commands below in order
python3 copy_and_rename_collaborate_videos.py
python3 join_videos.py
python3 generate_ffmpeg_chapters.py
python3 generate_youtube_chapters_from_meta.py
python3 apply_ffmpeg_chapters.py
dist/renamedis a directory that contains copies of the videos in thesourcedirectory, but their names will be without the collaborate formatting.dist/joined/joined.mp4is the combination of all the videos in thesourcedirectorydist/joined/joined_with_chapters.mp4is a version of thejoined.mp4file that also has chapters chapters embedded into its metadata. Each chapter corresponds to a video in thesourcedirectory.- Use an advanced video player like VLC to access these chapters
dist/meta/youtube_chapters.txtis a list of timestamps for the chapters that comprisejoined.mp4, that is compatible with youtube's chapter format