From: Alexander F. <Ale...@gm...> - 2000-12-28 01:13:31
|
Hi! I just have begun with mp3 support in kreatecd. AudioFileFormat sets a AudioConverter class in AudioFile for fomats which cannot processed directly by kreatecd (for now this is only mp3). the convertAudio method is called whenever we need the PCM data of this audio file - which will be converted to a temporary .cdr file. This is extensible to all similar file formats like Ogg Vorbis. The current CVS HEAD calls mpg123, but it doesn't use its results and stores the temp file in a hard coded file. Progress output and success detection have to be done too. I hope I can continue tomorrow to get rudimental MP3 support in. There are two problems with mp3 support - how can we detect MP3 files? For now I assume a 0xff 0xfb at the beginning of the file. But this doesn't work for RIFF MP3 files and files from some strange encoders - who should have the length of an mp3 file before we decode it - how can we get this? Greetings Alexander Feigl -- Linux is like a Wigwam : no Gates, no Windows but an Apache inside My Homepage : http://www.moondream.de KreateCD Homepage : http://www.kreatecd.de |