Huge problem with LAME and MP3 in Flash
Reply #17 – 2006-03-02 10:00:15
See posts 3 and 4. It was suggested back then that you join the WAVE files, if you had them, and then convert to MP3. I had the original WAV files of only 1 CD so I tried that. Concating the WAV first using copy /b didn't work in flash. Using FooBar's Convert into a single file worked well, but I couldn't see how this can be automated, so I let it go.See posts 5 to 14. We are trying to work out where the process has fallen down. Are you able to answer my question in post 12 please? I tried encoding the merged file in Mono and fixing the stream using Foobar's FIX options - it didn't work in Flash. I didn't test a single (non-concated) track as it appear a useless test.With regard to the files that you have already merged: do you have the original WAVE files? If not, do you have the MP3 files before they were joined (i.e.: if "a.mp3" and "b.mp3" are joined to make "c.mp3" do you still have "a.mp3" and "b.mp3", so that perhaps you can make "d.mp3")? If you still have the source WAVE files then you could use SOX in a batch file to do all joins in one run. If you don't have the source WAVE files but have the source MP3 files, depending on your answer to my question, we may be able to help you batch join these also. Either way I'd really appreciate an answer to my question. This thread contains information that may be useful to other members who want to join MP3s and/or want to use MP3 with Flash. If we can tie up all the loose ends it may help other members with the same problems. Thanks. [a href="index.php?act=findpost&pid=368492"][{POST_SNAPBACK}][/a] Since I don't have the original WAV files I can't use the new SOX batch (which works great). I do have the MP3 files and i'll appriciate any idea on how to fix those (uptill now i've tried re-encoding with various LAME switches and bitrates). Here's the process I use with SOX, simply create this as a batch file:@echo off set /p varname="Enter MP3 filename to export (i.e - final.mp3)" C: cd\ cd PATH_TO_WAV_FILES C:\PATH_TO_SOX\sox *.wav -t wav chunk.wav C:\PATH_TO_LAME\lame.exe -b 64 --cbr -m m --quiet chunk.wav C:\PATH_TO_EXPORT\%varname% del *.wav For some reason concating everything on the same line didn't work as well, so I had to manually browse the WAV directory and perform the process in 2 phases. Thanks again!