aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs
AgeCommit message (Collapse)Author
2024-07-30Add RFC7845 downmix algorithm (#12300)gnattu
2024-07-23Merge branch 'master' into fix-hwa-video-rotationNyanmisaka
2024-07-21Merge pull request #11492 from jellyfin/better-vbr-settingsBond-009
Add better audio VBR settings
2024-07-17Enable hardware Trickplay processing pipeline for VideoToolbox (#11510)gnattu
2024-07-17Force channel to be >= 1gnattu
Co-authored-by: Cody Robibero <cody@robibe.ro>
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-07-17Use better audio VBR settingsgnattu
LAME's VBR mode only has advantage over a certain bitrate range. For very low and very high bitrate, use the ABR mode instead. aac_at's CVBR mode produces very good quality and is not worse than its TVBR mode in blind testing. Use this mode for convenience. The ffmpeg native aac encoder will have quality regression with its VBR mode. Always use CBR mode for ffmpeg's native aac encoder. Signed-off-by: gnattu <gnattuoc@me.com>
2024-07-15Use real temp dir instead of cache dir for temp files (#12226)Bond-009
2024-07-12Correctly specify format for tonemapgnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-07-12Add SIMD optimized software tonemap supportgnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-06-23Backport pull request #12149 from jellyfin/release-10.9.znyanmisaka
Fix MicroDVD being recognized as DVDSUB subtitles Original-merge: 6010bc01c321ea85935314191f5f8c19fd4b3bfb Merged-by: crobibero <cody@robibe.ro> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-20Merge pull request #12124 from gnattu/enable-hi10p-vtBond-009
Enable H.264 Hi10P hardware decode for Apple Silicon on macOS >=14.6
2024-06-18Enable H.264 Hi10P hardware decode for Apple Silicon on macOS >=14.6gnattu
macOS 14.6 beta and macOS 15 beta enables h264 10bit hardware decode on Apple Silicon. Signed-off-by: gnattu <gnattuoc@me.com>
2024-06-01Backport pull request #11894 from jellyfin/release-10.9.zgnattu
Escape tmpConcatPath for DVD and BD folder Original-merge: 26419c64f52895c61e90f2fe5ab6fbd92a117a76 Merged-by: crobibero <cody@robibe.ro> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-01Backport pull request #11851 from jellyfin/release-10.9.zgnattu
Relax remuxing requirement for LiveTV Original-merge: 0392daa10397c40d62e2068cd85e030d9ca2d898 Merged-by: crobibero <cody@robibe.ro> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-25Backport pull request #11830 from jellyfin/release-10.9.znyanmisaka
Fix the IOSurf error in QSV transcoding Original-merge: 5e7514243c71f68afe5e4403c0ee702f63b94b60 Merged-by: crobibero <cody@robibe.ro> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-25Backport pull request #11799 from jellyfin/release-10.9.znyanmisaka
Disable VA-VK interop on not supported kernel versions Original-merge: eb437e7163b5175cfe9f1123f7884546ef2e3037 Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-25Backport pull request #11798 from jellyfin/release-10.9.zgnattu
Recalculate trickplay image height for anamorphic videos Original-merge: d9232e05f1280f8f4315ca5b8fc92ddc4a71a96a Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-25Backport pull request #11774 from jellyfin/release-10.9.zBond-009
Apply audio boost when downmixing regardless of downmixalgo Original-merge: 06a5ddda5e6123dab6608f8907c8976a92e398e2 Merged-by: nielsvanvelzen <nielsvanvelzen@users.noreply.github.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-25Backport pull request #11754 from jellyfin/release-10.9.zShadowghost
Fix BD/DVD folder chapter image extraction Original-merge: 52be8be28fa27c0c7b4f53dc32e00ec0543616a9 Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-25Backport pull request #11713 from jellyfin/release-10.9.zgnattu
Fix VideoToolbox H264 constrained profile option Original-merge: d608f1e3cc55f59ad5445384805d8cf43a98f8a7 Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-17Backport pull request #11689 from jellyfin/release-10.9.zgnattu
Workaround ffmpeg keyframe seeking for external subtitles Original-merge: 02937873b1f4e132a50d21fd2eca4c72160dd286 Merged-by: nielsvanvelzen <nielsvanvelzen@users.noreply.github.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
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-30Add HWA video transpose support (+-90/180)nyanmisaka
Signed-off-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-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-16Set input readrate for using SegmentDeletion with stream-copynyanmisaka
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>