jellyfin/MediaBrowser.Controller
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
..
Authentication Reduce log spam on failed logins 2023-08-21 19:09:32 +02:00
BaseItemManager
Channels Reduce usage of GetAwaiter().GetResult() 2023-03-14 12:05:49 +01:00
Chapters
ClientEvent Multiple Stream changes 2023-10-11 18:32:57 +02:00
Collections
Configuration
Devices
Drawing Merge branch 'master' into trickplay 2023-10-18 19:27:05 -07:00
Dto
Entities Merge branch 'master' into feat/book-persons 2023-11-13 18:07:23 +01:00
Events
Extensions
IO
Library Convert CollectionType, SpecialFolderType to enum (#9764) 2023-11-09 14:00:29 -07:00
LiveTv Merge branch 'master' into media-type 2023-11-09 22:03:55 -07:00
Lyrics
MediaEncoding Use eof_action=pass when overlaying subtitles 2023-12-13 13:11:42 +01:00
Net Make files readonly 2023-10-08 00:40:58 +02:00
Persistence
Playlists Convert string MediaType to enum MediaType 2023-10-10 15:57:15 -06:00
Plugins Add IServerApplicationHost parameter to IPluginServiceRegistrator 2023-11-10 07:43:46 -05:00
Properties
Providers Convert ItemSortBy to enum (#9765) 2023-11-09 14:00:13 -07:00
QuickConnect
Resolvers Convert CollectionType, SpecialFolderType to enum (#9764) 2023-11-09 14:00:29 -07:00
Security
Session Merge branch 'master' into media-type 2023-11-09 22:03:55 -07:00
Sorting Convert ItemSortBy to enum (#9765) 2023-11-09 14:00:13 -07:00
Subtitles
SyncPlay
Trickplay
TV Fix suggestions from review 2021-05-15 15:33:50 -06:00
IDisplayPreferencesManager.cs
IServerApplicationHost.cs
IServerApplicationPaths.cs
ISystemManager.cs
MediaBrowser.Controller.csproj Update deps 2023-11-16 00:50:48 +01:00