Pushing Data To Web-browser While Processing Input From Ffmpeg
I want to push output of this directly to the user using PHP/Python: wget -qO- 'http://my-video-stream-input.url/here' | ffmpeg -i pipe:0 -ab 192000 -acodec libmp3lame -map_metadat
Solution 1:
You need to tell ffmpeg to output data to stdout, rather than giving it a file name. For example, the following command reads an input in FLAC format from stdin and writes an output in MP3 format to stdout (the file name "-" is used to mean stdin/stdout):
ffmpeg -f flac -i - -f mp3 -
Post a Comment for "Pushing Data To Web-browser While Processing Input From Ffmpeg"