Getting ERR_ENCODER_NOT_AVAILABLE

Started by thsorensen, December 05, 2018, 03:21:13 PM

Previous topic - Next topic

thsorensen

Hi.
I'm trying to capture some sound using WSAPI and MP3 as format.

However, when I'm testing the compiled program on a remote computer I get an error ERR_ENCODER_NOT_AVAILABLE when I'm trying to record.
On my development machine everything works fine.


Anyone have a clue what might be the problem?

This is the encoder format:

AudioSoundRecorder.EncodeFormats.ForRecording = enumEncodingFormats.ENCODING_FORMAT_MP3
AudioSoundRecorder.EncodeFormats.MP3.EncodeMode = enumMp3EncodeModes.MP3_ENCODE_PRESETS
AudioSoundRecorder.EncodeFormats.MP3.Preset = enumMp3EncodePresets.MP3_PRESET_EXTREME
AudioSoundRecorder.EncodeFormats.MP3.ABR = 128000
AudioSoundRecorder.EncodeFormats.ResampleMode = enumResampleModes.RESAMPLE_MODE_CUSTOM_FORMAT
AudioSoundRecorder.EncodeFormats.ResampleCustomFrequency = 44100
AudioSoundRecorder.EncodeFormats.ResampleCustomChannels = 2


--Thomas

Administrator

Hello,

in this case it's very likely that the Lame.exe encoder, used to encoder in MP3 format, is not available on the remote computer: our setup package will install a copy inside the development machine under the \Windows\System32 folder: you should redistribute it alongside your binaries.

Hope this helps.

Kind Regards

Severino Delaurenti
MultiMedia Soft

thsorensen

Thanks! I didn't know about the lame.exe.

--
Thomas

Administrator

Hello,

this requirement is specified inside the documentation's page "Files to be included with your application" under the "Special notes" paragraph:
http://www.multimediasoft.com/asrecnet/help/asrecnet_000002.htm

Kind Regards

Severino Delaurenti
MultiMedia Soft