LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-26-2005, 09:06 PM   #1
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 20; Arch; Kubuntu; Debian
Posts: 710

Rep: Reputation: 31
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!
 
Old 09-27-2005, 01:59 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,321

Rep: Reputation: 141Reputation: 141
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.
 
Old 09-27-2005, 07:05 PM   #3
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 20; Arch; Kubuntu; Debian
Posts: 710

Original Poster
Rep: Reputation: 31
script doesn't run on my computer.....would I just pipe flac player into lame?
 
Old 09-28-2005, 11:49 AM   #4
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,321

Rep: Reputation: 141Reputation: 141
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.
 
Old 09-28-2005, 05:24 PM   #5
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 20; Arch; Kubuntu; Debian
Posts: 710

Original Poster
Rep: Reputation: 31
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.
 
  


Reply

Tags
conversion, flac, mp3, ogg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
quick bash script to convert flac to mp3 zuralin Programming 8 08-19-2011 03:50 AM
mp3-2-ogg JStew Linux - General 10 10-27-2005 08:55 AM
howto convert .flac to .mp3 Lleb_KCir Linux - Software 4 05-21-2005 06:07 PM
How can I FLAC/Ogg files from their CDDA disc-id? orangejon Linux - Software 1 05-20-2005 02:14 AM
Flac to wav or mp3 doesnt matter....but help Ogledbyoldmen Linux - Software 1 03-14-2004 01:27 PM


All times are GMT -5. The time now is 03:51 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration