Re: [Mlt-devel] Consumer as producer

2022-01-08 Thread José María García Pérez
You are right for sure. I will try to see if I can do the same without changing the profile. GStreamer would be a better fit for sure, and I tried, but the bindings weren't mature enough at that time. I may check again. Thank you all for your support and patience. El sáb, 8 ene 2022 a las 6:23,

Re: [Mlt-devel] Consumer as producer

2022-01-07 Thread amindfv--- via Mlt-devel
On Sat, Jan 08, 2022 at 03:22:35AM +, Brian Matherly via Mlt-devel wrote: [...] > > I'd like to apply the target profile at the very end of the process. > I think you are going to have a difficult time with this approach. You might > be able to get something to work for you, but MLT is not des

Re: [Mlt-devel] Consumer as producer

2022-01-07 Thread Brian Matherly via Mlt-devel
> For sure this is due to my poor understanding of profile's behavior. It is also due to your low understanding of the MLT framework in general. Studying the XML is not just to learn the properties of a filter. It also helps you understand the coordination of MLT framework services. You are work

Re: [Mlt-devel] Consumer as producer

2022-01-07 Thread José María García Pérez
Thanks Brian. My use case is explained in my prior message, https://sourceforge.net/p/mlt/mailman/message/37413387/ As I said, what I am aiming for is for creating functions where I can compose what I do with videos. My final profile will be something standard: 16:9 720p or 1080p with 25 or 50 fp

Re: [Mlt-devel] Consumer as producer

2022-01-06 Thread Brian Matherly via Mlt-devel
I would suggest: 1) Create a producer to open V1 (it does not matter the profile)2) Query V1 for the size3) Close V1 (delete the producer)4) Create a producer to open V2 (it does not matter the profile)5) Query V2 for the size6) Close V2(delete the producer)7) Calculate the profile that you wan

[Mlt-devel] Consumer as producer

2022-01-06 Thread José María García Pérez
Right now, when I stack videos vertically, I output the Tractor and the Profile: "tuple[tr:Tractor; p:Profile] " proc stackVertically*( v1,v2:Producer ):tuple[tr:Tractor; p:Profile] Later I apply the returned profile to the consumer: # Call the function to stack vertically two videos. # The tracto