jellyfin / jellyfin-android

Android Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
1.54k stars 249 forks source link

[Issue]: Android subtitles out of sync #648

Closed evilboy1102 closed 2 years ago

evilboy1102 commented 2 years ago

Please describe your bug

When use android web player (default) local .srt sub same folder with movie file

Subtitle will not correctly depend on file loading time and when you forward or backward, when i use other player (mx player, vlc) it work perfectly

But the problem is only webplayer have sync play features, i used it to watching movie with friend, PC web version and MPV Shim work perfectly.

//Used chrome browser on android same problem with app too

Jellyfin Version

10.8.0

if other:

No response

Environment

- OS: Windows
- Virtualization: N/A
- Clients: Android
- Browser: N/A
- FFmpeg Version: Lasted
- Playback Method: Direct Stream and Transcode
- Hardware Acceleration: N/A
- Plugins: N/A
- Reverse Proxy: N/A
- Base URL: N/A
- Networking: Local and Internet
- Storage: Local

Jellyfin logs

[2022-04-22 19:23:36.110 +07:00] [INF] [1] Main: Jellyfin version: "10.8.0"
[2022-04-22 19:23:36.124 +07:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\ProgramData\Jellyfin\Server\log]"]
[2022-04-22 19:23:36.126 +07:00] [INF] [1] Main: Arguments: ["C:\Program Files\Jellyfin\Server\jellyfin.dll", "--datadir", "C:\ProgramData\Jellyfin\Server"]
[2022-04-22 19:23:36.127 +07:00] [INF] [1] Main: Operating system: "Windows"
[2022-04-22 19:23:36.128 +07:00] [INF] [1] Main: Architecture: X64
[2022-04-22 19:23:36.129 +07:00] [INF] [1] Main: 64-Bit Process: True
[2022-04-22 19:23:36.130 +07:00] [INF] [1] Main: User Interactive: True
[2022-04-22 19:23:36.130 +07:00] [INF] [1] Main: Processor count: 8
[2022-04-22 19:23:36.131 +07:00] [INF] [1] Main: Program data path: "C:\ProgramData\Jellyfin\Server"
[2022-04-22 19:23:36.131 +07:00] [INF] [1] Main: Web resources path: "C:\Program Files\Jellyfin\Server\jellyfin-web"
[2022-04-22 19:23:36.132 +07:00] [INF] [1] Main: Application directory: "C:\Program Files\Jellyfin\Server\"
[2022-04-22 19:23:36.482 +07:00] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "C:\ProgramData\Jellyfin\Server\cache"
[2022-04-22 19:23:36.635 +07:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[2022-04-22 19:23:37.582 +07:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2022-04-22 19:23:37.583 +07:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : "[]"
[2022-04-22 19:23:37.584 +07:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2022-04-22 19:23:37.592 +07:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: "[]"
[2022-04-22 19:23:37.593 +07:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: "[]"
[2022-04-22 19:23:39.733 +07:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "TMDb" "10.8.0.0"
[2022-04-22 19:23:39.733 +07:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Studio Images" "10.8.0.0"
[2022-04-22 19:23:39.734 +07:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "OMDb" "10.8.0.0"
[2022-04-22 19:23:39.735 +07:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "MusicBrainz" "10.8.0.0"
[2022-04-22 19:23:39.735 +07:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "AudioDB" "10.8.0.0"
[2022-04-22 19:23:39.829 +07:00] [INF] [1] Main: Kestrel listening on "Any IP4 Address"
[2022-04-22 19:23:40.269 +07:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Running startup tasks
[2022-04-22 19:23:40.300 +07:00] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for "Trích Xuất Ảnh Phân Cảnh" set to fire at 2022-04-23 02:00:00.000 +07:00, which is 06:36:19.6993877 from now.
[2022-04-22 19:23:40.439 +07:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version "4.4.1"
[2022-04-22 19:23:40.494 +07:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available "decoders": ["libdav1d", "av1", "av1_cuvid", "av1_qsv", "h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4", "vc1_qsv", "vc1_cuvid", "vp8", "libvpx", "vp8_cuvid", "vp8_qsv", "vp9", "libvpx-vp9", "vp9_cuvid", "vp9_qsv", "aac", "ac3", "flac", "mp3"]
[2022-04-22 19:23:40.535 +07:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available "encoders": ["libx264", "h264_amf", "h264_nvenc", "h264_qsv", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "mpeg4", "msmpeg4", "libvpx", "libvpx-vp9", "aac", "ac3", "flac", "libmp3lame", "libopus", "libvorbis", "srt"]
[2022-04-22 19:23:40.574 +07:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available filters: ["deinterlace_qsv", "hwupload_cuda", "overlay_opencl", "overlay_qsv", "overlay_cuda", "scale_cuda", "scale_opencl", "scale_qsv", "tonemap_cuda", "tonemap_opencl", "vpp_qsv", "yadif_cuda", "zscale", "alphasrc"]
[2022-04-22 19:23:40.715 +07:00] [WRN] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Filter: "overlay_vaapi" with option "Action to take when encountering EOF from secondary input" is not available
[2022-04-22 19:23:40.743 +07:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["cuda", "dxva2", "qsv", "d3d11va", "opencl"]
[2022-04-22 19:23:40.772 +07:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: "ffmpeg"
[2022-04-22 19:23:40.777 +07:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: ServerId: "3bd6441860a54cb7bc5c85fc4d59a31c"
[2022-04-22 19:23:40.965 +07:00] [INF] [1] Emby.Dlna.Main.DlnaEntryPoint: Registering publisher for "urn:schemas-upnp-org:device:MediaServer:1" on "192.168.0.3/24"
[2022-04-22 19:23:40.976 +07:00] [INF] [1] Emby.Dlna.Main.DlnaEntryPoint: Registering publisher for "urn:schemas-upnp-org:device:MediaServer:1" on "127.0.0.1/8"
[2022-04-22 19:23:40.978 +07:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all pre-startup entry points in 0:00:00.1974235
[2022-04-22 19:23:40.979 +07:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete
[2022-04-22 19:23:41.084 +07:00] [INF] [14] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "C:\Movies"
[2022-04-22 19:23:41.124 +07:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all post-startup entry points in 0:00:00.1444178
[2022-04-22 19:23:41.125 +07:00] [INF] [1] Main: Startup complete 0:00:05.7219921
[2022-04-22 19:23:42.658 +07:00] [INF] [10] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.14" request
[2022-04-22 19:23:42.704 +07:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"AccessSchedule"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-04-22 19:23:42.712 +07:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"ActivityLog"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-04-22 19:23:42.713 +07:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"CustomItemDisplayPreferences"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-04-22 19:23:42.714 +07:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"DisplayPreferences"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-04-22 19:23:42.715 +07:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"HomeSection"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-04-22 19:23:42.716 +07:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"ImageInfo"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-04-22 19:23:42.717 +07:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"ItemDisplayPreferences"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-04-22 19:23:42.718 +07:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"Permission"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-04-22 19:23:42.719 +07:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"Preference"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-04-22 19:23:42.720 +07:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"ApiKey"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-04-22 19:23:42.720 +07:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"Device"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-04-22 19:23:42.721 +07:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"DeviceOptions"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-04-22 19:23:42.722 +07:00] [WRN] [9] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"User"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2022-04-22 19:23:43.344 +07:00] [INF] [19] Emby.Server.Implementations.ScheduledTasks.TaskManager: "StartupTrigger" fired for task: "Cập Nhật Plugins"
[2022-04-22 19:23:43.345 +07:00] [INF] [19] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "PluginUpdateTask"
[2022-04-22 19:23:43.347 +07:00] [INF] [9] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Cập Nhật Plugins"
[2022-04-22 19:23:45.909 +07:00] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Cập Nhật Plugins" Completed after 0 minute(s) and 2 seconds
[2022-04-22 19:23:45.914 +07:00] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[2022-04-22 19:23:48.841 +07:00] [INF] [23] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "127.0.0.1" request
[2022-04-22 19:23:52.396 +07:00] [INF] [19] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "127.0.0.1" closed
[2022-04-22 19:23:53.254 +07:00] [INF] [9] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "evilboy1102". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2022-04-22 19:23:53.299 +07:00] [INF] [9] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Anonymous Profile", Path="C:\Movies\The.Godfather.Part.III.1990.720p.BluRay.x264-ESiR.mkv", AudioStreamIndex=1, SubtitleStreamIndex=6 ) => ( PlayMethod=Transcode, TranscodeReason=VideoCodecNotSupported ) "media:/videos/177c6bbc-e4e7-c039-46b5-d838476faf42/master.m3u8?MediaSourceId=177c6bbce4e7c03946b5d838476faf42&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=119616000&AudioBitrate=384000&MaxFramerate=23.976042&MaxWidth=2400&api_key=<token>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=cf3921466eb7d867d0b6798f58084106&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&h264-level=32&h264-videobitdepth=8&h264-profile=high&TranscodeReasons=VideoCodecNotSupported"
[2022-04-22 19:23:53.690 +07:00] [INF] [23] Jellyfin.Api.Helpers.TranscodingJobHelper: "ffmpeg" "-fflags +genpts -f matroska,webm  -i file:\"C:\Movies\The.Godfather.Part.III.1990.720p.BluRay.x264-ESiR.mkv\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -start_at_zero -codec:a:0 aac -ac 2 -ab 384000 -af \"volume=2\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type mpegts -start_number 0 -hls_segment_filename \"C:\ProgramData\Jellyfin\Server\transcodes\f2add08454d0e0ba27aa2b18e4a258f4%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"C:\ProgramData\Jellyfin\Server\transcodes\f2add08454d0e0ba27aa2b18e4a258f4.m3u8\""
[2022-04-22 19:23:54.277 +07:00] [WRN] [19] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.0.3:8096/videos/177c6bbc-e4e7-c039-46b5-d838476faf42/hls1/main/0.ts?DeviceId=9e8f4673937c01fe&MediaSourceId=177c6bbce4e7c03946b5d838476faf42&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=119616000&AudioBitrate=384000&MaxFramerate=23.976042&MaxWidth=2400&PlaySessionId=a4d2a61c535b4876a45c406fe37cd3ab&api_key=770f89a2669541b7bcef50d5b8e0d59f&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=cf3921466eb7d867d0b6798f58084106&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&h264-level=32&h264-videobitdepth=8&h264-profile=high&TranscodeReasons=VideoCodecNotSupported&runtimeTicks=0&actualSegmentLengthTicks=60000000" to "192.168.0.14" in 0:00:00.6068175 with Status Code 200
[2022-04-22 19:23:54.791 +07:00] [INF] [18] Jellyfin.Api.Helpers.TranscodingJobHelper: Stopping ffmpeg process with q command for "C:\ProgramData\Jellyfin\Server\transcodes\f2add08454d0e0ba27aa2b18e4a258f4.m3u8"
[2022-04-22 19:23:54.885 +07:00] [INF] [18] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 0
[2022-04-22 19:23:54.887 +07:00] [INF] [18] Jellyfin.Api.Helpers.TranscodingJobHelper: "ffmpeg" "-ss 00:28:42.000 -fflags +genpts -f matroska,webm  -i file:\"C:\Movies\The.Godfather.Part.III.1990.720p.BluRay.x264-ESiR.mkv\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -start_at_zero -codec:a:0 aac -ac 2 -ab 384000 -af \"volume=2\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type mpegts -start_number 287 -hls_segment_filename \"C:\ProgramData\Jellyfin\Server\transcodes\f2add08454d0e0ba27aa2b18e4a258f4%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"C:\ProgramData\Jellyfin\Server\transcodes\f2add08454d0e0ba27aa2b18e4a258f4.m3u8\""
[2022-04-22 19:23:56.889 +07:00] [INF] [26] Jellyfin.Api.Helpers.TranscodingJobHelper: Stopping ffmpeg process with q command for "C:\ProgramData\Jellyfin\Server\transcodes\f2add08454d0e0ba27aa2b18e4a258f4.m3u8"
[2022-04-22 19:23:56.948 +07:00] [INF] [26] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 0
[2022-04-22 19:23:56.949 +07:00] [INF] [26] Jellyfin.Api.Helpers.TranscodingJobHelper: "ffmpeg" "-ss 00:15:12.000 -fflags +genpts -f matroska,webm  -i file:\"C:\Movies\The.Godfather.Part.III.1990.720p.BluRay.x264-ESiR.mkv\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -start_at_zero -codec:a:0 aac -ac 2 -ab 384000 -af \"volume=2\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type mpegts -start_number 152 -hls_segment_filename \"C:\ProgramData\Jellyfin\Server\transcodes\f2add08454d0e0ba27aa2b18e4a258f4%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"C:\ProgramData\Jellyfin\Server\transcodes\f2add08454d0e0ba27aa2b18e4a258f4.m3u8\""
[2022-04-22 19:24:11.032 +07:00] [INF] [32] Jellyfin.Api.Helpers.TranscodingJobHelper: Stopping ffmpeg process with q command for "C:\ProgramData\Jellyfin\Server\transcodes\f2add08454d0e0ba27aa2b18e4a258f4.m3u8"
[2022-04-22 19:24:11.073 +07:00] [INF] [32] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 0
[2022-04-22 19:24:11.090 +07:00] [INF] [32] Jellyfin.Api.Helpers.TranscodingJobHelper: "ffmpeg" "-ss 00:11:48.000 -fflags +genpts -f matroska,webm  -i file:\"C:\Movies\The.Godfather.Part.III.1990.720p.BluRay.x264-ESiR.mkv\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -start_at_zero -codec:a:0 aac -ac 2 -ab 384000 -af \"volume=2\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type mpegts -start_number 118 -hls_segment_filename \"C:\ProgramData\Jellyfin\Server\transcodes\f2add08454d0e0ba27aa2b18e4a258f4%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"C:\ProgramData\Jellyfin\Server\transcodes\f2add08454d0e0ba27aa2b18e4a258f4.m3u8\""
[2022-04-22 19:24:11.118 +07:00] [WRN] [30] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.0.3:8096/videos/177c6bbc-e4e7-c039-46b5-d838476faf42/hls1/main/300.ts?DeviceId=9e8f4673937c01fe&MediaSourceId=177c6bbce4e7c03946b5d838476faf42&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=119616000&AudioBitrate=384000&MaxFramerate=23.976042&MaxWidth=2400&PlaySessionId=a4d2a61c535b4876a45c406fe37cd3ab&api_key=770f89a2669541b7bcef50d5b8e0d59f&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=cf3921466eb7d867d0b6798f58084106&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&h264-level=32&h264-videobitdepth=8&h264-profile=high&TranscodeReasons=VideoCodecNotSupported&runtimeTicks=18000000000&actualSegmentLengthTicks=60000000" to "192.168.0.14" in 0:00:02.3025932 with Status Code 200
[2022-04-22 19:24:22.767 +07:00] [INF] [33] Jellyfin.Api.Helpers.TranscodingJobHelper: Stopping ffmpeg process with q command for "C:\ProgramData\Jellyfin\Server\transcodes\f2add08454d0e0ba27aa2b18e4a258f4.m3u8"
[2022-04-22 19:24:22.800 +07:00] [INF] [33] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 0
[2022-04-22 19:24:22.801 +07:00] [INF] [33] Jellyfin.Api.Helpers.TranscodingJobHelper: "ffmpeg" "-ss 00:05:00.000 -fflags +genpts -f matroska,webm  -i file:\"C:\Movies\The.Godfather.Part.III.1990.720p.BluRay.x264-ESiR.mkv\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -start_at_zero -codec:a:0 aac -ac 2 -ab 384000 -af \"volume=2\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type mpegts -start_number 50 -hls_segment_filename \"C:\ProgramData\Jellyfin\Server\transcodes\f2add08454d0e0ba27aa2b18e4a258f4%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"C:\ProgramData\Jellyfin\Server\transcodes\f2add08454d0e0ba27aa2b18e4a258f4.m3u8\""
[2022-04-22 19:24:23.275 +07:00] [WRN] [33] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.0.3:8096/videos/177c6bbc-e4e7-c039-46b5-d838476faf42/hls1/main/50.ts?DeviceId=9e8f4673937c01fe&MediaSourceId=177c6bbce4e7c03946b5d838476faf42&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=119616000&AudioBitrate=384000&MaxFramerate=23.976042&MaxWidth=2400&PlaySessionId=a4d2a61c535b4876a45c406fe37cd3ab&api_key=770f89a2669541b7bcef50d5b8e0d59f&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=cf3921466eb7d867d0b6798f58084106&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&h264-level=32&h264-videobitdepth=8&h264-profile=high&TranscodeReasons=VideoCodecNotSupported&runtimeTicks=3000000000&actualSegmentLengthTicks=60000000" to "192.168.0.14" in 0:00:00.5095449 with Status Code 200
[2022-04-22 19:24:29.081 +07:00] [INF] [30] Jellyfin.Api.Helpers.TranscodingJobHelper: Stopping ffmpeg process with q command for "C:\ProgramData\Jellyfin\Server\transcodes\f2add08454d0e0ba27aa2b18e4a258f4.m3u8"
[2022-04-22 19:24:29.216 +07:00] [INF] [30] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 0
[2022-04-22 19:24:29.226 +07:00] [INF] [30] Jellyfin.Api.Helpers.TranscodingJobHelper: "ffmpeg" "-ss 00:24:18.000 -fflags +genpts -f matroska,webm  -i file:\"C:\Movies\The.Godfather.Part.III.1990.720p.BluRay.x264-ESiR.mkv\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -start_at_zero -codec:a:0 aac -ac 2 -ab 384000 -af \"volume=2\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type mpegts -start_number 243 -hls_segment_filename \"C:\ProgramData\Jellyfin\Server\transcodes\f2add08454d0e0ba27aa2b18e4a258f4%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"C:\ProgramData\Jellyfin\Server\transcodes\f2add08454d0e0ba27aa2b18e4a258f4.m3u8\""
[2022-04-22 19:24:29.827 +07:00] [WRN] [33] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.0.3:8096/videos/177c6bbc-e4e7-c039-46b5-d838476faf42/hls1/main/243.ts?DeviceId=9e8f4673937c01fe&MediaSourceId=177c6bbce4e7c03946b5d838476faf42&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=119616000&AudioBitrate=384000&MaxFramerate=23.976042&MaxWidth=2400&PlaySessionId=a4d2a61c535b4876a45c406fe37cd3ab&api_key=770f89a2669541b7bcef50d5b8e0d59f&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=cf3921466eb7d867d0b6798f58084106&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&h264-level=32&h264-videobitdepth=8&h264-profile=high&TranscodeReasons=VideoCodecNotSupported&runtimeTicks=14580000000&actualSegmentLengthTicks=60000000" to "192.168.0.14" in 0:00:00.7483885 with Status Code 200
[2022-04-22 19:24:40.304 +07:00] [INF] [23] Emby.Server.Implementations.ScheduledTasks.TaskManager: "IntervalTrigger" fired for task: "Tải Xuống Phụ Đề Bị Thiếu"
[2022-04-22 19:24:40.305 +07:00] [INF] [23] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "SubtitleScheduledTask"
[2022-04-22 19:24:40.306 +07:00] [INF] [7] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Tải Xuống Phụ Đề Bị Thiếu"
[2022-04-22 19:24:40.310 +07:00] [INF] [7] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Tải Xuống Phụ Đề Bị Thiếu" Completed after 0 minute(s) and 0 seconds
[2022-04-22 19:24:40.311 +07:00] [INF] [7] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[2022-04-22 19:24:40.327 +07:00] [INF] [7] Emby.Server.Implementations.ScheduledTasks.TaskManager: "IntervalTrigger" fired for task: "Cập Nhật Plugins"
[2022-04-22 19:24:40.327 +07:00] [INF] [23] Emby.Server.Implementations.ScheduledTasks.TaskManager: "IntervalTrigger" fired for task: "Làm Sạch Thư Mục Nhật Ký"
[2022-04-22 19:24:40.327 +07:00] [INF] [32] Emby.Server.Implementations.ScheduledTasks.TaskManager: "IntervalTrigger" fired for task: "Tối ưu hóa cơ sở dữ liệu"
[2022-04-22 19:24:40.327 +07:00] [INF] [14] Emby.Server.Implementations.ScheduledTasks.TaskManager: "IntervalTrigger" fired for task: "Refresh Guide"
[2022-04-22 19:24:40.327 +07:00] [INF] [26] Emby.Server.Implementations.ScheduledTasks.TaskManager: "IntervalTrigger" fired for task: "Làm Sạch Thư Mục Bộ Nhớ Đệm"
[2022-04-22 19:24:40.327 +07:00] [INF] [30] Emby.Server.Implementations.ScheduledTasks.TaskManager: "IntervalTrigger" fired for task: "Làm Sạch Thư Mục Chuyển Mã"
[2022-04-22 19:24:40.327 +07:00] [INF] [33] Emby.Server.Implementations.ScheduledTasks.TaskManager: "IntervalTrigger" fired for task: "Quét Thư Viện Phương Tiện"
[2022-04-22 19:24:40.327 +07:00] [INF] [7] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "PluginUpdateTask"
[2022-04-22 19:24:40.328 +07:00] [INF] [23] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "DeleteLogFileTask"
[2022-04-22 19:24:40.329 +07:00] [INF] [32] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "OptimizeDatabaseTask"
[2022-04-22 19:24:40.330 +07:00] [INF] [14] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "RefreshGuideScheduledTask"
[2022-04-22 19:24:40.331 +07:00] [INF] [26] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "DeleteCacheFileTask"
[2022-04-22 19:24:40.331 +07:00] [INF] [30] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "DeleteTranscodeFileTask"
[2022-04-22 19:24:40.332 +07:00] [INF] [33] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "RefreshMediaLibraryTask"
[2022-04-22 19:24:40.333 +07:00] [INF] [7] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Cập Nhật Plugins"
[2022-04-22 19:24:40.333 +07:00] [INF] [23] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Làm Sạch Thư Mục Nhật Ký"
[2022-04-22 19:24:40.334 +07:00] [INF] [32] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Tối ưu hóa cơ sở dữ liệu"
[2022-04-22 19:24:40.334 +07:00] [INF] [14] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Refresh Guide"
[2022-04-22 19:24:40.335 +07:00] [INF] [26] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Làm Sạch Thư Mục Bộ Nhớ Đệm"
[2022-04-22 19:24:40.336 +07:00] [INF] [30] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Làm Sạch Thư Mục Chuyển Mã"
[2022-04-22 19:24:40.336 +07:00] [INF] [33] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Quét Thư Viện Phương Tiện"
[2022-04-22 19:24:40.337 +07:00] [INF] [7] Emby.Server.Implementations.ScheduledTasks.TaskManager: "IntervalTrigger" fired for task: "TasksRefreshChannels"
[2022-04-22 19:24:40.338 +07:00] [INF] [32] Emby.Server.Implementations.ScheduledTasks.Tasks.OptimizeDatabaseTask: Optimizing and vacuuming jellyfin.db...
[2022-04-22 19:24:40.338 +07:00] [INF] [23] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Làm Sạch Thư Mục Nhật Ký" Completed after 0 minute(s) and 0 seconds
[2022-04-22 19:24:40.341 +07:00] [INF] [7] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "RefreshChannelsScheduledTask"
[2022-04-22 19:24:40.341 +07:00] [INF] [30] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Làm Sạch Thư Mục Chuyển Mã" Completed after 0 minute(s) and 0 seconds
[2022-04-22 19:24:40.342 +07:00] [INF] [33] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "C:\Movies"
[2022-04-22 19:24:40.343 +07:00] [INF] [23] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[2022-04-22 19:24:40.344 +07:00] [INF] [7] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "TasksRefreshChannels"
[2022-04-22 19:24:40.346 +07:00] [INF] [30] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[2022-04-22 19:24:40.347 +07:00] [INF] [33] Emby.Server.Implementations.Library.LibraryManager: Validating media library
[2022-04-22 19:24:40.348 +07:00] [INF] [26] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Làm Sạch Thư Mục Bộ Nhớ Đệm" Completed after 0 minute(s) and 0 seconds
[2022-04-22 19:24:40.364 +07:00] [INF] [32] Emby.Server.Implementations.ScheduledTasks.Tasks.OptimizeDatabaseTask: jellyfin.db optimized successfully!
[2022-04-22 19:24:40.381 +07:00] [INF] [26] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[2022-04-22 19:24:40.381 +07:00] [INF] [32] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Tối ưu hóa cơ sở dữ liệu" Completed after 0 minute(s) and 0 seconds
[2022-04-22 19:24:40.396 +07:00] [INF] [7] Emby.Server.Implementations.ScheduledTasks.TaskManager: "TasksRefreshChannels" Completed after 0 minute(s) and 0 seconds
[2022-04-22 19:24:40.397 +07:00] [INF] [32] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[2022-04-22 19:24:40.398 +07:00] [INF] [7] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[2022-04-22 19:24:41.185 +07:00] [INF] [4] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Cập Nhật Plugins" Completed after 0 minute(s) and 0 seconds
[2022-04-22 19:24:41.187 +07:00] [INF] [4] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[2022-04-22 19:24:43.406 +07:00] [INF] [34] Emby.Server.Implementations.LiveTv.LiveTvManager: Refreshing guide with 7 days of guide data
[2022-04-22 19:24:43.414 +07:00] [INF] [34] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Refresh Guide" Completed after 0 minute(s) and 3 seconds
[2022-04-22 19:24:43.416 +07:00] [INF] [34] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[2022-04-22 19:24:43.936 +07:00] [INF] [26] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Quét Thư Viện Phương Tiện" Completed after 0 minute(s) and 3 seconds
[2022-04-22 19:24:43.936 +07:00] [INF] [34] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "C:\Movies"
[2022-04-22 19:24:43.938 +07:00] [INF] [26] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[2022-04-22 19:24:46.864 +07:00] [INF] [18] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "evilboy1102". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2022-04-22 19:24:46.865 +07:00] [INF] [18] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Anonymous Profile", Path="C:\Movies\The.Godfather.Part.III.1990.720p.BluRay.x264-ESiR.mkv", AudioStreamIndex=1, SubtitleStreamIndex=6 ) => ( PlayMethod=Transcode, TranscodeReason=VideoCodecNotSupported ) "media:/videos/177c6bbc-e4e7-c039-46b5-d838476faf42/master.m3u8?MediaSourceId=177c6bbce4e7c03946b5d838476faf42&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=139616000&AudioBitrate=384000&MaxFramerate=23.976042&MaxWidth=2400&api_key=<token>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=cf3921466eb7d867d0b6798f58084106&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&h264-level=32&h264-videobitdepth=8&h264-profile=high&TranscodeReasons=VideoCodecNotSupported"
[2022-04-22 19:24:46.891 +07:00] [INF] [18] Jellyfin.Api.Helpers.TranscodingJobHelper: Stopping ffmpeg process with q command for "C:\ProgramData\Jellyfin\Server\transcodes\f2add08454d0e0ba27aa2b18e4a258f4.m3u8"
[2022-04-22 19:24:46.951 +07:00] [INF] [18] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 0
[2022-04-22 19:24:46.952 +07:00] [INF] [18] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) "C:\ProgramData\Jellyfin\Server\transcodes\f2add08454d0e0ba27aa2b18e4a258f4.m3u8"
[2022-04-22 19:24:47.053 +07:00] [WRN] [26] Jellyfin.Api.Controllers.DynamicHlsController: cannot serve "C:\ProgramData\Jellyfin\Server\transcodes\f2add08454d0e0ba27aa2b18e4a258f4250.ts" as it doesn't exist and no transcode is running
[2022-04-22 19:24:47.321 +07:00] [INF] [9] Jellyfin.Api.Helpers.TranscodingJobHelper: "ffmpeg" "-fflags +genpts -f matroska,webm  -i file:\"C:\Movies\The.Godfather.Part.III.1990.720p.BluRay.x264-ESiR.mkv\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -start_at_zero -codec:a:0 aac -ac 2 -ab 384000 -af \"volume=2\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type mpegts -start_number 0 -hls_segment_filename \"C:\ProgramData\Jellyfin\Server\transcodes\831c52f639f9e03e6719e5815175f197%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"C:\ProgramData\Jellyfin\Server\transcodes\831c52f639f9e03e6719e5815175f197.m3u8\""
[2022-04-22 19:24:48.389 +07:00] [INF] [7] Jellyfin.Api.Helpers.TranscodingJobHelper: Stopping ffmpeg process with q command for "C:\ProgramData\Jellyfin\Server\transcodes\831c52f639f9e03e6719e5815175f197.m3u8"
[2022-04-22 19:24:48.496 +07:00] [INF] [4] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 0
[2022-04-22 19:24:48.499 +07:00] [INF] [7] Jellyfin.Api.Helpers.TranscodingJobHelper: "ffmpeg" "-ss 00:24:36.000 -fflags +genpts -f matroska,webm  -i file:\"C:\Movies\The.Godfather.Part.III.1990.720p.BluRay.x264-ESiR.mkv\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -start_at_zero -codec:a:0 aac -ac 2 -ab 384000 -af \"volume=2\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type mpegts -start_number 246 -hls_segment_filename \"C:\ProgramData\Jellyfin\Server\transcodes\831c52f639f9e03e6719e5815175f197%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"C:\ProgramData\Jellyfin\Server\transcodes\831c52f639f9e03e6719e5815175f197.m3u8\""
[2022-04-22 19:24:58.235 +07:00] [INF] [26] Jellyfin.Api.Helpers.TranscodingJobHelper: Stopping ffmpeg process with q command for "C:\ProgramData\Jellyfin\Server\transcodes\831c52f639f9e03e6719e5815175f197.m3u8"
[2022-04-22 19:24:58.279 +07:00] [INF] [26] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 0
[2022-04-22 19:24:58.279 +07:00] [INF] [26] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) "C:\ProgramData\Jellyfin\Server\transcodes\831c52f639f9e03e6719e5815175f197.m3u8"
[2022-04-22 19:24:59.822 +07:00] [INF] [18] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Android" "2.4.4" playing "Bố Già 3". Stopped at "1487304" ms
[2022-04-22 19:24:59.864 +07:00] [WRN] [18] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.0.3:8096/Sessions/Playing/Stopped" to "192.168.0.14" in 0:00:01.6341294 with Status Code 204
[2022-04-22 19:25:50.755 +07:00] [WRN] [45] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS "192.168.0.14" error receiving data: "The remote party closed the WebSocket connection without completing the close handshake."
[2022-04-22 19:25:50.757 +07:00] [INF] [45] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.14" closed
[2022-04-22 19:25:53.175 +07:00] [INF] [46] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.14" request
[2022-04-22 19:26:04.276 +07:00] [INF] [54] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "evilboy1102". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2022-04-22 19:26:04.278 +07:00] [INF] [54] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Anonymous Profile", Path="C:\Movies\The.Godfather.Part.III.1990.720p.BluRay.x264-ESiR.mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=VideoCodecNotSupported ) "media:/videos/177c6bbc-e4e7-c039-46b5-d838476faf42/master.m3u8?MediaSourceId=177c6bbce4e7c03946b5d838476faf42&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=139616000&AudioBitrate=384000&MaxFramerate=23.976042&MaxWidth=2400&api_key=<token>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=cf3921466eb7d867d0b6798f58084106&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&h264-level=32&h264-videobitdepth=8&h264-profile=high&TranscodeReasons=VideoCodecNotSupported"
[2022-04-22 19:26:04.736 +07:00] [INF] [56] Jellyfin.Api.Helpers.TranscodingJobHelper: "ffmpeg" "-fflags +genpts -f matroska,webm  -i file:\"C:\Movies\The.Godfather.Part.III.1990.720p.BluRay.x264-ESiR.mkv\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -start_at_zero -codec:a:0 aac -ac 2 -ab 384000 -af \"volume=2\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type mpegts -start_number 0 -hls_segment_filename \"C:\ProgramData\Jellyfin\Server\transcodes\0f6395ba6093e7f88549f53c5f45100d%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"C:\ProgramData\Jellyfin\Server\transcodes\0f6395ba6093e7f88549f53c5f45100d.m3u8\""
[2022-04-22 19:26:05.877 +07:00] [INF] [54] Jellyfin.Api.Helpers.TranscodingJobHelper: Stopping ffmpeg process with q command for "C:\ProgramData\Jellyfin\Server\transcodes\0f6395ba6093e7f88549f53c5f45100d.m3u8"
[2022-04-22 19:26:05.885 +07:00] [INF] [54] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 0
[2022-04-22 19:26:05.887 +07:00] [INF] [54] Jellyfin.Api.Helpers.TranscodingJobHelper: "ffmpeg" "-ss 00:24:42.000 -fflags +genpts -f matroska,webm  -i file:\"C:\Movies\The.Godfather.Part.III.1990.720p.BluRay.x264-ESiR.mkv\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -start_at_zero -codec:a:0 aac -ac 2 -ab 384000 -af \"volume=2\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type mpegts -start_number 247 -hls_segment_filename \"C:\ProgramData\Jellyfin\Server\transcodes\0f6395ba6093e7f88549f53c5f45100d%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"C:\ProgramData\Jellyfin\Server\transcodes\0f6395ba6093e7f88549f53c5f45100d.m3u8\""
[2022-04-22 19:27:15.545 +07:00] [WRN] [17] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.0.3:8096/Sessions/Playing/Progress" to "192.168.0.14" in 0:00:00.8470786 with Status Code 204
[2022-04-22 19:28:15.305 +07:00] [WRN] [38] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.0.3:8096/Sessions/Playing/Progress" to "192.168.0.14" in 0:00:00.6189834 with Status Code 204
[2022-04-22 19:29:15.189 +07:00] [WRN] [71] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.0.3:8096/Sessions/Playing/Progress" to "192.168.0.14" in 0:00:00.5036504 with Status Code 204
[2022-04-22 19:29:29.688 +07:00] [INF] [76] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 0
[2022-04-22 19:30:19.094 +07:00] [INF] [78] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2022-04-22 19:30:21.405 +07:00] [INF] [80] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) "C:\ProgramData\Jellyfin\Server\transcodes\0f6395ba6093e7f88549f53c5f45100d.m3u8"
[2022-04-22 19:30:23.328 +07:00] [INF] [78] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Android" "2.4.4" playing "Bố Già 3". Stopped at "1499956" ms
[2022-04-22 19:30:23.368 +07:00] [WRN] [78] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.0.3:8096/Sessions/Playing/Stopped" to "192.168.0.14" in 0:00:01.9644963 with Status Code 204
[2022-04-22 19:30:24.732 +07:00] [INF] [80] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.14" request
[2022-04-22 19:30:31.111 +07:00] [INF] [81] Emby.Server.Implementations.Session.SessionWebSocketListener: Lost 1 WebSockets.
[2022-04-22 19:30:35.226 +07:00] [INF] [84] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.14" request
[2022-04-22 19:31:42.438 +07:00] [INF] [71] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.14" closed
[2022-04-22 19:31:42.469 +07:00] [INF] [70] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.0.14" closed
[2022-04-22 19:33:31.255 +07:00] [INF] [100] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2022-04-22 19:33:43.267 +07:00] [INF] [107] Emby.Server.Implementations.Session.SessionWebSocketListener: Lost 1 WebSockets.

FFmpeg logs

/videos/177c6bbc-e4e7-c039-46b5-d838476faf42/hls1/main/0.ts

{"Protocol":0,"Id":"177c6bbce4e7c03946b5d838476faf42","Path":"C:\\Movies\\The.Godfather.Part.III.1990.720p.BluRay.x264-ESiR.mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv,webm","Size":11708367872,"Name":"The.Godfather.Part.III.1990.720p.BluRay.x264-ESiR","IsRemote":false,"ETag":"cf3921466eb7d867d0b6798f58084106","RunTimeTicks":102152773632,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"h264","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":"SDR","LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"720p H264 SDR","NalLengthSize":"0","IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":9169300,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"Height":720,"Width":1280,"AverageFrameRate":23.976042,"RealFrameRate":23.976042,"Profile":"High","Type":1,"AspectRatio":"16:9","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":32,"IsAnamorphic":null},{"Codec":"ac3","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"English - Dolby Digital - 5.1 - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"5.1","BitRate":640000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":0,"AspectRatio":null,"Index":1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"vorbis","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"Commentary","VideoRange":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"Commentary - English - VORBIS - Stereo","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"stereo","BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":0,"AspectRatio":null,"Index":2,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"ass","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":null,"LocalizedUndefined":"Kh\u00F4ng X\u00E1c \u0110\u1ECBnh","LocalizedDefault":"M\u1EB7c \u0110\u1ECBnh","LocalizedForced":"B\u1EAFt Bu\u1ED9c","LocalizedExternal":"B\u00EAn ngo\u00E0i","DisplayTitle":"English - ASS","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":3,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"ass","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"English for foreign parts","VideoRange":null,"LocalizedUndefined":"Kh\u00F4ng X\u00E1c \u0110\u1ECBnh","LocalizedDefault":"M\u1EB7c \u0110\u1ECBnh","LocalizedForced":"B\u1EAFt Bu\u1ED9c","LocalizedExternal":"B\u00EAn ngo\u00E0i","DisplayTitle":"English for foreign parts - ASS","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":4,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"subrip","CodecTag":null,"Language":"vie","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":null,"LocalizedUndefined":"Kh\u00F4ng X\u00E1c \u0110\u1ECBnh","LocalizedDefault":"M\u1EB7c \u0110\u1ECBnh","LocalizedForced":"B\u1EAFt Bu\u1ED9c","LocalizedExternal":"B\u00EAn ngo\u00E0i","DisplayTitle":"Vietnamese - M\u1EB7c \u0110\u1ECBnh - SUBRIP","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":5,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"subrip","CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":null,"LocalizedUndefined":"Kh\u00F4ng X\u00E1c \u0110\u1ECBnh","LocalizedDefault":"M\u1EB7c \u0110\u1ECBnh","LocalizedForced":"B\u1EAFt Bu\u1ED9c","LocalizedExternal":"B\u00EAn ngo\u00E0i","DisplayTitle":"Kh\u00F4ng X\u00E1c \u0110\u1ECBnh - SUBRIP - B\u00EAn ngo\u00E0i","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":6,"Score":null,"IsExternal":true,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"C:\\Movies\\The.Godfather.Part.III.1990.720p.BluRay.x264-ESiR.srt","PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":6,"FileName":"CronosPro-Bold.ttf","MimeType":"application/x-truetype-font","DeliveryUrl":null},{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":7,"FileName":"CronosPro-Semibold.ttf","MimeType":"application/x-truetype-font","DeliveryUrl":null},{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":8,"FileName":"CronosPro-SemiboldIt.ttf","MimeType":"application/x-truetype-font","DeliveryUrl":null}],"Formats":[],"Bitrate":9809300,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

ffmpeg -fflags +genpts -f matroska,webm  -i file:"C:\Movies\The.Godfather.Part.III.1990.720p.BluRay.x264-ESiR.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -start_at_zero -codec:a:0 aac -ac 2 -ab 384000 -af "volume=2" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "C:\ProgramData\Jellyfin\Server\transcodes\0f6395ba6093e7f88549f53c5f45100d%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "C:\ProgramData\Jellyfin\Server\transcodes\0f6395ba6093e7f88549f53c5f45100d.m3u8"

ffmpeg version 4.4.1-Jellyfin Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10-win32 (GCC) 20220113
  configuration: --prefix=/opt/ffmpeg --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --pkg-config=pkg-config --pkg-config-flags=--static --extra-version=Jellyfin --disable-ffplay --disable-debug --disable-doc --enable-shared --enable-lto --enable-gpl --enable-version3 --enable-schannel --enable-iconv --enable-libxml2 --enable-zlib --enable-lzma --enable-sdl2 --enable-gmp --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libwebp --enable-libvpx --enable-libzimg --enable-libx264 --enable-libx265 --enable-libdav1d --enable-opencl --enable-dxva2 --enable-d3d11va --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
Input #0, matroska,webm, from 'file:C:\Movies\The.Godfather.Part.III.1990.720p.BluRay.x264-ESiR.mkv':
  Metadata:
    title           : The Godfather: Part III (1990)
    encoder         : libebml v0.7.7 + libmatroska v0.8.1
    creation_time   : 2008-11-22T11:46:47.000000Z
  Duration: 02:50:15.28, start: 0.000000, bitrate: 9169 kb/s
  Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
  Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
  Stream #0:2(eng): Audio: vorbis, 48000 Hz, stereo, fltp
    Metadata:
      title           : Commentary
  Stream #0:3(eng): Subtitle: ass
  Stream #0:4(eng): Subtitle: ass
    Metadata:
      title           : English for foreign parts
  Stream #0:5(vie): Subtitle: subrip (default)
  Stream #0:6: Attachment: ttf
    Metadata:
      filename        : CronosPro-Bold.ttf
      mimetype        : application/x-truetype-font
  Stream #0:7: Attachment: ttf
    Metadata:
      filename        : CronosPro-Semibold.ttf
      mimetype        : application/x-truetype-font
  Stream #0:8: Attachment: ttf
    Metadata:
      filename        : CronosPro-SemiboldIt.ttf
      mimetype        : application/x-truetype-font
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (ac3 (native) -> aac (native))
Press [q] to stop, [?] for help
Output #0, hls, to 'C:\ProgramData\Jellyfin\Server\transcodes\0f6395ba6093e7f88549f53c5f45100d.m3u8':
  Metadata:
    encoder         : Lavf58.76.100
  Stream #0:0: Video: h264 (High), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc (default)
  Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, 384 kb/s (default)
    Metadata:
      encoder         : Lavc58.134.100 aac
frame=    1 fps=0.0 q=-1.0 size=N/A time=00:00:00.00 bitrate=N/A speed=N/A    
[hls @ 00000216856af040] Opening 'C:\ProgramData\Jellyfin\Server\transcodes\0f6395ba6093e7f88549f53c5f45100d0.ts' for writing
[hls @ 00000216856af040] Opening 'C:\ProgramData\Jellyfin\Server\transcodes\0f6395ba6093e7f88549f53c5f45100d1.ts' for writing
frame=  414 fps=0.0 q=-1.0 size=N/A time=00:00:00.09 bitrate=N/A speed=0.19x    
[hls @ 00000216856af040] Opening 'C:\ProgramData\Jellyfin\Server\transcodes\0f6395ba6093e7f88549f53c5f45100d2.ts' for writing
frame=  737 fps=735 q=-1.0 size=N/A time=00:00:13.79 bitrate=N/A speed=13.8x    
[hls @ 00000216856af040] Opening 'C:\ProgramData\Jellyfin\Server\transcodes\0f6395ba6093e7f88549f53c5f45100d3.ts' for writing
frame=  773 fps=696 q=-1.0 Lsize=N/A time=00:00:15.17 bitrate=N/A speed=13.7x    
video:23384kB audio:531kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[aac @ 00000216856bca00] Qavg: 65509.648

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

Maxr1998 commented 2 years ago

Duplicate of #46.