aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.MediaEncoding
AgeCommit message (Collapse)Author
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-30Add HWA video transpose support (+-90/180)nyanmisaka
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-03-30Add json parser for video rotation side datanyanmisaka
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
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
2024-02-15feat: add hw scale filter for videotoolboxgnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-02-14Merge pull request #10990 from Shadowghost/bdmv-fixesBond-009
BDMV fixes
2024-02-10Escape subtitle extraction input path (#10992)felix920506
2024-02-11Merge pull request #10772 from dmitrylyzo/normalize-mkv-webmBond-009
Discard WebM if there is an unsupported codec
2024-02-10Order files before creating concat configShadowghost
2024-02-10Use concat config for BDMV/DVD folder attachment extractionShadowghost
2024-02-03Merge changesMark Cilia Vincenti
2024-02-02Merge pull request #10884 from alltilla/extract-all-subtitlesCody Robibero
Extract all subtitle streams simultaneously
2024-02-01Register RKMPP HW codecs and filtersnyanmisaka
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-01-31Add alltilla to CONTRIBUTORS.mdAttila Szakacs
Signed-off-by: Attila Szakacs <szakacs.attila96@gmail.com>
2024-01-28Fix the display aspect ratio of PGSSUB subtitle burn-innyanmisaka
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-01-18Extract all subtitle streams simultaneouslyAttila Szakacs
Extracting a subtitle stream is a disk I/O bottlenecked operation as ffmpeg has to read through the whole file, but usually there is nothing CPU intensive to do. If a file has multiple subtitle streams, and we want to extract more of them, extracting them one-by-one results in reading the whole file again and again. However ffmpeg can extract multiple streams at once. We can optimize this by extracting the subtitle streams all at once when only one of them gets queried, then we will have all of them cached for later use. It is useful for people switching subtitles during playback. It is even more useful for people who extract all the subtitle streams in advance, for example with the "Subtitle Extract" plugin. In this case we reduce the extraction time significantly based on the number of subtitle streams in the files, which can be 5-10 in many cases. Signed-off-by: Attila Szakacs <szakacs.attila96@gmail.com>
2024-01-18fix: add av1 to webm Dmitry Lyzo
At least AV1 in WebM is supported by Chrome and Firefox.
2024-01-17Use helper function to compare guid (#10825)Cody Robibero
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.