Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I want to convert my mp3's to ogg. I know there is a "mp3ogg" script out there that converts it for you. The problem is, the names of my mp3's contain white spaces. The result, for example is this:
Code:
sohail@linux ~/music/Bjork]$ mp3ogg Bjork\ -\ Army\ of\ Me.mp3
mp3ogg v 1.1.2 mp3 to ogg conversion script
Remove original mp3 files after ogg conversion? [y/N]:n
ls: Bjork: No such file or directory
ls: -: No such file or directory
ls: Army: No such file or directory
ls: of: No such file or directory
ls: Me.mp3: No such file or directory
The trival suggestion ofcource would be to rename my mp3's. But I kinda have alot of 'm (Don't tell the RIAA ). And most of them contain white spaces.
Also doing :
mp3ogg "Bjork - Army of Me.mp3"
doesn't work either. How can I get arond this stuped problem.
When I convert from ogg to mp3 (I know, but I bought a $40 DVD player that only plays mp3), I did the following.
In Konqueror, right clicked on an ogg, open with 'other'. In the command line entered 'oggdec' and selected the option to 'Open in terminal'' and
selected 'Remember this app for this mime type' (mostly so I can watch progress'.
Now, using Konqeuror, I can select any number and open wth 'oggdec' and Konqeuror takes care of the spaces, and passed the file into oggdec. This converts to wav (1/2 the time I burn CDs 1/2 covert to mp3)
I did the exactly similar thing with 'wav' and saved a mime type to open with 'notlame <options>'
You can now use Konqeuror to select multiple files and 'open with' in parallel. (Although I have only notlamed 200 .wav files at once). Computer took 2 1/1 hours to complete taks). It should only take a minute or two for you to add the 'mp3toogg' mimetype.
Thanks for the advice contrasutra. It's just that those mp3 really take up alot of space. But then again, it really does'nt matter since I have alot of space. Thanks you guy's anny way.
What could be usefull to know though, is how do I get rid of the white space from my file names. They can be a big pain.
"mplayer -ao help" prints info about audio output modules.
Quote:
Available audio output drivers:
pcm RAW PCM/WAVE file writer audio output
If that output plugin will write to standard output, then you can pipe it directly into a compressor program. Otherwise you can write out the whole PCM/WAVE file, or use a fifo as the output file and have the compressor program read from that (see "man mkfifo").
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.