WinMP3Packer Beta released
Reply #12 – 2006-01-22 05:13:15
I understand how the CBR files should behave now - it will make the files smaller, but will take a bit longer to process. Is there a quick and easy way for me to find the bitrate of an input file? I know there's mp3info in the linux world, but we're in windows now Well, it looks like mp3info has a Windows version, available here . Use "mp3info -x -r a file.mp3" to get the average bitrate. The easiest way would be to read the LAME tag at the beginning of the file, which has the number of frames, then use that and the file size to get the average bitrate. However, since not everything writes a LAME tag, that's not always possible. I can easily write something which spits out any LAME info found, then exits. I have the functions to read the tag in MP3.pm, so it wouldn't be hard. Failing that, you could just start with -b 192, and if it gives a CBR file then try lower -b settings.And YES the CBR files that come out of the app *DO* work in the CDJ-200 - I burnt some to CD and played them (in my loungeroom setup, heheh) last night. [a href="index.php?act=findpost&pid=358886"][{POST_SNAPBACK}][/a] GREAT! I was actually having doubts with it. My program outputs a different kind of CBR than most programs. When you specify -b 320, you actually get 319.725kbps, since my program won't use padded frames with that much wasted space. That means my output bitrate is more constant than most CBR files, but I wasn't sure if the machine expected a normal CBR file or not. One more thing that I noticed with the GUI: the options for -b go up to 448, I'm assuming it's since you read the %mp3::Bitrates variable at the top of mp3.pm. However, much of mp3.pm is more general than mp3packer is, and while mp3.pm can handle mp1 and mp2 files, mp3packer can not. In summary, the only way to get a bitrate > 320 is to start with an mp1 or mp2, which are both invalid for mp3packer. The valid bitrates are as follows: MPEG-1 layer 3 (most common): 32 40 48 56 64 80 96 112 128 160 192 224 256 320 MPEG-2/2.5 layer 3: (not nearly as common) 8 16 24 32 40 48 56 64 80 96 112 128 144 160 Specifying -b 320 on an MPEG-2 file will simply peg it to 160, so there's no real need to check for which version of MP3 the file is before processing. Also using e.g. -b 144 on an MPEG-1 file (where it is not a valid bitrate) will use the next higher valid bitrate (160). If that makes any sense.