HydrogenAudio

Lossy Audio Compression => MP3 => MP3 - General => Topic started by: tgurske on 2005-12-18 01:09:24

Title: General LAME encoding question
Post by: tgurske on 2005-12-18 01:09:24
Ok. I have a website that users upload mp3s to. There is a flash mp3 player similar to myspace.com. Mp3s only play at the proper speed in flash if they are elcoded at the proper frequency. So a song at 22.050 Khz or 44.1Khz will play right but a song at 48Khz will play too fast or too slowly (I can't remember which). I installed LAME on my server and I am reencoding all the mp3s at 128kbps and at 44.1khz.

Reencoded songs that are already at 44.1Khz are reencoded fine but my problem is that songs that are at a different frequency (like 22.050khz or 48Khz) are reencoded but they sound horrible when reencoded. I am not sure what changing from 22 to 44khz actually does to the songs or why it would soung bad but I need to figure out a way to get this working. Is this a LAME issue or just a encoding issue? Any suggestions?

Thanks -tim
Title: General LAME encoding question
Post by: xequence on 2005-12-18 01:11:28
Transcoding from 48khz to 44.1 khz worked well for me. I had it on "--alt-preset standard" and the resample to 44.1 khz command. (Forget what it is).

Did you use a frontend? If so, which? Multi Frontend worked for me very well.
Title: General LAME encoding question
Post by: tgurske on 2005-12-18 01:21:04
Quote
Transcoding from 48khz to 44.1 khz worked well for me. I had it on "--alt-preset standard" and the resample to 44.1 khz command. (Forget what it is).

Did you use a frontend? If so, which? Multi Frontend worked for me very well.
[a href="index.php?act=findpost&pid=350852"][{POST_SNAPBACK}][/a]


There is a php script running the program. 48Khz to 44 seemed to work ok, my big issue was with 22 to 44. It sounded like there was a ton of noise and clipping added. Is conversion from 22 to 44 possible? Maybe I should change the script to only convert songs at 48Khz and leave 22.050Khz alone.
Title: General LAME encoding question
Post by: Shade[ST] on 2005-12-18 05:07:15
I could present to you many arguments for this, but basically take it granted, that upsampling sucks.  It's no gain in quality (at best) but allows a large gain in filesize (!)