• 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 Issue with trickplay

    Pages (4): 1 2 3 4 Next »

     
    • 0 Vote(s) - 0 Average

    Issue with trickplay

    Trickplay stops at 62%
    playserver
    Offline

    Junior Member

    Posts: 10
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    #1
    2024-05-13, 11:04 PM (This post was last modified: 2024-05-13, 11:08 PM by playserver. Edited 2 times in total.)
    Hey guys, 
    whenever I try to run trickplay,  it stops working at 62%. I tried looking at the error log, but I don't find the error.

    I am running 10.9.1 on ubuntu 22.04 LTS with docker. I have ffmpeg 6.X installed.


    Attached Files
    .txt   jellyfin-ls_logs.txt (Size: 21.47 KB / Downloads: 94)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-05-13, 11:17 PM
    I think you accidentally typed extra numbers in the quality field.

    Code:
    mjpeg_vaapi @ 0x61f61ed21e00] Invalid quality value 472 (must be 1-100).

       
    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]
    playserver
    Offline

    Junior Member

    Posts: 10
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    #3
    2024-05-13, 11:20 PM (This post was last modified: 2024-05-13, 11:30 PM by playserver. Edited 4 times in total.)
    In the trickplay settings there is nothing having the number 472. I added my screenshots https://ibb.co/DkgLJ4m
    https://ibb.co/h91mp4v
    https://ibb.co/pXZ02gL

    Edit: If I select 5 instead of 4 in the Qscale, it gives me the error with 590 instead of 472, with 2 it gives 236
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-05-13, 11:42 PM
    Open up /etc/jellyfin/system.xml. What is in this code block for you?

    Code:
    <TrickplayOptions>
        <EnableHwAcceleration>true</EnableHwAcceleration>
        <EnableHwEncoding>true</EnableHwEncoding>
        <ScanBehavior>NonBlocking</ScanBehavior>
        <ProcessPriority>BelowNormal</ProcessPriority>
        <Interval>10000</Interval>
        <WidthResolutions>
          <int>320</int>
        </WidthResolutions>
        <TileWidth>10</TileWidth>
        <TileHeight>10</TileHeight>
        <Qscale>4</Qscale>
        <JpegQuality>90</JpegQuality>
        <ProcessThreads>2</ProcessThreads>
      </TrickplayOptions>
    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]
    playserver
    Offline

    Junior Member

    Posts: 10
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    #5
    2024-05-14, 07:49 AM
    <Trickplayoptions>
    <EnableHwAcceleration>true</EnableHwAcceleration>
    <EnableHwEncoding>true</EnableHwEncoding>
    <ScanBehavior>NonBlocking</ScanBehavior>
    <ProcessPriority>Normal</ProcessPriority>
    <Interval>10000</Interval>
    <WidthResolutions>
    <int>320</int>
    </WidthResolutions>
    <TileWidth>10</Tilewidth>
    <TileHeight>10</TileHeight>
    <Qscale>4</Qscale>
    <JpegQuality>90</JpegQuality>
    <ProcessThreads>1</ProcessThreads>
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-05-14, 01:25 PM (This post was last modified: 2024-05-14, 01:25 PM by TheDreadPirate.)
    Can you enable debug logging, restart jellyfin, and restart the trickplay job? Then share the new log.

    https://jellyfin.org/docs/general/admini...ug-logging
    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]
    playserver
    Offline

    Junior Member

    Posts: 10
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    #7
    2024-05-14, 01:45 PM (This post was last modified: 2024-05-14, 01:45 PM by playserver.)
    I tried to upload the log with the code option but the text is too long. I hope you don't mind the mediafire link.
    https://www.mediafire.com/file/49zs9p6qk...4.log/file
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-05-14, 02:54 PM
    I am not seeing the error "Invalid quality value" error message anymore, but it appears that it isn't able to read files in "/data/tvshowsa". The "a" at the end isn't a typo. Can you double check the library path and permissions.

    Code:
    [2024-05-14 15:38:15.638 +02:00] [INF] [6] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Trickplay generation: "/usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -init_hw_device vaapi=va:/dev/dri/renderD128,driver=iHD -noautorotate -i file:\"/data/tvshowsa/[wozzy]SG DL PCM DTS Ssub 1080-10bit 25 OVA(AL)/Steins.Gate.25.OVA.BD.1080p.10bit.DL.PCM.DTS-wozzy.mkv\" -an -sn -vf \"fps=0.10000000149011612,setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,320)/2)*2:trunc(ow/a/2)*2,format=nv12,hwupload_vaapi\" -threads 1 -c:v mjpeg_vaapi -qscale:v 4 -f image2 \"/config/cache/temp/c7d82cca50a84d80bdd022ffa32174df/%08d.jpg\""
    [2024-05-14 15:38:16.229 +02:00] [ERR] [6] Jellyfin.Server.Implementations.Trickplay.TrickplayManager: Error creating trickplay images.
    System.ArgumentException: Can't create trickplay from 0 images.

    IMO, this looks like a permissions/invalid path issue since it affects pretty much everything in /data/tvshowsa.
    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]
    playserver
    Offline

    Junior Member

    Posts: 10
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    #9
    2024-05-14, 02:58 PM (This post was last modified: 2024-05-14, 03:02 PM by playserver. Edited 1 time in total.)
    tvshowsa is the correct path. The a is added because I have a shows directory for anime and for normal shows. So the normal shows would be tvshow and the anime shows would be tvshowa. I only added trickplay to tvshowsa but I don't think there should be any path issue because everything else works completely fine with this path system. It also adds nfo's to my file system, so I don't know what permission problem it should be. Any ideas what else I could check?

    Edit: Permissions for the folder are set to root. I am however using the following composefrom linuxserver

    Code:
    services:
      jellyfin:
        image: lscr.io/linuxserver/jellyfin:latest
        container_name: jellyfin-ls
        environment:
          - DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel
          - PUID=1000
          - PGID=1000
          - TZ=Europe/Berlin
          - JELLYFIN_PublishedServerUrl=192.168.0.5 #optional
        volumes:
          - /home/nas/jellyfin-ls/config:/config
          - /media/ntfs2/jellyfin/Serien:/data/tvshows
          - /media/ntfs3/jellyfin/Serien:/data/tvshows1
          - /media/ntfs2/jellyfin/Anime/Serien:/data/tvshowsa
          - /media/ntfs3/jellyfin/Anime/Serien:/data/tvshowsa1
          - /media/ntfs2/jellyfin/Filme:/data/movies
          - /media/ntfs3/jellyfin/Filme:/data/movies1
          - /media/ntfs2/jellyfin/Anime/Filme:/data/moviesa
          - /media/ntfs3/jellyfin/Anime/Filme:/data/moviesa1
          - /media/ntfs2/jellyfin/Musik:/data/music
          - /media/ntfs3/jellyfin/Musik:/data/music1
        network_mode: 'host'
        restart: unless-stopped
        devices:
          - /dev/dri:/dev/dri
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,180
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #10
    2024-05-14, 03:19 PM (This post was last modified: 2024-05-14, 03:24 PM by Efficient_Good_5784. Edited 2 times in total.)
    (2024-05-14, 02:58 PM)playserver Wrote: Edit: Permissions for the folder are set to root. I am however using the following composefrom linuxserver

    Code:
    services:
      jellyfin:
        image: lscr.io/linuxserver/jellyfin:latest
        container_name: jellyfin-ls
        environment:
          - DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel
          - PUID=1000
          - PGID=1000
          - TZ=Europe/Berlin
          - JELLYFIN_PublishedServerUrl=192.168.0.5 #optional
        volumes:
          - /home/nas/jellyfin-ls/config:/config
          - /media/ntfs2/jellyfin/Serien:/data/tvshows
          - /media/ntfs3/jellyfin/Serien:/data/tvshows1
          - /media/ntfs2/jellyfin/Anime/Serien:/data/tvshowsa
          - /media/ntfs3/jellyfin/Anime/Serien:/data/tvshowsa1
          - /media/ntfs2/jellyfin/Filme:/data/movies
          - /media/ntfs3/jellyfin/Filme:/data/movies1
          - /media/ntfs2/jellyfin/Anime/Filme:/data/moviesa
          - /media/ntfs3/jellyfin/Anime/Filme:/data/moviesa1
          - /media/ntfs2/jellyfin/Musik:/data/music
          - /media/ntfs3/jellyfin/Musik:/data/music1
        network_mode: 'host'
        restart: unless-stopped
        devices:
          - /dev/dri:/dev/dri
    That's your problem. The folder is owned by root, but you set your Jellyfin instance to be under user 1000 and group 1000, which doesn't have access to the folder.

    Either add user & group 1000 to own/have access to the folder, or run your Jellyfin as the root user.

    Root is always set as 0. Change PUID & PGID to 0, or just delete both to have Jellyfin run as root.
    Pages (4): 1 2 3 4 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 3 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