Lame VBR to LAME CBR; Less frames, Shorter Time?!? |
![]() ![]() |
Lame VBR to LAME CBR; Less frames, Shorter Time?!? |
Jan 19 2013, 01:20
Post
#1
|
|
|
Group: Members Posts: 6 Joined: 19-January 13 Member No.: 105992 |
Hello guys,
Years ago i turned my cds to mp3, mostly in VBR. Now I'm cleaning my collection and re-doing the mp3s with 128kbps using the last version of lame. Tested the lame.exe and tested other apps thats uses lame. The result is always mp3s with a second shorter and less frames. I'm skipping something here? If you do a recode with 100 frames, you have an output with 100 frames? I'm wrong? And the output files is always using a lower values for replaygain... odd too... Off-topic: It's ok to use lame 64bit or it's better to stick with the safer 32bit? Thanks. |
|
|
|
Jan 19 2013, 02:48
Post
#2
|
|
|
Group: Members Posts: 150 Joined: 22-July 12 Member No.: 101637 |
Many applications have an option to delete the leading and trailing silent blocks. Do you have that enabled?
|
|
|
|
Jan 19 2013, 03:03
Post
#3
|
|
|
Group: Members Posts: 6 Joined: 19-January 13 Member No.: 105992 |
It's not that... I know these options... Don't use any kind of modifications in audio enconding... not even replaygain... only the old good -b 128 --cbr and the defaults from lame...
This post has been edited by TheDogInBackyard: Jan 19 2013, 03:04 |
|
|
|
Jan 19 2013, 03:15
Post
#4
|
|
|
Group: Super Moderator Posts: 4330 Joined: 23-June 06 Member No.: 32180 |
The result is always mp3s with a second shorter and less frames. As measured by what?QUOTE And the output files is always using a lower values for replaygain... odd too... Exactly how many “Years ago” were your old files encoded? ReplayGain has changed in implementation over time, so that may explain this observation.I hope you see the need for more specificity if anyone is to make useful guesses at the causes, here. Edit: Wait, are you feeding LAME its old files and having it re-encode them, rather than ripping anew from CD? As well as being very likely to explain the change in size and ReplayGain, that is a very bad idea. This post has been edited by db1989: Jan 19 2013, 03:17 |
|
|
|
Jan 19 2013, 03:46
Post
#5
|
|
|
Group: Members Posts: 6 Joined: 19-January 13 Member No.: 105992 |
For "tag" replaygain in mp3s and other audio files I always use foobar. My entire collection have replaygain from a very old version of foobar. From my tests today in re-encoding, I re-scanned some mp3s with replaygain, and again after re-enconding.
A mp3 I just re-encoded right now: Original file: VBR / Track Gain -6.920000 Album Gain -5.480000 / 3:31.278 (9 317 376 samples) Re-encoded with foobar and lame 3.99.5 64bit from videohelp.com (no use of replaygain to re-encode) Output file: CBR / Track Gain -6.490000 Album Gain -5.050000 / 3:31.097 (9 309 359 samples) (Some files lose less samples other lose more and one second of audio) Re-encoding mp3 and losing some quality can explain the change in replaygain... I think... I'm not re-encoding all my collection, just part of it, a part less important. I know about the loss of some quality in re-enconding in lossy formats. I read these forums over some year now. The concern is to damage the audio from files and have to re-rip lots of cds or start to listen "clicks" between musics. This post has been edited by db1989: Jan 19 2013, 04:30
Reason for edit: deleting unnecessary full quote
|
|
|
|
Jan 19 2013, 04:33
Post
#6
|
|
|
Group: Super Moderator Posts: 4330 Joined: 23-June 06 Member No.: 32180 |
For "tag" replaygain in mp3s and other audio files I always use foobar. My entire collection have replaygain from a very old version of foobar. […] Re-encoding mp3 and losing some quality can explain the change in replaygain... I think... Right, re-encoding might well produce some differences, but probably more significant is the fact that foobar2000 now uses r128gain, which is a levelling algorithm similar to ReplayGain but better weighted for perceptual loudness. Again, if you’d mentioned things like this to begin with… As for the loss of samples, do your original files have delay and padding tags? That’s the only possible cause that I can think of, although others may know more. |
|
|
|
Jan 19 2013, 08:23
Post
#7
|
|
|
Group: Members Posts: 6 Joined: 19-January 13 Member No.: 105992 |
I don't really known what delay and padding attributes are for... but...
From left to right: 1st properties: Free Song download from net. Made with newer encoder. With Delay and padding. 2nd properties: Re-encode of the original 1st. Same number of frames. Same time. Same delay. But the padding was changed. 3rd properties: Very old mp3 from my rippings in the good old days. The old encoder don't produced the delay and padding values. 4th properties: Re-encode from 3rd. Different frames, time. And now there are delay and padding. Any idea?
|
|
|
|
Jan 19 2013, 08:57
Post
#8
|
|
![]() Group: Developer Posts: 2980 Joined: 2-December 07 Member No.: 49183 |
Install foo_verifier and test the 3rd file.
|
|
|
|
Jan 19 2013, 09:07
Post
#9
|
|
|
Group: Members Posts: 6 Joined: 19-January 13 Member No.: 105992 |
All fine with foo verifier. Status ok and none warnings.
|
|
|
|
Jan 19 2013, 13:46
Post
#10
|
|
|
Group: Super Moderator Posts: 4330 Joined: 23-June 06 Member No.: 32180 |
I’ll ask again since this is another thing that you haven’t specified and have left us to guess through implications at best: Are you encoding by sending MP3s directly into LAME itself, or are you encoding via a front-end that does its own decoding first, such as foobar2000? LAME’s decoder is not particularly fully featured, so I can believe that it does not treat even its own delay/padding information correctly.
|
|
|
|
Jan 19 2013, 16:22
Post
#11
|
|
![]() Group: Super Moderator Posts: 9257 Joined: 1-April 04 Member No.: 13167 |
Lame has honored gapless decoding for several years now.
-------------------- Everything sounds the same until it is proven otherwise.
|
|
|
|
Jan 19 2013, 16:41
Post
#12
|
|
|
Group: Members Posts: 6 Joined: 19-January 13 Member No.: 105992 |
Made some tests this morning... found the problem... very old "buggy" encoders and old apps using lame.... -> wrong header... -> even latest lame can't handle mp3 with wrong header correctly...
Used in test: 1. Lame 3.99.5 2. Lame 3.99.5 64bit 3. Easy CD-DA Extractor v16 4. EZ CD Extractor v1 5. BeSweet with the original lame from ages ago 6. BeSweet with new lame.dll from 3.99.5 7. latest foobar with lame 3.99.5
|
|
|
|
Jan 20 2013, 15:51
Post
#13
|
|
|
Group: Members Posts: 580 Joined: 12-May 06 From: Colorado, USA Member No.: 30694 |
Here are some things to think about, things which affect the sample counts (sorry if you know this already):
If you need to convert VBR to CBR, or vice-versa, it can be done without loss using MP3packer. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 18th May 2013 - 20:44 |