LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   flac to ogg and mp3 (https://www.linuxquestions.org/questions/linux-general-1/flac-to-ogg-and-mp3-367340/)

DJOtaku 09-26-2005 09:06 PM

flac to ogg and mp3
 
So far I've been able to get flac to ogg ok, but how can I use the tag information in the flac files to make the filename in the ogg? I tried

oggenc flacfile "%t.ogg" and it gives (noinfo).ogg as name.

Also, how can I use lame or another to do the equivalent to mp3.

Thanks!

kilgoretrout 09-27-2005 01:59 PM

If your familiar with amarok, it has a plugin script that can pretty much do that:

http://www.kde-apps.org/content/show.php?content=23653

If the file has a readable name file in amarok, the filename will be inherited by the converted file.

DJOtaku 09-27-2005 07:05 PM

script doesn't run on my computer.....would I just pipe flac player into lame?

kilgoretrout 09-28-2005 11:49 AM

It's worth a shot; I'd give it a try. You may have to go flac to wav to mp3 but it all sounds doable in some way. That amarok script requires python 2.x by the way. You can try installing python and see if it runs.

DJOtaku 09-28-2005 05:24 PM

I think I've got python because I can run superkaramba. I didn't bother checking. I think the problem is that it's missing some program that's key to the whole process. However, I did find a great bash script online that seems to work.

For the flac to ogg, I didn't need the script - when I dug into the oggenc manfile some more I saw that the tags were automatically transfered over when converted from flac. This makes sense since they are both developed by the same org (xiph) and they both use the same structure (a kind of xml, if I understand correctly)

For the flac to mp3, the bash script showed me that I do indeed need to convert to wave and then do some extra stuff to add the tags in.


All times are GMT -5. The time now is 06:00 PM.