Created
August 30, 2021 04:11
-
-
Save imneonizer/227f6ef73414b46543bc6aac146c151b to your computer and use it in GitHub Desktop.
capture rtsp snapshot using gstreamer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://stackoverflow.com/questions/59025321/capture-jpeg-images-from-rtsp-gstreamer | |
gst-launch-1.0 rtspsrc location="rtsp://admin:[email protected]/stream0" num-buffers=1 \ | |
! rtph264depay ! avdec_h264 \ | |
! nvjpegenc ! multifilesink location="./frame.jpg" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment