Conversion Video MP4 to MP3 in Ubuntu

ffmpg conversion mp4 to mp3


The strength of Linux is on its command-line. Philosophy was actually realized in many ways, because the command-line is more than just a black screen dos-prompt belonging OS next door neighbor. We can do many things with a command-line Linux, ranging from installing programs, setting up the system, making modifications desired files, to convert multimedia, and any other needs. Not just "clever" do a lot of things, a command-line Linux is also further simplify all the processes work.

A small example, this article will discuss how to convert various video MP4 multimedia files into MP3 audio. Many ways we can do, but I will explain the easiest way to do it via the command-line Linux is the name of the program could be "terminal" or "console".

Open Terminal, check whether we have installed "ffmpeg" or not. Type "ffmpeg". If not installed, it will exit the suggestions statement to install. Install the program "ffmpeg" with the tools that are needed as follows. Type in the Terminal:

XCrash @ Ubuntu: / home / bugtraq $ sudo apt-get install ffmpeg libavcodec-extra-53 libav-tools

Then click "Enter", and enter the password (keywords) your root, and then click "Enter" again. Wait until the installation process is complete. Next, you need to know where the location of the file you want to convert. If you have found, please type the following command in the Terminal:

"$ Ffmpeg -i -f namafile.mp4 mp3 -ab 192 000 -vn namaoutput.mp3"

Specification:
ffmpeg = application used to convert

Options -i = explain where the location of your files (input)

video.mp4 = the name of the video file you want to convert. You can use the full path in this section, and do not forget the option the video file name must match the name of the video file on your computer. For example, the video file you want to convert named "radiohead.mp4" and there in the video folder on the home belonging to MEDIA, then writing the full path as follows: /media/MEDIA/video/radiohead.mp4

-f Option mp3 = (format) notify the application that the ffmpeg conversion result is to mp3 format.

-ab Option 192000 = notify the application that we want results ffmpeg conversion (output) encoded to 192kbps (one of the standard formats MP3 encode)

Options -vn = confirmed to ffmpeg that we do not need a "video content" her.

music.mp3 = last command to create an MP3 file name to be created. Please adjust its name with your needs. The MP3 file after completion will be in the same folder as the source MP4 files.

How? Very easy is not it? Nothing is easy for people who do not want to learn. Good luck!

Knowledge, if we not shared with anyone else would just be a crap. I'm not a good person, but I try to be that person. Here I am with all the shortcomings. Infatuated with the network science and women as well...lol.

0 komentar: