Git Product home page Git Product logo

youtube-downloader's Introduction

YouTube Downloader

This is a userscript that allows the user to download any streamable YouTube video in selected formats. Conversion of video-only streams + audio -> video and audio -> mp3 are supported on Windows, Mac and Linux, using the ffmpeg library. More information can be found in the wiki

Quality Image

Contents

  1. Download Formats
  2. Installation
  3. Usage
  4. Functionality

Download Formats

Some of the qualities available for any given YouTube video are video only. This is due to YouTube storing some of the qualities - including 480p, 720p60, 1080p and 1080p60 - as video only (DASH), and playing it back synchronously with a separate m4a audio stream.

Because of this, to download these videos, both the video stream (*.m4v) and audio stream (*.m4a) must be downloaded, and then remuxed into a single mp4 video after they have downloaded. Further notes on this can be found in the wiki.

Installation

If you use Chrome:

  1. Download the chrome extension
  2. Navigate to chrome://extensions
  3. Enable "Developer mode" in the top right corner
  4. Drag the aforementioned extension to install

Other method:

  1. Download and install your favourite userscript manager (Greasemonkey for Firefox or Tampermonkey for Chrome)
  2. Install from here, or by copying the raw main.js file into your userscript manager
  3. Enable and whitelist appropriate file types in GM_download, as detailed here

Usage

  1. Navigate to a YouTube video watch page
  2. Select your quality from the dropdown - note that if the selected quality has a dash tag, or is *.mp3, you will be required to run a script after downloading
  3. Press "Download" to begin downloading

If you need to convert to MP3 or join audio and video

  1. Download the relevant script/app from the wiki
  2. Run the script/app in the same folder that your files are stored

Functionality

The functionality is pretty self explanatory - the script will allow the user to download any desired quality and type with the correct name. The post conversion script/app allows for the merging of video-only streams with audio, and the conversion of audio to MP3.

To be added

  • Filtering types and qualities
  • Interfacing videos embedded on external sites
  • Mass downloading (e.g. playlists)

youtube-downloader's People

Contributors

domsleee avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.