Re: [fpc-pascal] GStreamer API unit added

2022-11-01 Thread Michael Van Canneyt via fpc-pascal



On Tue, 1 Nov 2022, Marco van de Voort via fpc-pascal wrote:



On 1-11-2022 11:45, Michael Van Canneyt via fpc-pascal wrote:


I'm not an expert in sound/video streams, so if someone can contribute a
more elaborate example, it would be most welcome :)


Did you use gir2pascal ?  Seems there are GIR files for it


https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/-/tree/master/gir-files


No, I used h2pas.

Michael.___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] GStreamer API unit added

2022-11-01 Thread Marco van de Voort via fpc-pascal


On 1-11-2022 11:45, Michael Van Canneyt via fpc-pascal wrote:


I'm not an expert in sound/video streams, so if someone can contribute a
more elaborate example, it would be most welcome :)


Did you use gir2pascal ?  Seems there are GIR files for it


https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/-/tree/master/gir-files

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


[fpc-pascal] GStreamer API unit added

2022-11-01 Thread Michael Van Canneyt via fpc-pascal



Hello,

For all people interested in sound/video streaming:

After lots of work, I added the gst unit to the FPC packages.
This unit contains the import declarations for the full libgstreamer-1.0 API. 
I didn't translate all C macros, but if you need some which I didn't

translate, let me know and I will add them.

For those that are not in the know:
gstreamer is a powerful audio/video stream system, used on most modern linux
distributions (it may be available on mac/windows, but I didn't test those).

I have also added a simple demo, that shows how to play a mp3 file.

I'm not an expert in sound/video streams, so if someone can contribute a
more elaborate example, it would be most welcome :)

Enjoy,

Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal