how to split or cut a video using vlc in command line into 5 minute chucks? I know how to do it manually i just go to view->advanced controls and press the record to indicate the start time and press record again to indicate stop time now is there a way to do this in command line? if so can we also make vlc automatically cut/split the video every 5 minutes?

有帮助吗?

解决方案

I'd reccomend to use FFmpeg. See FFmpeg: How to split video efficiently?

The command to get the first 5 minutes would be:

ffmpeg -i input.avi -vcodec copy -acodec copy -ss 00:00:00 -t 00:05:00 output1.avi
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top