I have a project that I got thrown into, uses a gstreamer pipeline. I need to be able to zoom in and out of the video by changing a property with element_set. Following similar solutions I added a videocrop and videoscale. The stream launches fine at first, however, If I change the properties for videocrop the stream stops.
Here’s the part of the pipeline that I changed:
video/x-h264,stream-format=(string)byte-stream,width=(int)1280 ,height=(int)720,framerate=(fraction)15/1 ! h264parse !
omxh264dec disable-dpb=true ! videocrop name=cropper left=200 top=0 right=200 bottom=0 !
videoconvert !
videoscale !
video/x-raw,width=1280,height=720 !
queue !
omxh265enc bitrate=2000000 !