I managed to write a pure C example, and I am getting something similar to
what I get with NIm:
// $ gcc ex02.c -I/usr/include/mlt-7 -lmlt-7 -o ex02
// Inspired by:
https://stackoverflow.com/questions/62983626/how-to-compile-a-simple-mlt-example-in-c
#include
#include
#include
int main( int arg
The affine filter does not set any of the "transition.*" or "use_normalized"
properties when it is initialized. You need to set them
yourself:https://github.com/mltframework/mlt/blob/master/src/modules/plus/filter_affine.c#L157
In the absence of setting the "transition.*" properties, the encaps
On Sat, Jan 1, 2022 at 8:10 AM José María García Pérez <
josemaria.alk...@gmail.com> wrote:
> I managed to write a pure C example, and I am getting something similar to
> what I get with NIm:
>
But what you wrote in C is not the same as Nim. In Nim, you are setting
filter properties, and in C you
I have tried without success the following aproaches:
First attempt:
1. Creating an Affine transform:
https://mltframework.org/plugins/TransitionAffine/
2. Setting a new filter property named "transition" with the content of
transition properties (I modify before hand the rotation value:
var aff =
I tried the following:
$ melt -proifle hdv_720_50p -consumer sdl2 +hello.txt -attach affine
transition.rotate_x="0=0;100=340"
I was expecting to get a rotation animation.
___
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.source
On Sat, Jan 1, 2022 at 2:20 PM José María García Pérez <
josemaria.alk...@gmail.com> wrote:
> I tried the following:
> $ melt -proifle hdv_720_50p -consumer sdl2 +hello.txt -attach affine
> transition.rotate_x="0=0;100=340"
>
> I was expecting to get a rotation animation.
>
>
That property doe
melt example is working fine and so does the C version with the line you
added (that was the piece that wasn't very clear to me about how to do it
in this case, so thanks a lot).
Regarding Nim, the problem was with the way I was creating the filter (I
was sending an empty string rather than NULL i