Hello,
I am trying to find out how work the volum filter. I just have some issue
to understand this documentation :
http://mltframework.org/twiki/bin/view/MLT/FilterVolume
I am using the following propertie :
identifier: normalise
title: Normalise
type: string
description: |
Normalise the volume to the specified amplitude.
The normalization may be indicated as a floating
point value of the relative volume.
The normalisation may also be indicated as a numeric
value with the suffix "dB" to set the amplitude in decibels.
Here is my code which works :
Mlt::Filter filter(*this->readingVideoProfile, "volume");
Mlt::Properties properties(filter.get_properties());
properties.set("normalise", "50dB");
this->mainVideoProducer->attach(filter);
It seems that the higher "normalise", the lower the volume. But what I'd
like to do is to change the initiale volume with a percentage, such as 50%,
200%...But I don't understand how is suppose to be the "floating point
value". I tried things like that ".9", "2", "0.1", "1000" but it doesn't
seems to work. May be someone know ? Or may be I am suppose to find a
correlation between the volume in percentage and the one in dB ?
Thank you,
Cédric
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel