https://github.com/drowzy/node-ytmp3
Node.js script for downloading & converting youtube videos to mp3.
https://github.com/drowzy/node-ytmp3
javascript mp3 nodejs youtube-video
Last synced: about 1 year ago
JSON representation
Node.js script for downloading & converting youtube videos to mp3.
- Host: GitHub
- URL: https://github.com/drowzy/node-ytmp3
- Owner: drowzy
- Created: 2013-03-19T16:32:06.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-12-08T16:02:50.000Z (over 12 years ago)
- Last Synced: 2025-03-06T04:06:26.558Z (over 1 year ago)
- Topics: javascript, mp3, nodejs, youtube-video
- Language: JavaScript
- Homepage:
- Size: 143 KB
- Stars: 13
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ytmp3
==========
## Prerequisits
This script uses FFMPEG for conversion which means that it needs to be installed on the system.
$ sudo apt-get install ffmpeg
And the mp3 codec is not included(I think)
$ sudo apt-get install libavcodec-extra-53
Or
$ sudo apt-get install libmp3lame0
## Installation
Install from npm:
$ npm install -g ytmp3
## Usage
To download and convert a youtube video to mp3
$ ytmp3 -u http://www.youtube.com/watch?v=sFrNsSnk8GM -f mp3
Where option -u is the url to the youtube video & -f is the format (mp3 or flv).