aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs
AgeCommit message (Collapse)Author
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-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-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>
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
2023-10-08Join declaration and assignmentStepan Goremykin
2023-10-08Reduce string literal length by using verbatim stringStepan Goremykin
2023-10-07Merge pull request #10321 from feilongfl/masterBond-009
2023-10-06Merge pull request #10135 from 0x25CBFC4F/fix/ffmpeg-probesizeClaus Vium
Fixed probesize argument passing to FFmpeg
2023-10-06simplify the ifClaus Vium
2023-10-06Reduce string allocationsBond_009
Some simple changes to reduce the number of allocated strings
2023-10-06change Substring to AsSpanfei long
Co-authored-by: Bond-009 <bond.009@outlook.com>
2023-10-02add pcm format when codec is pcm_*YuLong Yao
2023-09-25Fix A53 CC SEI breaking H26x_VAAPI hardware encodeNyanmisaka
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2023-09-21Backport pull request #10151 from jellyfin/release-10.8.zNyanmisaka
Fix performance loss of QSV HDR tone-mapping on Windows Original-merge: 757f88b1a20ed493aa6c579a69c37f60092e7b3e Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Bond_009 <bond.009@outlook.com>
2023-09-08Fix AV1 NVENC encoder profile option (#10199)Nyanmisaka
2023-09-02Fix H264 QSV encoding when the bitrate is too lownyanmisaka
h264_qsv expects a bitrate equal or higher than 1000k, or it fails. Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2023-08-27Use the correct trancode pathBond_009
EncodingOptions.TranscodingTempPath can be empty (and is by default), the correct way to get the trancode path is EncodingConfigurationExtensions.GetTranscodePath which falls back to $CACHEPATH/transcodes when EncodingOptions.TranscodingTempPath is null or empty.
2023-08-22== null -> is nullBond_009
2023-08-20Added handling of FFmpeg:probesize variablenull
2023-08-03Disable AMD EFC feature since it's still unstable in upstreamnyanmisaka
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2023-08-03Expand AMD VA-API Vulkan filtering support to Polaris/gfx8nyanmisaka
ROCm OpenCL runtime is not needed anymore when using HDR tone-mapping on Polaris/gfx8. This change requires jellyfin-ffmpeg5 5.1.3-4 or jellyfin-ffmpeg6 6.0-5 or newer versions. Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2023-07-29Only disable the global_header for AMD HEVC encoder (#10045)Nyanmisaka
2023-07-06Merge pull request #9799 from Bond-009/genregexBond-009
2023-07-02Backport pull request #9928 from jellyfin/release-10.8.znyanmisaka
Disable global_header on AMD VA-API encoder Original-merge: a732a28229564a6da7db18bab07bcee75d6f2648 Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2023-06-28Merge branch 'master' into trickplayNick
2023-06-28Merge pull request #9907 from nyanmisaka/av1eBond-009
2023-06-28Merge pull request #9890 from Shadowghost/videorange-reworkBond-009
2023-06-28Use RegexGenerator where possibleBond_009
2023-06-28Migrate VideoRange and VideoRangeType to EnumShadowghost
2023-06-22crobibero styling, format, code suggestionsNick
2023-06-22Move fps filter to GetVideoProcessingFilterParamNick
2023-06-22Trickplay generation, manager, storagenicknsy
2023-06-20Refine SwDec and QSV encodingnyanmisaka
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2023-06-20Add AV1 hardware and software encodingnyanmisaka
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2023-06-19Merge pull request #8744 from DomiStyle/segment-deletionCody Robibero
2023-06-18Removed unused linesnyanmisaka
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2023-06-18Fix #9642 backportnyanmisaka
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2023-06-15Merge branch 'master' into segment-deletionDominik