Splitting a Video Into Parts

From Open Source Ecology
Revision as of 07:43, 9 May 2021 by Marcin (talk | contribs)
Jump to navigation Jump to search

ffmpeg -i 1.mpeg -t 1800 -acodec copy -vcodec copy 30minvideo.mpeg

  • This is first part. For second part:

ffmpeg -i 1.mpeg -ss 1800 -acodec copy -vcodec copy pulverizer2.mpeg

(star second is 1800, and goes to end.

Links

  • Stack exchange shows the timing parameters - [1]]. -ss is start second, -t is seconds of duration.
  • To do lossless cutting: Lossless only does muxing and demuxing - not transcoding. [2]