From d097e1715eae6210e3fb8af4272edd467f0169a0 Mon Sep 17 00:00:00 2001 From: tiyn Date: Thu, 8 Sep 2022 21:12:58 +0200 Subject: [PATCH] ffmpeg: concatenate mkv files updated --- wiki/linux/ffmpeg.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wiki/linux/ffmpeg.md b/wiki/linux/ffmpeg.md index 1d64694..8c2c8fe 100644 --- a/wiki/linux/ffmpeg.md +++ b/wiki/linux/ffmpeg.md @@ -12,9 +12,13 @@ video you want to concatenate in the form of: file '' ``` +You have to give the absolute path towards the files. Make sure the videos are in correct order. To concatenate these video files you can run: ```shell ffmpeg -f concat -safe 0 -i files.txt -map 0 -c copy output.mp4 ``` + +If the video files you want to concatenate are not mp4 files change the above +command accordingly.