Gstreamer convert to RGB on Nano

gotsring gotsring at live.com
Fri Feb 5 15:49:27 UTC 2021


Typically you don't have to specify what format to convert to when you use a
videoconvert or nvvidconv element. It should automatically figure out what
it can use to make it work. You also don't have to restate things like
framerate and image dimensions if they're staying the same.

I don't have snapshotfilter, but you can do the same with videorate and
multifilesink. Try this out:

gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=1280,
height=720, framerate=120/1' ! tee name=t \
 t. ! queue ! nvvidconv ! videorate ! 'video/x-raw, framerate=2/1' ! jpegenc
! multifilesink location="snapshot_%04d.jpg" \
 t. ! queue ! nvvidconv ! omxh264enc ! h264parse ! qtmux ! filesink
location=tester1.mp4 -e



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list