From 76433e874b6f668270a92428646e410ed072b638 Mon Sep 17 00:00:00 2001 From: TiynGER Date: Mon, 19 Apr 2021 22:49:33 +0200 Subject: [PATCH] jellyfin/ffmpeg: added a guide to concatenate videos --- wiki/jellyfin.md | 8 ++++++++ wiki/linux/ffmpeg.md | 20 ++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 wiki/linux/ffmpeg.md diff --git a/wiki/jellyfin.md b/wiki/jellyfin.md index 6454e41..7b7b9bb 100644 --- a/wiki/jellyfin.md +++ b/wiki/jellyfin.md @@ -13,3 +13,11 @@ You can add IP-TV under `Live TV` in the administration panel. To include a m3u IP-TV stream just put the file on the server or copy its URL and add it under `Live TV`. After that make sure to setup `DVR` to your liking to record. + +## Handling of movies consisting of multiple files + +Jellyfin does not have the capability to seamlessly transition between multiple +files of a movie. +The easiest way to achieve a seamless movie experience is to concatenate the two +movie files. +This can be done with [ffmpeg](./linux/ffmpeg.md). diff --git a/wiki/linux/ffmpeg.md b/wiki/linux/ffmpeg.md new file mode 100644 index 0000000..1d64694 --- /dev/null +++ b/wiki/linux/ffmpeg.md @@ -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 '' +``` + +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 +```