aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.MediaEncoding
AgeCommit message (Collapse)Author
2024-07-17Enable hardware Trickplay processing pipeline for VideoToolbox (#11510)gnattu
2024-07-17Enable Dolby AC-4 decoder (#11486)gnattu
2024-07-17Merge pull request #11511 from jellyfin/trickplay-keyframe-onlyCody Robibero
2024-07-17Simply AMF Windows checkinggnattu
Co-authored-by: Nyanmisaka <nst799610810@gmail.com>
2024-07-17Simplify condition checkgnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-07-17Force software decoding when hardware decoder does not support keyframe only ↵gnattu
mode but requested by user Signed-off-by: gnattu <gnattuoc@me.com>
2024-07-17Add option to extract keyframe only during trickplay image generationgnattu
This would be significantly faster than decoding every frame, but it does have compatibility issues. Not all decoders support this mode, notably the VP9 decoder, CUVID decoders, and QSV decoders. Some videos with very long key-frame intervals may also perform poorly with this mode, as the image timing could become too inaccurate to reflect the actual frame. Signed-off-by: gnattu <gnattuoc@me.com>
2024-07-16Fix ArgumentNullException while scanning musicBond_009
``` [2024-07-16 18:00:20.517 +02:00] [ERR] [65] MediaBrowser.Providers.Music.AudioMetadataService: Error in "Probe Provider" System.ArgumentNullException: Value cannot be null. (Parameter 'value') at System.ArgumentNullException.Throw(String paramName) at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName) at System.ArgumentException.ThrowNullOrEmptyException(String argument, String paramName) at MediaBrowser.Model.Entities.ProviderIdsExtensions.SetProviderId(IHasProviderIds instance, String name, String value) in /home/loma/dev/jellyfin/MediaBrowser.Model/Entities/ProviderIdsExtensions.cs:line 121 at MediaBrowser.Model.Entities.ProviderIdsExtensions.SetProviderId(IHasProviderIds instance, MetadataProvider provider, String value) in /home/loma/dev/jellyfin/MediaBrowser.Model/Entities/ProviderIdsExtensions.cs:line 151 at MediaBrowser.MediaEncoding.Probing.ProbeResultNormalizer.SetAudioInfoFromTags(MediaInfo audio, Dictionary`2 tags) in /home/loma/dev/jellyfin/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs:line 1322 at MediaBrowser.MediaEncoding.Probing.ProbeResultNormalizer.GetMediaInfo(InternalMediaInfoResult data, Nullable`1 videoType, Boolean isAudio, String path, MediaProtocol protocol) in /home/loma/dev/jellyfin/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs:line 199 ```
2024-07-16Merge pull request #12201 from Bond-009/bdsegmentfullnameBond-009
Use complete paths in BD info
2024-07-15Allow streaming of raw PGS subtitles without transcoding (#12056)David Schulte
2024-07-15Use real temp dir instead of cache dir for temp files (#12226)Bond-009
2024-07-12Prefer tonemapx during HDR image extractiongnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-07-12Add tonemapx to filter listgnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-07-01Use complete paths in BD infoBond_009
This way we don't need to find the complete path later
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-23Backport pull request #12065 from jellyfin/release-10.9.zRivenlalala
Make m2ts extension case-insensitive Original-merge: f2a5ccf10206218e1084ee53aaa7284b7be3ddec Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-23Backport pull request #12046 from jellyfin/release-10.9.zgnattu
Fix mpeg-ts detection Original-merge: 78eb9b2f78edcec869845bce1a96528985a66f12 Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-23Backport pull request #12031 from jellyfin/release-10.9.znyanmisaka
Fix video embedded image detection Original-merge: 37b7e953f73532aad5e87dd62d8b6b63d8e52ed6 Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-01Backport pull request #11857 from jellyfin/release-10.9.zgnattu
Fix ffprobe -user_agent parameter Original-merge: d0336cd67edb3c70b9a0ec03a5ef1f991e3c9b84 Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-01Backport pull request #11812 from jellyfin/release-10.9.zgnattu
Extract media attachment one by one if the filename appears to be a path Original-merge: 45e8872cc086fe2b086e209a08839b3ff689ecf3 Merged-by: crobibero <cody@robibe.ro> 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 #11790 from jellyfin/release-10.9.zNotSaifA
Trickplay: kill ffmpeg when task is cancelled Original-merge: 4a344bebc08303edf888000bf52e64b1a4e8036f Merged-by: crobibero <cody@robibe.ro> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-25Backport pull request #11781 from jellyfin/release-10.9.zBond-009
Retain order blu-ray segments Original-merge: 2ddf2a7866a9010191de1057f7c7bbbc3cb6e93d Merged-by: Bond-009 <bond.009@outlook.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-17Backport pull request #11675 from jellyfin/release-10.9.zgnattu
Fix quality parameter for vaapi_mjpeg Original-merge: ddd5c302b4fb7b07a5a46aa6d0026d9b37aa9b2c Merged-by: nielsvanvelzen <nielsvanvelzen@users.noreply.github.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-07Fix broken hardware encoder and filter for trickplay (#11506)gnattu
2024-05-05Clean up synchronization (#11458)Mark Cilia Vincenti
2024-04-24Use StringSplitOptions.TrimEntries where possible (#11421)Bond-009
2024-04-17fix: don't extract external sub (#11373)gnattu
2024-04-14Write JSON directly to logfileBond_009
Can't be worse than serializing to a string, concatenating and converting to utf8, right?
2024-04-08Fix apple audio codecs (#11315)gnattu
2024-04-02fix: rtsp live stream ffprobe timeout (#11279)Caidy
2024-03-28fix: move trickplay specific option into TrickplayOptions (#11229)gnattu
2024-03-26fix: prefer cli ffmpeg path over config file (#11219)gnattu
2024-03-25Fix sar->dar typo in #11185 (#11210)Nyanmisaka
2024-03-24fix: use Metal tonemap instead of OpenCL (#11198)gnattu
2024-03-19fix: make sure the dimension is divisible by two for zscale (#11185)gnattu
2024-03-18Merge pull request #11161 from nyanmisaka/fix-segment-deletionCody Robibero
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2024-03-17Merge pull request #11165 from vessd/transcoding-exceptionBond-009
Catch delete encoded media file exceptions
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-16Catch delete file exceptionsSergey Veselkov
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-15Add LSR/CITY to artist whitelistJoe Rogers
2024-03-09Merge pull request #11129 from crobibero/extract-concatBond-009
Specify file as concat when extracting attachments
2024-03-09Merge pull request #11014 from gnattu/vf-videotoolboxCody Robibero
2024-03-08Specify file as concat when extracting attachmentsCody Robibero
2024-03-03Extract and cache all media attachments in bulk (#11029)Attila Szakacs
Similar to https://github.com/jellyfin/jellyfin/pull/10884 --- Jellyfin clients need fonts for subtitles, and each font is a separate attachment, which causes a lot of re-reads of the file. Certain contents, like anime in a lot of cases, contain 50-80 different attachments. Spawning 80 ffmpeg processes at the same time on the same file might cause swapping on slower HDDs and can bring disk subsystem to a crawl. (For more info, see https://github.com/jellyfin/jellyfin/3215) This change helps a lot in this scenario. Signed-off-by: Attila Szakacs <szakacs.attila96@gmail.com>
2024-02-28feat: fully support videotoolbox hardware filtersgnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-02-25Do not dispose the ffmpeg processShadowghost