Re: [Mlt-devel] Nim bindings

2021-11-20 Thread Dan Dennedy
On Sat, Nov 20, 2021 at 2:01 PM José María García Pérez < josemaria.alk...@gmail.com> wrote: > There are a few things under the hood: > 1. I have several `connect` functions which have different type signatures: > - For filter: > https://github.com/mantielero/mlt.nim/blob/51245b9fea6ad1555687f

Re: [Mlt-devel] Nim bindings

2021-11-20 Thread José María García Pérez
There are a few things under the hood: 1. I have several `connect` functions which have different type signatures: - For filter: https://github.com/mantielero/mlt.nim/blob/51245b9fea6ad1555687ff9229c66ca17a6d3ffb/src/lib/filter.nim#L5-L8 - For consumer: https://github.com/mantielero/mlt.nim

Re: [Mlt-devel] Nim bindings

2021-11-20 Thread Dan Dennedy
Thanks for sharing that. Read more below... On Sat, Nov 20, 2021 at 8:54 AM José María García Pérez < josemaria.alk...@gmail.com> wrote: > I implemented some examples in the Nim programming language. Nim compiles > into C (among other languages). > > I like that it gives you the feeling of python

[Mlt-devel] Nim bindings

2021-11-20 Thread José María García Pérez
I implemented some examples in the Nim programming language. Nim compiles into C (among other languages). I like that it gives you the feeling of python despite it is using actual types. The code looks as follows: ``` import mlt, os var f = initFactory() # Create the default consumer var p = new