Bugs item #1606142, was opened at 2006-11-30 15:18
Message generated for change (Comment added) made by dbaelde
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=591456&aid=1606142&group_id=89802

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: David Baelde (dbaelde)
Summary: OCAML-LAME not encoding properly (osx/ppc)

Initial Comment:
Hello!
I'm working on an iMac G5 PowerPC, OSX 10.4.8.
I've downloaded and installed liquidsoap, with all its dependencies, and it's 
currently working.
But I have a problem with OCAML-LAME when encoding audio into MP3.
Rather than getting a "correct" MP3 file, I get a file that it just sounds like 
"white noise".

I suspect ocaml-lame is not working well.

In fact, I have made the ocaml-lame/examples, and I've tried to "wav2mp3" a 
wave file. The result is still a file that sounds like white noise. By the way, 
if I repeat the same experiment using the normal "lame", then it works properly.

Contact me if you need more info. claudio @ iiia . csic .es

Thanks

----------------------------------------------------------------------

>Comment By: David Baelde (dbaelde)
Date: 2007-02-16 08:43

Message:
Logged In: YES 
user_id=640545
Originator: NO

Fixed in revision 2839. Here is the corresponding commit message:
Liblame expects native-endian input samples, which was of course not taken
into
account by ocaml-lame examples and liquidsoap code. Since this spec is
rather
annoying and it's not very natural to handle endianness problems from
OCaml, I
changed ocaml-lame to always expect little-endian input and do the
translation
when needed.


----------------------------------------------------------------------

Comment By: Samuel Mimram (smimram)
Date: 2007-02-07 18:04

Message:
Logged In: YES 
user_id=640040
Originator: NO

Unfortunately, we don't have any big-endian machine available for now (the
endianess is likely to be the cause) and such things are hard to debug by
mail interaction. Let's hope that we'll have an access to such a machine
someday...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=591456&aid=1606142&group_id=89802

Répondre à