jpegenc snapshot didn't work
neil
yannian89 at 163.com
Tue Feb 26 02:16:18 UTC 2019
I want to use gstreamer to take one jpeg snapshot and then quit the gstreamer
pipeline. I build a pipeline like
* gst-launch-1.0 -e rtspsrc
location="rtsp://@172.16.11.14:554/cam/realmonitor?channel=1;subtype=0"
latency=200 short-header=true ! rtph264depay ! avdec_h264 ! jpegenc
snapshot=true ! filesink location=/tmp/0.jpg*
Though jpegenc return GST_FLOW_EOS if snapshot property is set true, the
pipeline didn't quit.
Then I build another pipeline like
*gst-launch-1.0 -e videotestsrc ! video/x-raw, framerate='(fraction)'5/1 !
jpegenc snapshot=true ! filesink location=/tmp/0.jpg*
The second pipeline could work well.
Could you tell me who swallow the EOS? Thanks
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list