lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello all,

Quoting Valentin (2016-09-06 20:39:53)

> [...] I had noticed that there isn't really any module for playing
> audio/midi/video etc. in the LuaRock repository. I also have code that
> allows media support based on Apple's AVFoundation framework on the mac
> platform, so I thought maybe both, DirectShow and AVFoundation, could even
> be unified as a feature-rich "multimedia" Lua module (and if some Linux head
> chimes in, even gStreamer under Linux could be added).

In Linux/Unix systems it is possible already to use GStreamer using the
(awesome) “lgi” module [1], which is a binding for GObject-Introspection [2]
that gives access to most of the libraries used by GNOME. For an example on
how to use it, check [3].

Cheers,


--
 ☛ Adrián

[1] https://github.com/pavouk/lgi/
[2] https://wiki.gnome.org/Projects/GObjectIntrospection
[3] https://github.com/pavouk/lgi/blob/master/samples/gstplaystream.lua

Attachment: signature.asc
Description: signature