The MPEG-2 encoding does work in lame_enc.dll. It may be because you use "nPreset = LQP_VOICE" or because you specify "dwMpegVersion = MPEG1" (instead of MPEG2)... En r�ponse � [EMAIL PROTECTED]: > Hi > i'm new to this mailing list, because i'm using the lame_enc.dll for > automated converting of WAV-files (22050 khz sample rate, Mono, > 56kbs) to MP3 files. > > I configure BE_CONFIG as Below > > memset(&config,0,sizeof(config)); // clear all fields > > config.dwConfig = BE_CONFIG_LAME; > config.format.LHV1.dwStructVersion = 1; > config.format.LHV1.dwStructSize = sizeof(config); > config.format.LHV1.dwSampleRate = 22050; > config.format.LHV1.dwReSampleRate = 22050; > config.format.LHV1.nMode = BE_MP3_MODE_MONO; > config.format.LHV1.dwBitrate = 56; > config.format.LHV1.dwMaxBitrate = 0; > config.format.LHV1.nPreset = LQP_VOICE; // 5000 > config.format.LHV1.bCopyright = true; > config.format.LHV1.bCRC = false; > config.format.LHV1.bOriginal = false; > config.format.LHV1.bPrivate = false; > config.format.LHV1.dwMpegVersion = MPEG1; // MPEG VERSION (I or > > II) > config.format.LHV1.dwPsyModel = 0; // USE DEFAULT PSYCHOACOUSTIC > > MODEL > config.format.LHV1.dwEmphasis = 0; // NO EMPHASIS TURNED ON > > > config.format.LHV1.bWriteVBRHeader = false; > config.format.LHV1.bEnableVBR = false; > config.format.LHV1.nVBRQuality = 0; > config.format.LHV1.dwVbrAbr_bps = 0; > config.format.LHV1.bNoRes = true; > > The converting finished properly, > but the MP3 is encoded to MPEG-1, 32000khz, MONO 56kbs (and > sounds like Micky Mouse in comparison to the WAV file). > Why ? > Is it possible at all or is the MPEG-2 not implemented in dll interface > ? > If i convert on commandline with lame.exe (no options) > the MP3 is 22050khz, 56kbs, Mono, MPEG-2 encoded, the desired > format. -- MP3 ENCODER mailing list archive is at: http://www.mail-archive.com/mp3encoder%40minnie.cs.adfa.edu.au/
