Hi, I am having issues getting a snapshot from an rtsp stream. Almost every time the snapshot comes out grey with some pixelated parts but sometimes the image comes out perfectly. The command I am using: gst-launch-1.0 rtspsrc location=rtsp://AddressOfStream is_live=true ! decodebin3 ! videoconvert ! jpegenc snapshot=true ! filesink location=/home/test_snapshot.jpg I have tried a few variations of this like pngenc instead of jpeg, using decodebin instead of decodebin3 but nothing has changed the end result. Is there something I can add to the command to make the snapshots more reliable or is there a different command that I need to run to achieve what I am wanting?
Gstreamer version 1.20.3 ubuntu 22.04