On Fri, May 6, 2022 at 9:54 AM Thomas Eimers <eim...@mehrkanal.com> wrote:

> Hello,
>
> I am using preview scaling with melt using the  command line.
>
> This works, if the scale setting is part of the XML-File and the melt
> command has no consumer parameter.
>
> For example, `melt input.mlt` with an XML configuration like this:
>
> <consumer f="webm" channels="2" cpu-used="3" crf="15" aq="6"
> max-intra-rate="1000" target="Scrolltext3.webm" threads="0"
> real_time="-4" mlt_service="avformat" vcodec="libvpx" quality="good"
> acodec="libvorbis" vb="0" in="0" out="1519" scale="0.1" />
>
> But when I attach a consumer, the scale parameter from the XML-File is
> ignored.
>
>
That is normal and expected since the consumer in the XML is not being
used. This will not be changed.


> So, both commands are not working.
>
>   *
>
>     melt example.mlt -consumer
>     avformat:icecast://source:secure@icecast:8000/example.webm
>
>   *
>
>     melt example.mlt -consumer
>     avformat:icecast://source:secure@icecast:8000/example.webm scale=0.1
>
>
>
I just tested it, and it worked for me. You probably have a numeric locale
problem. In versions of MLT before the latest release v7.6.0, melt is
locale sensitive at the command line, but you are probably in a locale that
uses comma for the decimal separator.



> How do I set the scaling on command line with configure a producer?
>
>
> greeting Thomas
>
>
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to