On Wed, Jul 10, 2013 at 6:33 AM, Joris Lambrecht
<joris.lambre...@gmail.com> wrote:
> Hi,
>
> While i was initially excited i cannot find specific references to lua
> bindings. Can you post a Lua 'Hello world' example ? Or any other explicit
> reference to the binding ,some documentation ?

For the example, in the source tree (can be viewed online through github):
src/mlt/src/swig/lua/play.lua

Docs are based on an understanding of the C API and how the C++ is a
fairly simple, straight-forward, and sensible wrapper around the C
API. For example, C -> C++ -> Lua: mlt_consumer_start() ->
Mlt::Consumer::start() -> mlt.Consumer.start().
Therefore, read C code/doxygen, lookup C++ equivalent in src/mlt++
headers, mentally map that to your language.
Sometimes it helps to view the C++ swig generates in src/swig/lua/mlt_wrap.cxx.

--
+-DRD-+

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to