Stupid Internet Tricks

From Hobowiki
Jump to navigation Jump to search

Downloading A Specific Section Of A Youtube Video

  1. Download youtube-dl
  2. Download ffmpeg
  3. Run youtube-dl -g YOUTUBE OR OTHER VIDEO URL
  4. Save the two URLs that youtube-dl gives you, the first URL is the video, the second is the audio from that video.
  5. Run ffmpeg -ss 00:02:33.75 -i "VIDEO URL" -ss 00:02:33.75 -i "AUDIO URL" -t 00:00:30.00 -map 0:v -map 1:a -c:v libx264 -c:a aac output.mkv
    • modify both SS times to indicate where the video should start, and modify the t time to show how long the video clip should play for.