From: Manuel C. <ll...@er...> - 2002-10-21 18:55:54
|
Andreas Mueller wrote: > On Sat, 2002-10-19 at 23:37, CJ Kucera wrote: > > > >I know that currently cdrdao only supports burning CDs based off of > >Wav files or raw CD data. What I'd like to know is if there's been > >any discussion about linking in mp3 or ogg libraries so that users > >can skip the "decompress to wav" step when burning audio CDs. > >Obviously there's no shortage of frontends which simplify this > >process and hide the decompression from the user, but you're still > >writing a good 700MB of data out to disk that's really unnecessary. Someone asked some time ago that cdrdao supported getting the tracks data from another program. This way you don't need to write the 700MB of data to disk. > I was already thinking about that. It would not be a big deal to link > against some mp3 decoders. The main problem is that you need the exact > lengths of all tracks in advance when doing DAO writing. So far I know Andreas, can you give us a short explanation why this is needed? is the TOC sent before the data? > the mp3 decoders can just give a rough guess about the decoded audio > data length. I we just take the rough guess we would have to either > pad the end of the track or drop some audio data depending if the rough > guess was too high or too low. My idea is supporting this from gcdmaster, this is, use gstreamer to do the uncompression and the send the data to cdrdao. Of course, gcdmaster will take care of getting the exact length by decoding it to memory first. So gstreamer will handle wav, ogg, mp3 or whatever format. > Another problem I see is the stability. If the decoder crashes the > complete disk will be wasted. Yes :) Thinking about gstreamer, it will widely tested once gnome 2.2 picks it in the devel platform. Thinking of gcdmaster, well, it has some reproducible crashes. My plan is to provide a gnome-burn executable that only depends on gstreamer and xml, so it does the work of decompressing, calling cdrdao or cdrecord, based on the xml project file. So after calling gnome-burn (non-GUI app) it does not matter if gcdmaster crashes. So at this point it will be great if cdrdao will evolve into full featured app accepting ogg, mp3, whatever, ... or will just accept data from another program. -- Manuel Clos ll...@er... TCPA y Palladium: http://bulmalug.net/body.phtml?nIdNoticia=1398 TCPA and Palladium: http://www.cl.cam.ac.uk/~rja14/tcpa-faq.html |