Janaka
Sep 14 2007, 11:49
I am using LAME 3.97 to convert audio files into mp3 files. I am using a script for that which batch converts files in a folder. When i provide a file which doesn't actually a audio file(lets say *.txt file). Lame converts that as well, giving the message 'Assuming raw pcm input file'.
Is there a way for me to stop converting files which doesn't have audio data. May be to get a error message?
Thank you
Dynamic
Sep 15 2007, 23:56
There's no option for this in LAME, so you must do it in your batch script (e.g. by looking for *.WAV only, not *.*). I presume you must have a FOR / IN statement in your batch file. I always have to look up the syntax in Help as I don't write .BAT files often.
AndyH-ha
Sep 16 2007, 04:37
It is easy with a GUI program such as RazorLame. By default it shows only audio files, so you can not select any other type. You can also set it to see only particular types of audio files. You can enter the command line you want into the Custom options: dialogue and can save any number of command line entries for easy use later.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.