[gst-devel] Help with using dshowvideosrc
Kulecz, Walter (JSC-SK)[WYLE INTEG. SCI. & ENG.]
walter.kulecz-1 at nasa.gov
Sat Apr 10 00:29:44 CEST 2010
Thanks thats something to start with, but how do I find the device-name property string for my device?
Is it the name that appears in device manager somewhere? I've packup the computer and will not be back until Tuesday, but I'd like to revisit this again then if you can give me a clue as to how to find its device-name string.
From: Julien Isorce [julien.isorce at gmail.com]
Sent: Friday, April 09, 2010 5:22 PM
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] Help with using dshowvideosrc
error 8007048f :
Well try to use the device-name property, for example:
gst-launch dshowvideosrc device-name="Pinnacle WDM PCTV Video Capture" ! dshowvideosink
2010/4/9 Kulecz, Walter (JSC-SK)[WYLE INTEG. SCI. & ENG.] <walter.kulecz-1 at nasa.gov<mailto:walter.kulecz-1 at nasa.gov>>
I'm stuck with trying to get dshowvideosrc to work.
gst-launch videotestsrc ! dshowvideosink works as expected.
I've scrounged up an ATI TV Wonder USB HD650 video device and it seems to work on my XP notebook, at least with its bundled software, which I used to select the S-video input.
But a simple gst-lauch command in an msys window gives:
$ gst-launch dshowvideosrc ! dshowvideosink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
0:00:02.062966000 716 00334130 ERROR dshowvideosrc gstdshowvideosrc.cpp:589:gst_dshowvideosrc_change_state: Can't R
the directshow capture graph (error=0x8007048f)
ERROR: pipeline doesn't want to play.
Setting pipeline to NULL ...
Freeing pipeline ...
At which point I'm stuck. This is just a proof of principle test, the next question, if I can get it to display live video, will be how do I select the input source? The overview of all plugins documentation, http://gstreamer.freedesktop.org/documentation/plugins.html doesn't have an entry for dshowvideosrc, among others, like dshowvideosink fer instance.
I assume that like v4l2src, input selection needs to be done programmatically since gst-launch can't talk to the interfaces. In my initial tests on Linux I used TVtime to set the video input and then could use gst-launch v4l2src ! xvimagesink to verify function. But then, dshowvideosrc could be very different, or perhaps directshow driver doesn't retain the input selection across invocations although the ATI player software seems to resume where I left it set.
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net<mailto:gstreamer-devel at lists.sourceforge.net>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel