Memory instead of filesrc and filesink

Is there a way to save filesrc → memory(RAM) and than in another pipeline go from RAM->autovideosink? I am trying to create filesrc->udpsink, udpsrc->RAM, RAM->Play, I know I could just save the file and than play it, but I am not allowed to save files.

Just to clarify I need to save video, because I need features like hop to frame (n), next frame, previous frame, play/pause.

You can use appsink to receive buffers inside your application and do whatever you want with them, and appsrc to provide buffers back to a pipeline from your application.

1 Like