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. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi,
You can select the device using the 'device-name' but you will need crossbar support which is not available yet. Albert Costa seemed to have good results (http://permalink.gmane.org/gmane.comp.video.gstreamer.devel/29024), you can push him to open a bug with its work :) Andoni 2010/4/9 Kulecz, Walter (JSC-SK)[WYLE INTEG. SCI. & ENG.] <[hidden email]>: > 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. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > -- Andoni Morales Alastruey LongoMatch:The Digital Coach http://www.longomatch.ylatuya.es ------------------------------------------------------------------------------ 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. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Kulecz, Walter (JSC-SK)[WYLE INTEG. SCI. & ENG.]
Hi,
error 8007048f : ERROR_DEVICE_NOT_CONNECTED Well try to use the device-name property, for example: gst-launch dshowvideosrc device-name="Pinnacle WDM PCTV Video Capture" ! dshowvideosink Sincerely Julien 2010/4/9 Kulecz, Walter (JSC-SK)[WYLE INTEG. SCI. & ENG.] <[hidden email]> I'm stuck with trying to get dshowvideosrc to work. ------------------------------------------------------------------------------ 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. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
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.
Thanks!
From: Julien Isorce [[hidden email]] Sent: Friday, April 09, 2010 5:22 PM To: Discussion of the development of GStreamer Subject: Re: [gst-devel] Help with using dshowvideosrc Hi,
error 8007048f : ERROR_DEVICE_NOT_CONNECTED Well try to use the device-name property, for example: gst-launch dshowvideosrc device-name="Pinnacle WDM PCTV Video Capture" ! dshowvideosink Sincerely Julien 2010/4/9 Kulecz, Walter (JSC-SK)[WYLE INTEG. SCI. & ENG.]
<[hidden email]>
I'm stuck with trying to get dshowvideosrc to work. ------------------------------------------------------------------------------ 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. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |