• 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 Media Scanning & Identification SOLVED: Problem with generationg video thumbinails

     
    • 0 Vote(s) - 0 Average

    SOLVED: Problem with generationg video thumbinails

    Synology NAS, SynoCommunity package
    apaczenko1993
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2025 Jan
    Reputation: 0
    Country:Poland
    #1
    2025-01-15, 10:56 PM
    Hello
    I have problem with generate thumbinails in some video.
    The log shows error like this:

    Code:
    [2025-01-15 13:21:56.715 +01:00] [ERR] [45] MediaBrowser.Providers.Videos.VideoMetadataService: Error in "Screen Grabber"
    MediaBrowser.Common.FfmpegException: ffmpeg image extraction timed out for file:"/volume1/prywatne/Inne/Projekt_Lech.mp4" after 10000ms
    ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.

    How can I solve this? Does it depend on whether I have GPU acceleration or not?
    I tried to rescan my libray with GPU acceleration and without.
    The libray type is movies and photos. Maybe the timeout is to small? 
    The videos where I get error are 4k files, encoded in HEVC or AVC. I have no problem with 1080p files.
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-01-15, 11:08 PM
    What is the output of ffprobe on that file?
    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]
    apaczenko1993
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2025 Jan
    Reputation: 0
    Country:Poland
    #3
    2025-01-15, 11:20 PM
    For example full output for file

    Code:
    [2025-01-16 00:14:08.309 +01:00] [INF] [4] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/var/packages/ffmpeg7/target/bin/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/volume1/prywatne/Inne/Projekt_Lech.mp4\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"

    [2025-01-16 00:14:36.068 +01:00] [ERR] [69] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: I-frame image extraction failed, will attempt standard way. Input: "file:\"/volume1/prywatne/Inne/Projekt_Lech.mp4\""
    MediaBrowser.Common.FfmpegException: ffmpeg image extraction timed out for file:"/volume1/prywatne/Inne/Projekt_Lech.mp4" after 10000ms

    [2025-01-16 00:14:59.771 +01:00] [ERR] [71] MediaBrowser.Providers.Videos.VideoMetadataService: Error in "Screen Grabber"
    MediaBrowser.Common.FfmpegException: ffmpeg image extraction timed out for file:"/volume1/prywatne/Inne/Projekt_Lech.mp4" after 10000ms
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-01-15, 11:22 PM
    Probably some sort of corruption or edge case encoding. Not sure if there is a way to fix that without re-encoding.
    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]
    apaczenko1993
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2025 Jan
    Reputation: 0
    Country:Poland
    #5
    2025-01-15, 11:29 PM (This post was last modified: 2025-01-15, 11:35 PM by apaczenko1993. Edited 1 time in total.)
    OK, so can I set re-encoding for some selected files? I'm asking because when I scan the entire library again, it can randomly find thumbnails for files that previously had an error.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2025-01-16, 08:40 PM
    Perhaps the disk was just too busy before, causing it to reach the 10 second timeout?
    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]
    apaczenko1993
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2025 Jan
    Reputation: 0
    Country:Poland
    #7
    2025-01-17, 12:47 AM (This post was last modified: 2025-01-17, 12:51 AM by apaczenko1993. Edited 1 time in total.)
    Is it possible Smiling-face I wrote script in Python to generate thumbinails, and now I see the Jellyfin reads the image as thumbinail. Sometimes generating takes more than 10 seconds. In my opinion the timeout should be able to change in settings. I will add this script to task scheduler in NAS, so my problem should be solved.

    If someone has the same problem, I can upload the script.
    « 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