diff options
| author | Bond-009 <bond.009@outlook.com> | 2023-01-09 11:57:16 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-09 11:57:16 +0100 |
| commit | 0325770bdb3862fae37409b68e0956cf6c340d44 (patch) | |
| tree | fe601f0573ea0918265c377dc3aef55dd89f9742 | |
| parent | 51c7c85b4cdaed9e86fc8699de61e489c9223a17 (diff) | |
| parent | abeadc62daccd5d0df3b4d099df4e718f27b21ad (diff) | |
Merge pull request #9029 from DavidFair/Support_dts_transcoding
Fixes https://github.com/jellyfin/jellyfin/issues/8804
| -rw-r--r-- | CONTRIBUTORS.md | 1 | ||||
| -rw-r--r-- | Jellyfin.Api/Controllers/DynamicHlsController.cs | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 42242c51a..ec3c6fd2a 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -27,6 +27,7 @@ - [cvium](https://github.com/cvium) - [dannymichel](https://github.com/dannymichel) - [DaveChild](https://github.com/DaveChild) + - [DavidFair](https://github.com/DavidFair) - [Delgan](https://github.com/Delgan) - [dcrdev](https://github.com/dcrdev) - [dhartung](https://github.com/dhartung) diff --git a/Jellyfin.Api/Controllers/DynamicHlsController.cs b/Jellyfin.Api/Controllers/DynamicHlsController.cs index af43bb578..5f5f34b0d 100644 --- a/Jellyfin.Api/Controllers/DynamicHlsController.cs +++ b/Jellyfin.Api/Controllers/DynamicHlsController.cs @@ -1704,11 +1704,12 @@ namespace Jellyfin.Api.Controllers return audioTranscodeParams; } - // flac and opus are experimental in mp4 muxer + // dts, flac and opus are experimental in mp4 muxer var strictArgs = string.Empty; if (string.Equals(state.ActualOutputAudioCodec, "flac", StringComparison.OrdinalIgnoreCase) - || string.Equals(state.ActualOutputAudioCodec, "opus", StringComparison.OrdinalIgnoreCase)) + || string.Equals(state.ActualOutputAudioCodec, "opus", StringComparison.OrdinalIgnoreCase) + || string.Equals(state.ActualOutputAudioCodec, "dts", StringComparison.OrdinalIgnoreCase)) { strictArgs = " -strict -2"; } |
