Some Useful FFMPEG Commands (Screencasting, Rotate Video, Add Logo, etc.)
In this tutorial we will see some useful FFMPEG commands that you can use on Ubuntu/Linux Mint to make screencasting videos, rotate videos, add logo/text watermarks to a video, insert shapes, and so on.
To install ffmpeg and some other packages on Ubuntu/Linux Mint, open the terminal and run these commands:
sudo apt-get install ubuntu-restricted-extras
sudo apt-get install ffmpeg x264
sudo apt-get install frei0r-plugins mjpegtools
Note: The file formats used in this tutorial are selected randomly and you can set any other extension of your choice.
To record your screen withh FFMPEG, you can use this command:
Now the command will record every spot on your screen you hover your mouse cursor over. Press Ctrl+C to stop recording. If you want to set a screen resolution for the video to be recorded, you can use this ffmpeg command: