Building new source element

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

Building new source element

Frederic Turmel
Hi, I'm looking to create new source element (Audio/Video) for HDMI card (not supporting V4L). I'm looking for guidance regarding the boilerplate scripts. I'm targeting to start with last stable release 1.16.2

-Is there a boilerplate to create a new project meson friendly? I found gst-project-maker but that is autotools related. Also found this "https://github.com/ast/gst-make" but not sure if it is still valid

-Is gst-element-maker still the preferred method to start a new plugins from scratch?

I have to admit that I'm starting from scratch.

Thanks
FredT








_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Building new source element

Tim Müller
On Wed, 2020-01-08 at 09:46 -0800, Frederic Turmel wrote:

Hi,

I suspect most people tend to just copy'n'paste an existing plugin that
works similarly, search/replace and then strip it down to the bare
GStreamer/GObject skeleton bits ;)

gst-template has been ported to Meson now fwiw, so could be used as
skeleton.

There's also this MR which updates gst-project-maker to meson:

 
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/184

HDMI capture sources can be a bit tricky, depending on the API you're
using, at least if you want both audio and video (see e.g. the decklink
elements and how they're split into audio source and video source).

What API/Hardware are you targetting here?

This repo has capture elements for miscellaneous hardware, fwiw:

  https://github.com/joshdoe/gst-plugins-vision

Cheers
 Tim

--
Tim Müller, Centricular Ltd - http://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Building new source element

Nicolas Dufresne-5
In reply to this post by Frederic Turmel
Le mercredi 08 janvier 2020 à 09:46 -0800, Frederic Turmel a écrit :
Hi, I'm looking to create new source element (Audio/Video) for HDMI card (not supporting V4L). I'm looking for guidance regarding the boilerplate scripts. I'm targeting to start with last stable release 1.16.2

-Is there a boilerplate to create a new project meson friendly? I found gst-project-maker but that is autotools related. Also found this "https://github.com/ast/gst-make" but not sure if it is still valid

The maker is upstream, in gst-plugins-bad/tools/. Though it's not yet ported to meson. I see that Antonio started some work, which is in a WIP merge request:


regards,
Nicolas

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Building new source element

Frederic Turmel
In reply to this post by Tim Müller
Thanks, the hardware is not available off the shelf. I did look at decklink and also AJA as a reference.

I will look at the link you provided, thanks for the tip. Maybe I'll go the copy and paste way.

Thanks.

On Wed, Jan 8, 2020, 11:31 AM Tim Müller <[hidden email]> wrote:
On Wed, 2020-01-08 at 09:46 -0800, Frederic Turmel wrote:

Hi,

I suspect most people tend to just copy'n'paste an existing plugin that
works similarly, search/replace and then strip it down to the bare
GStreamer/GObject skeleton bits ;)

gst-template has been ported to Meson now fwiw, so could be used as
skeleton.

There's also this MR which updates gst-project-maker to meson:


https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/184

HDMI capture sources can be a bit tricky, depending on the API you're
using, at least if you want both audio and video (see e.g. the decklink
elements and how they're split into audio source and video source).

What API/Hardware are you targetting here?

This repo has capture elements for miscellaneous hardware, fwiw:

  https://github.com/joshdoe/gst-plugins-vision

Cheers
 Tim

--
Tim Müller, Centricular Ltd - http://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Building new source element

Frederic Turmel
In reply to this post by Nicolas Dufresne-5
Thanks will check it out.

FredT

On Wed, Jan 8, 2020, 11:56 AM Nicolas Dufresne <[hidden email]> wrote:
Le mercredi 08 janvier 2020 à 09:46 -0800, Frederic Turmel a écrit :
Hi, I'm looking to create new source element (Audio/Video) for HDMI card (not supporting V4L). I'm looking for guidance regarding the boilerplate scripts. I'm targeting to start with last stable release 1.16.2

-Is there a boilerplate to create a new project meson friendly? I found gst-project-maker but that is autotools related. Also found this "https://github.com/ast/gst-make" but not sure if it is still valid

The maker is upstream, in gst-plugins-bad/tools/. Though it's not yet ported to meson. I see that Antonio started some work, which is in a WIP merge request:


regards,
Nicolas
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel