kb:trimming_videos_with_ffmpeg

This is an old revision of the document!


Trimming videos with FFMPEG

To trim video with FFMPEG, use the following command:

ffmpeg -i input.mp4 -ss xx:xx:xx -to yy:yy:yy -c copy output.mp4

where

  • input.mp4 is the input file
  • xx:xx:xx is the start time
  • yy:yy:yy is the end time
  • output.mp4 is the output file
  • kb/trimming_videos_with_ffmpeg.1620176640.txt.gz
  • Last modified: 2024-04-30 04:03
  • (external edit)