By using the Avidemux software you can cut the formats like H264 video, VP6A also...
After downloading the Downoad avidemux software for free .read the below tutorial to cut the video's .
Tutorial:
1.) Open the avidemux software
2.) Browse or open any video

4.) After clicking "A" drag the box (blue line)
5.) Click "B" to stop the cutting ,The blue line indicates the trim(cut) video .
6.) Last and final step is to save the video ..to save the video go to File> Save as > and save video