Convert multimedia files from one format to another, change size if desired
Convert multimedia to audio-only files
Convert audio files from one format to another. Both multimedia and audio can specify numerous ffmpeg options
- these options are stored in user-configurable files, including one designed for user submissions
Convert images from one format to another, and/or change image resolution (and jpg compression)
Convert documents from one format to another
Convert text to a .jpg file (an image of your text) or a .wav file (a voice reading your text)
Convert multi-image files, like pdf or animated gif, into a series of frames
Convert various "CD Image" files into standard .iso files
Batch processing to apply conversion choices to all selected files in a single operation
There's a lot of description here, but you don't need any of it to make this work.
Just download and extract. Then do one or more of these with the file "avconvert":
(1) move (or copy or link) it to ~/.gnome2/nautilus-scripts
(2) move (or copy or link) it to somewhere in $PATH (eg /usr/local/bin)
..(obviously don't move it twice
(3) do #2, then add it as a nautilus-action (set "paramater" to "%M", check "multiple files")
(4) add it to Gnome panel/launch-bar (drag/drop or right-click panel Add/Custom-Application)
...Depending on 1, 2, 3, and 4 above (you can do any combination of these), you can now:
(1) right-click on selected icon(s) and choose the script
(2) from command line: avconvert filename (quote name(s) with spaces, multiple files OK)
(3) right-click on selected icon(s) and choose "Avconvert"
(4) click the icon to launch -or- drag-and-drop file(s) on the icon
To repeat, you can do as many of these as you want. For example: move the file to ~/.gnome2/natuilus-scripts, then link that to /usr/local/bin, then add it as a nautilus-action, then add it to the gnome-panel.
Much more than a quick shortcut to a common command, this shell script is over 1500 lines of code!
The following files will automatically be created in $HOME/.config/avconvert the first time you run avconvert:
a) avconvert: preferences for prompt-destination-folder, loop through multiple files, fix zenity, "quiet", default image type
b) avconvert.lang: language setting and preferred translation service
c) avconvert.ffopts.audio: predefined options that relate to conversion of audio files
d) avconvert.ffopts.video: predefined options that relate to conversion of video files
e) avconvert.ffopts.custom: your own options for any ffmpeg conversions
f) avconvert.ffopts.submissions: ffmpeg options for specific tasks submitted by users like you
g) avconvert.ffmpeg-help: summary of common ffmpeg options, displayed when key-in is chosen as a conversion option
The custom ffopts file will not be replaced during an upgrade. If you want to return it to its default state, just remove it and the script will create a new one for you. The *submissions file is never created by the script, and is a separate download on this page.
The first time avconvert is run, it will check for the most important packages it relies on. Some conversions require specific packages, which will be checked when those are used. The first run will also ask your preferences and store them in ~/.avconvert. The easiest way to change those is simply to remove that file and have it ask again. Also, the first run will fix zenity defaults so that the windows grab keyboard and mouse focus and pop up on top. The preference "quiet" sets them back to popping underneath without focus, and also changes some of them to just create icons in the notification area of the Gnome panel.