Jellyfin Forum
Google Cast and Airplay 2 issues - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Google Cast and Airplay 2 issues (/t-google-cast-and-airplay-2-issues)



Google Cast and Airplay 2 issues - Donrenegade - 2023-08-13

Hello!

I've been trying to properly get Jellyfin up and running for a while now. I'm using Unraid as the "OS" and i'm using the linuxserver's docker container. GPU transcoding has been set up. I've also set up a reverse proxy using swag and I've forwarded ports in my router to enable remote access to the jellyfin application. I'm using a duckdns subdomain to connect from any device to my jellyfin application, and this seems to work just fine. I've set everything up using spaceinvaderone's guides.

Streaming media to any device with a browser, an android phone, an iphone or ipad works like you'd expect. Not just within my own network, but also remote. "Direct streaming" has no issues, and transcoding media is relatively fast and works fairly good on an Nvidia GTX 1070 GPU. However, when I try to stream to my Chromecast using Google Cast, it all seems to fall apart. Casting to my chromecast without transcoding works effortlessly. But whenever transcoding is involved... not so much...

Starting a "casted" stream from the start is not an issue. But starting a "casted" stream anywhere that's not the start, so even at 2 seconds from the absolute beginning, results in a stream for which only the audio seems to play and the video getting stuck. Pausing and resuming only seems to change the video into a new frame, but that's it. I have no idea what's causing this.

I've already tried setting up a different reverse proxy, disabling gpu transcoding (so only using software) and I even tried using Emby as Jellyfin is closely related. All of these things resulted in the same issue as described above. Plex does work properly, but is (I assume) fundamentally built different.

Does anyone know why this happens and how I can fix this?

These are my reverse proxy settings:
Quote:server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;

    server_name [*MySubdomain*].*;

    include /config/nginx/ssl.conf;

    client_max_body_size 0;

    location / {
        include /config/nginx/proxy.conf;
        include /config/nginx/resolver.conf;
        set $upstream_app jellyfin;
        set $upstream_port 8096;
        set $upstream_proto http;
        proxy_pass $upstream_proto://$upstream_app:$upstream_port;

        proxy_set_header Range $http_range;
        proxy_set_header If-Range $http_if_range;
    }

    location ~ (/jellyfin)?/socket {
        include /config/nginx/proxy.conf;
        include /config/nginx/resolver.conf;
        set $upstream_app jellyfin;
        set $upstream_port 8096;
        set $upstream_proto http;
        proxy_pass $upstream_proto://$upstream_app:$upstream_port;

    }
}

And these are the logs:

