• 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 Trick Play Generation issues

     
    • 0 Vote(s) - 0 Average

    Trick Play Generation issues

    smmx
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Jul
    Reputation: 0
    #1
    2024-07-02, 01:03 AM
    Hello,

    I'm new to Jellyfin and I'm trying to get my library's Chapter, trickplay, subtitles, etc. all set up.

    I'm trying to run the trickplay extract process and it's just simply not working. I have it running in a Proxmox LXC (created by proxmox helper scripts). Version 10.9.6

    The logs initially showed the following:
    Code:
    [2024-07-01 20:19:23.032 -04:00] [INF] Creating trickplay files at 320 width, for "/mnt/media_root/TV/Entourage/Season06/Entourage.S06E02.Amongst Friends.mkv" [ID: 4a1bda60-c038-a9d4-0095-5b1720fad961]
    [2024-07-01 20:19:23.032 -04:00] [INF] Trickplay generation: "/usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -threads 2 -noautorotate -i file:\"/mnt/media_root/TV/Entourage/Season06/Entourage.S06E02.Amongst Friends.mkv\" -an -sn -vf \"fps=0.10000000149011612,setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*(a*sar))\,320)/2)*2:trunc(ow/(a*sar)/2)*2,format=yuv420p\" -threads 2 -c:v mjpeg -qscale:v 4 -f image2 \"/var/cache/jellyfin/temp/3a5f7bab2e2b46b99930bbf36e2b3b7d/%08d.jpg\""
    [2024-07-01 20:20:03.034 -04:00] [INF] Trickplay process unresponsive.
    [2024-07-01 20:20:03.035 -04:00] [INF] Stopping trickplay extraction.
    [2024-07-01 20:20:04.035 -04:00] [INF] Killing ffmpeg process
    [2024-07-01 20:20:04.036 -04:00] [ERR] ffmpeg image extraction failed for "/usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -threads 2 -noautorotate -i file:\"/mnt/media_root/TV/Entourage/Season06/Entourage.S06E02.Amongst Friends.mkv\" -an -sn -vf \"fps=0.10000000149011612,setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*(a*sar))\,320)/2)*2:trunc(ow/(a*sar)/2)*2,format=yuv420p\" -threads 2 -c:v mjpeg -qscale:v 4 -f image2 \"/var/cache/jellyfin/temp/3a5f7bab2e2b46b99930bbf36e2b3b7d/%08d.jpg\""
    [2024-07-01 20:20:04.036 -04:00] [ERR] Error creating trickplay images.
    MediaBrowser.Common.FfmpegException: ffmpeg image extraction failed for /usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -threads 2 -noautorotate -i file:"/mnt/media_root/TV/Entourage/Season06/Entourage.S06E02.Amongst Friends.mkv" -an -sn -vf "fps=0.10000000149011612,setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*(a*sar))\,320)/2)*2:trunc(ow/(a*sar)/2)*2,format=yuv420p" -threads 2 -c:v mjpeg -qscale:v 4 -f image2 "/var/cache/jellyfin/temp/3a5f7bab2e2b46b99930bbf36e2b3b7d/%08d.jpg"
      at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.ExtractVideoImagesOnIntervalInternal(String inputArg, String filterParam, String vidEncoder, Nullable`1 outputThreads, Nullable`1 qualityScale, Nullable`1 priority, CancellationToken cancellationToken)
      at Jellyfin.Server.Implementations.Trickplay.TrickplayManager.RefreshTrickplayDataInternal(Video video, Boolean replace, Int32 width, TrickplayOptions options, CancellationToken cancellationToken)
    [2024-07-01 20:20:04.741 -04:00] [INF] "Generate Trickplay Images" Completed after 0 minute(s) and 42 seconds

    Now when I re-run I only get the following:
    Code:
    [2024-07-01 20:52:53.017 -04:00] [INF] "Generate Trickplay Images" Completed after 0 minute(s) and 0 seconds.

    I've tried with and without hardware decoding on. Any suggestions on what I can try to fix this?

    Thank you
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-07-02, 03:23 AM
    A) is trickplay enabled in the library settings
    B) if it is already enabled, do you also have trickplay generation on library scan enabled?
    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]
    smmx
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Jul
    Reputation: 0
    #3
    2024-07-02, 11:13 AM
    (2024-07-02, 03:23 AM)TheDreadPirate Wrote: A) is trickplay enabled in the library settings
    B) if it is already enabled, do you also have trickplay generation on library scan enabled?

    a) Yes - on all libraries I have
    b) No
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-07-02, 03:49 PM
    Pick a show or movie and refresh metadata, select "replace all metadata" and check replace images. Jellyfin will attempt to recreate the trickplays and re-extract chapter images.

    How do the logs look when you do this?
    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]
    smmx
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Jul
    Reputation: 0
    #5
    2024-07-04, 01:51 PM
    (2024-07-02, 03:49 PM)TheDreadPirate Wrote: Pick a show or movie and refresh metadata, select "replace all metadata" and check replace images.  Jellyfin will attempt to recreate the trickplays and re-extract chapter images.

    How do the logs look when you do this?

    I may have had a permissions issue with the file mount, along with needing to increase my disk space slightly.

    I see trick play in the web client but I’m not seeing trick playing in Swiftfin or the Jellyfin android app.

    It sounds like this feature is not yet available in these apps. If that’s the case I don’t think I have any issues with Jellyfin itself, rather I need patience while the apps get support.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-07-04, 04:37 PM
    AFAIK, Swiftfin definitely doesn't support trickplay. Keep in mind that Swiftfin is still a beta/not feature complete. But it has seen a lot of development recently.

    As for Android, I tried Findroid (exo and mpv) and the official app (exo and web) and only the official app with the web player showed the trickplays. But that comes with its own compromises.
    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]
    « 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