install ffmpeg
sudo apt install ffmpeg
ffmpeg does the heavy lifting:
ffmpeg -i input.mp4 output.mp4
Source: https://bparkerproductions.com/linux-how-to-easily-compress-a-video-with-ffmpeg/
Unfortunatley, ffmpeg doesn’t give you any idea as to the progress of the conversion
install ffmpeg-bar
npm install –global ffmpeg-progressbar-cli
ffmpeg-bar makes it pretty:
ffmpeg-bar -i input.mp4 output.avi
Source: https://github.com/sidneys/ffmpeg-progressbar-cli#installation