MultiMedia Soft forum

MultiMedia Soft products => Audio recording components => Topic started by: thsorensen on December 05, 2018, 03:21:13 PM

Title: Getting ERR_ENCODER_NOT_AVAILABLE
Post by: thsorensen on December 05, 2018, 03:21:13 PM
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
Title: Re: Getting ERR_ENCODER_NOT_AVAILABLE
Post by: Administrator on December 05, 2018, 05:56:05 PM
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
Title: Re: Getting ERR_ENCODER_NOT_AVAILABLE
Post by: thsorensen on January 24, 2019, 02:53:48 PM
Thanks! I didn't know about the lame.exe.

--
Thomas
Title: Re: Getting ERR_ENCODER_NOT_AVAILABLE
Post by: Administrator on January 24, 2019, 03:02:06 PM
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 (http://www.multimediasoft.com/asrecnet/help/asrecnet_000002.htm)

Kind Regards

Severino Delaurenti
MultiMedia Soft