[Mlt-devel] R: Re: How to view simultaneously unprocessed frames and processed ones in two X windows?

2020-11-07 Thread linux...@tin.it
Hi all, I succeeded in creating a preview of the unfiltered frames, as suggested by Dan: I wrote a filter, first in the chain, which extracts the image. Now I have another problem: I would like to process frames to inspect the audio levels. I thought I can use the audiolevel filter and ask it

Re: [Mlt-devel] 10-bit color?

2020-11-07 Thread Brian Matherly via Mlt-devel
> Thanks. >  > Is there an easy way to list (or find) which formats are supported -- > and thus don't require conversions -- for inputs and outputs of > filters/transitions? >  > Tom I think the only way would be to audit the source code and see what mlt image format the service requests. ~Brian

Re: [Mlt-devel] R: Re: How to view simultaneously unprocessed frames and processed ones in two X windows?

2020-11-07 Thread Brian Matherly via Mlt-devel
The filter will not process the audio until you call mlt_frame_get_audio()https://github.com/mltframework/mlt/blob/master/src/framework/mlt_frame.h#L127 Why not listen to the "consumer-frame-render" event from the consumer and request the level of the frame after all the filters have been proce

[Mlt-devel] R: Re: R: Re: Extract audio levels from a clip

2020-11-07 Thread linux...@tin.it
> The filter will not process the audio until you call mlt_frame_get_audio() Thank you for the answer. I tried to follow the sources of mlt and shotcut, but without success... I will try your suggestion. >Why not listen to the "consumer-frame-render" event from the consumer and request the l