Author Topic: Problem when setting a constant bitrate with bassenc_mp3  (Read 70 times)

nadia

  • Posts: 336
Hello  ;D

it seems that bassenc_mp3 doesn't keep count of an eventual setting for the CBR (Constant BitRate): when passing the option "-b 256" (or any other value different from 128) the resulting MP3 file is always at 128 kbs.
This setting works well if using LAME with "-b 256 --cbr" but from the documentation of BASS_Encode_MP3_StartFile the "--cbr" option seems to be unsupported: I don't know if this makes some difference.

Is there a different way to modify the CBR=

Kind regards

nadia

Ian @ un4seen

  • Administrator
  • Posts: 26254
"-b 256" seems to be working here, using the pre-compiled CONVERT-ADDONS.EXE example from the BASSenc package (C\BIN folder) to test. Please try that there, for example, like this:

Code: [Select]
./convert-addons.exe -e2 filename.wav -b 256

If that works fine, is your app including anything else (besides "-b 256") in the BASS_Encode_MP3_StartFile options, and if so, what is that and does adding it to the CONVERT-ADDONS.EXE command-line reproduce the problem?

nadia

  • Posts: 336
Hello  ;D

indeed it works fine, the error was due to a copy&paste error inside my code: sorry for bothering.

Kind regards  ;D

nadia

Ian @ un4seen

  • Administrator
  • Posts: 26254
OK, good to hear it was nothing :)