4 ms·
So you're using plain command line ffmpeg or are you feeding the frames yourself? How do you throttle the speed of ffmpeg?
by maxklein 16y ago
So you're using plain command line ffmpeg or are you feeding the frames yourself? How do you throttle the speed of ffmpeg?
- felixge 16y agoWe 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.