jellyfin / jellyfin-chromecast

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

Unable to seek video when casting #353

Open gil906 opened 2 years ago

gil906 commented 2 years ago

When casting from Android to Chromecast with google TV and seeking to a forward part of the video, the screen freezes but the audio will continue playing. When forward to another part of the video from phone and started to cast in that further part, the video just starts at the begging.

In other words. we cant not pause a video when casting since when hit play, it will start from the begging and cant forward to were it was, since the screen will freeze.

Yahoo-Mike commented 1 year ago

I am experiencing the same issue with a Chromecast HD with GoogleTV. When I resume playing after pausing or skipping, the audio starts but video is frozen.

My JF server (v10.8.9) runs natively on Ubuntu 22.04 Server. JF client is JF Android app (2.4.4).

The issue only arises when JF Server (JFS) is transcoding video.

If JFS streams the video using DirectPlay, then I don't experience this issue.

One possible workaround

Chromecast with Google TV supports H.264, H.265 and VP9.

So I took an MKV file I have with MPEG2(video)/AC3(audio)/subtitles that has this issue during playback. I converted it to H.264/AAC/no subtitles using the FOSS transcoder Handbrake. JFS streamed the converted MKV to Chromecast using DirectPlay - and I could pause/skip as expected during playback.

I guess this is one workaround until this bug is fixed. The bonus is that the H.264 MKV was about one fifth the size of the original MKV.

CaesarPepsel commented 5 months ago

I'm having the same problem and H.264 MKV does not solve the issue. Also my audio doesn't work either but the subtitles keep on going.