Yes, that's correct. Well, to be more accurate, the current set of
consumers does not support audio where the speed is not 1. It sounds like
for what you want, some non-trivial analysis and changes are required.


On Wed, Jul 18, 2018 at 3:55 PM Steve Rubin <st...@descript.com> wrote:

> Thanks. I tried that function before, and from what I understand (from
> other threads in this mailing list), it doesn't support audio. Is that
> correct?
>
> On Wed, Jul 18, 2018 at 3:47 PM, Dan Dennedy <d...@dennedy.org> wrote:
>
>> Use mlt_producer_set_speed() on the tractor (or playlist as seen in
>> melted):
>>
>> https://www.mltframework.org/doxygen/structmlt__producer__s.html#a15cb033f194e160cc9f62ce0b3080ff9
>>
>> Despite the speed being a double, decimals digits are truncated, and
>> speed less than one for slower than realtime are not supported in a default
>> build. There is a unsupported build option that makes the mlt_position type
>> use double instead of int32_t (define DOUBLE_MLT_POSITION), but there is
>> definitely going to be breakage if you use that. Basically, this value is
>> added to a frame number-based counter of type mlt_position in the producer.
>> Negative values are supported to play in reverse. If you look in
>> src/melt/melt.c you can see this function being used.
>>
>>
>>
>> On Wed, Jul 18, 2018 at 3:39 PM Steve Rubin <st...@descript.com> wrote:
>>
>>> I understand that the timewarp producer manipulates a producer's
>>> playback rate. Is there a way to adjust the playback rate of a higher order
>>> producer, e.g., a playlist or tractor?
>>>
>>> This would enable a straightforward implementation of a project-level
>>> playback speed option in a DAW/NLE (rather than having to do fine-grained
>>> management of playback rates on each producer).
>>>
>>> Thanks,
>>> Steve
>>>
>>> ------------------------------------------------------------------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> Mlt-devel mailing list
>>> Mlt-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/mlt-devel
>>>
>>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to