[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

OK to remove empty LAME frames from MP3 and how?

Asked by roknjohn in Audio Editing, Software MP3 Media Players, Algorithms

Tags: MP3, LAME

I've noticed something recently.  A lot of my MP3 files have this weird sound at the very end of the file.  I looked at a few in a hex editor found a lot of LAME "frames" with the same values repeated over and over.   The sound is heard when played through BASS and WMP and Audacity and just about all that I've tried.

Are these the result of the original rip?  Most of my library (40G) was ripped years ago and I don't recall this issue. Is it possible that some tagging program added these over the years? The reason that I didn't notice may be because my BASS player uses silence detection front and back and a slip cue mix.  

Can I safely remove this via code?  If so, where should I truncate the file?  Or better yet, what are the business rules to determine an algorithm that I can apply in batch?
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
The following byte sequence is repeated over 80 times and the end of one file.
 
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
 
00353370     FF 8F F0 00 00 69 00 00 00 00 00 00 0D 20 00   ÿ.ð..i....... .
00353380  00 00 00 00 01 A4 00 00 00 00 00 00 34 80 00 00  .....¤......4¬..
00353390  00 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55  .UUUUUUUUUUUUUUU
003533A0  55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55  UUUUUUUUUUUUUUUU
003533B0  55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55  UUUUUUUUUUUUUUUU
003533C0  55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55  UUUUUUUUUUUUUUUU
003533D0  55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55  UUUUUUUUUUUUUUUU
003533E0  55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55  UUUUUUUUUUUUUUUU
003533F0  55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55  UUUUUUUUUUUUUUUU
00353400  55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55  UUUUUUUUUUUUUUUU
00353410  55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55  UUUUUUUUUUUUUUUU
00353420  55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55  UUUUUUUUUUUUUUUU
00353430  55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55  UUUUUUUUUUUUUUUU
00353440  55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55  UUUUUUUUUUUUUUUU
00353450  55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55  UUUUUUUUUUUUUUUU
00353460  55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55  UUUUUUUUUUUUUUUU
00353470  55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55  UUUUUUUUUUUUUUUU
00353480  55 55 55 55 55 55 55 55 55 55 55 55 55 55 4C 41  UUUUUUUUUUUUUULA
00353490  4D 45 33 2E 38 39 20 28 61 6C 70 68 61 29 55 55  ME3.89 (alpha)UU
003534A0  55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55  UUUUUUUUUUUUUUUU
003534B0  55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55  UUUUUUUUUUUUUUUU
003534C0  55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55  UUUUUUUUUUUUUUUU
003534D0  55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55  UUUUUUUUUUUUUUUU
003534E0  55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55  UUUUUUUUUUUUUUUU
003534F0  55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55  UUUUUUUUUUUUUUUU
00353500  55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 FF  UUUUUUUUUUUUUUUÿ
00353510  FB 92 00                                         û.
Attachments:
 
Audacity screenshot of end of file
Audacity screenshot of end of file
 
[+][-]06/09/09 08:14 AM, ID: 24581991Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/16/09 08:10 PM, ID: 24644603Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/16/09 08:18 PM, ID: 24644625Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625