Use gstreamer to read the memory data and encode it to save the video

At present, I am trying to use appsrc in the program to read data and encode it, but I have encountered problems. Please help me with some help

What kind of problems have you encountered? :slightly_smiling_face: