jpegenc snapshot didn't work

Nicolas Dufresne nicolas at ndufresne.ca
Mon Feb 25 17:18:13 UTC 2019


Le lundi 25 février 2019 à 04:14 -0600, neil a écrit :
> 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.

You just reminded me that I forgot to open an issue for that one. It's
the rtph264depay element that is faulty here.

https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/569

> 
> 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/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190225/3ea8078c/attachment.sig>


More information about the gstreamer-devel mailing list