Avidemux is available for Linux, BSD, Mac OS X and Microsoft Windows under the GNU GPL license. The program was written from scratch by Mean, but code from other people and projects has been used as well.
Install Avidemux in ubuntu
Open the terminal and run the following command
sudo apt-get install avidemux