![]() |
SOLVED: Chromecast + 1080p no stream - 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: SOLVED: Chromecast + 1080p no stream (/t-solved-chromecast-1080p-no-stream) Pages:
1
2
|
Chromecast + 1080p no stream - Nero_XIII - 2024-07-22 Hello everyone, i am pretty new to Jellyfin but figured out some things on my own. My server is now running for some month an recently i discovered this issue: (i already tried to find a solution in existing Threats but could not find any) I do have a pretty basic setup: Jellyfin running in an LXC container on my Proxmox Host and my Client (Android Phone) with the Jellyfin App to play my content. I also have an Google Chromecast Ultra stick and an Chromecast HD stick attached on my TV. Now i if i play any video in 720p it can be played directly on the Chromecast stick. As soon as i want to play a 1080p video it starts to load on the TV for 3-5 seconds and then goes back to Jellyfin idle screen. The exact same video can be played without any problem directly on my phone. I cannot figure out what the issue is. It might be related to the Transcoding but i am not sure as i am absolutely new to transcoding and do not have any idea what to do there. I enabled it and it seems to work pretty good as if i disable it and play a movie (720p) the CPU really goes up around 20% and gets a bit warmer but if i enable the transcoding the CPU stays within 2% load and also does not get warmer. My Hardware specs are: CPU: AMD Ryzen Pro 5650G with AMD GPU integrated RAM: 32GB ECC DDR4 RAM Please let me know if you need any more information, i would appreciate any advice as i try to solve this issue for now around 2 weeks and cannot figure it out *UPDATE* Appearently i did miss the point to pass the APU to the LXC container so it was not really used by Jellyfin before. This now should work but i am not sure if my Transcoding settings are correct, maybe someone can give me an advise on this? Also i can test it today afternoon and will give an update if it works now. If someone also has the same issue for the missing GPU that guide did work: https://www.reddit.com/r/Proxmox/comments/gyu8n1/amd_apu_passthrough_in_proxmox_624/ Basically: -get GPU device: ls -lh /dev/dri output should look like: Code: total 0 -add 3 lines and make sure the card number in line 2 fits the output: Code: lxc.cgroup.devices.allow: c 226:128 rwm - "ls -lh /dev/dri" in Jellyfin container should show same output as in Proxmox host RE: Chromecast + 1080p no stream - Nero_XIII - 2024-07-22 Update: it does not work. I am running out of ideas why this is not working. These are the infos from the file i like to play (for example) on the left. On the right the file which is working. If i get the info while playing the file it also says that it is fully supported on the destination device and does not need any transcoding. Container: mp4 mp4 Video Titel: 1080p H264 SDR 720p H264 SDR Codec: H264 H264 Codec-Tag: avc1 avc1 AVC: Yes YES Profil: High High Level: 32 31 Auflösung: 1728x720 1280x536 Seitenverhältnis: 2.40:1 2.40:1 Anamorph: No Zeilensprungverfahren: No No Bildrate: 23.976025 23.976025 Bitrate: 630 kbps 491 kbps Bit-Tiefe: 8 bit 8 bit Videobereich: SDR SDR Video-Dynamikumfang: SDR SDR Pixelformat: yuv420p yuv420p Referenz-Frames: 1 1 NAL: 4 4 Audio Titel: AAC - Stereo - Default AAC - Stereo - Default Sprache: und und Codec: AAC AAC Codec-Tag: mp4a mp4a AVC: No Profil: LC LC Darstellung: stereo stereo Kanäle: 2 ch 2 ch Bitrate: 129 kbps 129 kbps Abtastrate: 44100 Hz 44100 Hz Standard: Yes Yes Erzwungen: No no Extern: No no so the only difference i can see is the resolution but that should not be a problem as that Chromecast stick is able to play this. RE: Chromecast + 1080p no stream - TheDreadPirate - 2024-07-22 Can you share your Jellyfin logs and the most recent ffmpeg logs? Post both to pastebin then provide the links here. RE: Chromecast + 1080p no stream - Nero_XIII - 2024-07-24 So what i found out so far is that those movies which work are played directly without any Transcoding. When i try to play for example the mentioned movie above i get the message in dashboard when i get infos from the stream: destination device does not support video/audio bitrate and needs to Transcode it. The exact numbers i can post later today. This leaves me a bit confused as the Chromecast stick should be capable of playing this. Playing this exact movie only in the app on my phone everything works fine, no transcoding. Also: i configured the transcoding and hardware acceleration but it seems not to be used as the GPU usage does not rise, instead only the CPU usage rises and the temperature RE: Chromecast + 1080p no stream - TheDreadPirate - 2024-07-24 If only the audio is transcoding, but the video isn't, you would see CPU usage since audio transcoding happens on the CPU. If you share the ffmpeg log associated with that playback we would be able to figure out what is going on. I know there some changes in 10.9 with what libraries Jellyfin uses to interface with Chromecasts via casting. I'm assuming some transcoding/direct play profiles were changed. RE: Chromecast + 1080p no stream - Nero_XIII - 2024-07-28 Ok finally i got some time to see the logs. I Put them into Pastebin, i set a password: 5hctzL5uyA Thats the log if i disable the transcoding where the CPU goes very high on transcoding it (onece more: this is just one example video, many others do have the same problem, 720p videos are not affected as far as i can see right now. https://pastebin.com/AweKy9jm Also i get this information in Jellyfin while it is running: "The media is converted into a format that is compatible with the playback device. Frame rate: 405fps 4.1Mbps TS H264 AAC Reason for transcoding Video resolution is not supported" Further i enabled the Hardware Transcoding again once in AMD AMF (i got the Ryzen Pro 5650G with APU) this is the lof for this: https://pastebin.com/0WeNwqS1 The Chromecast Stick does not play the media, it loads it and then it stops and drops me back in idle wallpaper screen. After that i changed to VAAPI, nothing changes, same issue like above. https://pastebin.com/AVDNzeWK Also i am not sure what i need to enable under Transcoding so i just choose this setup (i already played around with it but i no setup works) Hardwareaccleration: VAAPI VA-API-Device /dev/dri/renderD128 Decoding: H265 HEVC Option for Hardwarecoding: Hardwarecoding enabled I hope this helps. *Addition* I am not 100% sure but i think that the direct play worked already for those files some time ago under an older version of Jellyfin. At the moment this is just a thought which i cannot prove. I also just did an update to 10.9.8 and will have a test today afternoon if the issue maybe was related to the version RE: Chromecast + 1080p no stream - Nero_XIII - 2024-08-05 Update: I now did a clean installation of Jellyfin 10.9.9 into an fresh LXC container, made sure the APU is recognized and used by the container by checking which which are supported using this command: "sudo /usr/lib/jellyfin-ffmpeg/vainfo --display drm --device /dev/dri/renderD128" After i enabled the Hardwaretranscoding again the same problem. The log is just showing this: Code: Metadata: Any Ideas? RE: Chromecast + 1080p no stream - TheDreadPirate - 2024-08-05 Can you show me screenshots of Dashboard > Playback? RE: Chromecast + 1080p no stream - Nero_XIII - 2024-08-05 Do you mean this? https://postimg.cc/v1DW6cqr RE: Chromecast + 1080p no stream - TheDreadPirate - 2024-08-05 You don't have hardware encoding enabled and your CPU/GPU doesn't support all those codecs. In the top section for the decoding list. Check MPEG2, H264, HEVC, HEVC 10-bit, VP9, VP9 10-bit. Check Enable Hardware encoding, Allow encoding in HEVC format, enable tone mapping, but NOT VPP tone mapping. |