08.07.13 19:02, Dan Dennedy написав(ла):
> On Mon, Jul 8, 2013 at 12:42 AM, Maksym Veremeyenko<ve...@m1stereo.tv>  wrote:
>> 04.07.13 22:16, Dan Dennedy написав(ла):
>>
>>> On Thu, Jul 4, 2013 at 4:35 AM, Maksym Veremeyenko<ve...@m1stereo.tv>
>>> wrote:
>>>>
>>>> Hi,
>>>>
>>>> if option audio_index=all is specified for producer avformat it do not
>>>> update samplerate. as result playback 44100 audio track is going faster
>>>> and
>>>> audio resampler do not activated.
>>>>
>>>> attached patch should fix this behavior
>>>
>>>
>>> This change contradicts the determination of frequency that appears
>>> earlier in the function:
>>>
>>> if ( self->audio_index == INT_MAX )
>>> ...
>>>       *frequency = FFMAX( self->max_frequency, *frequency );
>>>
>>> Elsewhere, self->max_frequency is set to the highest sample rate while
>>> enumerating audio tracks. Perhaps the more correct change is to change
>>> that line to simply:
>>>      *frequency = self->max_frequency;
>>>
>> I think it should works...
>>
>>
>>> Can you test how that change works for you?
>>
>> OK
>
> Do you mean you tested, and it does work OK? Or, OK, you will test it
> and reply later with the result?
>
i will test it today.

>>
>> PS
>> how can i test what of audio resamplers invoked: avformat's or libresample?
>
> set log level to debug; grep output if needed
thanks for hint

-- 
________________________________________
Maksym Veremeyenko

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to