0.0.2 • Published 10 years ago
oddshot v0.0.2
oddshot
oddshot.tv video downloader
Command line usage
npm install oddshot -g
oddshot http://oddshot.tv/shot/dreamhackcs-20150920202118125 output.mp4Node stream usage
npm install oddshotvar fs = require('fs');
var video = require('oddshot');
video('http://oddshot.tv/shot/dreamhackcs-20150920202118125').pipe(fs.createWriteStream('ouput.mp4'));Sample usage with ffmpeg (fluent-ffmpeg)
npm install fluent-ffmpegvar video = require('oddshot');
var ffmpeg = require('fluent-ffmpeg');
ffmpeg(video('http://oddshot.tv/shot/dreamhackcs-20150920202118125'))
.seekInput('00:07')
.duration('14')
.output('output.mp4')
.run();License
MIT