gst-launch-1.0 -v uridecodebin uri=file:///path/to/video.ogg ! videoconvert ! videoscale ! videorate ! video/x-raw,framerate=15/1 ! autovideosink
The pipeline shown above is a tutorial example to force the framerate of a video from terminal. My question is: Could anyone translate this pipeline into C++ code ?(with gstreamer or DeepStream) I hope to be able to force the framerate in my own application, but I did not find an exemple of code, because it seems that the element “videorate” of gstreamer doesn’t have the properity ‘framerate’, so I don’t kown how to reset it in my code.
Thanks in advance.