Question / Help Couldn't find encoder 'mp3'

aa.delite

New Member
Hello! Please help me to solve the problem. I need to Record FFMpeg to Icecast. It must be encoded in MP3. Selecting mp3 results in Couldn't find encoder 'mp3' when trying to start record. Not mp3 only, I can't use another 100500 formats available to select.
If I used linux, I could install ffmpeg-3 library to solve the problem, but how can it be fixed in Windows?
Ofc, I can visit fmpeg.org and download 64-bit tools, but this is not installer, it just tools. I can stream like
Code:
ffmpeg -f dshow -i audio="Audio device" -c:a libmp3lame -vbr on -b:a 128k -content_type 'audio/mp3' -vn -f mp3 icecast://login:password@192.168.1.2:8000/live
It works, but I wanna stream using OBS "Record" function.
 

aiclark

New Member
I'm in exactly the same position. OBS is a great way of joining some different audio sources and setting the levels. I can't output to an icecast2 MP3 server with the record function though
 

Reycobos

New Member
Is there any solution for this problem? I've got the same problem and I couldn't find any solution. I would like to record only audio (for now I've been using .flac) and I've set up Custom Output (FFmpeg) to choose mp3, but it doesn't work.

This is my log.



11:27:22.406: CPU Name: AMD Ryzen 5 3600 6-Core Processor
11:27:22.406: CPU Speed: 3593MHz
11:27:22.406: Physical Cores: 6, Logical Cores: 12
11:27:22.406: Physical Memory: 16335MB Total, 9321MB Free
11:27:22.406: Windows Version: 10.0 Build 19041 (release: 2004; revision: 630; 64-bit)
11:27:22.406: Running as administrator: false
11:27:22.406: Aero is Enabled (Aero is always on for windows 8 and above)
11:27:22.406: Windows 10 Gaming Features:
11:27:22.406: Game Bar: On
11:27:22.406: Game DVR: On
11:27:22.406: Game DVR Background Recording: Off
11:27:22.406: Game Mode: Off
11:27:22.407: Sec. Software Status:
11:27:22.408: Microsoft Defender Antivirus: enabled (AV)
11:27:22.408: Windows Firewall: enabled (FW)
11:27:22.409: Current Date/Time: 2020-11-24, 11:27:22
11:27:22.409: Browser Hardware Acceleration: true
11:27:22.409: Portable mode: false
11:27:22.713: OBS 26.0.2 (64-bit, windows)
11:27:22.713: ---------------------------------
11:27:22.714: ---------------------------------
11:27:22.714: audio settings reset:
11:27:22.714: samples per sec: 48000
11:27:22.714: speakers: 2
11:27:22.715: ---------------------------------
11:27:22.715: Initializing D3D11...
11:27:22.715: Available Video Adapters:
11:27:22.717: Adapter 0: AMD Radeon RX 5700 XT
11:27:22.717: Dedicated VRAM: 4253294592
11:27:22.717: Shared VRAM: 4269299712
11:27:22.717: PCI ID: 1002:731f
11:27:22.717: Driver Version: 27.20.12033.2007
11:27:22.717: output 0: pos={0, 0}, size={2560, 1440}, attached=true, refresh=144, name=27GL850
11:27:22.717: output 1: pos={-1680, 384}, size={1680, 1050}, attached=true, refresh=60, name=HP 2229h
11:27:22.717: output 2: pos={2560, 0}, size={1920, 1080}, attached=true, refresh=59, name=RX-V475
11:27:22.719: Loading up D3D11 on adapter AMD Radeon RX 5700 XT (0)
11:27:22.742: D3D11 loaded successfully, feature level used: b000
11:27:22.742: DXGI increase maximum frame latency success
11:27:22.742: D3D11 GPU priority setup failed (not admin?)
11:27:23.108: ---------------------------------
11:27:23.108: video settings reset:
11:27:23.108: base resolution: 1280x720
11:27:23.108: output resolution: 424x240
11:27:23.108: downscale filter: Bilinear
11:27:23.108: fps: 10/1
11:27:23.108: format: NV12
11:27:23.108: YUV mode: 709/Partial
11:27:23.108: NV12 texture support enabled
11:27:23.113: Audio monitoring device:
11:27:23.113: name: Default
11:27:23.113: id: default
11:27:23.113: ---------------------------------
11:27:23.117: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
11:27:23.118: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
11:27:23.324: [AMF] Version 2.7.0 loaded (Compiled: 1.4.14.0, Runtime: 1.4.17.0, Library: 1;4;17;0;20.20.33.02;202011042123;CL#2196349).
11:27:23.414: [AMF] [Capability Manager] Testing Direct3D 11 Adapter 'AMD Radeon RX 5700 XT (VEN_1002/DEV_731f/SUB_e4111da2/REV_00c1)':
11:27:23.414: H264/AVC: Supported
11:27:23.414: H265/HEVC: Supported
11:27:23.414:
11:27:23.427: [obs-browser]: Version 2.8.7
11:27:23.825: [StreamFX] Loading Version 0.9.1.0-ad245401
11:27:23.829: LoadLibrary failed for 'nvcuda.dll': The specified module could not be found.
11:27:23.829: (126)
11:27:23.829: [StreamFX] <NVIDIA Face Tracking Filter> Failed to load 'nvcuda.dll'.
11:27:23.906: [StreamFX] Loaded Version 0.9.1.0-ad245401
11:27:23.909: VLC found, VLC video source enabled
11:27:23.915: A DeckLink iterator could not be created. The DeckLink drivers may not be installed
11:27:23.915: No blackmagic support
11:27:23.919: ---------------------------------
11:27:23.919: Loaded Modules:
11:27:23.919: win-wasapi.dll
11:27:23.919: win-mf.dll
11:27:23.919: win-ivcam.dll
11:27:23.919: win-dshow.dll
11:27:23.919: win-decklink.dll
11:27:23.919: win-capture.dll
11:27:23.919: vlc-video.dll
11:27:23.919: text-freetype2.dll
11:27:23.919: StreamFX.dll
11:27:23.919: rtmp-services.dll
11:27:23.919: obs-x264.dll
11:27:23.919: obs-vst.dll
11:27:23.919: obs-transitions.dll
11:27:23.919: obs-text.dll
11:27:23.919: obs-qsv11.dll
11:27:23.919: obs-outputs.dll
11:27:23.919: obs-filters.dll
11:27:23.919: obs-ffmpeg.dll
11:27:23.919: obs-browser.dll
11:27:23.919: image-source.dll
11:27:23.919: frontend-tools.dll
11:27:23.919: enc-amf.dll
11:27:23.919: decklink-ouput-ui.dll
11:27:23.919: coreaudio-encoder.dll
11:27:23.919: ---------------------------------
11:27:23.920: ==== Startup complete ===============================================
11:27:23.924: All scene data cleared
11:27:23.924: ------------------------------------------------
11:27:24.013: WASAPI: Device 'Altavoces (Logitech G930 Gaming Headset)' [48000 Hz] initialized
11:27:24.013: [Loaded global audio device]: 'Audio del escritorio'
11:27:24.043: WASAPI: Device 'Micrófono (Logitech G930 Gaming Headset)' [16000 Hz] initialized
11:27:24.043: [Loaded global audio device]: 'Mic/Aux'
11:27:24.043: [WASAPISource::WASAPISource] Device '{0.0.0.00000000}.{189356b4-e9ec-40a0-b0b3-9bc139166755}' not found. Waiting for device
11:27:24.044: Switched to scene 'Escena'
11:27:24.044: ------------------------------------------------
11:27:24.044: Loaded scenes:
11:27:24.044: - scene 'Escena':
11:27:24.044: - source: 'Audio Output Capture' (wasapi_output_capture)
11:27:24.044: ------------------------------------------------
11:27:24.100: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: Mic/Aux)
11:27:24.100:
11:27:24.187: [StreamFX] <updater> Automatic checks at launch are now enabled.
11:27:36.015: ---------------------------------
11:27:36.015: video settings reset:
11:27:36.015: base resolution: 1280x720
11:27:36.015: output resolution: 424x240
11:27:36.015: downscale filter: Bilinear
11:27:36.015: fps: 10/1
11:27:36.015: format: NV12
11:27:36.015: YUV mode: 709/Partial
11:27:36.016: NV12 texture support enabled
11:27:36.025: Settings changed (video)
11:27:36.025: ------------------------------------------------
11:27:37.734: Starting recording due to hotkey
11:27:37.737: Couldn't find encoder 'mp3'
11:27:37.737: ffmpeg_data_init failed
11:27:37.739: ==== Recording Stop ================================================

Cheers!
 

imjustahoneybee

New Member
I do not know what Icecast is, but I was having the same problem just trying to record audio with OBS and switched the Container Format from 'mp3' to 'wav' and now I can record audio with OBS. I know your original post states that you need it to be mp3, but if you are able to record as a wav, you could then covert the wav file to mp3.

best regards and hope this helps!
 
Top