aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/MediaEncoding
AgeCommit message (Collapse)Author
2024-04-30Use more accurate rounding in GetFixedOutputSize (#11435)gnattu
* 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-22Only apply custom downmix to 5.1 audios (#11401)gnattu
2024-04-12Enable more warnings as errors (#11288)Bond-009
2024-04-08Fix apple audio codecs (#11315)gnattu
2024-03-30fix: don't do empty hwupload for VT (#11235)gnattu
2024-03-30fix: unset qmin and qmax for vt (#11246)gnattu
Co-authored-by: Nyanmisaka <nst799610810@gmail.com>
2024-03-28Fix the broken codecs shifting (#11243)Nyanmisaka
2024-03-28fix: forward port patch for GHSA-866x-wj5j-2vf4 (#11228)gnattu
2024-03-28fix: move trickplay specific option into TrickplayOptions (#11229)gnattu
2024-03-26fix: remove legacy codecs (#11217)gnattu
2024-03-24fix: use Metal tonemap instead of OpenCL (#11198)gnattu
2024-03-24fix: map encoder preset to quality setting for VideoToolbox (#11205)gnattu
2024-03-23Add new VideoRangeTypes to fully support DoVi on webOS (#10469)vedant
2024-03-17Bump the required minimum ffmpeg version to 4.4nyanmisaka
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-03-17Apply suggestions from code reviewnyanmisaka
Drop the unnecessary initial capacity from the list. Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-03-17Apply suggestions from code reviewnyanmisaka
Drop excludeFilePaths and lower the log level to debug to avoid spamming in the log file. Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-03-16Apply suggestions from code reviewnyanmisaka
Add excludeFilePaths to skip segment files in which IOException occurred. Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-03-16Set input readrate for using SegmentDeletion with stream-copynyanmisaka
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-03-16Add sanity check for ThrottleDelaySecondsnyanmisaka
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-03-16Add TranscodingSegmentCleaner to replace ffmpeg's hlsenc deletionnyanmisaka
FFmpeg deletes segments based on its own transcoding progress, but we need to delete segments based on client download progress. Since disk and GPU speeds vary, using hlsenc's built-in deletion will result in premature deletion of some segments. As a consequence, the server has to constantly respin new ffmpeg instances, resulting in choppy video playback. Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-03-09Merge pull request #11014 from gnattu/vf-videotoolboxCody Robibero
2024-03-09fix: convert all non-yuv420 inputs to nv12gnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-03-09fix: force a pixel format for 10-bit inputsgnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-03-09fix: no need to check filters prematurelygnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-03-08fix: also check if we are doing scalinggnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-03-08fix: code clean upgnattu
Co-authored-by: nyanmisaka <nst799610810@gmail.com> Signed-off-by: gnattu <gnattuoc@me.com>
2024-02-29fix: stack overflowgnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-02-29fix: code stylegnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-02-28feat: fully support videotoolbox hardware filtersgnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-02-20Fix the preproc filters for dvbsub burn-in (#11034)Nyanmisaka
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-02-16fix: use hardware videotoolbox filter even only scale is availablegnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-02-16fix: use hardware filter option name explicitlygnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-02-16fix: correctly set the supported formats of videotoolbox tone mappinggnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-02-16fix: typognattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-02-16feat: separate videotoolbox tone mapping optiongnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-02-15fix: code stylegnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-02-15feat: add tone mapping for videotoolboxgnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-02-15feat: add hw scale filter for videotoolboxgnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-02-10Fix file extension based on containerShadowghost
2024-02-07Merge pull request #10969 from barronpm/progress-cleanupBond-009
Progress cleanup
2024-02-06Remove some unused media encoding codePatrick Barron
2024-02-05Add EqualsAny for VideoCodecTag conditionnyanmisaka
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-02-03Merge changesMark Cilia Vincenti
2024-02-01Add full HWA transcoding pipeline for RKMPPnyanmisaka
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-01-28Use video framerate for ASS subtitle HW burn-innyanmisaka
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-01-28Fix the display aspect ratio of PGSSUB subtitle burn-innyanmisaka
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-01-14Updated contributors, upgraded to AsyncKeyedLocker 6.3.0 which now supports ↵Mark Cilia Vincenti
non-keyed locking using a similar interface and changed SemaphoreSlim-based locks to using AsyncNonKeyedLocker.
2024-01-14Merge branch 'master' into AsyncKeyedLock-migrationMark Cilia Vincenti
2024-01-04Use -noauto{scale,rotate} for disabling auto filters (#10810)Nyanmisaka
`-auto{scale,rotate} 0` has been dropped in upstream FFmpeg. Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-01-03AsyncKeyedLock migrationMark Cilia Vincenti