Re: GStreamer and D

2017-06-17 Thread Mike Wey via Digitalmars-d-learn
On 06/17/2017 01:34 AM, Jay Norwood wrote: gst_plugin_feature_get_name This is a macro, the alternative: ``` import gobject.Value; Value name; feature.getProperty("name", name); name.getString(); ``` or if you don't want to use GValue. ``` to!string((cast(GstObject)feature.getPluginFeatureS

Re: GStreamer and D

2017-06-16 Thread Jay Norwood via Digitalmars-d-learn
On Friday, 16 June 2017 at 16:33:56 UTC, Russel Winder wrote: gst-inspect-1.0 is an executable that comes with the installation, however that is done. What are you thinking of when saying "ported"? gst-inspect is a good demonstration of iteration through the available gstreamer elements and

Re: GStreamer and D

2017-06-16 Thread Russel Winder via Digitalmars-d-learn
On Fri, 2017-06-16 at 16:11 +, Jay Norwood via Digitalmars-d-learn wrote: > On Friday, 16 June 2017 at 06:45:38 UTC, Russel Winder wrote: > > Welcome to the group of people using GStreamer from D. I > > suspect I may be the only other member of that club. > > Looks like gst-inspect hasn't bee

Re: GStreamer and D

2017-06-16 Thread Jay Norwood via Digitalmars-d-learn
On Friday, 16 June 2017 at 06:45:38 UTC, Russel Winder wrote: Welcome to the group of people using GStreamer from D. I suspect I may be the only other member of that club. Looks like gst-inspect hasn't been ported... I'm looking at that now.

Re: GStreamer and D

2017-06-15 Thread Russel Winder via Digitalmars-d-learn
On Thu, 2017-06-15 at 19:27 +, Jay Norwood via Digitalmars-d-learn wrote: > wow! I hadn't tried this gtkd library before. I was hunting for > the gstreamer in particular. Welcome to the group of people using GStreamer from D. I suspect I may be the only other member of that club. > The hello

Re: GStreamer and D

2017-06-15 Thread Jay Norwood via Digitalmars-d-learn
wow! I hadn't tried this gtkd library before. I was hunting for the gstreamer in particular. The hello_world alsa-sink audio example failed on Windows. The debugger indicates no sink, which I guess is reasonable. With very little effort, though, I converted the hello_world example to genera

Re: GStreamer and D

2016-02-26 Thread Russel Winder via Digitalmars-d-learn
On Fri, 2016-02-26 at 14:40 +, Kagamin via Digitalmars-d-learn wrote: > https://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html > /chapter-helloworld.html#section-helloworld - Hello world. > https://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html > /index.html - GStr

Re: GStreamer and D

2016-02-26 Thread Kagamin via Digitalmars-d-learn
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-helloworld.html#section-helloworld - Hello world. https://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/index.html - GStreamer Application Development Manual http://docs.gstreamer.com/display/GstSDK/Bas

GStreamer and D

2016-02-26 Thread Russel Winder via Digitalmars-d-learn
Has anyone got any examples of using GStreamer from D. I found that GtkD packages a GStreamer API which is great, but there are very few example codes – at least that I have found. -- Russel. = Dr Russel Winder t: +4