Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
04-04-2010, 05:40 AM
|
#1
|
Member
Registered: Feb 2010
Location: London, UK
Distribution: Scientific, Ubuntu, Fedora
Posts: 373
Rep:
|
Bulk music file convert?
I have thousands of audio files in all sorts of formats. Whenever I install a distro this means that I always have to download a ton of different audio stuff as well (and I really don't understand linux audio). Typically this means gstreamer good, bad and ugly, xine, GNOME Mplayer and god knows what else.
There must be a better way. If I could change the formats of all files into a simple FOSS format I would. Is there a program that can detect current formats and do a bulk convert, into ogg maybe?
|
|
|
04-04-2010, 05:59 AM
|
#2
|
Member
Registered: Nov 2009
Location: Alabama
Distribution: EndeavourOS
Posts: 650
Rep:
|
have a look here:
http://www.linux.com/archive/feature/127583
not sure if any of these will do all formats at the same time, but...
|
|
|
04-04-2010, 06:04 AM
|
#3
|
LQ Newbie
Registered: Aug 2007
Distribution: Slackware 13.0
Posts: 14
Rep:
|
Rather than converting why not just install VLC? It's pretty rock solid, it even plays partial files and I've never found anything it couldn't play.
First post ever after much lurking!! :-)
|
|
|
04-04-2010, 06:41 AM
|
#4
|
Member
Registered: Feb 2010
Location: London, UK
Distribution: Scientific, Ubuntu, Fedora
Posts: 373
Original Poster
Rep:
|
@Fudge - That's a workaround at best, I am looking for a solution.
@bret - cheers i'll have a read.
|
|
|
04-04-2010, 08:16 AM
|
#5
|
Member
Registered: Mar 2008
Location: Ohio, USA
Distribution: Mint, Fedora
Posts: 64
Rep:
|
spoovy I have used soundconverter(gui) and ffmpeg(cli) to convert files.
|
|
|
04-04-2010, 08:59 AM
|
#6
|
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131
Rep: 
|
I use ffmpeg (mencoder in the past as well), wrapping it into a shell script, when I need to mass convert audio or video files. I don't see how a graphical user interface would ease the job, but I guess it depends a little on what and how you're doing exactly. A typical script would use find to create a list of the files to be converted, a loop of some kind in the script to go through them all, and possibly some fine-tuning, for example to get nicer filenames (i.e. .mp3 instead of .xxx.mp3). Though I only convert if it's really "a must", because it won't make the audio quality any better, usually only worse.
Unless you have some really exotic formats, one engine should do for you. For example GStreamer and the plugins, which you are usually able to install with one command. If you feel you keep needing several programs and engines, you're probably doing things with too much complexity  Distros usually do come with some audio system installed out of the box, be it GStreamer, Xine or something else, so all you need to do is install the "non-open/nonfree" plugins for that system, nothing else...
Lastly, as good as it sounds, I wouldn't go about re-encoding all my audio into some open format (especially if I didn't have all the original audio media available for ripping again when needed), because even today very rare cadgets play those formats. It might be a huge work, and if you later end up having to move to another format, it's again a huge work (and possibly means losing quality further). It's a pain in the digital media, but it seems mp3 would be a good bet (and about the only one) if you want to go through the conversion, as most devices will play it (old and new) whereas other formats are less well supported.
|
|
|
04-04-2010, 09:56 AM
|
#7
|
Member
Registered: Feb 2010
Location: London, UK
Distribution: Scientific, Ubuntu, Fedora
Posts: 373
Original Poster
Rep:
|
Cheers guys, I think ffmpeg and audio-converter would do the job, in a script.
But maybe I need to think a bit more about it, I hadn't considered loss of audio quality. Turns out I would probably be losing quite a lot, and unable to get it back. Maybe i'm better off just dealing with the hassle. I know that in theory I should be able to stick to one audio package, but it just never seems to work out in practice without me installing everything!
Since when did anything that works in theory ever work in practice! 
|
|
|
04-04-2010, 11:45 AM
|
#8
|
Member
Registered: Mar 2008
Location: US
Distribution: Debian Sid; Sabayon, UbuntuStudio, Slackware-multilib 13.1, Peppermint Ice, CentOS
Posts: 575
Rep:
|
If you decide not to convert, I would look again at Fingers of Fudges' reply:
Quote:
Rather than converting why not just install VLC? It's pretty rock solid, it even plays partial files and I've never found anything it couldn't play.
|
|
|
|
04-04-2010, 02:05 PM
|
#9
|
Member
Registered: Feb 2010
Location: London, UK
Distribution: Scientific, Ubuntu, Fedora
Posts: 373
Original Poster
Rep:
|
vlc is great I use it all the time, in fact its the only video player I ever use. But I prefer other audio players (namely moc, amarok, audacious)
|
|
|
04-04-2010, 02:12 PM
|
#10
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Usually it is simply a matter of adding a repository for restricted media before installing multimedia apps. You would still need to add codecs anyway, but the repos apps will be built with things like mp3 support.
|
|
|
All times are GMT -5. The time now is 11:16 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|