Closed hardwareadictos closed 8 months ago
Please include ffmpeg logs
Please include ffmpeg logs
Can you point me where to find them on the official Jellyfin Docker container?
@hardwareadictos go to the same page as you obtained your Jellyfin logs, the files that have "ffmpeg" in their names are ffmpeg logs
@hardwareadictos go to the same page as you obtained your Jellyfin logs, the files that have "ffmpeg" in their names are ffmpeg logs
Thanks for the quick response :)
Updated the issue with ffmpeg logs, proceeding to add them to the reply also:
[20:44:15] [INF] [32] Jellyfin.Api.Helpers.TranscodingJobHelper: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -init_hw_device cuda=cu:0 -filter_hw_device cu -hwaccel cuda -hwaccel_output_format cuda -c:v hevc_cuvid -autorotate 0 -i file:"/video/video.mkv" -autoscale 0 -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:0 -codec:v:0 hevc_nvenc -tag:v:0 hvc1 -preset p1 -b:v 14247053 -maxrate 14247053 -bufsize 28494106 -profile:v:0 main -g:v:0 72 -keyint_min:v:0 72 -filter_complex "alphasrc=s=1920x1040:r=10:start='0',format=yuva420p,subtitles=f='/video/video.mkv':si=1:alpha=1:sub2video=1:fontsdir='/cache/attachments/7aa0dd3c4a2131b88189a7ec92ba0c98',hwupload=derive_device=cuda[sub];[0:0]setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_cuda=format=yuv420p[main];[main][sub]overlay_cuda=eof_action=endall:shortest=1:repeatlast=0" -start_at_zero -codec:a:0 libfdk_aac -ac 8 -ab 128000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "/config/transcodes/86976e428f4c5cc5e5a04b6d597c56b3%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/86976e428f4c5cc5e5a04b6d597c56b3.m3u8"
20:44:50] [INF] [52] Jellyfin.Api.Helpers.TranscodingJobHelper: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -init_hw_device cuda=cu:0 -filter_hw_device cu -hwaccel cuda -hwaccel_output_format cuda -c:v hevc_cuvid -autorotate 0 -i file:"/video/video.mkv" -autoscale 0 -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:0 -codec:v:0 hevc_nvenc -tag:v:0 hvc1 -preset p1 -b:v 14247053 -maxrate 14247053 -bufsize 28494106 -profile:v:0 main -g:v:0 72 -keyint_min:v:0 72 -filter_complex "alphasrc=s=1920x1040:r=10:start='0',format=yuva420p,subtitles=f='/video/video.mkv':si=1:alpha=1:sub2video=1:fontsdir='/cache/attachments/7aa0dd3c4a2131b88189a7ec92ba0c98',hwupload=derive_device=cuda[sub];[0:0]setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_cuda=format=yuv420p[main];[main][sub]overlay_cuda=eof_action=endall:shortest=1:repeatlast=0" -start_at_zero -codec:a:0 libfdk_aac -ac 8 -ab 128000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "/config/transcodes/86976e428f4c5cc5e5a04b6d597c56b3%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/86976e428f4c5cc5e5a04b6d597c56b3.m3u8"
[20:44:50] [INF] [35] Jellyfin.Api.Helpers.TranscodingJobHelper: Stopping ffmpeg process with q command for /config/transcodes/86976e428f4c5cc5e5a04b6d597c56b3.m3u8
[20:44:51] [INF] [46] Jellyfin.Api.Helpers.TranscodingJobHelper: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -init_hw_device cuda=cu:0 -filter_hw_device cu -hwaccel cuda -hwaccel_output_format cuda -c:v hevc_cuvid -autorotate 0 -i file:"/video/video.mkv" -autoscale 0 -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:0 -codec:v:0 hevc_nvenc -tag:v:0 hvc1 -preset p1 -b:v 14247053 -maxrate 14247053 -bufsize 28494106 -profile:v:0 main -g:v:0 72 -keyint_min:v:0 72 -filter_complex "alphasrc=s=1920x1040:r=10:start='0',format=yuva420p,subtitles=f='/video/video.mkv':si=1:alpha=1:sub2video=1:fontsdir='/cache/attachments/7aa0dd3c4a2131b88189a7ec92ba0c98',hwupload=derive_device=cuda[sub];[0:0]setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_cuda=format=yuv420p[main];[main][sub]overlay_cuda=eof_action=endall:shortest=1:repeatlast=0" -start_at_zero -codec:a:0 libfdk_aac -ac 8 -ab 128000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "/config/transcodes/ffa9725c6e3a27282e6375c04b126246%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/ffa9725c6e3a27282e6375c04b126246.m3u8"
[20:44:52] [INF] [63] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Processing playback tracker : 9b05f19af34d7f0916d30866164a84e13685f697-6c15cd581eed4ab4beaba4880cc4e85e-7aa0dd3c4a2131b88189a7ec92ba0c98
Let me know if you need more information or if you need me to reproduce the issue.
Thank you.
Edit1: I asked a user to reproduce the same file on an iPad with Jellyfin app for IPadOS, as it happened on every other platform except for Android TVs, the file was well reproduced, that was the result:
[20:55:27] [INF] [21] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile=Anonymous Profile, Path=/video/video.mkv, AudioStreamIndex=1, SubtitleStreamIndex=6 ) => ( PlayMethod=Transcode, TranscodeReason=ContainerNotSupported, VideoCodecNotSupported, AudioCodecNotSupported ) media:/videos/7aa0dd3c-4a21-31b8-8189-a7ec92ba0c98/master.m3u8?MediaSourceId=7aa0dd3c4a2131b88189a7ec92ba0c98&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=139616000&AudioBitrate=384000&MaxFramerate=23.976025&api_key=<token>&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=64667a7e390ec81f8e05a656f174c0ce&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&hevc-level=120&hevc-videobitdepth=8&hevc-profile=main&TranscodeReasons=ContainerNotSupported,%20VideoCodecNotSupported,%20AudioCodecNotSupported
[20:55:28] [INF] [33] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[20:55:28] [INF] [33] Jellyfin.Api.Helpers.TranscodingJobHelper: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -init_hw_device cuda=cu:0 -filter_hw_device cu -hwaccel cuda -hwaccel_output_format cuda -c:v hevc_cuvid -autorotate 0 -i file:"/video/video.mkv" -autoscale 0 -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_nvenc -preset p1 -b:v 14247053 -maxrate 14247053 -bufsize 28494106 -g:v:0 72 -keyint_min:v:0 72 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_cuda=format=yuv420p" -codec:a:0 libfdk_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 3 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "/config/transcodes/13b660da26cd3476191947e72e168433%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/13b660da26cd3476191947e72e168433.m3u8"
[20:55:29] [WRN] [19] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from http://XXX.XXX.X.XX:8096/videos/7aa0dd3c-4a21-31b8-8189-a7ec92ba0c98/hls1/main/0.ts?DeviceId=8164ee06-e01e-4f6f-86ab-4fd226a39047&MediaSourceId=7aa0dd3c4a2131b88189a7ec92ba0c98&VideoCodec=h264&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=139616000&AudioBitrate=384000&MaxFramerate=23.976025&PlaySessionId=4ab3a3ed33a64b7b8252dd8f0ace57b9&api_key=ebda31a3f0684d919101004b18942e6b&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=64667a7e390ec81f8e05a656f174c0ce&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&hevc-level=120&hevc-videobitdepth=8&hevc-profile=main&TranscodeReasons=ContainerNotSupported,%20VideoCodecNotSupported,%20AudioCodecNotSupported&runtimeTicks=0&actualSegmentLengthTicks=30000000 to 192.168.1.230 in 0:00:01.1601899 with Status Code 200
@hardwareadictos Those aren't ffmpeg logs. These are the files to grab. (File names that look like the bottom 3)
@hardwareadictos Those aren't ffmpeg logs. These are the files to grab. (File names that look like the bottom 3)
Here you have them.
ffmpeg_2.txt ffmpeg_3.txt ffmpeg_1.txt
Thank you :)
Hi, we would like to know the following:
Possibly due to the long FFmpeg startup delay caused by burning embedded text-based subtitles in the video (currently this is a limitation of FFmpeg), the Android client ends the wait prematurely and reports an error.
Deactivating subtitles males the playback work again, what is suspicious is that this only happens on Android TV, on the other platforms that doesn't happen. Is there something doable for fixing this?
I can continue the streaming if I enable subtitles manually
It looks like this will have to be fixed on the Android TV client side.
Is it possible to move this issue to Android TV issues repo? Opened a clone some days ago but someone closed it...
I get the same error on a movie that doesn't even have subtitles, so I don't know how to disable them. A workaround for me was to use libvlc instead of exoplayer in the playback settings. For whatever reason, it works then...
Please describe your bug
Just forcing my users to use GPU transcoding as always did, never was giving issues but on recent days Android TV is failing to Use my Quadro T1000 only on Android TV 0.15.12 app.
My other apps, like Android, Browsers, IOs etc are working fine. Could be an issue with Android TV app?
I'm using Android TV app on Sony 43X85K and two Chromecast 2020 with Google TV, failing on those devices.
Jellyfin Version
10.8.z
if other:
No response
Environment
Jellyfin logs
FFmpeg logs
Please attach any browser or client logs here
No response
Please attach any screenshots here
Code of Conduct