aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Dlna/StreamInfo.cs
AgeCommit message (Collapse)Author
2025-04-24style: fix return statement indentation in StreamInfo.cssususu98
2025-04-24Style: Fix indentation in StreamInfo.cssususu98
2025-04-23refactor(StreamInfo): reorganize subtitle URL logic and conditionssususu98
# Conflicts: # MediaBrowser.Model/Dlna/StreamInfo.cs
2025-04-02Improve dynamic HDR metadata handling (#13277)gnattu
* Add support for bitstream filter to remove dynamic hdr metadata * Add support for ffprobe's only_first_vframe for HDR10+ detection * Add BitStreamFilterOptionType for metadata removal check * Map HDR10+ metadata to VideoRangeType.cs Current implementation uses a hack that abuses the EL flag to avoid database schema changes. Should add proper field once EFCore migration is merged. * Add more Dolby Vision Range types Out of spec ones are problematic and should be marked as a dedicated invalid type and handled by the server to not crash the player. Profile 7 videos should not be treated as normal HDR10 videos at all and should remove the metadata before serving. * Remove dynamic hdr metadata when necessary * Allow direct playback of HDR10+ videos on HDR10 clients * Only use dovi codec tag when dovi metadata is not removed * Handle DV Profile 7 Videos better * Fix HDR10+ with new bitmask * Indicate the presence of HDR10+ in HLS SUPPLEMENTAL-CODECS * Fix Dovi 8.4 not labeled as HLG in HLS * Fallback to dovi_rpu bsf for av1 when possible * Fix dovi_rpu cli for av1 * Use correct EFCore db column for HDR10+ * Undo outdated migration * Add proper hdr10+ migration * Remove outdated migration * Rebase to new db code * Add migrations for Hdr10PlusPresentFlag * Directly use bsf enum * Add xmldocs for SupportsBitStreamFilterWithOption * Make `VideoRangeType.Unknown` explicitly default on api models. * Unset default for non-api model class * Use tuples for bsf dictionary for now
2025-03-30Fix StreamInfo.ToUrl (#13808)Tim Eisele
2025-03-28Reduce allocations, simplifed code, faster implementation, included tests - ↵Tim Eisele
StreamInfo.ToUrl (#9369) * Rework PR 6168 * Fix test
2025-01-11Prefer ApiKey over api_key in generated URL's (#13342)Niels van Velzen
2024-09-22Let HLS Controller decide if subtitle should be burn ingnattu
Previously, we predicted whether the subtitle should be burned in with transcode reasons, but that was not accurate because the actual transcoding codec is only determined after the client has requested the stream. This pass through the option to the `DynamicHlsController` to handle the subtitle burn-in during the actual transcoding process. Now the client should be responsible to conditionally load the subtitle when this option is enabled.
2024-09-17Rework PR 6203Shadowghost
2024-09-07Add MediaStream.ReferenceFrameRate for problematic video files (#12603)gnattu
Co-authored-by: Nyanmisaka <nst799610810@gmail.com>
2024-07-17Add EnableAudioVbrEncoding to TranscodingProfilegnattu
This will allow the client selectively disable VBR audio when it causes problems. Signed-off-by: gnattu <gnattuoc@me.com>
2024-03-08Lowercase MediaStreamProtocol for backwards compatibilityCody Robibero
2024-03-04Add MediaStreamProtocol enum (#10153)Niels van Velzen
* Add MediaStreamProtocol enum * Add default handling for enum during deserialization --------- Co-authored-by: Cody Robibero <cody@robibe.ro>
2023-07-29Enable nullable for more filesBond_009
2023-06-28Migrate VideoRange and VideoRangeType to EnumShadowghost
2023-04-06Remove redundant castsStepan Goremykin
2023-03-10Merge pull request #9254 from Shadowghost/dvdbdfixBond-009
2023-03-10Apply review suggestionsShadowghost
2023-03-10Fix DLNA playback of DVD and BD foldersShadowghost
2023-02-19Optimize tryparseBond_009
* Don't check for null before * Don't try different formats when not needed (NumberFormat.Integer is the fast path)
2022-12-07Use ArgumentException.ThrowIfNullOrEmptyBond_009
2022-12-05Replace != null with is not nullBond_009
2022-12-05Replace == null with is nullBond_009
2022-09-28Remove redundant using directivesHannes Braun
2022-06-29Merge pull request #7947 from nyanmisaka/video-range-conditionCody Robibero
(cherry picked from commit f1d56aa5cef4c60021e0b29c5d9fb3adf384fda7) Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-03-25Fix DLNA DirectPlayShadowghost
2022-03-06Clean up EnumFlags serializationCody Robibero
2022-03-06Convert TranscodeReason to FlagsIsaac Gordezky
2022-02-14Fix some warningsBond_009
2021-11-08Fix and disable new dotnet6 warningsCody Robibero
2021-09-03Fix some warningsBond_009
2021-08-28Remove more and more warningsCody Robibero
2021-03-22fix isdirectstream defaultcvium
2021-03-22change HLS endpoint defaults to falsecvium
2021-02-20Address commentsBond_009
2021-02-20Enable TreatWarningsAsErrors for MediaBrowser.ModelBond_009
2021-02-13Minor improvementsBond_009
2020-11-20Merge remote-tracking branch 'upstream/master' into fmp4-hlsnyanmisaka
2020-11-11adjust bitrate limit for HLS audio codecsnyanmisaka
2020-10-22[AudioTranscoding] Add FLAC as supported target audio format and be able to ↵Stéphane Senart
define the corresponding target sample rate
2020-10-22[AudioTranscoding] Add FLAC as supported target audio format and be able to ↵Stéphane Senart
define the corresponding target sample rate
2020-09-28Fix SA1513, SA1514, SA1507, and SA1508Matt Montgomery
2020-08-19Fix warningsBond_009
2020-07-05Merge pull request #3505 from Bond-009/minor3Joshua M. Boniface
Minor fixes
2020-07-04Minor fixesBond_009
2020-07-04Use Array.EmptyPatrick Barron
2020-06-16Merge pull request #3343 from telans/comment-stopsBond-009
Add full stop at end of comments (SA1629)
2020-06-16fix SA1513/SA1516telans
2020-06-16Add full stop at end of comments (SA1629)telans
2020-04-05Enable nullabe reference types for MediaBrowser.ModelBond_009