Have ideas to improve npm?Join in the discussion! »

oddshot

0.0.2 • Public • Published

oddshot

oddshot.tv video downloader

Command line usage

npm install oddshot -g
oddshot http://oddshot.tv/shot/dreamhackcs-20150920202118125 output.mp4

Node stream usage

npm install oddshot
var 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-ffmpeg
var 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

Install

npm i oddshot

DownloadsWeekly Downloads

1

Version

0.0.2

License

ISC

Last publish

Collaborators

  • avatar