jellyfin / jellyfin-webos

WebOS Client for Jellyfin
https://jellyfin.org
Mozilla Public License 2.0
623 stars 60 forks source link

Not able to seek #208

Open valankar opened 3 months ago

valankar commented 3 months ago

I noticed lately a lot of video files I have are not able to be seeked into on the LG WebOS app. They always start at the beginning and trying to seek just doesn't do anything.

If I load the video in the Windows Jellyfin client, it works fine and I can seek. On Windows, I checked playback info and it shows:

Playback Info
Player:
MPV Video Player
Play method:
Direct playing
Protocol:
https
Stream type:
Video
Original Media Info
Container:
mkv
Size:
869.3 MiB
Bitrate:
2.9 Mbps
Video codec:
H264 High
Video bitrate:
2.7 Mbps
Video range type:
SDR
Audio codec:
AAC LC
Audio bitrate:
192 kbps
Audio channels:
2
Audio sample rate:
48000 Hz

ffprobe looks like this:

Input #0, matroska,webm, from 'file.mkv':
  Metadata:
    encoder         : XX
    Tool            : XX
  Duration: 00:45:03.25, start: 0.000000, bitrate: 2697 kb/s
    Chapter #0:0: start 0.000000, end 470.170000
    Metadata:
      title           : PART_01
    Chapter #0:1: start 470.170000, end 1326.140000
    Metadata:
      title           : PART_02
    Chapter #0:2: start 1326.140000, end 2139.060000
    Metadata:
      title           : PART_03
    Chapter #0:3: start 2139.060000, end 2703.060000
    Metadata:
      title           : PART_04
    Chapter #0:4: start 2703.060000, end 2703.253000
    Metadata:
      title           : PART_05
    Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
    Stream #0:1(eng): Audio: aac (LC), 48000 Hz, stereo, fltp (default)
    Stream #0:2(eng): Subtitle: dvb_subtitle
    Stream #0:3(eng): Subtitle: subrip
Smirra commented 3 months ago

I have this as well. Seeking works on other devices!

ChrisRosser commented 2 months ago

I also have this issue. Seeking works fine on other web players (e.g. chrome)

Smirra commented 2 months ago

Oh! I thought I found the answer here but it seems that it was in another forum. To solve this you unfortunately for now need to disable the mp4-hevc option that you can set personally for each user on each device. So for webos you have to keep it off. I know it’s strange since it should be supported. I don’t really know exactly when it was useful to activate though, perhaps for some HDR content on some specific codecs. But keep it off and you shall seek, and seek and seek!

ChrisRosser commented 2 months ago

@Smirra Can you possibly post a screenshot? I can't find the setting! ☹️

Smirra commented 2 months ago

@ChrisRosser Make sure that "prefer fmp4-hls media container" is unchecked under playback options for your user. This is Not on the administrator dashboard.

ChrisRosser commented 2 months ago

@Smirra This was already disabled for me...

Smirra commented 2 months ago

@ChrisRosser ah! Did you check this from your tv? It is unique for every device

ChrisRosser commented 2 months ago

Yes, it's unticked on the TV

On Sun, 21 Apr 2024, 16:35 Smirra, @.***> wrote:

@ChrisRosser https://github.com/ChrisRosser ah! Did you check this from your tv? It is unique for every device

— Reply to this email directly, view it on GitHub https://github.com/jellyfin/jellyfin-webos/issues/208#issuecomment-2068087118, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ7G7Y2TUKXEOJYPDXU57A3Y6PMF5AVCNFSM6AAAAABENFTIISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRYGA4DOMJRHA . You are receiving this because you were mentioned.Message ID: @.***>

Smirra commented 2 months ago

@ChrisRosser I see. Well then it must be something else. What LG TV do you have? What hardware is your jellyfin on?

ChrisRosser commented 2 months ago

I have a G3. The server is running on a Intel 1340p mini pc with heaps of horsepower.

On Sun, 21 Apr 2024, 19:22 Smirra, @.***> wrote:

@ChrisRosser https://github.com/ChrisRosser I see. Well then it must be something else. What LG TV do you have? What hardware is your jellyfin on?

— Reply to this email directly, view it on GitHub https://github.com/jellyfin/jellyfin-webos/issues/208#issuecomment-2068155795, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ7G7Y5GWUSRR4GRB3LHFN3Y6P7XPAVCNFSM6AAAAABENFTIISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRYGE2TKNZZGU . You are receiving this because you were mentioned.Message ID: @.***>

Smirra commented 2 months ago

Ok, hmmmm. You have really great specs on the integrated graphics ( my server only runs UHD 630) and a TV of the same generation as me. Then I can only suggest that you doublecheck the logs for anything out of the ordinary. Also check this video from lg about how to free up more of the memory, since the tvs are a little weak on the memory-side: https://youtu.be/mzKbRMCuYko?si=KUPpCsjui7QfcjzI. Maybe also make sure that the ffmpeg buffering/chache is written to a SSD. It writes buffering even during many direct streams and the chunks are written to a sub path under the "config"-location and not "cache" as one may think. But that's all I can think about.

Also the unstable jellyfin-versions are Mega unstable for transcoding.