1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-11-07 05:31:17 +01:00

jellyfin/ffmpeg: added a guide to concatenate videos

This commit is contained in:
TiynGER
2021-04-19 22:49:33 +02:00
parent 319b15f38b
commit 76433e874b
2 changed files with 28 additions and 0 deletions

20
wiki/linux/ffmpeg.md Normal file
View File

@@ -0,0 +1,20 @@
# ffmpeg
[ffmpeg](https://www.ffmpeg.org) is a free and open-source suite consisting of
many audio and video tools and libraries.
## Concatenate multiple video files with matching audio-tracks
First you need to create a text file `files.txt` that includes a line for every
video you want to concatenate in the form of:
```shell
file '<path to the video>'
```
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
```