jellyfin/MediaBrowser.Controller/MediaEncoding
jkhsjdhjs 547d97d602
Use eof_action=pass when overlaying subtitles
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-12-13 13:11:42 +01:00
..
BaseEncodingJobOptions.cs Merge pull request #7947 from nyanmisaka/video-range-condition 2022-06-29 01:26:14 -04:00
EncodingHelper.cs Use eof_action=pass when overlaying subtitles 2023-12-13 13:11:42 +01:00
EncodingJobInfo.cs Migrate VideoRange and VideoRangeType to Enum 2023-06-28 12:02:20 +02:00
FilterOptionType.cs Add Vulkan filtering support for AMD VAAPI (Vega/gfx9+) 2022-10-16 23:08:59 +08:00
IAttachmentExtractor.cs Pass CancellationToken to ExtractAllAttachments 2022-03-22 19:17:48 +01:00
IEncodingManager.cs Fix warnings in MediaBrowser.Controller/MediaEncoding directory 2021-08-10 14:29:48 -07:00
ImageEncodingOptions.cs Enable nullable reference types for MediaBrowser.Controller 2021-05-07 00:39:20 +02:00
IMediaEncoder.cs Merge branch 'master' into trickplay 2023-10-18 19:27:05 -07:00
ISubtitleEncoder.cs Backport pull request #8182 from jellyfin/release-10.8.z 2022-08-13 21:46:33 -04:00
JobLogger.cs fix: accessing Standard* of a Process requires manually disposing them afterwards (#10125) 2023-08-20 20:06:57 +02:00
MediaEncoderHelpers.cs Enable nullable reference types for MediaBrowser.Controller 2021-05-07 00:39:20 +02:00
MediaInfoRequest.cs Enable nullable reference types for MediaBrowser.Controller 2021-05-07 00:39:20 +02:00
TranscodingJobType.cs Update StyleCop 2021-12-24 18:28:27 +01:00