Re:Realtime encoding - over 150x faster
by maxklein on Monday December 20, 2010 @03:24PM
(#2025642)
So you're using plain command line ffmpeg or are you feeding the frames yourself? How do you throttle the speed of ffmpeg?
[ Parent
| on HN ]
We are feeding raw bytes into a command line ffmpeg process via standard input.
Ffmpeg only reads as much from stdin as it can process. Node.js gives us a 'drain' event when this happend, which means we can pump more data into it. So we are no throttling the speed, just the flow of data.