Closed VertofChest closed 6 months ago
It seems the ffmpeg reports an error:
[Parsed_loudnorm_0 @ 00000287a4d73a40] Error applying options to the filter.
[AVFilterGraph @ 00000287a4d74400] Error initializing filter 'loudnorm' with args 'i=-23.0:lra=21.3:tp=-2.0:offset=-0.18:measured_i=-13.62:measured_lra=21.3:measured_tp=-2.6:measured_thresh=-28.24:linear=true:print_format=json'
Error initializing complex filters.
Could you please share the track5.wav
file with me and let me know the version of ffmpeg using the command ffmpeg -version
? So I can attempt to replicate this error.
It seems the ffmpeg reports an error:
[Parsed_loudnorm_0 @ 00000287a4d73a40] Error applying options to the filter. [AVFilterGraph @ 00000287a4d74400] Error initializing filter 'loudnorm' with args 'i=-23.0:lra=21.3:tp=-2.0:offset=-0.18:measured_i=-13.62:measured_lra=21.3:measured_tp=-2.6:measured_thresh=-28.24:linear=true:print_format=json' Error initializing complex filters.
Could you please share the
track5.wav
file with me and let me know the version of ffmpeg using the commandffmpeg -version
? So I can attempt to replicate this error.
Of course! Here is track 5 in .mp3 format (both .wav and .mp3 report the same error, I simply changed type to reduce upload size here on Github) track5.zip
Here is my ffmpeg version:
built with gcc 9.3.1 (GCC) 20200523
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100```
Additional Info: It appears this error occurs when processing too many files at the same time, however there is something very finicky about track5 in particular that causes a problem
Thanks for the response! ☺
It could be due to the version of ffmpeg
. Try installing the latest version of ffmpeg
from https://www.youtube.com/watch?v=5xgegeBL0kw&ab_channel=CodingSensei.
Here is the output of my ffmpeg -version
:
> ffmpeg -version
ffmpeg version 6.1-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --pkg-config=pkgconf --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 58. 29.100 / 58. 29.100
libavcodec 60. 31.102 / 60. 31.102
libavformat 60. 16.100 / 60. 16.100
libavdevice 60. 3.100 / 60. 3.100
libavfilter 9. 12.100 / 9. 12.100
libswscale 7. 5.100 / 7. 5.100
libswresample 4. 12.100 / 4. 12.100
libpostproc 57. 3.100 / 57. 3.100
Did you use lrcer.run()
in the if __name__ == '__main__':
?;I solved this due to the multiprocessing in windows,
and another way may be is to upgrade theffmpeg-normalize
I got similar error and solved by using the latest ffmeg. You can download the complied one from the website and copy the file ffmeg
to /usr/local/bin. The latest version is 6.x, but somehow if you install by apt, it only gives 4.x
I get this error when running the code. Help?