Hey again
Another problem with ffmpeg and lv2. Don't know if it is ffmpeg problem or lv2 (Or my problem....)plugin problem, maybe You are best to know. I can also make a ticket
https://github.com/sadko4u/lsp-plugins/issues
Problem is that same conf for ladspa and lv2 make different results
EDIT: I changed lv2 option pe1=true -->> pe1=1 and now much better but still different to LADSPA, atleast now ardour+lv2 and ffmpeg+lv2 give me same result.
EDITED LV2
Code: Select all
ffmpeg -hide_banner -i orig.wav -filter_complex "[0:a]lv2=p=http\\\\://lsp-plug.in/plugins/lv2/dyna_processor_stereo:c=atd=10.00000000|rtd=10.00000000|tl0=0.39810717|gl0=0.39810717|pe0=1||pe1=1|tl1=0.03162277|gl1=0.31622776|hlr=100.00000000,volumedetect[out1]" -map [out1] -b:a:0 256k asi.aac
[Parsed_volumedetect_1 @ 0x5579ddfd95c0] n_samples: 20929998
[Parsed_volumedetect_1 @ 0x5579ddfd95c0] mean_volume: -9.4 dB
[Parsed_volumedetect_1 @ 0x5579ddfd95c0] max_volume: 0.0 dB
[Parsed_volumedetect_1 @ 0x5579ddfd95c0] histogram_0db: 192757
LV2
Code: Select all
fmpeg -hide_banner -i orig.wav -filter_complex "[0:a]lv2=p=http\\\\://lsp-plug.in/plugins/lv2/dyna_processor_stereo:c=atd=10.00000000|rtd=10.00000000|tl0=0.39810717|gl0=0.39810717|pe1=true|tl1=0.03162277|gl1=0.31622776|hlr=100.00000000,volumedetect[out1]" -map [out1] -b:a:0 256k asi.aac
[Parsed_volumedetect_1 @ 0x55bd9dfa9f40] n_samples: 20929998
[Parsed_volumedetect_1 @ 0x55bd9dfa9f40] mean_volume: -20.4 dB
[Parsed_volumedetect_1 @ 0x55bd9dfa9f40] max_volume: -5.1 dB
[Parsed_volumedetect_1 @ 0x55bd9dfa9f40] histogram_5db: 27
[Parsed_volumedetect_1 @ 0x55bd9dfa9f40] histogram_6db: 59
[Parsed_volumedetect_1 @ 0x55bd9dfa9f40] histogram_7db: 114
[Parsed_volumedetect_1 @ 0x55bd9dfa9f40] histogram_8db: 2576
[Parsed_volumedetect_1 @ 0x55bd9dfa9f40] histogram_9db: 27290
LADSPA
Code: Select all
ffmpeg -hide_banner -i orig.wav -filter_complex "[0:a]ladspa=file=lsp-plugins-ladspa:p=http\\\\://lsp-plug.in/plugins/ladspa/dyna_processor_stereo:c=c12=10.00000000|c13=10.00000000|c15=0.39810717|c16=0.39810717|c24=1|c25=0.03162277|c26=0.31622776|c55=100.00000000,volumedetect[out1]" -map [out1] -b:a:0 256k asi.aac
[Parsed_volumedetect_1 @ 0x55f285639b00] n_samples: 20929998
[Parsed_volumedetect_1 @ 0x55f285639b00] mean_volume: -15.7 dB
[Parsed_volumedetect_1 @ 0x55f285639b00] max_volume: -1.8 dB
[Parsed_volumedetect_1 @ 0x55f285639b00] histogram_1db: 2
[Parsed_volumedetect_1 @ 0x55f285639b00] histogram_2db: 30
[Parsed_volumedetect_1 @ 0x55f285639b00] histogram_3db: 287
[Parsed_volumedetect_1 @ 0x55f285639b00] histogram_4db: 1759
[Parsed_volumedetect_1 @ 0x55f285639b00] histogram_5db: 9457
[Parsed_volumedetect_1 @ 0x55f285639b00] histogram_6db: 33851
ORIG.WAV
Code: Select all
ffmpeg -hide_banner -i orig.wav -af "volumedetect" -y -f null /dev/null
[Parsed_volumedetect_0 @ 0x55932346adc0] n_samples: 20929998
[Parsed_volumedetect_0 @ 0x55932346adc0] mean_volume: -20.4 dB
[Parsed_volumedetect_0 @ 0x55932346adc0] max_volume: -5.1 dB
[Parsed_volumedetect_0 @ 0x55932346adc0] histogram_5db: 27
[Parsed_volumedetect_0 @ 0x55932346adc0] histogram_6db: 60
[Parsed_volumedetect_0 @ 0x55932346adc0] histogram_7db: 113
[Parsed_volumedetect_0 @ 0x55932346adc0] histogram_8db: 2576
[Parsed_volumedetect_0 @ 0x55932346adc0] histogram_9db: 27290
So it seems that LV2 command does nothing, result is almost same as orig file
Attached conf where I took lv2 options