m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <m@m-chrzan.xyz>2024-01-31 19:52:22 +0100
committerMarcin Chrzanowski <m@m-chrzan.xyz>2025-03-17 11:14:56 +0100
commit34dd60e937f59e851b1be07d963321bb018115af (patch)
tree040048aa7e0215d1f9c68cb13eab1ce2f80ffba7
parent5e653188dcb8ce9a73e09f9a79c7b4bbf5713326 (diff)
Add video concatanationHEADmaster
-rw-r--r--ffmpeg.md16
1 files changed, 15 insertions, 1 deletions
diff --git a/ffmpeg.md b/ffmpeg.md
index 764c89e..40b6ae7 100644
--- a/ffmpeg.md
+++ b/ffmpeg.md
@@ -69,7 +69,21 @@ For the transpose parameter you can pass:
## Concatanate audio
- ffmpet -i in1.mp3 -i in2.mp3 -i in3.mp3 -filter_complex '[0:0][1:0][2:0]concat=n=3:v=0:a=1' output.mp3
+ ffmpeg -i in1.mp3 -i in2.mp3 -i in3.mp3 -filter_complex '[0:0][1:0][2:0]concat=n=3:v=0:a=1' output.mp3
+
+## Concatanate videos
+
+Works well especially for large number.
+
+Create file `list.txt`
+
+ file 'video1.mp4'
+ file 'video2.mp4'
+ ...
+
+Then
+
+ ffmpeg -f concat -i list.txt -c copy combined.mp4
## Fitlering