Bionics Docs

Archiving Match Footage

Jump to Section
  1. Download the videos from twitch

    1. Create a file containing a list of URLs to be downloaded eg. videos.txt
    2. Use youtube-dl or a more modern fork like yt-dlp to download each video
      yt-dlp -a videos.txt -f 1080p --external-downloader axel
  2. Join the downloaded files

    1. Create a list of files to be joined eg. list.txt
      find . -iname "*.mp4" -exec sh -c $'a="$1"; echo "file \'$a\'" >> list.txt' shell {} \;
    2. Use FFMPEG to join the files specified by list.txt
      ffmpeg -f concat -safe 0 -i list.txt -c copy output.mp4
  3. Use FRC Video Splitter to spit matches

  4. Upload to youtube