[gst-devel] Re : Re : Re : Re : Grabbing analog video source with gstreamer

Julien Isorce julien.isorce at gmail.com
Fri Jul 17 15:42:42 CEST 2009


2009/7/17 Albert Costa <costa_albert at yahoo.fr>

> Hi again,
> I've moved a bit forward, but not enought yet to achieve grabbing with
> gstreamer. First thing I did was to check I could acquire from
> WinMovieMaker, and that worked. I even successed with virtualdub.
>

ok but still does not work with graphedit ? if yes this is really strange.
You have to figure out what is going on because dshowvideosrc builds a
directshow graph as graphedit does.


> Then I noticed was that my grabber source was emiting in YUY2 format. When
> I gst-inspected my dshowvideosrc I realized it was not a supported format
> (was version 0.10.10), which explained the 'could not link elements' message
> I had with a simple dshowvideosrc ! fakesink pipeline.
> I have installed latest winbuilds version (now 0.10.4-prerelease). This one
> handles YUY2. But now I get a new error
> "gstdshowvideosrc.c:653:gst_dshowvideosrc_change_state: Can't RUN the
> directshow capture graph (error=-2147023729)"
>

I think this is the same error as you got in graphedit ("device not
connected")


> I have tried to check on the web possible problems, but found nothing
> relevant. Only thing was to check directx version, and I have 9.0c.
> It feels frustrating to see all components but gstreamer able to acquire my
> video...
>

You could report the graphedit problem to the device company. They often
uses it.
If you resolve the graphedit pb then dshowvideosrc will work. That's all I
can do without having the device in my hands.


> Regards,
> Al
>
> ------------------------------
> *De :* Julien Isorce <julien.isorce at gmail.com>
> *À :* Discussion of the development of GStreamer <
> gstreamer-devel at lists.sourceforge.net>
> *Envoyé le :* Jeudi, 16 Juillet 2009, 15h32mn 55s
> *Objet :* Re: [gst-devel] Re : Re : Re : Grabbing analog video source with
> gstreamer
>
>
>
> 2009/7/16 Albert Costa <costa_albert at yahoo.fr>
>
>>
>> In graphedit, the property page for the element shows video decoder
>> options (mainly PAL and SECAM formats). The output pin also reports the
>> decoder options, plus the image format.
>>
>
>
>> And if I connect a video renderer and try to play, it says no peripheral
>> is connected.
>>
>
>  So it's not a GStreamer problem.
>
> There is a software provided with the hardware, I tested it at home it did
>> allow the grabbing. But I don't know if there's a way to use the hw without
>> the sw...
>>
>
> From my experience, if you can see the hw in graphedit then you can use it
> without the sw. If not, you can't.
>
> Try to grab using  "Window Movie Maker" that is installed by default on
> winxp
> (select "capture from video device")
>
>
>> Regards,
>> Al
>>
>
> Julien
>
>
>>
>> ------------------------------
>> *De :* Julien Isorce <julien.isorce at gmail.com>
>> *À :* Gstreamer <gstreamer-devel at lists.sourceforge.net>
>> *Envoyé le :* Jeudi, 9 Juillet 2009, 17h12mn 45s
>> *Objet :* Re: [gst-devel] Re : Re : Grabbing analog video source with
>> gstreamer
>>
>> (reply to the gst list)
>>
>> Note that you should have the same error doing:
>>
>> set GST_DEBUG=1
>> gst-launch dshowvideosrc ! fakesink
>>
>> About the reason of the error, you should have this error only if you
>> disconnect the usb link.
>>
>> -->Anything with right bouton on the capture filter in graphedit, to open
>> the property page ?
>> -->property page on the ouput pin ?
>> -->Is there a software joined to the device ? does it work ?
>>
>> Julien
>>
>> 2009/7/9 Albert Costa <costa_albert at yahoo.fr>
>>
>>> Hi,
>>> ok it does appear in the list. I wanted to add a renderer and see if it
>>> plays, but...
>>> Problem is then that it does not see that I have a source physically
>>> connected to it. I guess that's also why gstreamer plugin does not recognize
>>> it.
>>> See attached pict.
>>> Al
>>>
>>> ------------------------------
>>> *De :* Julien Isorce <julien.isorce at gmail.com>
>>> *À :* Discussion of the development of GStreamer <
>>> gstreamer-devel at lists.sourceforge.net>
>>> *Envoyé le :* Jeudi, 9 Juillet 2009, 14h51mn 42s
>>> *Objet :* Re: [gst-devel] Re : Grabbing analog video source with
>>> gstreamer
>>>
>>> dshowvideosrc handles a capture device only if the device driver
>>> implements the directshow capture interfaces.
>>> To check if you driver associated with your "SvideoToUsb device",
>>> implements those interfaces or not,
>>> you can use "graphedit" (you can find it on the web).
>>> Then if you see your device in "Video Capture Device" category, then it
>>> should be ok.
>>>
>>> Julien
>>>
>>> 2009/7/9 Albert Costa <costa_albert at yahoo.fr>
>>>
>>>> Hi,
>>>> thanks for the tips. I actually already use the winbuilds binaries, so I
>>>> got this one (though I'm on winbuild version 0.10.2, not 0.10.3).
>>>> However, I cannot see my grabber input with it. It works fine with a
>>>> simple usb webcam, but looks like the Svideo to USB grabber is not handled
>>>> the same way, pitty...
>>>> Regards,
>>>> Al
>>>>
>>>> ------------------------------
>>>> *De :* Julien Isorce <julien.isorce at gmail.com>
>>>> *À :* Discussion of the development of GStreamer <
>>>> gstreamer-devel at lists.sourceforge.net>
>>>> *Envoyé le :* Jeudi, 9 Juillet 2009, 11h53mn 54s
>>>> *Objet :* Re: [gst-devel] Grabbing analog video source with gstreamer
>>>>
>>>> Hi,
>>>>
>>>> You can try dshowvideosrc from there:
>>>>
>>>> http://www.gstreamer-winbuild.ylatuya.es/doku.php?id=download
>>>>
>>>> which is different from the one who is in gst-plugins-bad
>>>>
>>>> see http://bugzilla.gnome.org/show_bug.cgi?id=517203 for more
>>>> informations.
>>>>
>>>> Julien
>>>>
>>>> 2009/7/8 Philip Jägenstedt <philip at foolip.org>
>>>>
>>>>> I've done capture with GStreamer using v4l2src, but if you're on XP
>>>>> have a look at
>>>>> http://asabil.wordpress.com/2007/05/20/directshowvideosrc-for-gstreamer/
>>>>> Apparently it's dshowsrcwrapper in gst-plugins-bad.
>>>>>
>>>>> Philip
>>>>>
>>>>> On Wed, Jul 8, 2009 at 14:41, Albert Costa<costa_albert at yahoo.fr>
>>>>> wrote:
>>>>> > Hi,
>>>>> > I would like to know if anyone has already used GStreamer to get
>>>>> video from
>>>>> > an analog source? For some reasons, I may have to use a S-Video
>>>>> camera for a
>>>>> > project. So I'll need to get the video from it. Has anyone
>>>>> experienced using
>>>>> > gst with a frame grabber ? (btw, I'm under winXP)
>>>>> > I've tried a S-Video to USB converter, but I cannot see which plugin
>>>>> I could
>>>>> > use : ksvideosrc does not see it.
>>>>> > Any help or advice would be welcomed,
>>>>> > Regards,
>>>>> > Al
>>>>> >
>>>>> >
>>>>> ------------------------------------------------------------------------------
>>>>> > Enter the BlackBerry Developer Challenge
>>>>> > This is your chance to win up to $100,000 in prizes! For a limited
>>>>> time,
>>>>> > vendors submitting new applications to BlackBerry App World(TM) will
>>>>> have
>>>>> > the opportunity to enter the BlackBerry Developer Challenge. See full
>>>>> prize
>>>>> > details at: http://p.sf.net/sfu/Challenge
>>>>> > _______________________________________________
>>>>> > gstreamer-devel mailing list
>>>>> > gstreamer-devel at lists.sourceforge.net
>>>>> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>>> >
>>>>> >
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Philip Jägenstedt
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Enter the BlackBerry Developer Challenge
>>>>> This is your chance to win up to $100,000 in prizes! For a limited
>>>>> time,
>>>>> vendors submitting new applications to BlackBerry App World(TM) will
>>>>> have
>>>>> the opportunity to enter the BlackBerry Developer Challenge. See full
>>>>> prize
>>>>> details at: http://p.sf.net/sfu/Challenge
>>>>> _______________________________________________
>>>>> gstreamer-devel mailing list
>>>>> gstreamer-devel at lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Enter the BlackBerry Developer Challenge
>>>> This is your chance to win up to $100,000 in prizes! For a limited time,
>>>> vendors submitting new applications to BlackBerry App World(TM) will
>>>> have
>>>> the opportunity to enter the BlackBerry Developer Challenge. See full
>>>> prize
>>>> details at: http://p.sf.net/sfu/Challenge
>>>> _______________________________________________
>>>> gstreamer-devel mailing list
>>>> gstreamer-devel at lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>>
>>>>
>>>
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Enter the BlackBerry Developer Challenge
>> This is your chance to win up to $100,000 in prizes! For a limited time,
>> vendors submitting new applications to BlackBerry App World(TM) will have
>> the opportunity to enter the BlackBerry Developer Challenge. See full
>> prize
>> details at: http://p.sf.net/sfu/Challenge
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>>
>
>
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090717/efaa848b/attachment.htm>


More information about the gstreamer-devel mailing list