-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  .- Knowledge Base  . 

Audio Format Converter

   0.7.0  

Amarok Script

Score 79%
Audio Format Converter
zoom


Link:  http://mlmitton.com
Downloads:  20568
Submitted:  May 2 2005
Updated:  Apr 28 2007

Description:

This script allows you to convert the audio format of the tracks in the playlist. The script takes a snapshot of the current playlist. Once the conversion has started, you can go back to using amaroK normally.

Supported files for both input and output include .flac, .ogg, .mp3, .mpc, .m4a, and .wav. Additionally, .wma, .ra, and are supported for input. (See below for the required packages.)

I don't know how to do anything with metatags from .wma or .ra. All I know is tags will get transferred to the output file if and only if the tags show up in the amaroK playlist. If they aren't there, I suggest converting the files, then using a real tag editor like Easy Tag to put them in to the converted files.

This has only been tested on amaroK 1.2.4, but it should work on any amaroK>=1.2

The original files are NOT deleted. If the output file will overwrite an existing file, a dialog will appear to ask you whether to go ahead and overwrite or to skip the track. If you try to convert a file into the format it's already in, a dialog will ask you how to handle this situation.

Depending on the number of tracks and the speed of your computer, this can take a long time to run. With each track, a passive popup will let you know what track it's processing. At any time, you can stop the script by clicking 'stop' in the amaroK script GUI.

Required Packages:
lame -- for .mp3 in and out
flac -- for .flac in and out
oggenc -- for .ogg out
oggdec -- for .ogg in
mppenc -- for .mpc out
mppdec -- for .mpc in
mplayler -- for .wma or .ra in
faad -- for .mp4/.m4a in
faac -- for .m4a out




Changelog:

v 0.7.0
++++++
The improvements in this release are due to Frederick Schaer, and I (we) thank him for his help!

The improvements are: 1) It now should handle full utf-8 character encoding for all the usual tags. 2) It corrects the error noted in the comments below about IndexError/AttributeError--something which I believe only affects more recent versions of Python.

