Video source (webcam) for win32
Tim-Philipp Müller
t.i.m at zen.co.uk
Mon Jun 3 06:32:29 PDT 2013
On Mon, 2013-06-03 at 06:32 +0200, Tomasz Wasilczyk wrote:
Hi,
> I'm trying to get working video source on win32 gstreamer (both 0.10
> and 1.0). I see, that gstksvideosrc and gstdshowvideosrc isn't
> buildable on recent 0.10 nor 1.0 releases.
>
> My question is: is there any working video source, that I could use
> for accessing webcam from win32?
>
> I tried to fix gstksvideosrc shipped with gst-plugins-bad-1.0.7 (see
> [1]), but it doesn't seems to be an easy task - I've managed to get it
> building, but it won't work (there is no gst_pad_alloc_buffer routine
> in 1.0, see mingw-shotgun-debugging.patch). Am I near the solution, or
> fixing this module is a dead end?
Just use gst_buffer_new_and_alloc() - that's not optimal, but should
work just fine.
gst_pad_alloc_buffer() has been replaced by doing an ALLOCATION query
and using the allocator/bufferpool returned (if any).
Cheers
-Tim
More information about the gstreamer-devel
mailing list