Stupid Internet Tricks

From Hobowiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.