diff options
| author | nyanmisaka <nst799610810@gmail.com> | 2026-03-23 17:06:22 -0400 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2026-03-23 17:06:22 -0400 |
| commit | b82a2ced75484c4805e927178bac0702d2713f71 (patch) | |
| tree | 541afd9a418aca71d8af8b1496991c2841ac82b8 /src | |
| parent | 568e26c5342b14e4c12b9b329dd9189b9abdbb75 (diff) | |
Backport pull request #16423 from jellyfin/release-10.11.z
Fix readrate options in FFmpeg 8.1
Original-merge: 29b236185701091f6719862b05bd7bda58d88475
Merged-by: Bond-009 <bond.009@outlook.com>
Backported-by: Bond_009 <bond.009@outlook.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/Jellyfin.LiveTv/IO/EncodedRecorder.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Jellyfin.LiveTv/IO/EncodedRecorder.cs b/src/Jellyfin.LiveTv/IO/EncodedRecorder.cs index be7ff5297..d877a0d12 100644 --- a/src/Jellyfin.LiveTv/IO/EncodedRecorder.cs +++ b/src/Jellyfin.LiveTv/IO/EncodedRecorder.cs @@ -156,6 +156,13 @@ namespace Jellyfin.LiveTv.IO if (mediaSource.ReadAtNativeFramerate) { inputModifier += " -re"; + + // Set a larger catchup value to revert to the old behavior, + // otherwise, remuxing might stall due to this new option + if (_mediaEncoder.EncoderVersion >= new Version(8, 0)) + { + inputModifier += " -readrate_catchup 100"; + } } if (mediaSource.RequiresLooping) |
