Quoted By:
Can someone help me convert this gstreamer command to C code?
>gst-launch-1.0 -e v4l2src device=/dev/video0 ! videoconvert ! queue ! tee name=t t. ! queue ! matroskamux ! queue ! filesink location=test.mkv t. ! queue ! autovideosink sync=false
I managed to almost do it myself but it produces corrupted files and I don't know how to fix that.