I don't understand how to use the affine filter: https://www.mltframework.org/plugins/FilterAffine/#transition
Could you post a basic C example using it? It would be nice to cover both the static and an animation case. I had the following example about using a filter using Nim: import mlt, os var f = initFactory() # Create the default consumer var p = newProfile() var sdl = newFactoryConsumer(p, "sdl2") # Create via the default producer var clip = newFactoryProducer(p, resource = "avformat:/home/jose/Descargas/sygic.mp4") var filter = newFactoryFilter(p, "frei0r.pixeliz0r") filter["BlockSizeX"] = 0.1 filter["BlockSizeY"] = 0.2 clip.attach( filter ) clip > sdl # Start the consumer sdl.start while not sdl.stopped: sleep(1)
_______________________________________________ Mlt-devel mailing list Mlt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mlt-devel