Last active
August 29, 2015 14:13
-
-
Save psilva261/417393caa723012ff9b9 to your computer and use it in GitHub Desktop.
Processing audio file from http with ffmpeg on node
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ffmpeg = require('fluent-ffmpeg'); | |
var request = require('request'); | |
var httpStream = request('http://www.acme.com/input.mp3'); | |
var proc = new ffmpeg({source: httpStream}) | |
.inputFormat('mp3') | |
/* insert processing steps from | |
https://github.com/fluent-ffmpeg/node-fluent-ffmpeg here */ | |
.save('output.mp3'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment