Re: [Mlt-devel] SDL consumer framerate?

2023-09-24 Thread Iza i Tomek
1) Thanks for your answer!

It works like a charm.

All I knew before were two commands:

$ melt file.xml

and

$ melt file.xml -consumer avformat:file.mp4 frame_rate_num=30
frame_rate_den=1 ...

2) Perhaps I should introduce myself.

I'm Tomek, and I'm a geek.

I find melt MUCH better, than any GUI-based app I have worked with so
far (Flowblade, OpenShot, and even one commercial app).

BTW, I came to MLT from Flowblade. I tweaked it a little, but in the
end I found it too much of a burden, since...

I'm MUCH more comfortable with text files, than with any GUI. I have
control over each frame now. I'm even able to cut my audio properly,
using frame numbers.

...and I'm not even fond of XML (I prefer Yaml).

There are tasks, which are easier with GUI (like adding new resources
to the project), but they are mostly performed only once. I find
edition much easier and way more precise with text files.
___
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel


Re: [Mlt-devel] SDL consumer framerate?

2023-09-24 Thread Dan Dennedy
On Sun, Sep 24, 2023 at 10:59 AM Iza i Tomek  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


[Mlt-devel] SDL consumer framerate?

2023-09-24 Thread Iza i Tomek
Is it possible to force a particular framerate for sdl consumer?

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. The SDL consumer uses a lower framerate (25? I'm not
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-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel