> mlt-melt color:red in=0 out=25 -blank 25 color:blue in=0 out=25 -consumer
> avformat target=/tmp/export.mp4
Thanks for the example command. I reproduce this and I confirm it is a bug. I
have filed it here:https://github.com/mltframework/mlt/issues/931
As a workaround, you can use transparent
In this case, at this point, I'm fine with just receiving the event. But I'm
not sure how. I tried this:
def callback(*args):
pass
consumer.listen("consumer-fatal-error", None, callback)
And get the following error:
TypeError: in method 'Properties_listen', argum
You can receive the event in Python, but the arguments are useless with
special SWIG binding definition. Flowblade uses MLT python binding. You
should consult its code for advice. The regular MLT developers have very
little experience with it.
On Sat, Jul 22, 2023 at 1:00 PM Rickard Lindberg
wrot
After reading a bit about Python and SWIG and reading the source code for MLT
(src/swig/mlt.i in particular), I think that `consumer.listen` is not yet
usable from Python. There seems to be no way to register a Python function as a
callback. The mlt.i file seems to have some special handling for
Here are some initial comments:
Since mlt_tractor_pass_properties only operates on frames, maybe it should be a
member of mlt_frame?
mlt_tractor_pass_properties should probably have a more descriptive name. Which
properties specifically does it pass?
Could we convert the function to a single cal
The normalizing filters are intended to be attached to the individual
producers, not the playlist itself.
It isn't the intention for the programmer to manually add the normalizers. They
are added by the factory when the "service:resource" notation us used (as you
use in your example code).
>Fro
Hi,
I see that there is a "consumer-fatal-error" event. Should that one be used? Or
is there a property set that indicates status?
Also, I was not able to figure out Python syntax for listening to events. Does
anyone know what arg2 and arg3 is supposed to be below?
consumer.listen("consumer-