[dshwovideosrc] Composite S-Video Tuner

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[dshwovideosrc] Composite S-Video Tuner

Julien.Isorce
Hi,

I am improving dshowvideosrc element. I have already done some stuffs
described there: http://bugzilla.gnome.org/show_bug.cgi?id=517203

Now I want add abilities about selecting physical inputs. I mean for
example Composite, S-Video, Tuner.

But I do not know how to use it then:
gst-launch dshowvideosrc ! video/x-raw-rgb, width=720, height=576,
input="S-Video" ! ffmpegcolorspace ! autovideosink  ?

I mean, when about gstcaps for example:
gst_caps_new_simple ("video/x-raw-yuv", ..., "input", GST_TYPE_STRING,
"S-Video", ....) ?

And about GST_STATIC_CAPS ?

Any suggestions will be appreciated.

It seems that the v4l2src element do not support it.

Sincerely,

Julien

-------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|

Re: [dshwovideosrc] Composite S-Video Tuner

Jan Schmidt-2
<quote who="[hidden email]">

> I am improving dshowvideosrc element. I have already done some stuffs
> described there: http://bugzilla.gnome.org/show_bug.cgi?id=517203
>
> Now I want add abilities about selecting physical inputs. I mean for
> example Composite, S-Video, Tuner.

That sort of thing is done by implementing the GstTuner interface... which
also implies implementing the atrocious GstImplementsInterface interface.

J.


> But I do not know how to use it then:
> gst-launch dshowvideosrc ! video/x-raw-rgb, width=720, height=576,
> input="S-Video" ! ffmpegcolorspace ! autovideosink  ?
>
> I mean, when about gstcaps for example:
> gst_caps_new_simple ("video/x-raw-yuv", ..., "input", GST_TYPE_STRING,
> "S-Video", ....) ?
>
> And about GST_STATIC_CAPS ?
>
> Any suggestions will be appreciated.
>
> It seems that the v4l2src element do not support it.
>
> Sincerely,
>
> Julien
>
> -------------------------------------------------------------------------
> 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
>

--
Jan Schmidt                                  [hidden email]

The woman you buy -- and she is the least expensive -- takes a great deal of money. The woman who gives herself takes all your time. - Balzac

-------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|

Re: [dshwovideosrc] Composite S-Video Tuner

Jan Schmidt-2
<quote who="[hidden email]">

> hum, what is the relation between GstTuner and S-Video or composite ?
> GstTuner is about Tuner isn't it ?
>

GstTuner is an interface for controlling capture devices with tuners. That
includes things like setting the input channel (S-Video/Composite etc) and
the norm (PAL/NTSC).

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gsttuner.html has a little bit of info, but really it's another one of those pieces of documentation that could stand to be improved. The best reference is the code for something which implements the tuner interface, like v4lsrc or v4l2src.

J.

> > <quote who="[hidden email]">
> >
> >> I am improving dshowvideosrc element. I have already done some stuffs
> >> described there: http://bugzilla.gnome.org/show_bug.cgi?id=517203
> >>
> >> Now I want add abilities about selecting physical inputs. I mean for
> >> example Composite, S-Video, Tuner.
> >
> > That sort of thing is done by implementing the GstTuner interface... which
> > also implies implementing the atrocious GstImplementsInterface interface.
> >
> > J.
> >
> >
> >> But I do not know how to use it then:
> >> gst-launch dshowvideosrc ! video/x-raw-rgb, width=720, height=576,
> >> input="S-Video" ! ffmpegcolorspace ! autovideosink  ?
> >>
> >> I mean, when about gstcaps for example:
> >> gst_caps_new_simple ("video/x-raw-yuv", ..., "input", GST_TYPE_STRING,
> >> "S-Video", ....) ?
> >>
> >> And about GST_STATIC_CAPS ?
> >>
> >> Any suggestions will be appreciated.
> >>
> >> It seems that the v4l2src element do not support it.
> >>
> >> Sincerely,
> >>
> >> Julien
> >>
> >> -------------------------------------------------------------------------
> >> 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
> >>
> >
> > --
> > Jan Schmidt                                  [hidden email]
> >
> > The woman you buy -- and she is the least expensive -- takes a great deal
> > of money. The woman who gives herself takes all your time. - Balzac
> >
> > -------------------------------------------------------------------------
> > 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
> >
>

--
Jan Schmidt                                  [hidden email]

Have you been half-asleep? Have you heard voices?
I've heard them calling my name...
 -Kermit the Frog (Rainbow Connection)

-------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|

Re: [dshwovideosrc] Composite S-Video Tuner

Julien.Isorce
<quiote>
"GstTuner is an interface for controlling capture devices with tuners"
</quote>

We are ok, a video capture device have not necessary a tuner. For example,
my video capture device have not a tuner (and no tuner input by the way),
and have S-video, composite and vga inputs.

So it is strange if I use GstTuner interface with a NO-tuner video capture
device.


Thx

> <quote who="[hidden email]">
>
>> hum, what is the relation between GstTuner and S-Video or composite ?
>> GstTuner is about Tuner isn't it ?
>>
>
> GstTuner is an interface for controlling capture devices with tuners. That
> includes things like setting the input channel (S-Video/Composite etc) and
> the norm (PAL/NTSC).
>
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gsttuner.html
> has a little bit of info, but really it's another one of those pieces of
> documentation that could stand to be improved. The best reference is the
> code for something which implements the tuner interface, like v4lsrc or
> v4l2src.
>
> J.
>
>> > <quote who="[hidden email]">
>> >
>> >> I am improving dshowvideosrc element. I have already done some stuffs
>> >> described there: http://bugzilla.gnome.org/show_bug.cgi?id=517203
>> >>
>> >> Now I want add abilities about selecting physical inputs. I mean for
>> >> example Composite, S-Video, Tuner.
>> >
>> > That sort of thing is done by implementing the GstTuner interface...
>> which
>> > also implies implementing the atrocious GstImplementsInterface
>> interface.
>> >
>> > J.
>> >
>> >
>> >> But I do not know how to use it then:
>> >> gst-launch dshowvideosrc ! video/x-raw-rgb, width=720, height=576,
>> >> input="S-Video" ! ffmpegcolorspace ! autovideosink  ?
>> >>
>> >> I mean, when about gstcaps for example:
>> >> gst_caps_new_simple ("video/x-raw-yuv", ..., "input",
>> GST_TYPE_STRING,
>> >> "S-Video", ....) ?
>> >>
>> >> And about GST_STATIC_CAPS ?
>> >>
>> >> Any suggestions will be appreciated.
>> >>
>> >> It seems that the v4l2src element do not support it.
>> >>
>> >> Sincerely,
>> >>
>> >> Julien
>> >>
>> >> -------------------------------------------------------------------------
>> >> 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
>> >>
>> >
>> > --
>> > Jan Schmidt                                  [hidden email]
>> >
>> > The woman you buy -- and she is the least expensive -- takes a great
>> deal
>> > of money. The woman who gives herself takes all your time. - Balzac
>> >
>> > -------------------------------------------------------------------------
>> > 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
>> >
>>
>
> --
> Jan Schmidt                                  [hidden email]
>
> Have you been half-asleep? Have you heard voices?
> I've heard them calling my name...
>  -Kermit the Frog (Rainbow Connection)
>
> -------------------------------------------------------------------------
> 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