General Log:
Quote:[2023-08-13 17:02:19.921 +02:00] [INF] [1] Main: Jellyfin version: "10.8.10"
[2023-08-13 17:02:19.945 +02:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_DATA_DIR, /config/data]", "[JELLYFIN_CACHE_DIR, /config/cache]", "[JELLYFIN_CONFIG_DIR, /config]", "[JELLYFIN_FFmpeg__analyzeduration, 500M]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_WEB_DIR, /usr/share/jellyfin/web]", "[JELLYFIN_FFmpeg__probesize, 50000000]", "[JELLYFIN_PublishedServerUrl, 192.168.0.5]"]
[2023-08-13 17:02:19.948 +02:00] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
[2023-08-13 17:02:19.949 +02:00] [INF] [1] Main: Operating system: "Linux"
[2023-08-13 17:02:19.949 +02:00] [INF] [1] Main: Architecture: X64
[2023-08-13 17:02:19.949 +02:00] [INF] [1] Main: 64-Bit Process: True
[2023-08-13 17:02:19.949 +02:00] [INF] [1] Main: User Interactive: True
[2023-08-13 17:02:19.949 +02:00] [INF] [1] Main: Processor count: 16
[2023-08-13 17:02:19.950 +02:00] [INF] [1] Main: Program data path: "/config/data"
[2023-08-13 17:02:19.950 +02:00] [INF] [1] Main: Web resources path: "/usr/share/jellyfin/web"
[2023-08-13 17:02:19.950 +02:00] [INF] [1] Main: Application directory: "/usr/lib/jellyfin/bin/"
[2023-08-13 17:02:20.087 +02:00] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/config/cache"
[2023-08-13 17:02:20.135 +02:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[2023-08-13 17:02:20.157 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "Jellyfin.Plugin.OpenSubtitles, Version=19.0.0.0, Culture=neutral, PublicKeyToken=null" from "/config/data/plugins/Open Subtitles_19.0.0.0/Jellyfin.Plugin.OpenSubtitles.dll"
[2023-08-13 17:02:20.248 +02: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]"
[2023-08-13 17:02:20.248 +02:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : "[]"
[2023-08-13 17:02:20.249 +02: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]"
[2023-08-13 17:02:20.256 +02:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: "[]"
[2023-08-13 17:02:20.256 +02:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: "[]"
[2023-08-13 17:02:28.917 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Open Subtitles" "19.0.0.0"
[2023-08-13 17:02:28.918 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "TMDb" "10.8.10.0"
[2023-08-13 17:02:28.918 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Studio Images" "10.8.10.0"
[2023-08-13 17:02:28.918 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "OMDb" "10.8.10.0"
[2023-08-13 17:02:28.918 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "MusicBrainz" "10.8.10.0"
[2023-08-13 17:02:28.919 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "AudioDB" "10.8.10.0"
[2023-08-13 17:02:28.978 +02:00] [INF] [1] Main: Kestrel listening on "Any IP4 Address"
[2023-08-13 17:02:29.028 +02:00] [WRN] [1] Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository: Using an in-memory repository. Keys will not be persisted to storage.
[2023-08-13 17:02:29.028 +02:00] [WRN] [1] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits.
[2023-08-13 17:02:29.365 +02:00] [WRN] [1] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: No XML encryptor configured. Key {a1bbd99f-b29d-49a6-bd03-60f1ec327304} may be persisted to storage in unencrypted form.
[2023-08-13 17:02:29.384 +02:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Running startup tasks
[2023-08-13 17:02:29.414 +02:00] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for "Extract Chapter Images" set to fire at 2023-08-14 02:00:00.000 +02:00, which is 08:57:30.5852107 from now.
[2023-08-13 17:02:29.465 +02:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version "5.1.3"
[2023-08-13 17:02:29.498 +02: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", "dca", "flac", "mp3", "truehd"]
[2023-08-13 17:02:29.517 +02:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available "encoders": ["libx264", "h264_amf", "h264_nvenc", "h264_qsv", "h264_v4l2m2m", "h264_vaapi", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "hevc_vaapi", "mpeg4", "msmpeg4", "libvpx", "libvpx-vp9", "aac", "libfdk_aac", "ac3", "dca", "flac", "libmp3lame", "libopus", "truehd", "libvorbis", "srt"]
[2023-08-13 17:02:29.535 +02:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available filters: ["deinterlace_qsv", "deinterlace_vaapi", "hwupload_cuda", "hwupload_vaapi", "overlay_opencl", "overlay_qsv", "overlay_vaapi", "overlay_cuda", "procamp_vaapi", "scale_cuda", "scale_opencl", "scale_qsv", "scale_vaapi", "tonemap_cuda", "tonemap_opencl", "tonemap_vaapi", "vpp_qsv", "yadif_cuda", "zscale", "alphasrc"]
[2023-08-13 17:02:29.637 +02:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["cuda", "vaapi", "qsv", "drm", "opencl", "vulkan"]
[2023-08-13 17:02:29.757 +02:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: "/usr/lib/jellyfin-ffmpeg/ffmpeg"
[2023-08-13 17:02:29.758 +02:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: ServerId: "30b77b50b08f41a78ecd0b5144f76d12"
[2023-08-13 17:02:29.865 +02:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all pre-startup entry points in 0:00:00.0979625
[2023-08-13 17:02:29.865 +02:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete
[2023-08-13 17:02:30.024 +02:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all post-startup entry points in 0:00:00.1587107
[2023-08-13 17:02:30.024 +02:00] [INF] [1] Main: Startup complete 0:00:14.8893476
[2023-08-13 17:02:30.062 +02:00] [INF] [11] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/data/tvshows"
[2023-08-13 17:02:30.157 +02:00] [INF] [15] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/data/movies"
[2023-08-13 17:02:30.513 +02:00] [WRN] [11] 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.
[2023-08-13 17:02:30.515 +02:00] [WRN] [11] 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.
[2023-08-13 17:02:30.515 +02:00] [WRN] [11] 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.
[2023-08-13 17:02:30.515 +02:00] [WRN] [11] 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.
[2023-08-13 17:02:30.515 +02:00] [WRN] [11] 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.
[2023-08-13 17:02:30.515 +02:00] [WRN] [11] 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.
[2023-08-13 17:02:30.515 +02:00] [WRN] [11] 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.
[2023-08-13 17:02:30.515 +02:00] [WRN] [11] 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.
[2023-08-13 17:02:30.515 +02:00] [WRN] [11] 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.
[2023-08-13 17:02:30.515 +02:00] [WRN] [11] 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.
[2023-08-13 17:02:30.515 +02:00] [WRN] [11] 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.
[2023-08-13 17:02:30.515 +02:00] [WRN] [11] 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.
[2023-08-13 17:02:30.515 +02:00] [WRN] [11] 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.
[2023-08-13 17:02:32.422 +02:00] [INF] [8] Emby.Server.Implementations.ScheduledTasks.TaskManager: "StartupTrigger" fired for task: "Update Plugins"
[2023-08-13 17:02:32.423 +02:00] [INF] [8] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "PluginUpdateTask"
[2023-08-13 17:02:32.425 +02:00] [INF] [13] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Update Plugins"
[2023-08-13 17:02:32.799 +02:00] [WRN] [24] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://[*MySubdomain*].duckdns.org/System/Info" to "172.19.0.2" in 0:00:00.8648793 with Status Code 200
[2023-08-13 17:02:33.022 +02:00] [INF] [8] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "172.19.0.2" request
[2023-08-13 17:02:33.368 +02:00] [INF] [13] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Update Plugins" Completed after 0 minute(s) and 0 seconds
[2023-08-13 17:02:33.374 +02:00] [INF] [13] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[2023-08-13 17:02:59.765 +02:00] [INF] [27] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "[*MyUsername*]". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2023-08-13 17:02:59.812 +02:00] [INF] [27] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Anonymous Profile", Path="/data/movies/Ali G Indahouse (2002)/Ali G Indahouse (2002) x265.mkv", AudioStreamIndex=2, SubtitleStreamIndex=0 ) => ( PlayMethod=Transcode, TranscodeReason=ContainerBitrateExceedsLimit ) "media:/videos/4698dff6-0485-8b8e-39da-6ec1605325d4/stream.mkv?MediaSourceId=4698dff604858b8e39da6ec1605325d4&VideoCodec=h264,vp8,vp9&AudioCodec=ac3,aac,mp3,opus,flac,vorbis&AudioStreamIndex=2&VideoBitrate=10360000&AudioBitrate=640000&MaxFramerate=23.976025&api_key=<token>&TranscodingMaxAudioChannels=6&CopyTimestamps=true&RequireAvc=false&Tag=57f144fb7d350f5fe1a7f5fb00c07395&hevc-level=153&hevc-videobitdepth=10&hevc-profile=main10&TranscodeReasons=ContainerBitrateExceedsLimit"
[2023-08-13 17:02:59.984 +02:00] [INF] [31] Jellyfin.Api.Helpers.TranscodingJobHelper: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 500M -init_hw_device cuda=cu:0 -filter_hw_device cu -hwaccel cuda -hwaccel_output_format cuda -threads 1 -autorotate 0 -i file:\"/data/movies/Ali G Indahouse (2002)/Ali G Indahouse (2002) x265.mkv\" -autoscale 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_nvenc -force_key_frames \"expr:gte(t,n_forced*5)\" -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_cuda=format=yuv420p\" -copyts -avoid_negative_ts disabled -start_at_zero -preset p1 -b:v 10360000 -maxrate 10360000 -bufsize 20720000 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 ac3 -ac 6 -ab 640000 -y \"/config/data/transcodes/cf839dc0fd5692f84277dc7c04321f03.mkv\""
[2023-08-13 17:03:01.424 +02:00] [WRN] [31] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://[*MySubdomain*].duckdns.org/videos/4698dff6-0485-8b8e-39da-6ec1605325d4/stream.mkv?DeviceId=V29vbmthbWVyIENocm9tZWNhc3QgbmV3&MediaSourceId=4698dff604858b8e39da6ec1605325d4&VideoCodec=h264,vp8,vp9&AudioCodec=ac3,aac,mp3,opus,flac,vorbis&AudioStreamIndex=2&VideoBitrate=10360000&AudioBitrate=640000&MaxFramerate=23.976025&PlaySessionId=163c88f8629d45479f04e92526e9436b&api_key=2db8394b51b84e71a05988c45d7d3954&TranscodingMaxAudioChannels=6&CopyTimestamps=true&RequireAvc=false&Tag=57f144fb7d350f5fe1a7f5fb00c07395&hevc-level=153&hevc-videobitdepth=10&hevc-profile=main10&TranscodeReasons=ContainerBitrateExceedsLimit" to "172.19.0.2" in 0:00:01.5139998 with Status Code 200
[2023-08-13 17:03:05.417 +02:00] [INF] [26] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "[*MyUsername*]". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2023-08-13 17:03:05.418 +02:00] [INF] [26] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Anonymous Profile", Path="/data/movies/Ali G Indahouse (2002)/Ali G Indahouse (2002) x265.mkv", AudioStreamIndex=2, SubtitleStreamIndex=0 ) => ( PlayMethod=Transcode, TranscodeReason=ContainerBitrateExceedsLimit ) "media:/videos/4698dff6-0485-8b8e-39da-6ec1605325d4/stream.mkv?MediaSourceId=4698dff604858b8e39da6ec1605325d4&VideoCodec=h264,vp8,vp9&AudioCodec=ac3,aac,mp3,opus,flac,vorbis&AudioStreamIndex=2&VideoBitrate=10360000&AudioBitrate=640000&MaxFramerate=23.976025&api_key=<token>&TranscodingMaxAudioChannels=6&CopyTimestamps=true&RequireAvc=false&Tag=57f144fb7d350f5fe1a7f5fb00c07395&hevc-level=153&hevc-videobitdepth=10&hevc-profile=main10&TranscodeReasons=ContainerBitrateExceedsLimit"
[2023-08-13 17:03:05.537 +02:00] [INF] [29] Jellyfin.Api.Helpers.TranscodingJobHelper: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 500M -ss 00:24:51.978 -init_hw_device cuda=cu:0 -filter_hw_device cu -hwaccel cuda -hwaccel_output_format cuda -threads 1 -autorotate 0 -i file:\"/data/movies/Ali G Indahouse (2002)/Ali G Indahouse (2002) x265.mkv\" -autoscale 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_nvenc -force_key_frames \"expr:gte(t,n_forced*5)\" -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_cuda=format=yuv420p\" -copyts -avoid_negative_ts disabled -start_at_zero -preset p1 -b:v 10360000 -maxrate 10360000 -bufsize 20720000 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 ac3 -ac 6 -ab 640000 -y \"/config/data/transcodes/4e5d9f7b525c9c4ded97d67d791cf57f.mkv\""
[2023-08-13 17:03:06.760 +02:00] [WRN] [10] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://[*MySubdomain*].duckdns.org/videos/4698dff6-0485-8b8e-39da-6ec1605325d4/stream.mkv?DeviceId=V29vbmthbWVyIENocm9tZWNhc3QgbmV3&MediaSourceId=4698dff604858b8e39da6ec1605325d4&VideoCodec=h264,vp8,vp9&AudioCodec=ac3,aac,mp3,opus,flac,vorbis&AudioStreamIndex=2&VideoBitrate=10360000&AudioBitrate=640000&MaxFramerate=23.976025&StartTimeTicks=14919785941&PlaySessionId=bd1dc08f555d4eee8b1a5fdbd9a68862&api_key=2db8394b51b84e71a05988c45d7d3954&TranscodingMaxAudioChannels=6&CopyTimestamps=true&RequireAvc=false&Tag=57f144fb7d350f5fe1a7f5fb00c07395&hevc-level=153&hevc-videobitdepth=10&hevc-profile=main10&TranscodeReasons=ContainerBitrateExceedsLimit" to "172.19.0.2" in 0:00:01.2264521 with Status Code 200
[2023-08-13 17:03:20.903 +02:00] [INF] [28] Jellyfin.Api.Helpers.TranscodingJobHelper: Stopping ffmpeg process with q command for "/config/data/transcodes/cf839dc0fd5692f84277dc7c04321f03.mkv"
[2023-08-13 17:03:20.994 +02:00] [INF] [28] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 0
[2023-08-13 17:03:20.996 +02:00] [INF] [28] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) "/config/data/transcodes/cf839dc0fd5692f84277dc7c04321f03.mkv"
[2023-08-13 17:03:22.503 +02:00] [INF] [28] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Chromecast" "2.1.0" playing "Ali G Indahouse". Stopped at "12895" ms
[2023-08-13 17:03:22.530 +02:00] [WRN] [28] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://[*MySubdomain*].duckdns.org/Sessions/Playing/Stopped" to "172.19.0.2" in 0:00:01.6379263 with Status Code 204
[2023-08-13 17:03:30.247 +02:00] [INF] [2] Main: Received a SIGTERM signal, shutting down
[2023-08-13 17:03:30.248 +02:00] [INF] [2] Main: Running query planner optimizations in the database... This might take a while
[2023-08-13 17:03:30.256 +02:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "CoreAppHost"
[2023-08-13 17:03:30.257 +02:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "EmbyTV"
[2023-08-13 17:03:30.258 +02:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "EntryPoint"
[2023-08-13 17:03:30.258 +02:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "UserDataChangeNotifier"
[2023-08-13 17:03:30.258 +02:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "DeviceAccessEntryPoint"
[2023-08-13 17:03:30.258 +02:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "EntryPoint"
[2023-08-13 17:03:30.258 +02:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "DlnaEntryPoint"
[2023-08-13 17:03:30.259 +02:00] [INF] [2] Emby.Dlna.Main.DlnaEntryPoint: Disposing PlayToManager
[2023-08-13 17:03:30.260 +02:00] [INF] [2] Emby.Dlna.Main.DlnaEntryPoint: Disposing DeviceDiscovery
[2023-08-13 17:03:30.260 +02:00] [INF] [2] Emby.Dlna.Main.DlnaEntryPoint: Disposing SsdpCommunicationsServer
[2023-08-13 17:03:30.261 +02:00] [INF] [2] Emby.Dlna.Main.DlnaEntryPoint: "SsdpCommunicationsServer" disposing _BroadcastListenSocket
[2023-08-13 17:03:30.262 +02:00] [INF] [2] Emby.Dlna.Main.DlnaEntryPoint: "SsdpCommunicationsServer" Disposing 3 sendSockets
[2023-08-13 17:03:30.262 +02:00] [INF] [2] Emby.Dlna.Main.DlnaEntryPoint: "SsdpCommunicationsServer" disposing sendSocket from "0.0.0.0"
[2023-08-13 17:03:30.262 +02:00] [INF] [2] Emby.Dlna.Main.DlnaEntryPoint: "SsdpCommunicationsServer" disposing sendSocket from "172.19.0.3"
[2023-08-13 17:03:30.262 +02:00] [INF] [2] Emby.Dlna.Main.DlnaEntryPoint: "SsdpCommunicationsServer" disposing sendSocket from "127.0.0.1"
[2023-08-13 17:03:30.262 +02:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "NotificationEntryPoint"
[2023-08-13 17:03:30.263 +02:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "UdpServerEntryPoint"
[2023-08-13 17:03:30.263 +02:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "RecordingNotifier"
[2023-08-13 17:03:30.264 +02:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "ExternalPortForwarding"
[2023-08-13 17:03:30.265 +02:00] [INF] [2] Emby.Server.Implementations.EntryPoints.ExternalPortForwarding: Stopping NAT discovery
[2023-08-13 17:03:30.268 +02:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "MusicBrainzAlbumProvider"
[2023-08-13 17:03:30.268 +02:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "LibraryChangedNotifier"
[2023-08-13 17:03:30.270 +02:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "SchedulesDirect"
[2023-08-13 17:03:30.270 +02:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "LibraryMonitorStartup"

FFmpeg log when movie starts from the absolute start
Quote:/videos/4698dff6-0485-8b8e-39da-6ec1605325d4/stream.mkv

{"Protocol":0,"Id":"4698dff604858b8e39da6ec1605325d4","Path":"/data/movies/Ali G Indahouse (2002)/Ali G Indahouse (2002) x265.mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv,webm","Size":8271319040,"Name":"Ali G Indahouse (2002) x265","IsRemote":false,"ETag":"57f144fb7d350f5fe1a7f5fb00c07395","RunTimeTicks":52221861888,"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":"subrip","CodecTag":null,"Language":"dut","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"Dut - SUBRIP - External","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":0,"Score":null,"IsExternal":true,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"/data/movies/Ali G Indahouse (2002)/Ali G Indahouse (2002) x265.dut.srt","PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"hevc","CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":"bt709","ColorTransfer":"bt709","ColorPrimaries":"bt709","DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"Ali G Indahouse (2002)","VideoRange":"SDR","VideoRangeType":"SDR","VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"Ali G Indahouse (2002) - 1080p - HEVC - SDR","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":12671044,"BitDepth":10,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"Height":1040,"Width":1916,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"Main 10","Type":1,"AspectRatio":"1.85:1","Index":1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p10le","Level":153,"IsAnamorphic":null},{"Codec":"dts","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"DTS / 5.1 Ch / 1509 kbps / Original","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"DTS / 5.1 Ch / 1509 kbps / Original - English - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"5.1","BitRate":1536000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":"DTS","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":"ac3","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"AC3 / 2.0 Ch / 192 kbps / Original / Commentary","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"AC3 / 2.0 Ch / 192 kbps / Original / Commentary - English - Dolby Digital - 5.1","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"5.1","BitRate":192000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":0,"AspectRatio":null,"Index":3,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"subrip","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"SDH","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"SDH - English - SUBRIP","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":"mjpeg","CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":"bt470bg","ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/90000","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":null,"NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":850,"Width":600,"AverageFrameRate":null,"RealFrameRate":90000,"Profile":"Baseline","Type":3,"AspectRatio":"12:17","Index":5,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuvj420p","Level":-99,"IsAnamorphic":null}],"MediaAttachments":[{"Codec":"mjpeg","CodecTag":"[0][0][0][0]","Comment":null,"Index":4,"FileName":"Cover","MimeType":"image/jpeg","DeliveryUrl":null}],"Formats":[],"Bitrate":14399044,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 500M -init_hw_device cuda=cu:0 -filter_hw_device cu -hwaccel cuda -hwaccel_output_format cuda -threads 1 -autorotate 0 -i file:"/data/movies/Ali G Indahouse (2002)/Ali G Indahouse (2002) x265.mkv" -autoscale 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_nvenc -force_key_frames "expr:gte(t,n_forced*5)" -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_cuda=format=yuv420p" -copyts -avoid_negative_ts disabled -start_at_zero -preset p1 -b:v 10360000 -maxrate 10360000 -bufsize 20720000 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 ac3 -ac 6 -ab 640000 -y "/config/data/transcodes/cf839dc0fd5692f84277dc7c04321f03.mkv"


ffmpeg version 5.1.3-Jellyfin Copyright © 2000-2022 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.3.0-1ubuntu1~22.04.1)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libsvtav1 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      57. 28.100 / 57. 28.100
  libavcodec    59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter    8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample  4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
Input #0, matroska,webm, from 'file:/data/movies/Ali G Indahouse (2002)/Ali G Indahouse (2002) x265.mkv':
  Metadata:
    title          : Ali G Indahouse (2002)
    encoder        : libebml v1.4.4 + libmatroska v1.7.1
    creation_time  : 2023-07-10T20:39:38.000000Z
  Duration: 01:27:02.19, start: 0.000000, bitrate: 12671 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 273.000000
      Metadata:
        title          : Chapter 1
    Chapter #0:1: start 273.000000, end 342.000000
      Metadata:
        title          : Chapter 2
    Chapter #0:2: start 342.000000, end 605.800000
      Metadata:
        title          : Chapter 3
    Chapter #0:3: start 605.800000, end 785.520000
      Metadata:
        title          : Chapter 4
    Chapter #0:4: start 785.520000, end 833.760000
      Metadata:
        title          : Chapter 5
    Chapter #0:5: start 833.760000, end 870.960000
      Metadata:
        title          : Chapter 6
    Chapter #0:6: start 870.960000, end 979.920000
      Metadata:
        title          : Chapter 7
    Chapter #0:7: start 979.920000, end 1419.640000
      Metadata:
        title          : Chapter 8
    Chapter #0:8: start 1419.640000, end 1760.240000
      Metadata:
        title          : Chapter 9
    Chapter #0:9: start 1760.240000, end 1836.320000
      Metadata:
        title          : Chapter 10
    Chapter #0:10: start 1836.320000, end 2089.000000
      Metadata:
        title          : Chapter 11
    Chapter #0:11: start 2089.000000, end 2273.440000
      Metadata:
        title          : Chapter 12
    Chapter #0:12: start 2273.440000, end 2441.520000
      Metadata:
        title          : Chapter 13
    Chapter #0:13: start 2441.520000, end 2912.960000
      Metadata:
        title          : Chapter 14
    Chapter #0:14: start 2912.960000, end 3203.080000
      Metadata:
        title          : Chapter 15
    Chapter #0:15: start 3203.080000, end 3275.880000
      Metadata:
        title          : Chapter 16
    Chapter #0:16: start 3275.880000, end 3477.600000
      Metadata:
        title          : Chapter 17
    Chapter #0:17: start 3477.600000, end 3705.680000
      Metadata:
        title          : Chapter 18
    Chapter #0:18: start 3705.680000, end 4528.640000
      Metadata:
        title          : Chapter 19
    Chapter #0:19: start 4528.640000, end 5010.880000
      Metadata:
        title          : Chapter 20
    Chapter #0:20: start 5010.880000, end 5222.217000
      Metadata:
        title          : Chapter 21
  Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 1916x1040 [SAR 1:1 DAR 479:260], 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      title          : Ali G Indahouse (2002)
      BPS            : 10966857
      DURATION        : 01:27:02.176000000
      NUMBER_OF_FRAMES: 125207
      NUMBER_OF_BYTES : 7158857796
      _STATISTICS_WRITING_APP: mkvmerge v78.0 ('Running') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2023-07-10 20:39:38
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default)
    Metadata:
      title          : DTS / 5.1 Ch / 1509 kbps / Original
      BPS            : 1509000
      DURATION        : 01:27:02.186000000
      NUMBER_OF_FRAMES: 489580
      NUMBER_OF_BYTES : 985034960
      _STATISTICS_WRITING_APP: mkvmerge v78.0 ('Running') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2023-07-10 20:39:38
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 192 kb/s
    Metadata:
      title          : AC3 / 2.0 Ch / 192 kbps / Original / Commentary
      BPS            : 192000
      DURATION        : 01:27:02.176000000
      NUMBER_OF_FRAMES: 163193
      NUMBER_OF_BYTES : 125332224
      _STATISTICS_WRITING_APP: mkvmerge v78.0 ('Running') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2023-07-10 20:39:38
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:3(eng): Subtitle: subrip
    Metadata:
      title          : SDH
      BPS            : 83
      DURATION        : 01:26:21.911000000
      NUMBER_OF_FRAMES: 1324
      NUMBER_OF_BYTES : 54124
      _STATISTICS_WRITING_APP: mkvmerge v78.0 ('Running') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2023-07-10 20:39:38
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:4: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 600x850 [SAR 96:96 DAR 12:17], 90k tbr, 90k tbn (attached pic)
    Metadata:
      filename        : Cover
      mimetype        : image/jpeg
      title          : Cover
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_nvenc))
  Stream #0:1 -> #0:1 (dts (dca) -> ac3 (native))
Press [q] to stop, [?] for help
Output #0, matroska, to '/config/data/transcodes/cf839dc0fd5692f84277dc7c04321f03.mkv':
  Metadata:
    encoder        : Lavf59.27.100
  Stream #0:0: Video: h264 (Main) (H264 / 0x34363248), cuda(tv, bt709, progressive), 1916x1040 [SAR 1:1 DAR 479:260], q=2-31, 10360 kb/s, 23.98 fps, 1k tbn (default)
    Metadata:
      encoder        : Lavc59.37.100 h264_nvenc
    Side data:
      cpb: bitrate max/min/avg: 10360000/0/10360000 buffer size: 20720000 vbv_delay: N/A
  Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
    Metadata:
      encoder        : Lavc59.37.100 ac3
frame=    1 fps=0.0 q=0.0 size=      1kB time=00:00:00.00 bitrate=N/A speed=  0x   
frame=  47 fps=0.0 q=11.0 size=      1kB time=00:00:01.79 bitrate=  3.4kbits/s speed= 3.4x   
frame=  345 fps=336 q=15.0 size=  13824kB time=00:00:14.20 bitrate=7971.2kbits/s speed=13.8x   
frame=  669 fps=438 q=21.0 size=  31232kB time=00:00:27.71 bitrate=9232.9kbits/s speed=18.1x   
frame=  966 fps=476 q=14.0 size=  49408kB time=00:00:40.22 bitrate=10062.7kbits/s speed=19.8x   
frame= 1254 fps=494 q=16.0 size=  66560kB time=00:00:52.41 bitrate=10402.7kbits/s speed=20.7x   
frame= 1531 fps=504 q=26.0 size=  81152kB time=00:01:03.67 bitrate=10439.8kbits/s speed=  21x   
frame= 1834 fps=518 q=32.0 size=  94720kB time=00:01:16.31 bitrate=10167.1kbits/s speed=21.6x   
frame= 2128 fps=527 q=26.0 size=  113920kB time=00:01:28.57 bitrate=10536.1kbits/s speed=21.9x   
frame= 2433 fps=536 q=21.0 size=  127744kB time=00:01:41.34 bitrate=10326.1kbits/s speed=22.3x   
frame= 2726 fps=541 q=21.0 size=  146944kB time=00:01:53.59 bitrate=10596.7kbits/s speed=22.5x   
frame= 3003 fps=541 q=21.0 size=  164864kB time=00:02:05.08 bitrate=10796.9kbits/s speed=22.5x   
frame= 3223 fps=532 q=22.0 size=  175104kB time=00:02:14.33 bitrate=10678.2kbits/s speed=22.2x   
frame= 3439 fps=524 q=21.0 size=  188928kB time=00:02:23.51 bitrate=10783.9kbits/s speed=21.9x   
frame= 3660 fps=518 q=21.0 size=  197888kB time=00:02:32.67 bitrate=10618.2kbits/s speed=21.6x   
frame= 3872 fps=512 q=21.0 size=  211968kB time=00:02:41.34 bitrate=10762.4kbits/s speed=21.3x   
frame= 4084 fps=506 q=21.0 size=  220672kB time=00:02:50.43 bitrate=10606.9kbits/s speed=21.1x   
frame= 4301 fps=502 q=21.0 size=  235008kB time=00:02:59.23 bitrate=10741.3kbits/s speed=20.9x   
frame= 4534 fps=500 q=24.0 size=  248832kB time=00:03:08.96 bitrate=10787.6kbits/s speed=20.8x   
frame= 4760 fps=497 q=23.0 size=  262912kB time=00:03:18.33 bitrate=10859.3kbits/s speed=20.7x   
frame= 4969 fps=493 q=23.0 size=  273152kB time=00:03:27.29 bitrate=10794.6kbits/s speed=20.6x   
frame= 5190 fps=491 q=22.0 size=  287232kB time=00:03:36.35 bitrate=10875.9kbits/s speed=20.5x   
frame= 5396 fps=487 q=23.0 size=  295936kB time=00:03:44.92 bitrate=10778.1kbits/s speed=20.3x   
frame= 5618 fps=485 q=23.0 size=  310016kB time=00:03:54.20 bitrate=10843.6kbits/s speed=20.2x   
frame= 5829 fps=483 q=20.0 size=  318720kB time=00:04:03.16 bitrate=10737.3kbits/s speed=20.1x   
frame= 6056 fps=481 q=23.0 size=  333056kB time=00:04:12.38 bitrate=10810.5kbits/s speed=20.1x   
frame= 6274 fps=480 q=22.0 size=  346880kB time=00:04:21.53 bitrate=10865.2kbits/s speed=  20x   
frame= 6480 fps=477 q=24.0 size=  357120kB time=00:04:30.14 bitrate=10829.5kbits/s speed=19.9x   
frame= 6696 fps=475 q=23.0 size=  370944kB time=00:04:39.07 bitrate=10888.9kbits/s speed=19.8x   
frame= 6923 fps=474 q=20.0 size=  380160kB time=00:04:48.67 bitrate=10788.3kbits/s speed=19.8x   
frame= 7141 fps=473 q=19.0 size=  393984kB time=00:04:57.63 bitrate=10844.0kbits/s speed=19.7x   
frame= 7361 fps=472 q=22.0 size=  408064kB time=00:05:06.87 bitrate=10893.1kbits/s speed=19.7x   
frame= 7583 fps=471 q=20.0 size=  417024kB time=00:05:16.22 bitrate=10803.3kbits/s speed=19.6x   
frame= 7804 fps=470 q=22.0 size=  431104kB time=00:05:25.27 bitrate=10857.2kbits/s speed=19.6x   
frame= 8026 fps=469 q=21.0 size=  445184kB time=00:05:34.52 bitrate=10901.8kbits/s speed=19.6x   
frame= 8249 fps=469 q=19.0 size=  455424kB time=00:05:43.87 bitrate=10849.5kbits/s speed=19.5x   
frame= 8471 fps=468 q=21.0 size=  469248kB time=00:05:53.11 bitrate=10886.1kbits/s speed=19.5x   
frame= 8697 fps=467 q=17.0 size=  483584kB time=00:06:02.55 bitrate=10926.6kbits/s speed=19.5x   
frame= 8921 fps=467 q=19.0 size=  492288kB time=00:06:11.90 bitrate=10843.8kbits/s speed=19.5x   
frame= 9142 fps=466 q=24.0 size=  506368kB time=00:06:21.15 bitrate=10883.3kbits/s speed=19.4x   
frame= 9382 fps=467 q=24.0 size=  520704kB time=00:06:31.16 bitrate=10904.9kbits/s speed=19.5x   

[q] command received. Exiting.

frame= 9581 fps=466 q=18.0 Lsize=  533686kB time=00:06:39.58 bitrate=10941.3kbits/s speed=19.4x   
video:502285kB audio:31238kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.030703%

(And one other log in the next post...)


RE: Google Cast and Airplay 2 issues - Donrenegade - 2023-08-13

FFmpeg log when resuming anywhere in the movie
Quote:/videos/4698dff6-0485-8b8e-39da-6ec1605325d4/stream.mkv
{"Protocol":0,"Id":"4698dff604858b8e39da6ec1605325d4","Path":"/data/movies/Ali G Indahouse (2002)/Ali G Indahouse (2002) x265.mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv,webm","Size":8271319040,"Name":"Ali G Indahouse (2002) x265","IsRemote":false,"ETag":"57f144fb7d350f5fe1a7f5fb00c07395","RunTimeTicks":52221861888,"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":"subrip","CodecTag":null,"Language":"dut","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"Dut - SUBRIP - External","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":0,"Score":null,"IsExternal":true,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"/data/movies/Ali G Indahouse (2002)/Ali G Indahouse (2002) x265.dut.srt","PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"hevc","CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":"bt709","ColorTransfer":"bt709","ColorPrimaries":"bt709","DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"Ali G Indahouse (2002)","VideoRange":"SDR","VideoRangeType":"SDR","VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"Ali G Indahouse (2002) - 1080p - HEVC - SDR","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":12671044,"BitDepth":10,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"Height":1040,"Width":1916,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"Main 10","Type":1,"AspectRatio":"1.85:1","Index":1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p10le","Level":153,"IsAnamorphic":null},{"Codec":"dts","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"DTS / 5.1 Ch / 1509 kbps / Original","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"DTS / 5.1 Ch / 1509 kbps / Original - English - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"5.1","BitRate":1536000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":"DTS","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":"ac3","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"AC3 / 2.0 Ch / 192 kbps / Original / Commentary","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"AC3 / 2.0 Ch / 192 kbps / Original / Commentary - English - Dolby Digital - 5.1","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"5.1","BitRate":192000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":0,"AspectRatio":null,"Index":3,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"subrip","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"SDH","VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","DisplayTitle":"SDH - English - SUBRIP","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":"mjpeg","CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":"bt470bg","ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/90000","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":null,"NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":850,"Width":600,"AverageFrameRate":null,"RealFrameRate":90000,"Profile":"Baseline","Type":3,"AspectRatio":"12:17","Index":5,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuvj420p","Level":-99,"IsAnamorphic":null}],"MediaAttachments":[{"Codec":"mjpeg","CodecTag":"[0][0][0][0]","Comment":null,"Index":4,"FileName":"Cover","MimeType":"image/jpeg","DeliveryUrl":null}],"Formats":[],"Bitrate":14399044,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}
/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 500M -ss 00:24:51.978 -init_hw_device cuda=cu:0 -filter_hw_device cu -hwaccel cuda -hwaccel_output_format cuda -threads 1 -autorotate 0 -i file:"/data/movies/Ali G Indahouse (2002)/Ali G Indahouse (2002) x265.mkv" -autoscale 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_nvenc -force_key_frames "expr:gte(t,n_forced*5)" -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_cuda=format=yuv420p" -copyts -avoid_negative_ts disabled -start_at_zero -preset p1 -b:v 10360000 -maxrate 10360000 -bufsize 20720000 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 ac3 -ac 6 -ab 640000 -y "/config/data/transcodes/4e5d9f7b525c9c4ded97d67d791cf57f.mkv"
ffmpeg version 5.1.3-Jellyfin Copyright © 2000-2022 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.3.0-1ubuntu1~22.04.1)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libsvtav1 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      57. 28.100 / 57. 28.100
  libavcodec    59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter    8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample  4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
Input #0, matroska,webm, from 'file:/data/movies/Ali G Indahouse (2002)/Ali G Indahouse (2002) x265.mkv':
  Metadata:
    title          : Ali G Indahouse (2002)
    encoder        : libebml v1.4.4 + libmatroska v1.7.1
    creation_time  : 2023-07-10T20:39:38.000000Z
  Duration: 01:27:02.19, start: 0.000000, bitrate: 12671 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 273.000000
      Metadata:
        title          : Chapter 1
    Chapter #0:1: start 273.000000, end 342.000000
      Metadata:
        title          : Chapter 2
    Chapter #0:2: start 342.000000, end 605.800000
      Metadata:
        title          : Chapter 3
    Chapter #0:3: start 605.800000, end 785.520000
      Metadata:
        title          : Chapter 4
    Chapter #0:4: start 785.520000, end 833.760000
      Metadata:
        title          : Chapter 5
    Chapter #0:5: start 833.760000, end 870.960000
      Metadata:
        title          : Chapter 6
    Chapter #0:6: start 870.960000, end 979.920000
      Metadata:
        title          : Chapter 7
    Chapter #0:7: start 979.920000, end 1419.640000
      Metadata:
        title          : Chapter 8
    Chapter #0:8: start 1419.640000, end 1760.240000
      Metadata:
        title          : Chapter 9
    Chapter #0:9: start 1760.240000, end 1836.320000
      Metadata:
        title          : Chapter 10
    Chapter #0:10: start 1836.320000, end 2089.000000
      Metadata:
        title          : Chapter 11
    Chapter #0:11: start 2089.000000, end 2273.440000
      Metadata:
        title          : Chapter 12
    Chapter #0:12: start 2273.440000, end 2441.520000
      Metadata:
        title          : Chapter 13
    Chapter #0:13: start 2441.520000, end 2912.960000
      Metadata:
        title          : Chapter 14
    Chapter #0:14: start 2912.960000, end 3203.080000
      Metadata:
        title          : Chapter 15
    Chapter #0:15: start 3203.080000, end 3275.880000
      Metadata:
        title          : Chapter 16
    Chapter #0:16: start 3275.880000, end 3477.600000
      Metadata:
        title          : Chapter 17
    Chapter #0:17: start 3477.600000, end 3705.680000
      Metadata:
        title          : Chapter 18
    Chapter #0:18: start 3705.680000, end 4528.640000
      Metadata:
        title          : Chapter 19
    Chapter #0:19: start 4528.640000, end 5010.880000
      Metadata:
        title          : Chapter 20
    Chapter #0:20: start 5010.880000, end 5222.217000
      Metadata:
        title          : Chapter 21
  Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 1916x1040 [SAR 1:1 DAR 479:260], 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      title          : Ali G Indahouse (2002)
      BPS            : 10966857
      DURATION        : 01:27:02.176000000
      NUMBER_OF_FRAMES: 125207
      NUMBER_OF_BYTES : 7158857796
      _STATISTICS_WRITING_APP: mkvmerge v78.0 ('Running') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2023-07-10 20:39:38
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default)
    Metadata:
      title          : DTS / 5.1 Ch / 1509 kbps / Original
      BPS            : 1509000
      DURATION        : 01:27:02.186000000
      NUMBER_OF_FRAMES: 489580
      NUMBER_OF_BYTES : 985034960
      _STATISTICS_WRITING_APP: mkvmerge v78.0 ('Running') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2023-07-10 20:39:38
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 192 kb/s
    Metadata:
      title          : AC3 / 2.0 Ch / 192 kbps / Original / Commentary
      BPS            : 192000
      DURATION        : 01:27:02.176000000
      NUMBER_OF_FRAMES: 163193
      NUMBER_OF_BYTES : 125332224
      _STATISTICS_WRITING_APP: mkvmerge v78.0 ('Running') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2023-07-10 20:39:38
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:3(eng): Subtitle: subrip
    Metadata:
      title          : SDH
      BPS            : 83
      DURATION        : 01:26:21.911000000
      NUMBER_OF_FRAMES: 1324
      NUMBER_OF_BYTES : 54124
      _STATISTICS_WRITING_APP: mkvmerge v78.0 ('Running') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2023-07-10 20:39:38
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:4: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 600x850 [SAR 96:96 DAR 12:17], 90k tbr, 90k tbn (attached pic)
    Metadata:
      filename        : Cover
      mimetype        : image/jpeg
      title          : Cover
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_nvenc))
  Stream #0:1 -> #0:1 (dts (dca) -> ac3 (native))
Press [q] to stop, [?] for help
Output #0, matroska, to '/config/data/transcodes/4e5d9f7b525c9c4ded97d67d791cf57f.mkv':
  Metadata:
    encoder        : Lavf59.27.100
  Stream #0:0: Video: h264 (Main) (H264 / 0x34363248), cuda(tv, bt709, progressive), 1916x1040 [SAR 1:1 DAR 479:260], q=2-31, 10360 kb/s, 23.98 fps, 1k tbn (default)
    Metadata:
      encoder        : Lavc59.37.100 h264_nvenc
    Side data:
      cpb: bitrate max/min/avg: 10360000/0/10360000 buffer size: 20720000 vbv_delay: N/A
  Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
    Metadata:
      encoder        : Lavc59.37.100 ac3
frame=    1 fps=0.0 q=0.0 size=      1kB time=00:00:00.00 bitrate=N/A speed=  0x   
frame=  219 fps=0.0 q=19.0 size=  10240kB time=00:00:08.99 bitrate=9329.0kbits/s speed=12.3x   
frame=  441 fps=357 q=21.0 size=  24320kB time=00:00:18.14 bitrate=10979.9kbits/s speed=14.7x   
frame=  656 fps=378 q=21.0 size=  33792kB time=00:00:27.13 bitrate=10201.4kbits/s speed=15.6x   
frame=  879 fps=393 q=22.0 size=  47360kB time=00:00:36.48 bitrate=10635.2kbits/s speed=16.3x   
frame= 1094 fps=400 q=23.0 size=  61440kB time=00:00:45.44 bitrate=11076.3kbits/s speed=16.6x   
frame= 1326 fps=409 q=22.0 size=  70144kB time=00:00:55.10 bitrate=10427.9kbits/s speed=  17x   
frame= 1537 fps=411 q=21.0 size=  84224kB time=00:01:03.93 bitrate=10791.5kbits/s speed=17.1x   
frame= 1751 fps=413 q=21.0 size=  94720kB time=00:01:12.86 bitrate=10649.1kbits/s speed=17.2x   
frame= 1969 fps=415 q=21.0 size=  108800kB time=00:01:21.95 bitrate=10875.6kbits/s speed=17.3x   
frame= 2183 fps=416 q=21.0 size=  117248kB time=00:01:30.84 bitrate=10572.4kbits/s speed=17.3x   
frame= 2405 fps=419 q=20.0 size=  131328kB time=00:01:40.32 bitrate=10724.0kbits/s speed=17.5x   
frame= 2610 fps=418 q=21.0 size=  145408kB time=00:01:48.64 bitrate=10964.4kbits/s speed=17.4x   
frame= 2831 fps=420 q=20.0 size=  154368kB time=00:01:57.88 bitrate=10727.0kbits/s speed=17.5x   
frame= 3043 fps=420 q=19.0 size=  168192kB time=00:02:06.75 bitrate=10870.2kbits/s speed=17.5x   
frame= 3262 fps=421 q=19.0 size=  182016kB time=00:02:15.90 bitrate=10971.5kbits/s speed=17.5x   
frame= 3484 fps=422 q=19.0 size=  192512kB time=00:02:25.15 bitrate=10864.8kbits/s speed=17.6x   
frame= 3696 fps=422 q=19.0 size=  206592kB time=00:02:34.01 bitrate=10988.5kbits/s speed=17.6x   
frame= 3912 fps=423 q=19.0 size=  215296kB time=00:02:43.13 bitrate=10811.3kbits/s speed=17.6x   
frame= 4127 fps=423 q=20.0 size=  229120kB time=00:02:51.90 bitrate=10918.7kbits/s speed=17.6x   
frame= 4343 fps=423 q=18.0 size=  238080kB time=00:03:01.02 bitrate=10773.9kbits/s speed=17.6x   
frame= 4556 fps=423 q=18.0 size=  252160kB time=00:03:09.79 bitrate=10883.9kbits/s speed=17.6x   
frame= 4766 fps=423 q=18.0 size=  266240kB time=00:03:18.68 bitrate=10977.2kbits/s speed=17.6x   
frame= 4983 fps=424 q=20.0 size=  276480kB time=00:03:27.80 bitrate=10899.1kbits/s speed=17.7x   
frame= 5197 fps=424 q=20.0 size=  290816kB time=00:03:36.61 bitrate=10998.4kbits/s speed=17.7x   
frame= 5416 fps=424 q=21.0 size=  299776kB time=00:03:45.76 bitrate=10877.7kbits/s speed=17.7x   
frame= 5628 fps=424 q=20.0 size=  313600kB time=00:03:54.72 bitrate=10945.0kbits/s speed=17.7x   
frame= 5849 fps=425 q=19.0 size=  327424kB time=00:04:03.93 bitrate=10995.7kbits/s speed=17.7x   
frame= 6073 fps=426 q=20.0 size=  336384kB time=00:04:13.18 bitrate=10884.0kbits/s speed=17.7x   
frame= 6271 fps=424 q=19.0 size=  350464kB time=00:04:21.37 bitrate=10984.2kbits/s speed=17.7x   
frame= 6483 fps=424 q=20.0 size=  360704kB time=00:04:30.46 bitrate=10925.2kbits/s speed=17.7x   
frame= 6785 fps=430 q=21.0 size=  378368kB time=00:04:42.91 bitrate=10956.0kbits/s speed=17.9x   
frame= 7090 fps=436 q=20.0 size=  392448kB time=00:04:55.55 bitrate=10877.7kbits/s speed=18.2x   
frame= 7383 fps=440 q=20.0 size=  411648kB time=00:05:07.68 bitrate=10960.2kbits/s speed=18.3x   
frame= 7685 fps=445 q=17.0 size=  425472kB time=00:05:20.51 bitrate=10874.7kbits/s speed=18.6x   
frame= 7976 fps=449 q=21.0 size=  444672kB time=00:05:32.54 bitrate=10954.2kbits/s speed=18.7x   
frame= 8269 fps=452 q=22.0 size=  462592kB time=00:05:44.86 bitrate=10988.5kbits/s speed=18.9x   
frame= 8572 fps=456 q=22.0 size=  476672kB time=00:05:57.40 bitrate=10925.6kbits/s speed=  19x   
frame= 8871 fps=460 q=24.0 size=  495616kB time=00:06:09.79 bitrate=10979.4kbits/s speed=19.2x   
frame= 9179 fps=464 q=23.0 size=  509440kB time=00:06:22.84 bitrate=10900.7kbits/s speed=19.4x   
frame= 9481 fps=467 q=21.0 size=  528640kB time=00:06:35.29 bitrate=10955.4kbits/s speed=19.5x   
frame= 9780 fps=471 q=21.0 size=  546560kB time=00:06:47.68 bitrate=10982.7kbits/s speed=19.6x   
frame=10082 fps=474 q=22.0 size=  560640kB time=00:07:00.38 bitrate=10925.1kbits/s speed=19.8x   
frame=10383 fps=477 q=21.0 size=  579584kB time=00:07:12.89 bitrate=10967.9kbits/s speed=19.9x   
frame=10693 fps=480 q=21.0 size=  598784kB time=00:07:25.79 bitrate=11003.4kbits/s speed=  20x   
frame=11003 fps=483 q=19.0 size=  616448kB time=00:07:38.68 bitrate=11009.5kbits/s speed=20.1x   
frame=11318 fps=486 q=21.0 size=  630528kB time=00:07:51.90 bitrate=10945.6kbits/s speed=20.3x   
frame=11622 fps=489 q=22.0 size=  649984kB time=00:08:04.48 bitrate=10990.5kbits/s speed=20.4x