Re: [Mlt-devel] pixbuf

2021-12-28 Thread José María García Pérez
It turns out my svg was bad formed. It loads svg just fine. Thank you both. El mar, 28 dic 2021 a las 22:42, Brian Matherly () escribió: > var pro:Producer = newFactoryProducer(p, null, > "./resources/pexels-pixabay-97082.jpg") > var pro:Producer = newFactoryProducer(p, null, > "./resources/pexe

Re: [Mlt-devel] pixbuf

2021-12-28 Thread Brian Matherly via Mlt-devel
var pro:Producer = newFactoryProducer(p, null, "./resources/pexels-pixabay-97082.jpg") var pro:Producer = newFactoryProducer(p, null, "./resources/pexels-pixabay-97082.svg") The loader will figure out the best producer based on the file type. The heuristic is here:https://github.com/mltframe

Re: [Mlt-devel] pixbuf

2021-12-28 Thread José María García Pérez
And in order to load .svg files? How should I do it? El mar, 28 dic 2021 a las 21:53, José María García Pérez (< josemaria.alk...@gmail.com>) escribió: > So, if I get it, I should just use "loader" as the producer for most (all) > the cases. Is that correct? > > El mar, 28 dic 2021 a las 17:05, D

Re: [Mlt-devel] pixbuf

2021-12-28 Thread José María García Pérez
So, if I get it, I should just use "loader" as the producer for most (all) the cases. Is that correct? El mar, 28 dic 2021 a las 17:05, Dan Dennedy () escribió: > You have not included any pixel format or color space converter, and sdl2 > does not support rgb. By specifying the producer class as

Re: [Mlt-devel] pixbuf

2021-12-28 Thread Dan Dennedy
You have not included any pixel format or color space converter, and sdl2 does not support rgb. By specifying the producer class as an argument you bypass the loader producer, which is special. On Tue, Dec 28, 2021 at 11:01 AM José María García Pérez < josemaria.alk...@gmail.com> wrote: > I am p

[Mlt-devel] pixbuf

2021-12-28 Thread José María García Pérez
I am playing with pixbuf, but the colours I get are off: https://i.imgur.com/DhuBrir.png while I was expecting: https://i.imgur.com/p8yTx2W.jpg The code that I am using (in Nim, but readable): # nim c -r --threads:on ex02_show_red_window import mlt import os var f:Repository = initFactory("/usr/

Re: [Mlt-devel] pixbuf consumer

2016-05-12 Thread Janne Liljeblad
Maybe something like lines 223 - 230 here: https://github.com/jliljebl/flowblade/blob/master/flowblade-trunk/Flowblade/mltplayer.py Regards, Janne On Fri, May 13, 2016 at 1:39 AM, Oleksiy Druzhynin wrote: > Dear MLT-users. > > > I am customizing OpenShot editor and need to extract GTK pixbuf i

Re: [Mlt-devel] pixbuf consumer

2016-05-12 Thread Dan Dennedy
See the example https://github.com/mltframework/mlt/blob/master/src/swig/python/getimage.py On Thu, May 12, 2016 at 3:39 PM Oleksiy Druzhynin < oleksiy_druzhy...@epam.com> wrote: > Dear MLT-users. > > > I am customizing OpenShot editor and need to extract GTK pixbuf images > from frames. > > > No

[Mlt-devel] pixbuf consumer

2016-05-12 Thread Oleksiy Druzhynin
Dear MLT-users. I am customizing OpenShot editor and need to extract GTK pixbuf images from frames. Now I am using following OpenShot code to do this: if new_name == "": # just get 1 thumbnail frame self.thumbnail_path = project_path + "/thumbnail/" + fileBaseName + "_" + fileExtension + "

[Mlt-devel] Pixbuf producer crash [PATCH]

2012-09-22 Thread j-b-m
Hi, Following Kdenlive issue 2747 (1), I discovered that the dust filter now crashes on every use. The reason is that it calls an image producer to create overlay images from svg files. It usually calls the pixbuf producer, and since the frame is not called by a consumer, the "rescale.interp"