- Clone this repository
- Create a
source
directory next to the script files- If you wish to operate with the
source
anddist
directories 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/renamed
is a directory that contains copies of the videos in thesource
directory, but their names will be without the collaborate formatting.dist/joined/joined.mp4
is the combination of all the videos in thesource
directorydist/joined/joined_with_chapters.mp4
is a version of thejoined.mp4
file that also has chapters chapters embedded into its metadata. Each chapter corresponds to a video in thesource
directory.- Use an advanced video player like VLC to access these chapters
dist/meta/youtube_chapters.txt
is a list of timestamps for the chapters that comprisejoined.mp4
, that is compatible with youtube's chapter format