Re: [MP3 ENCODER] problem in layer2 decoding?

2000-09-17 Thread Albert Faber

Gabriel,
The problem was that the return code, when the end of file has been reached,
was wrong (0 instead of -1). Because of that, the mp3dec structure did
contain all zeros, so that's why the "number of channels has changed in mp3
file" message popped up.

Albert



- Original Message -
From: "Gabriel Bouvigne" [EMAIL PROTECTED]
To: "LAME Developers" [EMAIL PROTECTED]
Sent: Sunday, September 17, 2000 1:11 AM
Subject: [MP3 ENCODER] problem in layer2 decoding?


 Here is the log:



 Microsoft(R) Windows 98
(C)Copyright Microsoft Corp 1981-1998.

 E:\templame -h -b112 test.mp2 test.mp3
 LAME version 3.87 (alpha 16, Sep 16 09:04)(http://www.sulaco.org/mp3/)
 Using polyphase lowpass  filter, transition band: 13692 Hz - 14226 Hz
 Encoding test.mp2 to test.mp3
 Encoding as 44.1 kHz 112 kbps j-stereo MPEG-1 LayerIII (12.6x)  qval=2
 Frame  |  CPU time/estim | REAL time/estim | play/CPU |ETA
700/741(94%)|0:06/0:07|0:07/0:07|   2.7276x|
0:00
 Erro
 r: number of channels has changed in mp3 file - not supported.
 Error: samplerate has changed in mp3 file - not supported.
740/740   (100%)|0:07/0:07|0:07/0:07|   2.7272x|
0:00


 The first thing is the reported problem. Is anyone interested in the mp2
 file? (it's 900k).

 The second thing is about the skipped frame. If the problem is in the mp2
 decoding, I think that it would be better to repeat the latest valid frame
 than just skip the invalid one.


 Regards,


 --

 Gabriel Bouvigne - France
 [EMAIL PROTECTED]
 icq: 12138873

 MP3' Tech: www.mp3-tech.org


 --
 MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )

--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )



Re: [MP3 ENCODER] problem in layer2 decoding?

2000-09-16 Thread Albert Faber

Gabriel,
Post the file somewhere on mp3-tech.org or other ftp site , so we can take a
look at the problem

Albert

- Original Message -
From: "Gabriel Bouvigne" [EMAIL PROTECTED]
To: "LAME Developers" [EMAIL PROTECTED]
Sent: Sunday, September 17, 2000 1:11 AM
Subject: [MP3 ENCODER] problem in layer2 decoding?


 Here is the log:



 Microsoft(R) Windows 98
(C)Copyright Microsoft Corp 1981-1998.

 E:\templame -h -b112 test.mp2 test.mp3
 LAME version 3.87 (alpha 16, Sep 16 09:04)(http://www.sulaco.org/mp3/)
 Using polyphase lowpass  filter, transition band: 13692 Hz - 14226 Hz
 Encoding test.mp2 to test.mp3
 Encoding as 44.1 kHz 112 kbps j-stereo MPEG-1 LayerIII (12.6x)  qval=2
 Frame  |  CPU time/estim | REAL time/estim | play/CPU |ETA
700/741(94%)|0:06/0:07|0:07/0:07|   2.7276x|
0:00
 Erro
 r: number of channels has changed in mp3 file - not supported.
 Error: samplerate has changed in mp3 file - not supported.
740/740   (100%)|0:07/0:07|0:07/0:07|   2.7272x|
0:00


 The first thing is the reported problem. Is anyone interested in the mp2
 file? (it's 900k).

 The second thing is about the skipped frame. If the problem is in the mp2
 decoding, I think that it would be better to repeat the latest valid frame
 than just skip the invalid one.


 Regards,


 --

 Gabriel Bouvigne - France
 [EMAIL PROTECTED]
 icq: 12138873

 MP3' Tech: www.mp3-tech.org


 --
 MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )

--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )



Re: [MP3 ENCODER] problem in layer2 decoding?

2000-09-16 Thread Gabriel Bouvigne

 Gabriel,
 Post the file somewhere on mp3-tech.org or other ftp site , so we can take
a
 look at the problem

The file is on gabriel.mp3-tech.org


--

Gabriel Bouvigne - France
[EMAIL PROTECTED]
icq: 12138873

MP3' Tech: www.mp3-tech.org


--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )