aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.MediaEncoding
AgeCommit message (Collapse)Author
21 hoursfix: retain subtitles spanning HLS segment boundaries (#16594)Hilmar Gústafsson
fix: retain subtitles spanning HLS segment boundaries
5 daysMerge pull request #16380 from LTe/fix-subtitle-extraction-settingBond-009
Respect EnableSubtitleExtraction setting in subtitle delivery
7 daysSimplify null-check ternary style in ProbeResultNormalizerLasath Fernando
Co-authored-by: Bond-009 <bond.009@outlook.com>
8 daysFix language display for ISO 639-2-only codes (e.g. mul, und)Lasath Fernando
LoadCultures() in LocalizationManager skipped all iso6392.txt entries without a two-letter ISO 639-1 code, dropping 302 of 496 languages including mul (Multiple languages), und (Undetermined), mis (Uncoded languages), zxx, and many real languages like Achinese, Akkadian, etc. This caused FindLanguageInfo() to return null for these codes, which meant: - ExternalPathParser could not recognize them as valid language codes in subtitle filenames, so the Language field was never set - DisplayTitle fell back to the raw code string (e.g. "Mul") Fix by allowing entries without two-letter codes to be loaded with an empty TwoLetterISOLanguageName. Also set LocalizedLanguage in ProbeResultNormalizer for ffprobe-detected streams (the DB repository path was already handled on master).
2026-03-30Backport pull request #16440 from jellyfin/release-10.11.zMolier
Remove -copyts and add -flush_packets 1 to subtitle extraction Original-merge: ec33c74ec44693a9ddb1e2f13bea90ef3c22267e Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Bond_009 <bond.009@outlook.com>
2026-03-29Only set IsAvc for video streamsBond_009
Also enables nullable for MediaStreamInfo Makes more properties nullable that aren't always present
2026-03-29Fix attachment extraction of files without video or audio stream (#16312)Tim Eisele
* Fix attachment extraction of files without video or audio stream * Apply review suggestions
2026-03-13Backport pull request #16392 from jellyfin/release-10.11.znyanmisaka
Fix filter detection in FFmpeg 8.1 Original-merge: 55c00d76bbbe2d2759f33fab673f26b26093a30e Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Bond_009 <bond.009@outlook.com>
2026-03-13Backport pull request #16257 from jellyfin/release-10.11.zlowbit
Fix subtitle extraction caching empty files Original-merge: 6864e108b8b36ad25655e683b2cf2abf8b8ca346 Merged-by: joshuaboniface <joshua@boniface.me> Backported-by: Bond_009 <bond.009@outlook.com>
2026-03-13Respect EnableSubtitleExtraction setting in subtitle deliveryPiotr Niełacny
Wire up EnableSubtitleExtraction config to MediaEncoder.CanExtractSubtitles so the setting is actually respected. Gate subtitle extraction check behind PlayMethod.Transcode since DirectPlay has no competing ffmpeg process. Add parameterized tests for StreamBuilder.GetSubtitleProfile covering text and graphical codecs, profile format matching, and extraction setting behavior. Remove misplaced SubtitleEncoder extraction test.
2026-03-01Fix StyleCop and xUnit analyzer errorsNoFear0411
- Add missing param and returns XML doc tags (SA1611, SA1615) - Remove trailing alignment whitespace in test attributes (SA1025) - Use nullable string parameter for null test case (xUnit1012)
2026-03-01Fix near-1:1 SAR values falsely flagged as anamorphicNoFear0411
Encoders sometimes produce sample aspect ratios like 3201:3200 (0.03% off square) for content that has effectively square pixels. The exact string comparison against "1:1" marks these as anamorphic, which triggers unnecessary transcoding on clients that require non-anamorphic video. Parse the SAR ratio numerically and treat values within 1% of 1:1 as square pixels. This threshold is well clear of the nearest real anamorphic SAR (PAL 4:3 at 16:15 = 6.67% off).
2026-02-14Merge pull request #14709 from loop95/fix-artist-kairon-irseBond-009
Fix: Add 'Kairon; IRSE!' to artist whitelist
2026-01-26Merge pull request #14809 from lostb1t/fix/subtitleencoderNiels van Velzen
fix: prevent premature disposal of HTTP subtitle streams
2026-01-18Merge pull request #15926 from abitofevrything/feat/accurate_hls_seekingAbitofevrything
Refactor HLS transcode seeking
2026-01-14Update to .NET 10.0Bond_009
2025-12-28Backport pull request #15834 from jellyfin/release-10.11.znyanmisaka
Fix video lacking SAR and DAR are marked as anamorphic Original-merge: 9470439cfa1eaf7cb9717f16031b020cedab516a Merged-by: crobibero <cody@robibe.ro> Backported-by: Bond_009 <bond.009@outlook.com>
2025-12-28Backport pull request #15807 from jellyfin/release-10.11.zgnattu
Enforce more strict webm check Original-merge: 8379b4634aeaf9827d07a41cf9ba8fd80c8c323e Merged-by: crobibero <cody@robibe.ro> Backported-by: Bond_009 <bond.009@outlook.com>
2025-12-21wiplostb1t
2025-12-21wiplostb1t
2025-12-21ise codec before path on format selectionlostb1t
2025-12-21fix CA2007lostb1t
2025-12-21fix: remote subtitleslostb1t
2025-12-03Backport pull request #15582 from jellyfin/release-10.11.zQuintonQu
Add hidden file check in BdInfoDirectoryInfo.cs. Original-merge: 29b3aa854310c150e23ec27a41d912fd6fde3c7d Merged-by: crobibero <cody@robibe.ro> Backported-by: Bond_009 <bond.009@outlook.com>
2025-12-03Backport pull request #15557 from jellyfin/release-10.11.zgnattu
Restrict first video frame probing to file protocol Original-merge: ee7ad83427ed30aa095896ff3577bb946f3d1c02 Merged-by: crobibero <cody@robibe.ro> Backported-by: Bond_009 <bond.009@outlook.com>
2025-12-02Merge pull request #15538 from KarkaLT/masterNiels van Velzen
Add subtitle extraction timeout configuration option
2025-11-27Merge pull request #15437 from allmazz/feat/more_file_metadata_tagsNiels van Velzen
Add support for more embedded metadata tags
2025-11-17Backport pull request #15502 from jellyfin/release-10.11.zIksas
Fix font extraction for certain transcoding settings Original-merge: ee34c75386cc1a0ca0e15196a43b685fa0e73130 Merged-by: crobibero <cody@robibe.ro> Backported-by: Bond_009 <bond.009@outlook.com>
2025-11-17Add subtitle extraction timeout configuration optionKarolis
2025-11-08add support for more embedded metadata tagsKirill Nikiforov
2025-10-27Backport pull request #15177 from jellyfin/release-10.11.zgnattu
Make priority class setting more robust Original-merge: 70c32a26fa9f16db513a92cdd2dcafa7ee15a80d Merged-by: crobibero <cody@robibe.ro> Backported-by: Bond_009 <bond.009@outlook.com>
2025-10-27Backport pull request #15144 from jellyfin/release-10.11.znyanmisaka
Fix videos with cropping metadata are probed as anamorphic Original-merge: 175ee12bbcad1394d9cf9696d8408a9dd5190b8e Merged-by: crobibero <cody@robibe.ro> Backported-by: Bond_009 <bond.009@outlook.com>
2025-10-13Validate encoder path (#14996)Cody Robibero
2025-09-26Expose ExtractAllExtractableSubtitles (#14876)Tim Eisele
2025-09-16Fix sync disposal of async-created IAsyncDisposable objects (#14755)evan314159
2025-09-12Avoid constant arrays as arguments (#14784)Bond-009
2025-09-12Various cleanups (#14785)Bond-009
2025-09-10Don't use ffprobe frame options on audio probe (#14773)Tim Eisele
2025-08-27Normalizer cleanup (#14711)Marc Brooks
2025-08-25Fix: Add 'Kairon; IRSE!' to artist whitelistloop
2025-08-22Run background ffmpeg tasks as ProcessPriorityClass.BelowNormal (#14651)Bond-009
Follow TrickPlay example of running other background ffmpeg tasks as ProcessPriorityClass.BelowNormal: - Keyframe extraction - Media info probing during library scans - Audio normalization - Image extraction Co-authored-by: Evan <evan@MacBook-Pro.local>
2025-08-15fix: correct anamorphic video detection (#14640) (#14648)Gene
2025-08-15Run background ffmpeg tasks as ProcessPriorityClass.BelowNormalEvan
Follow TrickPlay example of running other background ffmpeg tasks as ProcessPriorityClass.BelowNormal: - Keyframe extraction - Media info probing during library scans - Audio normalization - Image extraction
2025-08-11Update dependency UTF.Unknown to 2.6.0 (#14599)renovate[bot]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Bond_009 <bond.009@outlook.com>
2025-08-03Merge pull request #12718 from IceStormNG/extract-mks-subtitlesv10.11.0-rc4Joshua M. Boniface
Extract subtitles of MKS aux files if they're extractable.
2025-08-01Merge pull request #14467 from ↵Bond-009
jkhsjdhjs/keyframe-only-trickplay-extraction-fallback Add fallback for keyframe-only trickplay extraction
2025-07-22Fix trickplay extraction ffmpeg error-handling (#14493)jkhsjdhjs
2025-07-14Add fallback for keyframe-only trickplay extractionjkhsjdhjs
Keyframe-only trickplay image extraction can fail for some media files. The current behavior is to skip the media file and try again on the next run, which will fail again. This adds a fallback to regular non-keyframe-only extraction for failed runs, so the extraction can complete.
2025-06-07Use string.IsNullOrEmpty instead of regular null check.Carsten Braun
2025-06-07When subtitle is embedded in the main video file, the path will be null.Carsten Braun