
Now that we’ve used cd to change directory to the Desktop, we need to type the following command: This is important because if you tell a program (like FFmpeg) to act on a file, only the file isn’t where the Terminal is “looking” then you will get errors. This moves the Terminal program into the same directory (the Desktop in this case), so all of our commands will be active there.

In our example, the file is called Bohemian_Rhapsody.flv and it is located on the Desktop. To do that, open the Terminal (if it isn’t still open), and change to the directory where the FLV file is located.

The first thing we need to do is find out exactly what codecs are used in our FLV file.
