-
Notifications
You must be signed in to change notification settings - Fork 0
Video Editing
Kyle Coberly edited this page Dec 22, 2020
·
2 revisions
ffmpeg -t 00:55:19 -i input.flv -vcodec copy -acodec copy output.flv
-
-t HH:MM:SSis the duration of the video, use this to trim -
-ss HH:MM:SSis the beginning of the video -
-iis the input file -
-vcodec copyand-acodec copywork on the stream directly, without any conversion - The last argument is the output file
You have to put the filenames in a file first because the built-in concat doesn't work with .mp4 videos
$ cat mylist.txt
file '/path/to/file1'
file '/path/to/file2'
file '/path/to/file3'
$ ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.mp4