[FFmpeg-devel] [PATCH v3] doc/filters: Add double-pass example for loudnorm

Marvin Scholz epirat07 at gmail.com
Wed Aug 22 12:08:55 EEST 2018



On 22 Aug 2018, at 6:40, Gyan Doshi wrote:

> On 22-08-2018 04:43 AM, Marvin Scholz wrote:
>
>>>
>>>> + at example
>>>> +ffmpeg -i input -af 
>>>> loudnorm=I=-23:TP=-1:measured_I=-9.0:measured_TP=1.5:measured_LRA=9.4:measured_thresh=-19.5:print_format=summary 
>>>> output
>>>
>>> Since your input LRA is 9.4, and output LRA is 7 (default), the 
>>> filter will upsample to 192 kHz. You should resample afterwards.
>>>
>>
>> Ok, whats the correct way to do that?
>
> e.g.
>
>     ffmpeg -i input -af loudnorm=...,aresample=48000 output

This just gives me:

[Parsed_aresample_1 @ 0x7f99fb503ec0] Cannot select channel layout for 
the link between filters Parsed_aresample_1 and format_out_0_1.
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0


>
> Ideally, loudnorm should call a resampler internally, but for now, 
> this is what we can do.
>
> Thanks,
> Gyan
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


More information about the ffmpeg-devel mailing list