Skip to main content

Topic: General LAME encoding question (Read 2213 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • tgurske
  • [*]
General LAME encoding question
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
  • Last Edit: 17 December, 2005, 08:11:16 PM by tgurske

  • xequence
  • [*][*][*]
General LAME encoding question
Reply #1
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.
And if you believe theres not a chance to die...

  • tgurske
  • [*]
General LAME encoding question
Reply #2
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.

  • Shade[ST]
  • [*][*][*][*][*]
General LAME encoding question
Reply #3
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 (!)