


Minimal example: transcode from MP3 to WMA:

I always get high quality images when extracting them from a video by using the value of 2.Ffmpeg Converting Audio into Different Formats / Sample Rates Then a very important option that should be mentioned and I like to use is the -q:v which is used to set the image quality of the images being extracted. I like to extract one frame every second. The -i option serves to get the input which in my case is the video file named Тимати – Рентген ( Альбом ’13’)-C9Plztvv8ac.mp4, the -r option sets the number of frames to be extracted as images every second. Then I use the following command to extract images from my video file. Since the video I am using for the purpose of this tutorial is in my Desktop i use the following command to navigate to my desktop. Use the cd command to navigate to the right directory. Not that everything is set up, all you have to is type a few commands in your terminal and you will be able to extract images from any type of video file.īefore going any further make sure you are in the same directory with the video file from which you want to extract images from. Once the compile is finished run the following command to install ffmpeg. Once the archive is extracted run the following command. wget Įxtract the archive with the following command. Before compiling and installing it from source you need to download it from the official website with the help of the following command. sudo apt-get install ffmpegįedora users can install ffmpeg directly from the repos. Ubuntu users can easily install the ffmpeg utility by typing and running the following command in their terminal. In order to follow this tutorial you need to install the ffmpeg command line utility in your linux machine. FFmpeg is the framework and the ffmpeg one of the utilities included on it.

Note: ffmpeg and FFmpeg are not the same.
