jellyfin / jellyfin-chromecast

Chromecast Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
139 stars 43 forks source link

HEVC playback Issue on OG Chromecast #606

Open alanpaone opened 2 months ago

alanpaone commented 2 months ago

Describe the bug

one of my users has an OG chromecast (the 1080p key-shaped one, its otherwise surprisingly fine), and can't play HEVC movies. I found the workaround to turn off tonemapping (would be interested to learn why that works, also), which allows us to sort of play these files, but playback buffers a lot. These files used to not play, and this is somehow more frustrating. Looking at the FFMPG logs, the resolution is weird, I'm seeing "Height":1606,"Width":3840", the chromecast tops out at 1080p, and is plugged into a 1080p TV. The FPS is probably because I'm using the quicksync on a celeron, and is survivable, but the resolution.....doesn't seem right.

To Reproduce -Press the Cast Button within Android App -select OG chromecast -attempt to watch an HEVC/H265 movie -Errors and Buffering

Expected behavior This show plays well on my Chromecast Ultra, which supports HEVC.

Logs Here's the logs from 3 of our attempts to stream the show. There's nothing in the Jellyfin logs around this time, so I didn't both attaching them. FFmpeg.Transcode-2024-09-06_21-39-04_3ebcbbf74a4296d4cd5a8a93a704b17a_4c165e2a.log FFmpeg.Transcode-2024-09-06_21-39-36_3ebcbbf74a4296d4cd5a8a93a704b17a_3cba2049.log FFmpeg.Transcode-2024-09-06_21-43-52_3ebcbbf74a4296d4cd5a8a93a704b17a_9742ccc8.log

solidsnake1298 commented 1 month ago

What model CPU? The videos not only are HEVC, they are also HDR10. I also see this is probably a docker container, specifically the linuxserver image. If that is the case, did you add their OpenCL mod to the docker config. If turning off tone mapping is the work around you may not have done that. The output of the streams in these logs is 1080P.

Output #0, hls, to '/config/data/transcodes/3eab0a660b32ccb27d9b149d00e6cdac.m3u8':
  Metadata:
    encoder         : Lavf60.3.100
  Stream #0:0: Video: h264, qsv(tv, bt709, progressive), 1920x802 [SAR 802:803 DAR 1920:803], q=2-31, 21047 kb/s, 23.98 fps, 90k tbn (default)
    Metadata:
      encoder         : Lavc60.3.100 h264_qsv
    Side data:
      cpb: bitrate max/min/avg: 21047562/0/21047562 buffer size: 42095124 vbv_delay: N/A
  Stream #0:1: Audio: aac, 48000 Hz, stereo, s16 (default) (original)
    Metadata:
      encoder         : Lavc60.3.100 libfdk_aac