Trying to convert flac to MP3 on transfer to external device

Asked by Jason Setterington

When ripping my CD collection onto Amarok I encoded all files as flac, now that I want to load up my MP3 player with tunes the transfer is not allowed because the player will not accept Flac files. I would very much not like to re-rip collection as MP3 as both very time consuming as well as redundant memory usage. Does any one know a way to convert flac to MP3 on transfer?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu amarok Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Harald Sitter (apachelogger) said :
#1

* Install http://www.kde-apps.org/content/show.php/transKode?content=37669
* Go to Amarok's Media Device tab
* Press the gear icon (top right of the tab)
* There you can configure trans(fer)coding

Revision history for this message
Jason Setterington (jsettster) said :
#2

Followed link and downloaded transcode to desktop, but not sure how to install?

Revision history for this message
Harald Sitter (apachelogger) said :
#3

That's going to be nifty. The following all have to be executed on a console (i.e. konsole or gnome-terminal):
* sudo apt-get install kdelibs4-dev libtag1-dev vorbis-tools lame flac
* cd ~/Desktop
* tar -xf transkode-0.6.tar.bz2
* cd transkode-0.6
* ./configure --prefix=/usr
* make
!!!! please ensure that you don't get any errors at the very end of this command - else please post the output here !!!!
* sudo checkinstall --pkgname=transkode --pkgversion=0.5.99 --pkgarch=i386 --pkgrelease=1 --pkglicense=GPL --pkggroup=kde --<email address hidden> --pakdir=../ --backup=no -y

This will unpack the tar.bz2, compile the source code and create a very simple .deb package on your desktop (which should also be installed automagically). So hopefully after doing all that you should be able to convert from/to: vorbis, mp3, flac

For the next *ubuntu release (Hardy Heron aka 8.04) you probably can expact an automatic update to the latest transkode version since I'm going to create a proper package.

Revision history for this message
adsidlc (dennis2) said :
#4

To Harald Sitter - Hi, I saw your answer in re the problem Jason posed on MP3 files.
I followed the instructions you gave in your reply to Jason dated 2007-11-04, but ran into a problem on the line
tar -xf transkode-0.6.tar.bz2
I get an error message that says "Cannot open no such file or directory
I checked my desktop folder and it does have a folder called transkode, but nothing with a version

Revision history for this message
Harald Sitter (apachelogger) said :
#5

Well, meanwhile transcode-0.7 has been released, so you probably should download it and do:

First remove all files/downloads from the first try, then download again and enter the directory (considering you downloaded to Desktop -> cd Desktop)

* tar -xf transkode-0.7.tar.bz2
 * cd transkode
 * ./configure --prefix=/usr
 * make
 !!!! please ensure that you don't get any errors at the very end of this command - else please post the output here !!!!
 * sudo checkinstall --pkgname=transkode --pkgversion=0.7-0alpha1~personal1 --pkgarch=i386 --pkgrelease=1 --pkglicense=GPL --pkggroup=kde --<email address hidden> --pakdir=../ --backup=no -y

Revision history for this message
bjorn (bjornlofgren) said :
#6

Harald,
I get this on the last command
lena@lena-laptop:~/Skrivbord/transkode$ sudo checkinstall --pkgname=transkode --pkgversion=0.7-0alpha1~personal1 --pkgarch=i386 --pkgrelease=1 --pkglicense=GPL --pkggroup=kde --<email address hidden> --pakdir=../ --backup=no -y
[sudo] password for lena:
sudo: checkinstall: command not found

What to do? I am runing 8.10

Can you help with this problem?

Provide an answer of your own, or ask Jason Setterington for more information if necessary.

To post a message you must log in.