Hello,
I just insalled the latest version of the binary packages for win32 (gstreamer 0.10.17, gst-plugins-base 0.10.17, gst-plugins-good 0.10.7, gst-plugins-bad 0.10.6, gst-plugins-ugly 0.10.7). I'd like to know how to use the direct show wrapper to, for instance, get the input of a webcam installed in windows. I started trying something like this: gst-launch-0.10 dshowvideosrc ! directdrawsink but gives me this error: WARNING: erroneous pipeline: could not link dshowvideosrc0 to directdrawsink0 My installation of gstremer is fine, because I'm able to play video files, get the output of videotestsrc to directdrawsink, etc. I imagine that I have to specify somehow the directshow graph I want to use in dshowvideosrc, right? How I do that? Many thanks, Andres ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi,
On Thu, Mar 13, 2008 at 1:29 AM, Andres Colubri <[hidden email]> wrote: > Hello, > > I just insalled the latest version of the binary packages for win32 > (gstreamer 0.10.17, gst-plugins-base 0.10.17, gst-plugins-good 0.10.7, > gst-plugins-bad 0.10.6, gst-plugins-ugly 0.10.7). > > I'd like to know how to use the direct show wrapper to, for instance, > get the input of a webcam installed in windows. I started trying > something like this: > > gst-launch-0.10 dshowvideosrc ! directdrawsink Try: gst-launch-0.10 -v dshowvideosrc ! ffmpegcolorspace ! directdrawsink Cheers, Ole André ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
I got a similar error:
C:\Users\Andres>gst-launch-0.10 -v dshowvideosrc ! ffmpegcolorspace ! directdrawsink WARNING: erroneous pipeline: could not link dshowvideosrc0 to ffmpegcsp0 I still think I need to specify the direct show graph... > Try: > gst-launch-0.10 -v dshowvideosrc ! ffmpegcolorspace ! directdrawsink > > Cheers, > Ole Andr ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Ok, I see. The outputs of my webcam are YUY2 :-(
[hidden email] wrote: > Hi, > > What is the ouputs video format of your webcam ? > Actually the last dshowvideosrc from cvs only supports RGB24, I420, and > Digital Video (and only for preffered video sizes ad framerate). > Maybe your webcam's ouput is RGB32. You can see capabilities with graphedit. > (you never need to specify a dshwo graph, it is the dshowvideosrc's job) > Dshowvideosrc will supports more video format in next release. Moreover > you will be able to use other video size and framerate than the preferred, > for each format in next release) > > Julien > > > >> I got a similar error: >> >> C:\Users\Andres>gst-launch-0.10 -v dshowvideosrc ! ffmpegcolorspace ! >> directdrawsink >> WARNING: erroneous pipeline: could not link dshowvideosrc0 to ffmpegcsp0 >> >> I still think I need to specify the direct show graph... >> >>> Try: >>> gst-launch-0.10 -v dshowvideosrc ! ffmpegcolorspace ! directdrawsink >>> >>> Cheers, >>> Ole Andr >>> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> gstreamer-devel mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >> >> > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by acolubri
Hi,
I am sure you can wait next releases so I join to this email the dll that contains the features I told you. The job is done since 3 weeks but no admin are available to update cvs with my files ( http://bugzilla.gnome.org/show_bug.cgi?id=517203 ) With this dll you can use all the video sizes and framerate supported by your video capture device. (and now dshowvideosrc can accept YUY2 and UYVY) Sincerely, Julien > Ok, I see. The outputs of my webcam are YUY2 :-( > > [hidden email] wrote: >> Hi, >> >> What is the ouputs video format of your webcam ? >> Actually the last dshowvideosrc from cvs only supports RGB24, I420, and >> Digital Video (and only for preffered video sizes ad framerate). >> Maybe your webcam's ouput is RGB32. You can see capabilities with >> graphedit. >> (you never need to specify a dshwo graph, it is the dshowvideosrc's job) >> Dshowvideosrc will supports more video format in next release. Moreover >> you will be able to use other video size and framerate than the >> preferred, >> for each format in next release) >> >> Julien >> >> >> >>> I got a similar error: >>> >>> C:\Users\Andres>gst-launch-0.10 -v dshowvideosrc ! ffmpegcolorspace ! >>> directdrawsink >>> WARNING: erroneous pipeline: could not link dshowvideosrc0 to >>> ffmpegcsp0 >>> >>> I still think I need to specify the direct show graph... >>> >>>> Try: >>>> gst-launch-0.10 -v dshowvideosrc ! ffmpegcolorspace ! directdrawsink >>>> >>>> Cheers, >>>> Ole Andr >>>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> gstreamer-devel mailing list >>> [hidden email] >>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >>> >>> >> >> >> > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel libgstdshowsrcwrapper.dll (60K) Download Attachment |
Thanks a lot! It works like a charm now!
Just as a side question (for now): What is the status of the quicktime wrapper for OSX? Is it fully functional? Andres Julien Isorce wrote: > Hi, > > I am sure you can wait next releases so I join to this email the dll > that contains the features I told you. > The job is done since 3 weeks but no admin are available to update cvs > with my files ( http://bugzilla.gnome.org/show_bug.cgi?id=517203 ) > With this dll you can use all the video sizes and framerate supported > by your video capture device. (and now dshowvideosrc can accept YUY2 > and UYVY) > > Sincerely, > > Julien > > > > > Ok, I see. The outputs of my webcam are YUY2 :-( > > > > [hidden email] > <mailto:[hidden email]> wrote: > >> Hi, > >> > >> What is the ouputs video format of your webcam ? > >> Actually the last dshowvideosrc from cvs only supports RGB24, I420, and > >> Digital Video (and only for preffered video sizes ad framerate). > >> Maybe your webcam's ouput is RGB32. You can see capabilities with > >> graphedit. > >> (you never need to specify a dshwo graph, it is the dshowvideosrc's > job) > >> Dshowvideosrc will supports more video format in next release. Moreover > >> you will be able to use other video size and framerate than the > >> preferred, > >> for each format in next release) > >> > >> Julien > >> > >> > >> > >>> I got a similar error: > >>> > >>> C:\Users\Andres>gst-launch-0.10 -v dshowvideosrc ! ffmpegcolorspace ! > >>> directdrawsink > >>> WARNING: erroneous pipeline: could not link dshowvideosrc0 to > >>> ffmpegcsp0 > >>> > >>> I still think I need to specify the direct show graph... > >>> > >>>> Try: > >>>> gst-launch-0.10 -v dshowvideosrc ! ffmpegcolorspace ! directdrawsink > >>>> > >>>> Cheers, > >>>> Ole Andr > >>>> > >>> > ------------------------------------------------------------------------- > >>> This SF.net email is sponsored by: Microsoft > >>> Defy all challenges. Microsoft(R) Visual Studio 2008. > >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >>> _______________________________________________ > >>> gstreamer-devel mailing list > >>> [hidden email] > <mailto:[hidden email]> > >>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > >>> > >>> > >> > >> > >> > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Administrator
|
Hi,
I just tried it yesterday, works fine (at least for mp3). Edward On Thu, 2008-03-13 at 18:56 -0700, Andres Colubri wrote: > Thanks a lot! It works like a charm now! > > Just as a side question (for now): What is the status of the quicktime > wrapper for OSX? Is it fully functional? > > Andres > > Julien Isorce wrote: > > Hi, > > > > I am sure you can wait next releases so I join to this email the dll > > that contains the features I told you. > > The job is done since 3 weeks but no admin are available to update cvs > > with my files ( http://bugzilla.gnome.org/show_bug.cgi?id=517203 ) > > With this dll you can use all the video sizes and framerate supported > > by your video capture device. (and now dshowvideosrc can accept YUY2 > > and UYVY) > > > > Sincerely, > > > > Julien > > > > > > > > > Ok, I see. The outputs of my webcam are YUY2 :-( > > > > > > [hidden email] > > <mailto:[hidden email]> wrote: > > >> Hi, > > >> > > >> What is the ouputs video format of your webcam ? > > >> Actually the last dshowvideosrc from cvs only supports RGB24, I420, and > > >> Digital Video (and only for preffered video sizes ad framerate). > > >> Maybe your webcam's ouput is RGB32. You can see capabilities with > > >> graphedit. > > >> (you never need to specify a dshwo graph, it is the dshowvideosrc's > > job) > > >> Dshowvideosrc will supports more video format in next release. Moreover > > >> you will be able to use other video size and framerate than the > > >> preferred, > > >> for each format in next release) > > >> > > >> Julien > > >> > > >> > > >> > > >>> I got a similar error: > > >>> > > >>> C:\Users\Andres>gst-launch-0.10 -v dshowvideosrc ! ffmpegcolorspace ! > > >>> directdrawsink > > >>> WARNING: erroneous pipeline: could not link dshowvideosrc0 to > > >>> ffmpegcsp0 > > >>> > > >>> I still think I need to specify the direct show graph... > > >>> > > >>>> Try: > > >>>> gst-launch-0.10 -v dshowvideosrc ! ffmpegcolorspace ! directdrawsink > > >>>> > > >>>> Cheers, > > >>>> Ole Andr > > >>>> > > >>> > > ------------------------------------------------------------------------- > > >>> This SF.net email is sponsored by: Microsoft > > >>> Defy all challenges. Microsoft(R) Visual Studio 2008. > > >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > >>> _______________________________________________ > > >>> gstreamer-devel mailing list > > >>> [hidden email] > > <mailto:[hidden email]> > > >>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > >>> > > >>> > > >> > > >> > > >> > > > > > > > > > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > gstreamer-devel mailing list > > [hidden email] > > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Julien Isorce
Hello,
Wouldn't be a good idea to have the function gst_dshowvideosrc_get_device_name_values exposed in the header file gstdshowvidesrc.h? In this way, it would be possible to query the available directshow capture devices from the program (without having to link dshow directly from there, since all the dshow stuff is resolved inside the wrapper). Thanks, Andres Julien Isorce wrote: > Hi, > > I am sure you can wait next releases so I join to this email the dll > that contains the features I told you. > The job is done since 3 weeks but no admin are available to update cvs > with my files ( http://bugzilla.gnome.org/show_bug.cgi?id=517203 ) > With this dll you can use all the video sizes and framerate supported > by your video capture device. (and now dshowvideosrc can accept YUY2 > and UYVY) > > Sincerely, > > Julien > > > > > Ok, I see. The outputs of my webcam are YUY2 :-( > > > > [hidden email] > <mailto:[hidden email]> wrote: > >> Hi, > >> > >> What is the ouputs video format of your webcam ? > >> Actually the last dshowvideosrc from cvs only supports RGB24, I420, and > >> Digital Video (and only for preffered video sizes ad framerate). > >> Maybe your webcam's ouput is RGB32. You can see capabilities with > >> graphedit. > >> (you never need to specify a dshwo graph, it is the dshowvideosrc's > job) > >> Dshowvideosrc will supports more video format in next release. Moreover > >> you will be able to use other video size and framerate than the > >> preferred, > >> for each format in next release) > >> > >> Julien > >> > >> > >> > >>> I got a similar error: > >>> > >>> C:\Users\Andres>gst-launch-0.10 -v dshowvideosrc ! ffmpegcolorspace ! > >>> directdrawsink > >>> WARNING: erroneous pipeline: could not link dshowvideosrc0 to > >>> ffmpegcsp0 > >>> > >>> I still think I need to specify the direct show graph... > >>> > >>>> Try: > >>>> gst-launch-0.10 -v dshowvideosrc ! ffmpegcolorspace ! directdrawsink > >>>> > >>>> Cheers, > >>>> Ole Andr > >>>> > >>> > ------------------------------------------------------------------------- > >>> This SF.net email is sponsored by: Microsoft > >>> Defy all challenges. Microsoft(R) Visual Studio 2008. > >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >>> _______________________________________________ > >>> gstreamer-devel mailing list > >>> [hidden email] > <mailto:[hidden email]> > >>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > >>> > >>> > >> > >> > >> > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Andres Colubri a écrit :
> Wouldn't be a good idea to have the function > gst_dshowvideosrc_get_device_name_values exposed in the header file > gstdshowvidesrc.h? > In this way, it would be possible to query the available directshow > capture devices from the program (without having to link dshow directly > from there, > since all the dshow stuff is resolved inside the wrapper). May I suggest a GstPropertyProbe would be even better? Snark on #ekiga ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by acolubri
On Sun, Jul 27, 2008 at 5:49 PM, Andres Colubri
<[hidden email]> wrote: > Hello, > > Wouldn't be a good idea to have the function > gst_dshowvideosrc_get_device_name_values exposed in the header file > gstdshowvidesrc.h? > In this way, it would be possible to query the available directshow > capture devices from the program (without having to link dshow directly > from there, > since all the dshow stuff is resolved inside the wrapper). gstdshowvideosrc.h is not a public header (no plugin headers are public, in fact), so an application shouldn't ever be using them. So that wouldn't help at all - the function isn't exported from the dll either. GStreamer has appropriate APIs (the property-probe stuff) that this plugin could implement to allow applications to query things like this. I also want to deprecate the libgstdshow code; it's poor quality and doesn't implement sensible APIs for plugins to use. Mike ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
>> Wouldn't be a good idea to have the function >> gst_dshowvideosrc_get_device_name_values exposed in the header file >> gstdshowvidesrc.h? >> In this way, it would be possible to query the available directshow >> capture devices from the program (without having to link dshow directly >> from there, >> since all the dshow stuff is resolved inside the wrapper). >> > > gstdshowvideosrc.h is not a public header (no plugin headers are > public, in fact), so an application shouldn't ever be using them. So > that wouldn't help at all - the function isn't exported from the dll > either. > > GStreamer has appropriate APIs (the property-probe stuff) that this > plugin could implement to allow applications to query things like > this. > > > I also want to deprecate the libgstdshow code; it's poor quality and > doesn't implement sensible APIs for plugins to use. > So, this means that the dshowvideosrc plugin will go unmaintained, or that you are planning to update/change the source code? Thanks, Andres ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Mon, Jul 28, 2008 at 12:24 PM, Andres Colubri
<[hidden email]> wrote: > >> I also want to deprecate the libgstdshow code; it's poor quality and >> doesn't implement sensible APIs for plugins to use. >> > So, this means that the dshowvideosrc plugin will go unmaintained, or > that you are planning to update/change the source code? I have no plans to do anything with dshowvideosrc; I was merely giving some advice for those who might be interested in hacking on it or maintaining it. Mike ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |