aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/MediaEncoding/TranscodingSegmentCleaner.cs
AgeCommit message (Collapse)Author
13 daysBackport pull request #18186 from jellyfin/release-12.zklizas
Fix segment cleaner deleting segments ahead of playback when remuxing MKV Original-merge: 3acc9c8443d7ee445c4fe015f2977a47d4ea57ac Merged-by: crobibero <cody@robibe.ro> Backported-by: Cody Robibero <cody@robibe.ro>
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-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>