This is a script I wrote to rip audio cd's into mp3 with a vbr. You can adjust or use bits as required. It's not commented in detail because I wrote it just for personal use.
Doesn't use intermediate files etc and runs fairly quick. I've not looked at the rest of this thread so it might have already been covered. Code:
#!/bin/bash |
At all costs, we must always try to avoid reinventing the wheel. There is a lightweight commandline program that can rip files from audio CD to MP3 or OGG formats AND fetch track metadata (tag info) from the internet (ie CDDB/Gracenote) for the entire album. It's name is abcde and is available via synaptic in 'ubuntu'. Further configuration can be customized via /etc/abcde.conf.
|
:)
Worked great - thx!
|
:)
Cadjs code that is:)
|
this should go without saying, but make sure to make a copy of your wma files if you want to keep them as is. :)
|
Could someone tell me, please, how exactly do I do step 5:
"5. as root, copy the file to your exec path (/usr/bin or /bin)" |
Quote:
Code:
sudo cp filename /usr/local/bin |
Thank you.
|
I ge the new file but no audio
I have followed your instructions but still get no audio.
The following is the output from my terminal after executing. I don't the file is converted, just renamed. james@local ~/Desktop/convert /Disintegration $ wmamp3 mv: `Closedown.wma' and `Closedown.wma' are the same file mv: `Disintegration.wma' and `Disintegration.wma' are the same file mv: `Lullaby.wma' and `Lullaby.wma' are the same file mv: `Plainsong.wma' and `Plainsong.wma' are the same file mv: `Untitled.wma' and `Untitled.wma' are the same file -waveheader has been removed. Use -ao pcm:waveheader instead. MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team -waveheader has been removed. Use -ao pcm:waveheader instead. MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team -waveheader has been removed. Use -ao pcm:waveheader instead. MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team -waveheader has been removed. Use -ao pcm:waveheader instead. MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team -waveheader has been removed. Use -ao pcm:waveheader instead. MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team -waveheader has been removed. Use -ao pcm:waveheader instead. MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team -waveheader has been removed. Use -ao pcm:waveheader instead. MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team -waveheader has been removed. Use -ao pcm:waveheader instead. MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team -waveheader has been removed. Use -ao pcm:waveheader instead. MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team -waveheader has been removed. Use -ao pcm:waveheader instead. MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team -waveheader has been removed. Use -ao pcm:waveheader instead. MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team -waveheader has been removed. Use -ao pcm:waveheader instead. MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team rm: cannot remove `audiodump.wav': No such file or directory |
Somewhat Dangerous Script
Back up your data before running this script, because on error it destroys the files it runs against. I ran the script with a newer version of mplayer, which had a different switch (specifically, `-waveheader' is now `pcm:waveheader'). However, renaming the files - without performing the conversion - still takes place! Luckily I have a backup. Do you? ^_^
|
I had made a script for converting audio files to and from MP3, WMA, OGG, AAC, FLAC, WAV. It is fairly safe as files are not removed if you dont want them to and existing files are not overwritten if you dont want them to. All the metadata tags (song information) are preserved (ie not lost) when converting to another format.
You can read more about it on its official googlecode website: http://code.google.com/p/ftransc/ Cheers |
@ jamessp007
I had the same problem and the answer is in the error message. The newer version of mplayer uses different tags. A slight adjustment of the command line under #Rip with Mplayer took care of that. @ egarson An extra line in the script can do the backup for you. See the code under #make copies of original files. Here is the script I'm currently using to convert wma-files of sound files I download from a web-server with mmsrip. My version of mplayer is SVN-r31628-4.4.4. Code:
#!/bin/bash Cheers |
All times are GMT -5. The time now is 05:25 PM. |