From weavebytes at gmail.com Thu Dec 22 02:54:39 2011 From: weavebytes at gmail.com (WeaveBytes) Date: Thu, 22 Dec 2011 02:54:39 -0800 (PST) Subject: [mad-dev] Decodding error In-Reply-To: <33001047.post@talk.nabble.com> References: <20051127213848.qvrwkf0t68skog4g@wmail.ualg.pt> <33001047.post@talk.nabble.com> Message-ID: <33022698.post@talk.nabble.com> Hi, I have added a wav header to the file at beginning, now I am able to play the file but its all noise. Seems like decoder generated some corrupted data. Also I am facing the same error:- decoding error 0x0101 (lost synchronization) at byte offset 0 decoding error 0x0101 (lost synchronization) at byte offset 4342960 Can any one help me in this. Thanks & Best Regards, WeaveBytes WeaveBytes wrote: > > HI, > > 1. I am also getting same error:- > > decoding error 0x0101 (lost synchronization) at byte offset 0 > decoding error 0x0101 (lost synchronization) at byte offset 4342960 > > 2. I have compiled the test program as tm > > and executing it as > $ ./tm < smack_that.mp3 > test.wav > > 3. The test.wav file cant be played. (I think I need to write a wav header > at the beginning of test.wav) > > 4. Has anyone tried to open a file (instead of STDIN) and passed the > handle to decode function. > If so, can you kindly share that code snippet. > > Best Regards, > WeaveBytes > > > > > > > -- View this message in context: http://old.nabble.com/Decodding-error-tp1672229p33022698.html Sent from the Mad - Dev mailing list archive at Nabble.com.