1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-04-10 02:27:45 +02:00

ffmpeg: concatenate mkv files updated

This commit is contained in:
tiyn 2022-09-08 21:12:58 +02:00
parent fa06a6281c
commit d097e1715e

View File

@ -12,9 +12,13 @@ video you want to concatenate in the form of:
file '<path to the video>' file '<path to the video>'
``` ```
You have to give the absolute path towards the files.
Make sure the videos are in correct order. Make sure the videos are in correct order.
To concatenate these video files you can run: To concatenate these video files you can run:
```shell ```shell
ffmpeg -f concat -safe 0 -i files.txt -map 0 -c copy output.mp4 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.