Gentoo Archives: gentoo-user

From: Martins Steinbergs <mar@××.lv>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] Decoding / encoding mp3 files
Date: Fri, 01 Sep 2006 18:26:25
Message-Id: 200609012105.56888.mar@ml.lv
In Reply to: Re: [gentoo-user] [OT] Decoding / encoding mp3 files by "Hemmann
1 On Friday 01 September 2006 19:58, Hemmann, Volker Armin wrote:
2 > On Friday 01 September 2006 18:21, sdoma wrote:
3 > > On Fri, 2006-09-01 at 18:12 +0200, Hemmann, Volker Armin wrote:
4 > > > On Friday 01 September 2006 17:47, sdoma wrote:
5 > > > > Hi,
6 > > > >
7 > > > > I got some MP3 files which seem not to be properly coded. The
8 > > > > Interpret/Title information is missing for some, other show very ugly
9 > > > > time information in XMMS ( -234567:21, 893767:13 i.e.) but the
10 > > > > frame/duration in the MP3 info is correct.
11 > > > >
12 > > > > Are there any tools (preferred command line) to decode the MP3 (get a
13 > > > > raw audio file, wav or something similar) and in turn to code the MP3
14 > > > > with the proper information?
15 > > >
16 > > > even if there are tools - don't do it.
17 > > >
18 > > > The artist/title info is in the id4 tags - you can edit them with lots
19 > > > of tools, even inside most players. No need to recode them.
20 > > >
21 > > > And recoding: mp3 is a lossy format. If you turn them into wavs you
22 > > > have not only wavs based on reduced information, you remove the stuff
23 > > > that makes mp3 sound 'better' than they are. If you encode them again,
24 > > > you are removing more information.
25 > > >
26 > > > So after such a circle the sound quality would be worse. A lot worse.
27 > > > Hardly bearable worse.
28 > > >
29 > > > Just say no to recoding.
30 > >
31 > > Thanks for the hint.I've wodered about too if I can live with the
32 > > quality loss. I cann say that only if I try.
33 > > Well, I've tried to edit the ID4 within XMMS. I can edit this but
34 > > without changing the file. Saying this : I edit the tag, save it and
35 > > nothing changes.
36 > > Could you point me to some of the "lots of tools" you mentioned?
37 >
38
39 >
40 > > ... and what about the time information? It is silly to have a 3 minute
41 > > song with shows as days long and even negative duration :( (well, this
42 > > could be an ``unsigned int'' issue.
43 >
44 > I don't know how to fix it. But is it really so important? Do you watch the
45 > timing information while listening to the song?
46
47 to fix timing there is script Mp3Fixer for amarok
48
49 Mp3Fixer (v0.9.4)
50 About:
51 Mp3Fixer is a script for repairing MP3 files which display a bogus track
52 length or bitrate in your audio player.
53 For example, if you have a track that you know is really five minutes long,
54 but amaroK shows the length as one hour, then this script is for you.
55 Mp3Fixer calculates the real track length and adds the missing XING header to
56 the file. Additionally, Mp3Fixer is capable of repairing broken MPEG header
57 frames.
58
59
60 see also in portage:
61
62 media-sound/mpck
63 Checks MP3s for errors
64
65 media-sound/vbrfixc
66 Vbrfix fixes MP3s and re-constructs VBR headers
67
68
69
70 --
71 Linux 2.6.17-gentoo-r7 AMD Athlon(tm) 64 Processor 3200+
72 20:53:00 up 10:06, 6 users, load average: 1.23, 0.76, 0.45
73 --
74 gentoo-user@g.o mailing list