[gst-devel] source for http mjpeg streams (was: Could not close resource error when using gnomevfssrc with ftp)
Kulecz, Walter (JSC-SK)[WYLE INTEG. SCI. & ENG.]
walter.kulecz-1 at nasa.gov
Wed Apr 21 22:19:13 CEST 2010
Sorry, I thought it was germaine because I was playing with giosrc element you mentioned
and was getting the same
GLib-WARNING **: g_set_prgname() called multiple times
error messages.
Thanks for a correct answer
gst-launch souphttpsrc location=http://x.y.z.n/video.cgi ! jpegdec ! xvimagesink
Works very well.
But
gst-launch playbin2 uri=http://x.y.z.n/video.cgi
Throws the GLib-WARNING **: g_set_prgname() called multiple times error
and hangs after a lot of buffering at the setting pipeline to PLAYING stage.
________________________________________
From: Tim-Philipp Müller [t.i.m at zen.co.uk]
Sent: Wednesday, April 21, 2010 2:53 PM
To: gstreamer-devel at lists.sourceforge.net
Subject: Re: [gst-devel] source for http mjpeg streams (was: Could not close resource error when using gnomevfssrc with ftp)
On Wed, 2010-04-21 at 14:31 -0500, Kulecz, Walter (JSC-SK)[WYLE INTEG.
SCI. & ENG.] wrote:
> What is the proper source to use for a "netcam" that produces an MJPEG stream?
Any source that supports the http:// protocol. souphttpsrc is currently
our prefered http source.
Also, please don't hijack other threads - start your own thread for new
question.
> gst-launch giosrc location=http://192.168.1.100/video.cgi ! xvimagesink
The camera delivers encoded video data, I don't know why you think you
can pipe it into xvimagesink like that. The pipeline should probably
error out though.
> gst-launch playbin2 uri=http://192.168.1.100/video.cgi ! queue ! jpegdec ! xvimagesink
>
> Which gives:
>
> (gst-launch-0.10:3375): GLib-WARNING **: g_set_prgname() called multiple times
> WARNING: erroneous pipeline: could not link playbin20 to queue0
> Ubuntu910:~/gst-learn$ gst-launch playbin2 uri=http://192.168.1.100/video.cgi ! xvimagesink
> (gst-launch-0.10:3395): GLib-WARNING **: g_set_prgname() called multiple times
> WARNING: erroneous pipeline: could not link playbin20 to xvimagesink0
Well, this pipeline is just wrong. You can't link playbin2 to anything
(as the error message says). Maybe you meant to use uridecodebin
instead.
> Ubuntu 9.10 uses gstreamer-0.10.25.
> This is a low priority for me, but if I knew it worked it could be useful for me as
> a video source to experiment with gstreamer on Windows XP.
gst-launch-0.10 playbin2 uri=http://1.2.3.4/foo.cgi
should work.
Cheers
-Tim
------------------------------------------------------------------------------
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list