nautilus script audio conversion
HI Im running Ubuntu 7.10 and Gnome. I was trying to batch convert a bunch of wave file to high quality mp3's(320kbs). I figured it's best to use those nautilus scripts below:
http://g-scripts.sourceforge.net/cat-multimedia.php I copied them to the scripts directory, and made them executable. When I right click in nautilus and choose audio-converter or Naudilus, nothing happens. When I try Wom-audio converter a window comes up where only the mp3's option does anything at all, and it only puts out an empty file (0kb)!? What am I missing here? thank you! |
update: I found this:
https://bugs.launchpad.net/ubuntu/+s...rt/+bug/130055 and it added a new menu item under scripts, which seems to work, but it also only puts out a file with 0kb!? why is that? |
doing the conversion with lame only, also puts out an emapty file, So here must be where the problem is.
Quote:
|
Here is the script that I use to convert oggs to mp3s. I first convert the ogg to a wave file and then use lame to convert the temporary wave file to an mp3.
Code:
#!/usr/bin/env bash Code:
cat bin/get_tags |
nice, thank you! How would I use this script just for wav to mp3 (high quality, 320kbs) conversion?
|
This is the part that performs wav to ogg conversion:
Code:
# Convert .wav file to .mp3 file. Set the tags as well. Look at the manpage of lame for more options such as setting the cbr bitrate or vbr bitrate ranges. Code:
CBR (constant bitrate, the default) options: |
great, thanks you! that's what I was looking for, I also found this:
http://www.experts-exchange.com/Digi..._23692279.html for i in *.wav; do lame -h -b 192 "$i" "${i%.wav}.mp3"; done but, I get errors using this line. Sorry Im not well versed in the command line! I am in a folder with a bunch of .wav files and want to convert them, how do I need to change that line? thanks in advance for any insight! |
I guess my problem is that lame isn't really working from the command line, it always put out an empty file, even when trying to do a simple conversion such as:
Quote:
|
You might also try using sox to convert the audio.
One thing to check is that you have the needed libraries. |
Ah! I have it, but I get:
'SoX was compiled without MP3 encoding support' same thing probably happened on all the other command line encoders I got installed here. For some reason ripping off CD's, encodes just fine, but not from my HD. I guess I have to recompile and reinstall, what a PITA! Thanks anyhow!~ |
All times are GMT -5. The time now is 12:12 AM. |