

Minimal example: transcode from MP3 to WMA: The ftransc plugin for rhythmbox media player allows one to send files from Rhythmbox music player to ftransc for conversion.Ffmpeg Converting Audio into Different Formats / Sample Rates.The image below shows ftransc command in action on Terminal as well as the ftransc manpage ( man ftransc):įtransc also uses Nautilus Scripts, so you can right click selection of files and convert like:įtransc plugin for Rhythmbox media player: Y means the tag is supported and is present on the new file after conversion: tag N means the tag is not supported and hence is lost during conversion. The following is the list of supported tags across audio formats that ftransc can encode to. The /etc/ftransc/nf presets file can be overriden by use of the -presets option and specify the custom presets file to use or, if you know what you are doing, make changes directly on the it. These presets are specified by the '-q' or '-quality' option of ftransc and are defined in the '/etc/ftransc/nf' configuration file. (This option is not recursive to child-folders) ftransc -f wma -directory /path/to/folder_nameĮxample 5 - convert all audio audio files (and extract all audio content from video files) inside a given folder recursively including all sub-/child-folders, ftransc should be used with the 'find' command in the pipeline as follows: find /path/to/folder_name -type f -print0 | xargs -0 ftransc -f aac -q highįtransc uses quality presets called 'insane', 'extreme', 'high', 'normal', 'low', and 'tiny'. Įxample 4 - convert all audio files inside a given folder into WMA format.

The output file name for the above example will be 'filename.ogg'Įxample 2 - converting from MP3 to AAC, removing original file on success, using high quality preset: ftransc -r -q extreme -f aac filename.mp3Įxample 3 - extract audio content from a video files into the MP3 format, use best quality preset: ftransc -q insane -f mp3 filename2.avi filename3.mpg filename4.vob. Sudo apt-get install ffmpeg lame flac vorbis-toolsĮxample 1 - converting from MP3 to OGG: ftransc -f ogg filename.mp3 Then FFMpeg must also installed as follows:

Installing ftranscįtransc can be installed as follows: pip install ftransc It can convert local files or files from youtube (even youtube playlists).

Ftransc is the python audio conversion library.
