IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Software To Recreate LAME Histogram
knarf
post Aug 26 2010, 22:45
Post #1





Group: Members
Posts: 4
Joined: 26-August 10
From: USA
Member No.: 83395



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.
Go to the top of the page
+Quote Post
/mnt
post Aug 26 2010, 22:50
Post #2





Group: Members
Posts: 697
Joined: 22-April 06
Member No.: 29877



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!"
Go to the top of the page
+Quote Post
knarf
post Aug 26 2010, 23:30
Post #3





Group: Members
Posts: 4
Joined: 26-August 10
From: USA
Member No.: 83395



QUOTE (/mnt @ Aug 26 2010, 17:50) *
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.
Go to the top of the page
+Quote Post
greynol
post Aug 27 2010, 01:10
Post #4





Group: Super Moderator
Posts: 10000
Joined: 1-April 04
From: San Francisco
Member No.: 13167



QUOTE (knarf @ Aug 26 2010, 15:30) *
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.


--------------------
I should publish a list of forum idiots.
Go to the top of the page
+Quote Post
Aleron Ives
post Aug 27 2010, 06:09
Post #5





Group: Members
Posts: 189
Joined: 22-March 10
From: California
Member No.: 79208



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.
Go to the top of the page
+Quote Post
knarf
post Aug 29 2010, 00:14
Post #6





Group: Members
Posts: 4
Joined: 26-August 10
From: USA
Member No.: 83395



QUOTE (greynol @ Aug 26 2010, 20:10) *
QUOTE (knarf @ Aug 26 2010, 15:30) *
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.
Go to the top of the page
+Quote Post
m0rbidini
post Sep 3 2010, 00:47
Post #7





Group: Members
Posts: 212
Joined: 1-October 01
From: Lisbon, Portugal
Member No.: 127



Is there anything similar for AAC files?
Go to the top of the page
+Quote Post
ErectX
post Sep 8 2010, 06:53
Post #8





Group: Members
Posts: 10
Joined: 8-September 10
Member No.: 83706



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
Go to the top of the page
+Quote Post
greynol
post Sep 8 2010, 06:59
Post #9





Group: Super Moderator
Posts: 10000
Joined: 1-April 04
From: San Francisco
Member No.: 13167



Digging way back into the past, musiCutter can for mp3s as well. I don't know of any for aac though.


--------------------
I should publish a list of forum idiots.
Go to the top of the page
+Quote Post
GHammer
post Sep 8 2010, 13:23
Post #10





Group: Members
Posts: 224
Joined: 11-May 03
From: China
Member No.: 6546



metamp3 will show the info. Command line only.
Go to the top of the page
+Quote Post
romor
post Mar 19 2013, 03:16
Post #11





Group: Members
Posts: 672
Joined: 16-January 09
Member No.: 65630



QUOTE (m0rbidini @ Sep 3 2010, 01:47) *
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


--------------------
scripts: http://goo.gl/M1qVLQ
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 16th September 2014 - 13:57