I'm trying to save multiple files in RAW format (PGM) from a video source by using Gstreaamer. By reading thanks to the gst-inspect tool the differents sources and sinks available for the differents plugins that I use, I can't find the right way to achieve my goal. I use mfw_v4lsrc for the source video, ffenc_pgm to encode and filesink to save the file.
this is my command line: gst-launch mfw_v4lsrc device=/dev/video0 name=source ! video/x-raw-yuv, width=250, height=250 ! ffenc_pgm ! filesink location=test.pgm
I stay stuck with could not link source to ffenc_pgm.
I'm able to obtain a live and save in jpeg. But for my goal, I need your help.
Thanks