Comments (13)
Please include ffmpeg logs
from jellyfin-androidtv.
Please include ffmpeg logs
Can you point me where to find them on the official Jellyfin Docker container?
from jellyfin-androidtv.
@hardwareadictos go to the same page as you obtained your Jellyfin logs, the files that have "ffmpeg" in their names are ffmpeg logs
from jellyfin-androidtv.
@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
from jellyfin-androidtv.
@hardwareadictos Those aren't ffmpeg logs. These are the files to grab. (File names that look like the bottom 3)
from jellyfin-androidtv.
@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 :)
from jellyfin-androidtv.
Hi, we would like to know the following:
- Are you trying to burn in subtitles when playing using your Android TV client?
- If so, can you try disabling subtitles altogether and see if it helps?
- If disabling subtitles help, can you try burning in subtitles from another device?
from jellyfin-androidtv.
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.
from jellyfin-androidtv.
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
from jellyfin-androidtv.
It looks like this will have to be fixed on the Android TV client side.
from jellyfin-androidtv.
Is it possible to move this issue to Android TV issues repo? Opened a clone some days ago but someone closed it...
from jellyfin-androidtv.
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...
from jellyfin-androidtv.
Duplicate of #3158
from jellyfin-androidtv.
Related Issues (20)
- Media player doesn't change sound channel HOT 2
- trailer playback on youtube doesn't return to movie page on jellyfin HOT 2
- FireTV Stick (2nd gen) seems to not send a transcode request to the server.
- Unable to connect to server HOT 3
- Android TV unable to connect HOT 2
- Some controls stop working on Android TV app HOT 4
- Subtitles get out of sync when resuming a movie, or the audio/video is out of sync with the subtitles. HOT 29
- [Issue]: Local "Strm" files can't be played on the jellyfin TV clients (android),but in the browser(like edge) can play strm file HOT 4
- Option to disable the players hardware encoding HOT 1
- Continue Watching now working HOT 2
- PIN protection for users
- Chromecast TV VC1 - “Too many errors. Giving up”
- surround sound doesn't work on fire cube
- Next Up items on homescreen not updating position HOT 2
- Crash When App Start HOT 1
- Open "Next Up" Media from Home Screen - Control not working in Jellyfin App
- Audio only PCM when refresh rate switching is on
- v0.16.9 crashes back to firestick home screen when attempting to play any video HOT 2
- Crashes when tying to select next episode HOT 5
- black screen on playback end HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jellyfin-androidtv.