v.6.2
++++++
For myriad reasons, a file can fail to convert but the script will continue on with the next file (as intended--I don't want one corrupted file to stop a 1,000 file batch). There is now an error log in the top-level directory where your transcoded files are saved that lists any files that failed to convert.

v.6.1
++++++
--amaroK switched the track number xml tag in their playlist from "TrackNo" to "Track". This catches up with the change, but should still work on versions earlier than 1.3.

v.6
++++++
--Fixed a piping bug that could cause the script to stop after a couple of files.
--Added a check for whether the output format is the same as the input format, with a dialog for how to handle this situation.
--Added a few more included options for encoders (OTHER still allows you to set your own options.)




LicenseGPL
Send to a friend
Subscribe
Other  Apps  from mlmitton
Report inappropriate content



goto page: prev   1  2  3  4  5  6 

-

 .mpc

 
 by orychalk on: May 9 2005
 
Score 50%

Thanks for mpc support !!!!
it's Great !


Reply to this

-

 utf-8 encoding help

 
 by mlmitton on: May 12 2005
 
Score 50%

Right now, the script only works with ascii characters. If there are non-ascii characters in the metatags, it will still convert, but the tags will be screwed up. But, if there are non-ascii characters in the to-be-encoded file path itself, then it won't convert at all.

I'm lost with all of this encoding stuff. If anyone can help, or at least guide me to good places to learn how to solve the problem myself, I'd appreciate it. Several hours on Google, and I don't know much more now than when I started searching.


Reply to this

-

 .mp4?

 
 by laszlok2 on: May 14 2005
 
Score 50%

Can you support .mp4 audio such as those files ripped by iTunes. This would be a big help for using amarok to download stuff off iPods.


Reply to this

-

 Re: .mp4?

 
 by mlmitton on: May 16 2005
 
Score 50%

For input, it's done. I haven't been able to get faac running on my system (suse 9.3 amd64), so there's no encoding support yet. Also, having no familiarity with this format, I'm just using the default settings for faad. If I need to make changes (for example, changes for LC, LD, LTP object types) let me know.


Reply to this

-

 skip mp3 files?

 
 by leppe on: May 16 2005
 
Score 50%

Hi, great amarok script.
One issue: I have a collection with both ogg and mp3 (heritage). I sometimes create a cd with mp3 so I can play it in my car. Last night I did this and I had about 50 mp3 and just 4 ogg in my playlist.

Is it possible to skip the mp3->mp3 conversion with this script, i.e. just to convert the needed (ogg) files?

/leppe


Reply to this

-

 Re: skip mp3 files?

 
 by mlmitton on: May 16 2005
 
Score 50%

Good point, since, as a general rule, it is good to skip the mp3-->mp3 conversion, because that will lower the sound quality. It wouldn't be that hard to program it to skip these conversions, but there are still people who have good reasons for mp3-->mp3 conversions, for example, taking big mp3s and squeezing them to a smaller size for a portable player.

Until I can think of slick way to make both groups happy, I think I may leave the burden on you to clean the mp3 songs from the amaroK playlist window, leaving only the oggs. I will, though, think about a solution.


Reply to this

-
.

 Re: Re: skip mp3 files?

 
 by madpenguin8 on: May 31 2005
 
Score 50%

I already thought of a solution, but you'll have to wait for 1.3, or pick up svn.

* New playlist column "Extension" allows easy sorting of playlist for
compatible file types for portable media players.

Also per track scripting is being worked on currently so you will be able to make scripts run against selected playlist items. Have a look. http://madpenguin8.pwsp.net/custom/multiple.jpg


Reply to this

-

 lam --preset voice ?

 
 by famewolf on: May 31 2005
 
Score 50%

Please add option to use --preset voice with lame for conversion of audiobooks.


Reply to this

-

 Re: lam --preset voi

 
 by mlmitton on: May 31 2005
 
Score 50%

I can try and do that soon. In the meantime, just choose "OTHER" and type in "--preset voice".


Reply to this

-
.

 lossy convertions

 
 by nimatar on: Jun 4 2005
 
Score 50%

I think you should remember users that it is usually a _bad_ _idea_ to convert lossy files to something else (lossy or not), because this will always mean loosing information (ok, not if you convert it to a lossless format, then the quality will remain the same, but the file will become a lot bigger). The only reason some one should do it is for music players that only support some file formats. Maybe it can also make some sense to convert, for example, .mpc 200kbps to .ogg 80kbps, 'cause the information lost in 200kbps will not be in a 80kbps file anyway.

I think you should mention this somewhere...

Anyway... cool script

byez ;-)


Reply to this

-

 Re: lossy convertion

 
 by mlmitton on: Jun 4 2005
 
Score 50%

You're absolutely right. I do mention this in the README. That said, I think for a fairly high percentage of people, the warnings about lossy-to-lossy conversions are overstated. A lot of people can't tell the difference between a CD and ~128kbps variable bit-rate lossy format, especially when they're listening on the speakers that came with their computer, or the headphones that came with their iPod. People with good ears probably already know the problems of lossy-to-lossy.

My recommendation is people should never convert from one lossy to another (or a different bit-rate of the same format) just for the sake of having it in a different format. As the poster noted, quality will *always* decrease. If you have to do the conversion (iPod won't play my ogg and I can't re-rip!), well, you gotta go what you gotta do. If the conversion is optional (I'm using 180kbps mp3, but I could fit everything on my Rio Karma if I converted them to 128), then try the conversion on a 10 or 20 tracks, and see if you can tell the difference. That way you can decide for yourself whether the loss in quality is sufficient to stop you from doing the conversion.


Reply to this

-

 Re: lossy convertion

 
 by cyborg on: Jun 10 2005
 
Score 50%

yeah but for some people, who are coming from windows or using some server sided music in work and so on, and have a lot of WMA's around there, such a script is worth life.

MS introduced WMA and in just 2 years people tend to use it all the way. same for wmv. i could rage for it

so this script is cool.
but it should escape "non-ascii" chars as mentioned. (some string replace where all NON-alphanumeric characters are preceded with a \ should do it).
Also mplayer has now -ao pcm:file=... not -aofile (deprecated).
and: resampling sometimes doesnt work. i had to remove it to get it work with wmas.
and: i have broken pipes sometimes. dunno why.


Linux is like love of god: free for all, but not taken too serious
Reply to this

goto page: prev   1  2  3  4  5  6 

Add commentBack






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.