R3gm / SoniTranslate

Synchronized Translation for Videos. Video dubbing
Apache License 2.0
466 stars 105 forks source link

Unknown encoder 'libmp3lame' #80

Open Holopyt opened 3 weeks ago

Holopyt commented 3 weeks ago

Please help, installing locally on win 11. Spend different ways none worked.

Exception: ffmpeg version 7.0.2 Copyright (c) 2000-2024 the FFmpeg developers built with clang version 18.1.8 configuration: --prefix=/d/bld/ffmpeg_1723846376620/_h_env/Library --cc=clang.exe --cxx=clang++.exe --nm=llvm-nm --ar=llvm-ar --disable-doc --disable-openssl --enable-demuxer=dash --enable-hardcoded-tables --enable-libfreetype --enable-libharfbuzz --enable-libfontconfig --enable-libopenh264 --enable-libdav1d --ld=lld-link --target-os=win64 --enable-cross-compile --toolchain=msvc --host-cc=clang.exe --extra-libs=ucrt.lib --extra-libs=vcruntime.lib --extra-libs=oldnames.lib --strip=llvm-strip --disable-stripping --host-extralibs= --disable-libopenvino --enable-gpl --enable-libx264 --enable-libx265 --enable-libaom --enable-libsvtav1 --enable-libxml2 --enable-pic --enable-shared --disable-static --enable-version3 --enable-zlib --enable-libopus --pkg-config=/d/bld/ffmpeg_1723846376620/_build_env/Library/bin/pkg-config libavutil 59. 8.100 / 59. 8.100 libavcodec 61. 3.100 / 61. 3.100 libavformat 61. 1.100 / 61. 1.100 libavdevice 61. 1.100 / 61. 1.100 libavfilter 10. 1.100 / 10. 1.100 libswscale 8. 1.100 / 8. 1.100 libswresample 5. 1.100 / 5. 1.100 libpostproc 58. 1.100 / 58. 1.100 [aist#0:0/pcm_s16le @ 00000200D76C0080] Guessed Channel Layout: stereo Input #0, wav, from 'audio.wav': Metadata: encoder : Lavf61.1.100 Duration: 00:01:08.87, bitrate: 1411 kb/s Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s [aist#1:0/pcm_s32le @ 00000200D7704B80] Guessed Channel Layout: mono Input #1, wav, from 'audio_dub_solo.ogg': Duration: 00:01:08.61, bitrate: 1312 kb/s Stream #1:0: Audio: pcm_s32le ([1][0][0][0] / 0x0001), 41000 Hz, mono, s32, 1312 kb/s [aost#0:0 @ 00000200D7738FC0] Unknown encoder 'libmp3lame' [aost#0:0 @ 00000200D7738FC0] Error selecting an encoder Error opening output file audio_mix.mp3. Error opening output files: Encoder not found

MartinForsterNL commented 3 weeks ago
  1. Remove the ffmpeg package: conda remove ffmpeg
  2. Download the ffmpeg binaries for windows. unpack and add the folder to your enviroment variable "PATH"