jellyfin/MediaBrowser.Controller/MediaEncoding
gnattu 6f78ac2ff3
Use more accurate rounding in GetFixedOutputSize (#11435)
* Use more accurate rounding in GetFixedOutputSize

Signed-off-by: gnattu <gnattuoc@me.com>

* Force trickplay thumbnails to have even width

Signed-off-by: gnattu <gnattuoc@me.com>

* Use Convert.ToInt32

Signed-off-by: gnattu <gnattuoc@me.com>

* Force video size as thumbnail size if the trickplay width setting is larger

This will fix an issue when the trickplay setting contains a very huge width, but the video has a lower resolution than that setting. Our scaling filter logic will not do any upscale, and we have to force to use the video width

Signed-off-by: gnattu <gnattuoc@me.com>

---------

Signed-off-by: gnattu <gnattuoc@me.com>
2024-04-30 13:41:46 +02:00
..
BaseEncodingJobOptions.cs
EncodingHelper.cs Use more accurate rounding in GetFixedOutputSize (#11435) 2024-04-30 13:41:46 +02:00
EncodingJobInfo.cs
FilterOptionType.cs
IAttachmentExtractor.cs
IEncodingManager.cs
IMediaEncoder.cs fix: move trickplay specific option into TrickplayOptions (#11229) 2024-03-28 09:26:01 -06:00
ISubtitleEncoder.cs
ITranscodeManager.cs
JobLogger.cs
MediaInfoRequest.cs
TranscodingJob.cs
TranscodingJobType.cs
TranscodingSegmentCleaner.cs Apply suggestions from code review 2024-03-17 20:45:00 +08:00
TranscodingThrottler.cs Add sanity check for ThrottleDelaySeconds 2024-03-16 07:35:05 +08:00