This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Why is "speed" in percent not in permil ?

Tags: None
(comma "," separated)
Tkroenert
Registered Member
Posts
1
Karma
0
Hi Kdenlive-Forum,

I'm using KdenLive since KDE3.
Mostly it does a great job - otherwise I spammed your bugtracker ;)

Now I'm working on some syncronisation from screencasts so I have to adjust the speed as fine as possible.


I see in the MLT-source that the speed is given as "per-mil". I think thats the reason for the:

factor="100"

in /usr/share/kde4/apps/kdenlive/effects/speed.xml.
Change this value to "1" doesnt change anything in the GUI - there is maybe more to do...


So I think it would be a great trade-off between useability and functionrange to change the unit from "per-cent" to "per-mil". Is this 'easy' possible?



Regards,

TKroenert
ddennedy
Registered Member
Posts
1315
Karma
1
The speed parameter in MLT is a floating point value. The "factor" in effects XML provides a denominator. So, yes, you can change this, but it affects the meaning of the input. "per-cent" was chosen simply to represent this in user-friendly terms as a percentage without a decimal. Maybe you are looking at the wrong part of MLT source. This effect corresponds to src/modules/kdenlive/producer_framebuffer.c in MLT.




Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], Yahoo [Bot]