August 22, 2016

10 Great Apps to Convert Audio & Video Files in Linux

With the different audio and video formats available, there is often the need to inter convert amongst them – sometimes for quality and sometimes for compatibility. Here are some of the better software, that you can use to achieve the inter conversions on your Linux box.

Sound Converter

Available via the package manager, Sound converter provides basic batch audio file conversion. Select the files or drop in an entire folder, choose the output format and bitrate from within Edit > Preferences and basically, you’re done.

Gnormalize

Gnormalize is a GTK based tool for audio conversion. In addition to converting audio (between mp3, mp4, mpc, wav, ogg, ape and flac), Gnormalize can adjust the volume of sound files to compensate for varying recording levels. You can also use Gnormalize to rip CDs, edit metadata and play your songs as well.

SoundKonverter

KDE users can try SoundKonverter. It has all the features of Gnormalize like reading tags, replay gain calculation but supports a few additional audio file formats.

OggConvertWaoN and flac

You always have a plenty of choices at your disposal when choosing software in Linux. Here are some command line tools that are good for specific audio conversion tasks. OggConvert provides you tools to convert almost all major audio formats into Ogg. flac and WaoN are good to use use when working with Flac or mid files respectively.

SoX

Then there is SoX – Sound eXchange. Although not just a conversion tool, geeks swear by it. You just cannot write an article about sound and not mention SoX. It does some hundred different amazing things and is rightly called the “Swiss Army Knife” of sound-processing programs.

WinFF

FFmpeg pretty rules the roost here. You can get all geeky and learn the command line switches or you can try WinFF. WinFF provides a frontend to FFmpeg. It works on Windows and Mac as well. It (actually FFmpeg) can be used for batch conversion of audio and video files. Just add the file(s) you wish to convert, choose the desired format, apply device presets if you desire. Once you are set, hit the Convert button and out pops the command line with one big ass command! Glad we don’t have to type in that ourselves, thanks to WinFF.
You can do pretty amazing things with WinFF or FFmpeg in general. We saw how we can use it to create actions so that you can convert video for your iPod with a right click in Nautilus. Studying the command line that WinFF pops out, you can create more of such custom actions. You can for example, write an action to extract audio out of videos, the possibilities are endless.

Handbrake

Handbrake is a popular multi-platform video transcoder. It can be used to convert DVDs to MP4, MKV, AVI and OGM. It offers additional features like chapter selection, burning subtitle into the picture, cropping and scaling.

DeVeDe

If Handbrake converts your DVDs to MP4s, DeVeDe takes in video files and creates DVDs and CDs that you can run on your regular home CD/DVD players. DeVeDe is available for Windows as well.
There are plenty of choices for you to consider and choose from if you are looking for some good Audio/Video converters for Linux. Did we miss out on your favorite software? Let us know in the comments

Source: http://www.makeuseof.com/tag/10-applications-to-convert-audio-and-video-files-in-linux/

Honorable Mention: GNAC -




Gnac is an easy to use audio conversion program for the Gnome desktop. It is designed to be powerful but simple! It provides easy audio files conversion between all GStreamer supported audio formats.



You can download it at: http://gnac.sourceforge.net/download/

How To Convert Media Files in Linux

swap-1-vlcOnce in a while, you need to convert media from one format to another, even in a cloud-centric world where everything is a “stream.” There can be different reasons for doing so. In most cases, I have to convert videos that I shoot or purchase so that I can play them on my mobile devices or other players, which support only certain formats.
Converting media files or transcoding is extremely easy in Linux, thanks to many open source projects.

Transcoding Videos

I have a heterogeneous environment at home, a mix of Mac OS X, Linux desktops, Chrome OS devices, Android phones and tablets, Yamaha music system, and car infotainment. So, I always convert my videos in a format that is supported on all these platforms and, in most cases, the supported format is .mp4.
There are two ways you can convert your videos to mp4: either using a less-known feature of VLC or with the standalone app Handbrake.

Use VLC to Convert Videos

VLC is known as the media playback Swiss army knife because it can play virtually every media format out there. However, many features of VLC are less known, and transcoding is one of them.
To get started, open VLC and, from the main menu, choose Media > Convert/Save (see Figure 1 above).
Then, click on the Add button and browse the video file that you want to transcode. Click on theConvert/Save button at the bottom and it will open another window. Here you will see the source file, and under Settings, you can choose what format do you want to convert it into.
You can also click on the wrench/screwdriver icon, which will allow you to fine-tune your transcoding as you can choose the appropriate container, codecs for your video (Figure 2).
swap-4-vlc
If you are transcoding for a particular device or platform, for example YouTube, you can choose appropriate format from the drop-down menu (Figure 3)
swap-5-vlcOnce you have chosen the desired output format, it’s time to choose the destination. Click on the Browse button and choose the location where you want the converted file to be saved. At this point, you need to give a name to the file you are going to convert. (I wish it used the current name of the file.) Give it a name and then click on Save.
Once everything looks good, hit the Start button and VLC will start transcoding your video.

Handbrake for Batch Transcoding

Although VLC does an excellent job of transcoding, Handbrake is the open source app that was created just to do this. And, it can also do batch conversion. If you are on an Ubuntu-based system, you need to install two packages in order to get .mp4 support. Add the handbrake repository to your system and install those packages:
sudo add-apt-repository ppa:stebbins/handbrake-git-snapshots
sudo apt-get update
sudo apt-get install handbrake-cli handbrake-gtk
Open Handbrake and click on Source. Then, select the file you want to convert; once it’s loaded, click on the Enqueue button, and it will add the file to the queue. Click on Source again, select the next file, and add it to the queue. Repeat the process to add all the files that you want to convert (Figure 4).
swap-7-handbrakeAlternatively, if you want to make it easier, create a folder and copy all the files that you want to convert into that folder. Then select that entire folder -- instead of a file -- from Source. Once Handbrake scans all files, click on Queue from main menu and choose Add Multiple. Handbrake will then add all the files from that directory to the conversion queue.
Once all the files are added to the queue, choose the desired output format from the Preset List. You can further fine-tune it by adjusting the settings from the options on the main window.
Next, choose the destination for the exported/converted files. If everything looks good, go ahead and start conversion either from Queue > Start Queue or by hitting the Start button.
Handbrake will start converting your files (Figure 5).
swap-10-handbrake

Audio Conversion with Sound Converter

swap-13-lf-soundVLC can convert audio files as well, just follow the instructions above and choose audio files instead of videos files. But if you are looking for batch processing or a simpler app, then you can install the Sound Converter application on your Linux box; it’s available in the main repo of major distributions. The app has a very simple interface.
If you want to convert only one audio track, choose Add File, if you have more than one file, then choose Add Folder option.
Once all files are added, click on Preferences and change the destination in the Where to place results option. You can also choose how to rename files (if you want to).
The third and the most important option is output format. Most players support .mp3 format, so that’s the one I would prefer. Adjust the bitrate and quality, if you want to, and close the window (Figure 6).
swap-14-soundYou will see the list of all the files you added; select them all and click on Convert; Sound Convert will transcode all your files in the desired audio format.
One of the greatest features of Sound Converter is that it can also “extract” audio from video files. So, if you need to rip just the audio, this is the app for you. Just add the video files and convert them to the desired audio format. As you can see in Figure 7, there are three video files that I am converting to audio files.
That’s pretty much what you need to convert media in Linux. It’s Linux, so there’s more than three ways to do it; tell us how do you do it.

Source: https://www.linux.com/learn/how-convert-media-files-linux