On Sun, Sep 24, 2023 at 10:59 AM Iza i Tomek <izato...@gmail.com> wrote:

> Is it possible to force a particular framerate for sdl consumer?
>

Yes, using consumer properties
https://www.mltframework.org/doxygen/properties.html
or a profile
https://mltframework.org/docs/profiles/


>
> My original problem is: I have an XML file (MLT) to render by ffmpeg,
> using 30fps. All times are specified in frame numbers, so they depend
> on the framerate.
>

How did you specify the frame rate in XML? It should be specified, or you
are relying on some default or some attempt to guess it. The way you
specify is the same as the answer above.


> The SDL consumer uses a lower framerate (25? I'm not
>

The default profile is 25 fps.


> sure), so my audio is out of sync with my video. (Video is made mostly
> from PNGs). As a result, the SDL consumer is useless.
>

MLT, including melt, is primarily for developers. Maybe you will find one
of the GUI editing apps more useful.
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to