Capture to Named Pipe
This is an experimental feature that allows the captured video to be written to a named pipe. This allows other software to listen for the incoming video frames.
Using FFMPEG you can connect to the named pipe for custom encoding:
ffmpeg.exe -y -f rawvideo -codec rawvideo -s 640x480 -r 30 -pix_fmt rgb32 -i \\.\pipe\test_pipe -an -c:v libx264 -pix_fmt yuv420p output.mp4
You must start the capture and THEN run ffmpeg, otherwise it will not find the named pipe.
Currently it only video outputs in rgb32 format and you need to specify the resolution and frame rate. Audio is not supported.
Another example using FFMPEG showing how to stream a video via RTP:
ffmpeg -r 30 -vcodec rawvideo -f rawvideo -pix_fmt yuv420p -s 1280x720 -i \\.\pipe\test_pipe -an -f rtp rtp://127.0.0.1:9090
Note
When you start the capture to the named pipe, Unity will freeze until that pipe is read from (eg by starting FFMPEG).