We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7607e4b commit bbb925aCopy full SHA for bbb925a
src/ffmpeg/concatenate-videos.md
@@ -0,0 +1,20 @@
1
+# Concatenate videos of the same format
2
+
3
+Sometimes you end up with several little cuts of a longer video file
4
+and just want to concatenate those together.
5
+Easy and fast to do with the [concat demuxer](https://ffmpeg.org/ffmpeg-formats.html#concat-1).
6
7
+List all input files in a file `mylist.txt`:
8
+```
9
+file '/path/to/file1'
10
+file '/path/to/file2'
11
+file '/path/to/file3'
12
13
14
+Then use the concat demuxer with ffmpeg:
15
16
17
+ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.mp4
18
19
20
+(via [StackOverflow](https://stackoverflow.com/questions/7333232/how-to-concatenate-two-mp4-files-using-ffmpeg))
0 commit comments