With this line of code, I want to create a frame by creating a signal and transmitting the resulting signal to the buffer. Then I need to change the format to BGR to be able to read the frame. When I remove this line of code from the main code, it works but I cannot do what I want. When I remove the BGR conversion process in this line of code, the code works fine, but this time it cannot read the video. How can I solve this freezing (like slow motion) problem?
I tried your pipeline and it works without freezing but this time the video is completely slow. I guess the signal is transmitted to the buffer late (or slower) every time. how can i solve this problem?
I have another problem about getting images from gstreamer. I was creating a frame by triggering the signal with a buffer. When I returned the number of triggers per second (ie FPS) with the callback method, I saw that it was not constant. I was hoping to see the FPS being 25 unchanged but it varies (sometimes 50, sometimes 20). Why is this happening? How can i solve this problem?