Gstreamer, how to route output to a file instead of the framebuffer

370 views Asked by At

Good afternoon,

I need to know how to use Gstreamer to send frame data to a file instead of the framebuffer.

I want to be able to open the file with another program, edit some video data, then forward to the framebuffer.

is there a gstreamer command for doing this?

Thanks,

1

There are 1 answers

0
Martin On

You need a filesink.

You can simply add one at the end of your pipeline:

mypipeline ! filesink location=myfile

This will write the stream into a file named myfile.