Tutorial by Examples

A good VOD (Video On Demand) service should start with the basics. Lets say you have a directory on your server that is not publicly accessible, yet through some sort of portal or paywall you want to allow users to access your media. var movie = path.resolve('./public/' + req.params.filename); ...
You can also use flent-ffmpeg to convert .mp4 files to .flv files, or other types: res.contentType('flv'); var pathToMovie = './public/' + req.params.filename; var proc = ffmpeg(pathToMovie) .preset('flashvideo') .on('end', function () { console.log(...

Page 1 of 1