Re: mad-dev Digest, Vol 6, Issue 8
[email protected] Tue, 29 Nov 2005 10:33:15 +0000
| Newsgroups | gmane.comp.audio.mad.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi.. I?ve tried that program that you said, and my pcm file is totally corrupted.. Whish is not good at wall. To get it I use the libmad and follow the steps: ################################# make make install make minimad ./minimad <music.mp3>test.pcm ################################### I compile that in Linux, gentoo. I'm doing anything wrong? I'm very concern about it. Quoting [email protected]: > Send mad-dev mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://www.mars.org/bin/mailman/listinfo/mad-dev > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of mad-dev digest..." > > > Today's Topics: > > 1. Decodding error ([email protected]) > 2. Decoding error (H?vard Engebretsen) > 3. RE: Decodding error (Bruno Gauthier) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 27 Nov 2005 21:38:48 +0000 > From: [email protected] > Subject: [mad-dev] Decodding error > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > hi there... :) > I've using libmad, and I want to decode a mp3 file, but I get the following > decoding errors. > > this example is for a very small mp3. > > decoding error 0x0101 (lost synchronization) at byte offset 0 > decoding error 0x0102 (reserved header layer value) at byte offset 67 > decoding error 0x0101 (lost synchronization) at byte offset 85 > decoding error 0x0101 (lost synchronization) at byte offset 104 > > but most of the times I get the following, this example is for > another mp3 file, > > decoding error 0x0101 (lost synchronization) at byte offset 0 > decoding error 0x0101 (lost synchronization) at byte offset 6034865 > > it seems that I get errors at the begin and at the end of the offsets. > > Should I worry with this ? > I does it happen? > If someone could help me.. ;) > > > thanks... > > Sónia Gonçalves > > > > > > ------------------------------ > > Message: 2 > Date: Mon, 28 Nov 2005 00:33:24 +0100 > From: H?vard Engebretsen <[email protected]> > Subject: [mad-dev] Decoding error > To: <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > Hi, > > > > I dont know if this helps, but Im getting the same errors as you do when I > decode small mp3 files who is just a part of a song. My experience is that > these errors does not effect the decoded file. Have you tried to play the > decoded .pcm file? I do so with Audacity (http://audacity.sourceforge.net/, > I import .pcm file as raw audio data in the project menu) and I cant say > there is anything wrong with the decoded file, at least from just listening > to it. > > > > Regards, > > H. > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: /mailman/public/mad-dev/attachments/20051128/7185342e/attachment.html > > ------------------------------ > > Message: 3 > Date: Mon, 28 Nov 2005 10:07:45 -0500 > From: "Bruno Gauthier" <[email protected]> > Subject: RE: [mad-dev] Decodding error > To: <[email protected]>, <[email protected]> > Message-ID: > <0CDE391BEED94B4185844504EE00BBD736F664@ATL1VEXC010.usdom003.tco.tc> > Content-Type: text/plain; charset="iso-8859-1" > > Hi there, > > I had the same problem. The way I fixed it was to feed the MAD > decoder with 1 second audio chucks that starting with the ADTS (Audio > Data Transport Stream) sync word (0xFFFC). > > I'm not a MPEG1 specialist but, if I remember well, every second, > over the 37 audio chunks, an ADTS header is injected. > That header is always starting with the sync word: 0xFFFC. > > Therefore, if you provide the MAD decoder with 1 second audio chunk > (starting with the ADTS header) you should avoid the lost of > synchronization problem. > > Regards > > Bruno > > -----Message d'origine----- > De : [email protected] > [mailto:[email protected]] De la part de [email protected] > Envoyé : 27 novembre 2005 16:39 > À : [email protected] > Objet : [mad-dev] Decodding error > > hi there... :) > I've using libmad, and I want to decode a mp3 file, but I get the following > decoding errors. > > this example is for a very small mp3. > > decoding error 0x0101 (lost synchronization) at byte offset 0 > decoding error 0x0102 (reserved header layer value) at byte offset 67 > decoding error 0x0101 (lost synchronization) at byte offset 85 > decoding error 0x0101 (lost synchronization) at byte offset 104 > > but most of the times I get the following, this example is for > another mp3 file, > > decoding error 0x0101 (lost synchronization) at byte offset 0 > decoding error 0x0101 (lost synchronization) at byte offset 6034865 > > it seems that I get errors at the begin and at the end of the offsets. > > Should I worry with this ? > I does it happen? > If someone could help me.. ;) > > > thanks... > > Sónia Gonçalves > > > > > > > End of mad-dev Digest, Vol 6, Issue 8 > ************************************* > >