[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
Thu Apr 22 20:02:21 CEST 2010
Thanks, I though I mentioned that I had tried inserting ffmpegcolorspace between the jpegdec and dshowvideosink, but it didn't work either.
Adding the multipartdemux gets me a nice clean failure: "Could not demultiplex stream" "Boundry not found in multipart header".
This happens right after PREROLLING is displayed.
As I said,
souphttpsrc location=http://x.y.z.n/video.cgi ! jpegdec ! xvimagesink
works wonderfully on Ubuntu (tried it on 8.04, 9.10 & 10.04Beta)
Perhaps the WinBuilds-10.5.1 are just not usable for this.
I've also tried a "Creative WebCam Pro" with:
gst-launch-0.10 dshowvideosrc device-name="Creative WebCam Pro" ! jpegdec ! ffmpegcolorspace ! dshowvideosink
But this locks up the msys terminal after opening a window that displays/grabs the pixels underneath and is movable but doesn't close until I kill the msys terminal.
I see there is a WinBuilds10.6RC1 but I can't seem to download them -- starts, but then never seems to get any data.
From: Wesley J. Miller [WMiller at sdr.com]
Sent: Thursday, April 22, 2010 8:59 AM
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] source for http mjpeg streams (was: Could not close resource error when using gnomevfssrc with ftp)
> I tried using this pipeline on gstreamer for windows XP, with what seemed to be the correct
> modifications but it didn't work.
Try adding an ffmpegcolorspace element to your pipeline between jpegdec and dshowvideosink. This adjusts the colors in the stream coming out of jpegdec.
You may also want a multipartdemux after souphttpsrc to strip out any audio component from your camera.
gst-launch-0.10 souphttpsrc location=http://x.y.z.n/video.cgi ! multipartdemux ! jpegdec ! ffmpegcolorspace ! dshowvideosink
More information about the gstreamer-devel