Linux‎ > ‎

Splitting an mpeg video file

posted Jun 26, 2014, 11:22 AM by Ali Janah   [ updated Jan 11, 2015, 11:05 AM ]
Question! How to split an mpeg video file under Linux via console command.

Answer!
Enter the following command (you need ffmpeg for it to work properly) into the console :

ffmpeg -vcodec copy -ss 00:00:00 -t 01:00:00 -i input.mpg output.mpg

Note! Make sure to change the orange colored text to the appropriate names for the input and output video files and also change the starting time and end time defined respectively by the -ss and -t arguments.
Comments