I'm trying to pipe my h264 stream to ffmpeg and then to my v4l2loopback device. Problem is that I'm fairly new to linux, so just can't get it working. The stream can be outputted to stdout, but I do not know how to catch it again with ffmpeg and then again pipe it to my v4l2loopback device. Does anybody know how this could be done or maybe a pointer on how to solve it? This is the capture program: PS! You can find the options for the capture program almost in the bottom of the code. /* * V4L2 video capture example, modified by Derek Molloy for the Logitech C920 camera * Modifications, added