In simple words ,
There r many tool or software that can do it for you .
In simple word if u have some money in your pocket then , go with
blaze media pro -
Blaze Media Pro is not just a regular video compressing software, but an all in one solution that includes a powerful audio and video converter, audio and video editing software, data CD/DVD burner, Video CD (VCD/SVCD) burner, audio CD burner, video creator, etc. It can handle a variety of formats for audio and video editing such as MP3, WAV, AIFF, M4A, WMA, AC3, ALAC, AVI, MPEG-1, MPEG-2, WMV, FLAC, OGG, MPEG-4, AAC and more. Blaze Media Pro offers many services like media management, audio CD copy, support to full-screen video, multiple effects, etc.
It’s available for 15 Days free Trail and $50 after that.
but if u don’t want to spend money like me :p
then go with
HandBrake is another open source video compressing software which is highly popular due to its advanced functioning. The video compressor support variety of video formats and is compatible with Linux, Windows OS, and Mac. In Output settings, users get multiple options to manage output parameters, apart from that you can change the percentage of video quality, codec, video FPS and more for optimization. The software includes pre-set video compression settings for various types of devices and offers Live preview option too.
Note - If you r not doing a big project , so go with handbrake . That is enough for you . Even i use this for my youtube videos