aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/MediaEncoding
AgeCommit message (Collapse)Author
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
2023-12-21Add ITranscodeManager servicePatrick Barron
2023-12-21Rename and clean up TranscodingJobPatrick Barron
2023-12-21Move TranscodingJobDto and TranscodingThrottler to ControllerPatrick Barron
2023-12-13Use `eof_action=pass` when overlaying subtitlesjkhsjdhjs
The previous behavior using `eof_action=endall` and `shortest=1` would end the video stream if one of the input stream (video, subtitle) ends. In some cases the duration of the overlayed subtitles is shorter than the video stream, causing the output to end when the subtitles end and dropping the remaining video stream. This commit changes this behavior so `eof_action=pass` is used instead, which continues passing the video stream through even if the subtitles end earlier [1]. `shortest=1` is also removed, as this option implies `eof_action=endall`. If the subtitle stream has a higher duration than the video stream, the output will also end with the video stream without `shortest=1`, as the video stream is the primary input to the `overlay` filter. Fix #10698 [1] https://ffmpeg.org/ffmpeg-filters.html#Options-for-filters-with-several-inputs-_0028framesync_0029
2023-11-14Fix warningsBond_009
2023-10-22Fix mismatch between intel VAAPI UMD/KMD in rare casesnyanmisaka
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2023-10-18Merge branch 'master' into trickplayNick
2023-10-12Merge branch 'master' into fix-resharper-warningsStepan Goremykin
# Conflicts: # Emby.Server.Implementations/Net/SocketFactory.cs # RSSDP/SsdpCommunicationsServer.cs # RSSDP/SsdpDeviceLocator.cs # RSSDP/SsdpDevicePublisher.cs
2023-10-08Merge pull request #10348 from Bond-009/stringsBond-009