Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FFmpeg exited with code 137 on Android TV 0.15.12 #3416

Closed
1 task done
hardwareadictos opened this issue Nov 1, 2023 · 13 comments
Closed
1 task done

FFmpeg exited with code 137 on Android TV 0.15.12 #3416

hardwareadictos opened this issue Nov 1, 2023 · 13 comments
Labels
bug Something isn't working

Comments

@hardwareadictos
Copy link

hardwareadictos commented Nov 1, 2023

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

- OS: Debian 12
- Linux Kernel:6.1.0-13-amd64 jellyfin/jellyfin#1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux
- Virtualization: Docker
- Hardware Acceleration: Nvidia NVENC
- GPU Model: nVidia Quadro T1000

Jellyfin logs

6Jellyfin  | [15:17:45] [INF] [8] 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/f4b21cc3f803ef0e03693a2e903fdcb6%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/f4b21cc3f803ef0e03693a2e903fdcb6.m3u8"
Jellyfin  | [15:17:42] [INF] [17] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile=AndroidTV-ExoPlayer, Path=/video/video.mkv, AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=SubtitleCodecNotSupported ) media:/videos/7aa0dd3c-4a21-31b8-8189-a7ec92ba0c98/master.m3u8?
Jellyfin  | [15:17:45] [INF] [8] 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/f4b21cc3f803ef0e03693a2e903fdcb6%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/f4b21cc3f803ef0e03693a2e903fdcb6.m3u8"MediaSourceId=7aa0dd3c4a2131b88189a7ec92ba0c98&VideoCodec=hevc,h264,hevc&AudioCodec=aac,mp3,ac3,eac3&AudioStreamIndex=1&SubtitleStreamIndex=6&VideoBitrate=79872000&AudioBitrate=128000&MaxFramerate=23.976025&api_key=<token>&SubtitleMethod=Encode&RequireAvc=false&Tag=64667a7e390ec81f8e05a656f174c0ce&SegmentContainer=ts&BreakOnNonKeyFrames=False&hevc-level=120&hevc-videobitdepth=8&hevc-profile=main&aac-audiochannels=8&TranscodeReasons=SubtitleCodecNotSupported
Jellyfin  | [15:17:58] [INF] [35] 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:"/pvideo/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/f4b21cc3f803ef0e03693a2e903fdcb6%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/f4b21cc3f803ef0e03693a2e903fdcb6.m3u8"
Jellyfin  | [15:18:03] [INF] [58] Jellyfin.Api.Helpers.TranscodingJobHelper: Killing FFmpeg process for /config/transcodes/f4b21cc3f803ef0e03693a2e903fdcb6.m3u8
Jellyfin  | [15:18:03] [INF] [58] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) /config/transcodes/f4b21cc3f803ef0e03693a2e903fdcb6.m3u8
Jellyfin  | [15:18:03] [ERR] [46] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 137

FFmpeg logs

[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

Please attach any browser or client logs here

No response

Please attach any screenshots here

image

image

Code of Conduct

  • I agree to follow this project's Code of Conduct
@hardwareadictos hardwareadictos added the bug Something isn't working label Nov 1, 2023
@felix920506
Copy link
Member

Please include ffmpeg logs

@hardwareadictos
Copy link
Author

Please include ffmpeg logs

Can you point me where to find them on the official Jellyfin Docker container?

@felix920506
Copy link
Member

@hardwareadictos go to the same page as you obtained your Jellyfin logs, the files that have "ffmpeg" in their names are ffmpeg logs

@hardwareadictos
Copy link
Author

hardwareadictos commented Nov 1, 2023

@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

@felix920506
Copy link
Member

felix920506 commented Nov 2, 2023

@hardwareadictos Those aren't ffmpeg logs. These are the files to grab. (File names that look like the bottom 3)
截圖 2023-11-01 下午9 13 20

@hardwareadictos
Copy link
Author

@hardwareadictos Those aren't ffmpeg logs. These are the files to grab. (File names that look like the bottom 3) 截圖 2023-11-
01 下午9 13 20

Here you have them.

ffmpeg_2.txt
ffmpeg_3.txt
ffmpeg_1.txt

Thank you :)

@felix920506
Copy link
Member

Hi, we would like to know the following:

  1. Are you trying to burn in subtitles when playing using your Android TV client?
  2. If so, can you try disabling subtitles altogether and see if it helps?
  3. If disabling subtitles help, can you try burning in subtitles from another device?

@nyanmisaka
Copy link
Member

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.

@hardwareadictos
Copy link
Author

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

@felix920506
Copy link
Member

It looks like this will have to be fixed on the Android TV client side.

@hardwareadictos
Copy link
Author

Is it possible to move this issue to Android TV issues repo? Opened a clone some days ago but someone closed it...

@major-mayer
Copy link

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...

@anthonylavado anthonylavado transferred this issue from jellyfin/jellyfin Feb 28, 2024
@nielsvanvelzen
Copy link
Member

Duplicate of #3158

@nielsvanvelzen nielsvanvelzen marked this as a duplicate of #3158 Feb 28, 2024
@nielsvanvelzen nielsvanvelzen closed this as not planned Won't fix, can't repro, duplicate, stale Feb 28, 2024
Issue Triage for Main Repo automation moved this from Needs triage to Closed/Done Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

5 participants