Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Software To Recreate LAME Histogram (Read 8376 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Software To Recreate LAME Histogram

I'm looking for a way to either capture the histogram that gets created when you do a LAME VBR encode (using 3.98.4 if it matters) or - even better - one that reads a VBR mp3 file created with LAME and then recreates the information in the histogram (the percent at each bit rate, average bitrate, MS / LR percentages, etc.).

I'm a statistics guy, and I feel like I get a lot of information about the way the music is mixed and mastered from the histogram, but it goes away so fast that I don't really get to study it.

 

Software To Recreate LAME Histogram

Reply #1
Encspot Pro should meet you needs, but it can be abit hard to find though.
"I never thought I'd see this much candy in one mission!"

Software To Recreate LAME Histogram

Reply #2
Encspot Pro should meet you needs, but it can be abit hard to find though.


Thanks.  Found EncSpot Pro and the info looks good.

I'm not sure whether - since it's now freeware and out of development - the TOS allows me to post a link to where I found it to help others.  Totally willing to if it's OK.

Software To Recreate LAME Histogram

Reply #3
I'm not sure whether - since it's now freeware and out of development - the TOS allows me to post a link to where I found it to help others.  Totally willing to if it's OK.

We've discussed this before, and though it's a bit murky, it isn't ok.

Software To Recreate LAME Histogram

Reply #4
Use ALL2LAME. Once the batch is complete, it pauses and waits for you to press a key before it closes the command prompt. You can then right click in the window and select "Select All" to highlight everything, then press Enter to copy it to the clipboard. Paste the text into Notepad or the text editor of your choice to save it.

Software To Recreate LAME Histogram

Reply #5
I'm not sure whether - since it's now freeware and out of development - the TOS allows me to post a link to where I found it to help others.  Totally willing to if it's OK.

We've discussed this before, and though it's a bit murky, it isn't ok.


Understood.  I did it in a couple Google searches, others can too.

Software To Recreate LAME Histogram

Reply #6
Is there anything similar for AAC files?

Software To Recreate LAME Histogram

Reply #7
mp3packer with the -i option will give you a histogram in text format:

>mp3packer -i "Armin Van Buuren - A State Of Trance Cd 1 Light.mp3"

*** 'Armin Van Buuren - A State Of Trance Cd 1 Light.mp3'
INFO:
MPEG1 layer 3
173875 frames
44100 Hz
38.281250 frames per second
4542.040816 seconds
123869044 bytes in file (218.173370 kbps)
123867284 bytes in MP3 frames (218.170270 kbps) = current bitrate
939988814 bits of payload data (206.952965 kbps)
117574647 bytes of payload data (207.086905 kbps)
608362 bits wasted from partially-full bytes (0.133940 kbps)
123834147 bytes of MP3 data (218.111905 kbps) = minimum bitrate possible
33137 bytes of padding (0.058365 kbps)
1760 bytes outside MP3 frames (0.003100 kbps)
0 sync errors
Bitrate distribution:
  32: 9,0
  128: 5502,0
  160: 25495,0
  192: 47512,0
  224: 45919,0
  256: 31861,0
  320: 17577,0
Largest frame uses 9392 bits = 1174 bytes = 359.537500 kbps
Smallest bitrate for CBR is 320


Software To Recreate LAME Histogram

Reply #9
metamp3 will show the info. Command line only.

Software To Recreate LAME Histogram

Reply #10
Is there anything similar for AAC files?

Reviving just to provide some kind of a solution, as Google showed me this thread while I was searching for aac histogram

I found that mp4box can provide bits per sample in nhml (xml human readable format) or nhnt (binary format). More info on gpac portal: http://gpac.wp.mines-telecom.fr/mp4box/med...rt/nhml-format/

So by using for example `mp4box -nhml 1 sample.m4a`, among other things it will create .nhml file with sample by sample bit length (xpath: "/NHNTStream/NHNTSample/@dataLength")

In some scenarios `qaac` can be used with `-S` switch, which will save txt file with exact same data as above only in kbps units