Social Icons

Friday, January 29, 2021

SPLIT VIDEOS IN UBUNTU: SINGLE LINE COMMAND{ffmpeg utility}

Sharing here just a single line command of ffmpeg utility which can split a video with time duration's specified.So if your video is suppose 05:03(min:sec) long and you wanna split it into two sizes with part 1 as 00:00 to 02:28 and the other part 2 as 02:28 to 05:03,the commands to be executed will be

ffmpeg -i VID_20210129_115611.mp4 -ss 00:00:00 -t 00:02:28 part1.mp4

ffmpeg -i VID_20210129_115611.mp4 -ss 00:02:28 -t 00:05:03 part2.mp4

where VID_20210129_115611.mp4 is the main file and part1.mp4/part2.mp4 are the respective output files.


0 comments:

Post a Comment

Powered By Blogger