Add clockoverlay to IP Camera avi

Nicolas Dufresne nicolas.dufresne at collabora.com
Sat Jul 18 13:56:03 PDT 2015


Le samedi 18 juillet 2015 à 13:42 -0700, oguime a écrit :
> gst-launch-1.0 souphttpsrc
> location=
> http://user:pass@192.168.1.93:9093/mjpeg.cgi num-buffers=3000 !
> image/jpeg,framerate=12/1,width=640,height=480 ! jpegparse ! avimux !
> filesink location=output.avi

To add a clockoverlay element, you will have to decode and re-encode
the image. Something like:

gst-launch-1.0 souphttpsrc location=... ! jpegdec ! clockoverlay ! jpegenc ! avimux ! ...

Nicolas

p.s. setting the width and height in your caps filter could be wrong,
this information will be found correctly in the stream by jpegparse (or
jpegdec), setting a framerate is probably a good idea though.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150718/b55dfb55/attachment.sig>


More information about the gstreamer-devel mailing list