An example showcasing streaming input and output with external program, which is ffmpeg in this case.
ffmpeg