<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Sadly, nvvidconv doesn’t support RGB (or any other 24bit RGB format). Just RGBx (32 bits) and friends. So yes, a custom CUDA kernel could do it, or you could take a look at <a href="https://docs.nvidia.com/vpi/index.html" class="">VPI</a> which already has a CUDA based conversion to RGB.<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 5 Feb 2021, at 09:49, gotsring <<a href="mailto:gotsring@live.com" class="">gotsring@live.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Typically you don't have to specify what format to convert to when you use a<br class="">videoconvert or nvvidconv element. It should automatically figure out what<br class="">it can use to make it work. You also don't have to restate things like<br class="">framerate and image dimensions if they're staying the same.<br class=""><br class="">I don't have snapshotfilter, but you can do the same with videorate and<br class="">multifilesink. Try this out:<br class=""><br class="">gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=1280,<br class="">height=720, framerate=120/1' ! tee name=t \<br class=""> t. ! queue ! nvvidconv ! videorate ! 'video/x-raw, framerate=2/1' ! jpegenc<br class="">! multifilesink location="snapshot_%04d.jpg" \<br class=""> t. ! queue ! nvvidconv ! omxh264enc ! h264parse ! qtmux ! filesink<br class="">location=tester1.mp4 -e<br class=""><br class=""><br class=""><br class="">--<br class="">Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" class="">http://gstreamer-devel.966125.n4.nabble.com/</a><br class="">_______________________________________________<br class="">gstreamer-devel mailing list<br class=""><a href="mailto:gstreamer-devel@lists.freedesktop.org" class="">gstreamer-devel@lists.freedesktop.org</a><br class="">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<br class=""></div></div></blockquote></div><br class=""></body></html>