hmm, i don't really know perl, though i know php/asp/vb very well. but i thought that maybe i could just use grep to find the files and parse the names into the lame command line.
On 8/3/06, Stephen Swinsburg <[EMAIL PROTECTED]> wrote: > > Hi Ken, > Probably easiest to write a quick perl script to search through the > directories and encode each one it finds with your settings. > Hint: Use the File::Find module and give it the top most directory > and it will recurse through every directory it finds. > > Hope this helps! > Steve > > > > > On 04/08/2006, at 8:29 AM, Ken wrote: > > > Hello, > > I'm new to the list, and new to lame, but i love it so far!! it's > > exactly > > what we need for our web site. > > > > I'm posting because I'm wondering how this can be done. > > > > I've got about 30 gig's of mp3's on our web site ( all legal! ), > > all the > > mp3's are in folders for the bands they belong too, we'd like to > > enable > > on-demand streaming in a lower bit rate then when the use has > > uploaded, as > > such I've added code to re-encode mp3's as they are being uploaded, > > but all > > for the existing mp3's, is it possible in the Linux shell to use > > maybe grep > > or something to go though all the folders and re-encode every > > single mp3 one > > at a time using this command > > lame -b 64 -f -m s SongName.mp3 stream_SongName.mp3 > > of course replacing SongName with the actual song name. and also > > have them > > placed back in the folder where the original file was? > > > > hope you guys understand what I'm saying here. any ideas would be > > great! > > > > thanks in advance for your time, > > -Ken > > _______________________________________________ > > mp3encoder mailing list > > [email protected] > > https://minnie.tuhs.org/mailman/listinfo/mp3encoder > > _______________________________________ > Steve Swinsburg > Web Programmer > Teaching & Learning Centre > University of New England, Armidale, 2351 > [EMAIL PROTECTED] > t: +612 6773 2922 f: +612 6773 3269 > > > _______________________________________________ > mp3encoder mailing list > [email protected] > https://minnie.tuhs.org/mailman/listinfo/mp3encoder > _______________________________________________ mp3encoder mailing list [email protected] https://minnie.tuhs.org/mailman/listinfo/mp3encoder
