• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Freeze when jumping timeline on web browser

    Pages (3): 1 2 3 Next »

     
    • 0 Vote(s) - 0 Average

    Freeze when jumping timeline on web browser

    Cannot jump the timeline
    Chaperone
    Offline

    Junior Member

    Posts: 13
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    Country:Spain
    #1
    2025-01-03, 06:33 PM (This post was last modified: 2025-01-03, 06:35 PM by Chaperone. Edited 1 time in total.)
    Hello,

    I have a Docker installation of Jellyfin using a dockercompose.yml:
    Code:
    version: "3.9"
    services:
      jellyfin:
        image: jellyfin/jellyfin:latest
        container_name: jellyfin
        environment:
          TZ: Europe/Madrid
        group_add:
          - "937"
        volumes:
          - /local_vol/docker/jellyfin/config:/config:rw
          - /local_vol/docker/jellyfin/cache:/cache:rw
          - /local_vol/video:/media:rw
          - /local_vol/music:/music:rw
        devices:
          - /dev/dri/:/dev/dri/
        restart: unless-stopped
        network_mode: bridge
        ports:
          - 8096:8096

    I have the installed server:
    Code:
    Server version
    10.10.3
    Web version
    10.10.3
    Build version
    10.10.3

    My hardware is:
    • Synology NAS, DS 216+II
    • CPU INTEL Celeron N3060
    • RAM 8192 MB
    • DSM Version: DSM 7.2.2-72806 Update 2

    As an example, the information of the video I am trying to reproduce:
    Code:
    File
    Filename Movie.mp4
    Filepath \\LocalServer
    Description MP4 File
    Rating 0
    Colour Label 0
    File's icon 1

    Audio
    Format AAC
    Bit rate mode CBR
    Bit rate 384 kb/s
    Sampling rate 48.0 kHz
    Frame rate 46.875
    Compression mode Lossy

    Video
    Format AVC
    Width 1920
    Height 800
    Bit rate 2 250 kb/s
    Aspect ratio 2.40:1
    Frame rate mode CFR
    Frame rate 23.976

    Code:
    General
    Current Media Information
    Codec

    Information about what your media or stream is made of.
    Muxer, Audio and Video Codecs, Subtitles are shown.

    v Stream 0
    Codec: H264 - MPEG-4 AVC (part 10) (avc1)
    Type: Video
    Video resolution: 1920x800
    Buffer dimensions: 1920x800
    Frame rate: 23.976024
    Decoded format:
    Orientation: Top left
    Color primaries: ITU-R BT.709
    Color transfer function: ITU-R BT.709
    Color space: ITU-R BT.709 Range
    Chroma location: Left

    v Stream 1
    Codec: MPEG AAC Audio (mp4a)
    Type: Audio
    Channels: 3F2R/LFE
    Sample rate: 48000 Hz
    Bits per sample: 32

    When I reproduce the video, the player info is the following:

    Code:
    Playback Info
    Player Html Video Player
    Play method Direct playing
    Protocol https
    Stream type Video

    Video Info
    Player dimensions 1864x1498
    Video resolution 1920x800
    Dropped frames 0
    Corrupted frames 0

    Original Media Info
    Container mp4
    Size 2.6 GiB
    Bitrate 2.6 Mbps
    Video codec H264 High
    Video bitrate 2.2 Mbps
    Video range type SDR
    Audio codec AAC LC
    Audio bitrate 384 kbps
    Audio channels 6
    Audio sample rate 48000 Hz

    When I reproduce a movie from the start, works fine.
    But when I try to jump along the timeline, the video or:
    • Freezes and eventually continue the playback at that time
    • Crashes the player and stops the playback

    This process of moving the cursor along the timeline does not work:
    • Edge: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0
    • Firefox: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
    • Chromium: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
    • Apple iPhone: using iOS 18.2, using the Jellyfin app, https://apps.apple.com/us/app/jellyfin-m...orm=iphone
    • Samsung Tizen, using https://github.com/Georift/install-jellyfin-tizen

    I tried with transcoding set to:
    • Video Acceleration API (VAAPI), to /dev/dri/renderD128
    • None
    In both cases, it does not work. I am not able to jump the timeline.

    This process of moving the cursor along the timeline works fine on:
    • Swifting iOS
    • Google TV
    • Using the Windows app, https://github.com/jellyfin/jellyfin-med...ag/v1.11.1

    Any ideas what could be wrong?
    Thank you.

    Here is the log:

    Code:
    [2025-01-03 19:08:46.176 +01:00] [INF] [79] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "100.0.0.0.1" request
    [2025-01-03 19:11:04.044 +01:00] [INF] [73] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "Chaperone". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
    [2025-01-03 19:11:04.918 +01:00] [INF] [73] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Adding playback tracker : TWxxxxxx
    [2025-01-03 19:11:04.918 +01:00] [INF] [73] Jellyfin.Plugin.PlaybackReporting.Data.PlaybackTracker: PlaybackTracker : Adding Start Event : 01/03/2025 19:11:04
    [2025-01-03 19:11:04.919 +01:00] [INF] [73] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Creating StartPlaybackTimer Task
    [2025-01-03 19:11:04.919 +01:00] [INF] [73] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Entered
    [2025-01-03 19:11:04.938 +01:00] [INF] [73] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Processing playback tracker : "TWxxxxxx"
    [2025-01-03 19:11:07.020 +01:00] [INF] [69] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "Chaperone". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
    [2025-01-03 19:11:20.091 +01:00] [INF] [73] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Web" "10.10.3" playing "Movie Name". Stopped at "2644774" ms
    [2025-01-03 19:11:20.141 +01:00] [INF] [73] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Playback stop tracker found, processing stop : "TWxxxxxx"
    [2025-01-03 19:11:20.142 +01:00] [INF] [73] Jellyfin.Plugin.PlaybackReporting.Data.PlaybackTracker: PlaybackTracker : Adding Stop Event : 01/03/2025 19:11:20
    [2025-01-03 19:11:20.142 +01:00] [INF] [73] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Playback stop but TrackedPlaybackInfo not found! not storing activity in DB
    [2025-01-03 19:11:24.920 +01:00] [INF] [69] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: session.RemoteEndPoint : "101.0.0.0.0"
    [2025-01-03 19:11:24.922 +01:00] [INF] [69] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_playing_id    = "dexxxxxx"
    [2025-01-03 19:11:24.922 +01:00] [INF] [69] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_user_id        = "5xxxxxxxx"
    [2025-01-03 19:11:24.922 +01:00] [INF] [69] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : event_user_id_int    = 1
    [2025-01-03 19:11:24.922 +01:00] [INF] [69] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : session_playing_id  = ""
    [2025-01-03 19:11:24.922 +01:00] [INF] [69] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : session_user_id      = "5xxxxxxxx"
    [2025-01-03 19:11:24.923 +01:00] [INF] [69] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : play_method          = "na"
    [2025-01-03 19:11:24.923 +01:00] [INF] [69] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : e.ClientName        = "Jellyfin Web"
    [2025-01-03 19:11:24.923 +01:00] [INF] [69] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : e.DeviceName        = "Edge Chromium"
    [2025-01-03 19:11:24.923 +01:00] [INF] [69] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemName            = "Movie Name"
    [2025-01-03 19:11:24.923 +01:00] [INF] [69] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemId              = "dexxxxxx"
    [2025-01-03 19:11:24.924 +01:00] [INF] [69] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : ItemType            = "Movie"
    [2025-01-03 19:11:24.924 +01:00] [INF] [69] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Details do not match for play item
    [2025-01-03 19:11:24.924 +01:00] [INF] [69] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Exited
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-01-03, 06:39 PM
    Can you share your full jellyfin logs via pastebin?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Chaperone
    Offline

    Junior Member

    Posts: 13
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    Country:Spain
    #3
    2025-01-04, 09:56 AM
    Hello @TheDreadPirate, thank you for your response.
    Here is a sanitized copy of my log:

    https://pastebin.com/e2AgLQFc

    I removed:
    * My IP
    * My session ID
    * The name of the filenames
    * The HTTP errors that subbuzz has while trying to download subtitles. I removed this, because this happens outside the time I was playback the movies. And, because made the log file of 7MiB.

    As I said before, when moving the cursor to a different position on the timeline, the playback most of the times: freezes.
    And on the web browser (e.g., Edge), after a minute of having the image frozen... The playback continues at the required time.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-01-04, 06:49 PM
    Is this happening on every file? Or just a particular set of files? Since it is direct playing, this is probably an indicator that something is wrong with the files.

    We can try remuxing one of the files to see if we can repair the container.

    Code:
    sudo docker exec -it jellyfin bash
    /usr/lib/jellyfin-ffmpeg/ffmpeg -fflags +genpts+igndts -i "/container/path/to/problem/video.mkv" -map 0 -codec copy -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled newFile.mkv
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Chaperone
    Offline

    Junior Member

    Posts: 13
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    Country:Spain
    #5
    2025-01-04, 09:19 PM (This post was last modified: 2025-01-04, 09:20 PM by Chaperone. Edited 1 time in total.)
    Hello @TheDreadPirate, thank you for your reply.

    Sadly, this happens with every single file I have.
    I have 100+ video files with similar specifications, and also with FLAC audio files. I have this same issue on all.

    The FLAC files have the following specifications:
    Code:
    Audio
    Title: FLAC - Stereo
    Codec: FLAC
    AVC: No
    Layout: stereo
    Channels: 2 ch
    Bitrate: 1504 kbps
    Sample rate: 44100 Hz
    Bit depth: 24 bit
    Default: No
    Forced: No
    External: No

    Some additional information:
    • The NAS is connected to the network using a 1 Gbps ethernet cable to the router
    • I have a symmetrical 1 Gbps Internet connection
    • My computer is connected using a Wi-Fi at 1200 Mbps (Wi-Fi 6, 802.11ax)

    As as commented before, this issue is noticeable using with transcoding ON and OFF.

    So, remuxing the files, is not a solution, because it will require me to remux my whole library.

    I must admit that I am not 100% sure if this issue started with the latest version 10.10.3 or was before.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2025-01-05, 12:56 AM
    If the problem are the files, which I have no idea what they are or where you got them from, then remuxing could be the solution.

    I'd appreciate if you, at least, tried my suggestion on one file for testing to ensure we eliminate that as a factor. Since this is happening on multiple clients, and the files are direct playing, there aren't many Jellyfin specific factors in the equation.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Chaperone
    Offline

    Junior Member

    Posts: 13
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    Country:Spain
    #7
    2025-01-05, 11:24 AM (This post was last modified: 2025-01-05, 11:26 AM by Chaperone. Edited 2 times in total.)
    Thank you very much for your reply and support.

    I tried with:

    Code:
    sudo docker exec -it jellyfin bash
    /usr/lib/jellyfin-ffmpeg/ffmpeg -fflags +genpts+igndts -i "/container/path/to/problem/video.mkv" -map 0 -codec copy -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled newFile.mkv

    I tried on Edge and Firefox, with different behaviors.
     
    On Edge using either MP4 or MKV remuxed:
    • I can move the time cursor for the first time, and if I try to move it again, the video freeze.
    • After the video continue the playback, I can move AGAIN the cursor, and the video continues on the first time... But if I try again, the video freezes again.
    • I have the same behavior either using the MP4 or MKV video
    • Maybe is faster the reposition of the time cursor while using MKV

    On Firefox using MP4:
    • Using the MP4 if I move the cursor over the timeline, two things could happen:
    • 1. The video just advances ~1 minute
    • 2. The video freezes, and never continue

    On Firefox using MKV remuxed:
    • Using the remuxed MKV file, work as OK. I can move the time cursor, and the video works.

    The original MP4 video:

    Code:
    Playback Info
    Player Html Video Player
    Play method Direct playing
    Protocol https
    Stream type Video

    Video Info
    Player dimensions 1868x1466
    Video resolution 1920x1012
    Dropped frames 0
    Corrupted frames 0

    Original Media Info
    Container mp4
    Size 2 GiB
    Bitrate 2.6 Mbps
    Video codec H264 High
    Video bitrate 2.2 Mbps
    Video range type SDR
    Audio codec AAC LC
    Audio bitrate 384 kbps
    Audio channels 6
    Audio sample rate 48000 Hz

    The remixed MKV video:

    Code:
    Playback Info
    Player Html Video Player
    Play method Direct streaming
    Protocol https
    Stream type HLS

    Video Info
    Player dimensions 1868x1466
    Video resolution 1920x1012
    Dropped frames 0
    Corrupted frames 0

    Direct Streaming Info
    Video codec H264 (direct)
    Audio codec AAC

    Original Media Info
    Container mkv
    Size 2 GiB
    Bitrate 3.0 Mbps
    Video codec H264 High
    Video bitrate 2.6 Mbps
    Video range type SDR
    Audio codec AAC LC
    Audio bitrate 320 kbps
    Audio channels 2
    Audio sample rate 48000 Hz

    Could it be the buffer takes TOO much time to fill the reposition of the cursor?
    For testing, how can I increase the playback buffer?

    By the way, I am using Direct Playing, because my NAS CPU does not support transcoding... Or I was not able to make it work.

    Thank you for any ideas you could share.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2025-01-05, 06:32 PM
    Can you try switching the network mode to host?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Chaperone
    Offline

    Junior Member

    Posts: 13
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    Country:Spain
    #9
    2025-01-05, 07:03 PM (This post was last modified: 2025-01-05, 07:05 PM by Chaperone. Edited 1 time in total.)
    Hello,
    Following this post, https://jellyfin.org/docs/general/instal...container/, I tried the following modification to my docker-compose.yml:

    Code:
    services:
      jellyfin:
        image: jellyfin/jellyfin:latest
        container_name: jellyfin
        environment:
          TZ: Europe/Madrid
        group_add:
          - "937"
        volumes:
          - type: bind
            source: /volume1/docker/jellyfin/config
            target: /config
            read_only: false
          - type: bind
            source: /volume1/docker/jellyfin/cache
            target: /cache
            read_only: false
          - type: bind
            source: /volume1/video
            target: /media
            read_only: false
          - type: bind
            source: /volume1/music
            target: /music
            read_only: false
          - type: volume
            source: exclude
            target: /media/#recycle
            read_only: true
          - type: volume
            source: exclude
            target: /media/#snapshot
            read_only: true
          - type: volume
            source: exclude
            target: /music/#recycle
            read_only: true
          - type: volume
            source: exclude
            target: /music/#snapshot
            read_only: true
        devices:
          - /dev/dri/:/dev/dri/
        restart: unless-stopped
        network_mode: "host"

    volumes:
      exclude:

    Notice I changed to network_mode: "host".
    But the issue still present. 

    Any other ideas to try? Thank you!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2025-01-05, 09:34 PM (This post was last modified: 2025-01-05, 09:34 PM by TheDreadPirate.)
    Try changing all your bind mounts to plain volume mounts.

    Wait. In your opening post it was a volume mount.

    Hmmmmm.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Pages (3): 1 2 3 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode