/yt-trimmer

🤖 Bot to dowload and trim youtube video, passing start and end point, saving video to local folder

Primary LanguageJavaScript

Download and trim some YouTube Video


It will download and cut a youtube video, by adding start and end values, save it to local, and upload to your youtube channel.


How to use it?

  1. Clone this repo, go to repo folder, and install with npm install
  2. Start with node index.js
  3. You will be prompted and will be asked for:
  • Youtube url Youtube video url with http(s)
  • Video starts in When video start? format HH:mm:ss.ms
  • Video ends in When video will end? format HH:mm:ss.ms
  • Filename Filename that will be output. Don't need to provide .extension of file. If no filename part.mp4 will be the filename.
  1. When finished, the video will be save at local project folder

Obs.: You need ffmpeg in your machine

Tecnologies

  • node.js
  • readline-sync
  • youtube-dl
  • ffmpeg