jpegenc snapshot didn't work

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

jpegenc snapshot didn't work

neil
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/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: jpegenc snapshot didn't work

Nicolas Dufresne-5
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
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment