• 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 Jellyfin FFMPEG isn't using the correct number of threads

     
    • 0 Vote(s) - 0 Average

    Jellyfin FFMPEG isn't using the correct number of threads

    khatharsis
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    Country:France
    #1
    2024-11-15, 06:24 PM
    Exactly what the title says. I have 8 cores, and I want to limit jellyfin's usage to 2 or 4 cores. However, even though jellyfin-ffmpeg *does* have the -threads 2 option in the cmdline, it's using all 8 of my cores Confused-face
    I've attached a screen to show I'm not saying bollocs.

    Here's the full cmdline for the jellyfin-ffmpeg command, idk why it's missing spaces, but it isn't supposed to.
    Code:
    /usr/lib/jellyfin-ffmpeg/ffmpeg-analyzeduration200M-probesize1G-ss00:10:09.000-ifile:/<path to file>.mkv-map_metadata-1-map_chapters-1-threads2-map0:0-map0:1-codec:v:0libx265-tag:v:0hvc1-presetveryfast-crf28-maxrate3371143-bufsize6742286-profile:v:0main-x265-params:0subme=3:me
    range=25:rc-lookahead=10:me=star:ctu=32:max-tu-size=32:min-cu-size=16:rskip=2:rskip-edge-threshold=2:no-sao=1:no-strong-intra-smoothing=1:no-scenecut=1:no-open-gop=1:no-info=1-force_key_fra
    mes:0expr:gte(t,n_forced*3)-vfsetparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(1920\,1080*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(1920/a\,10
    80))/2)*2,format=yuv420p,subtitles=f='/var/lib/jellyfin/data/subtitles/b/bec59084-f9b2-2704-9687-a11115dd4306.ass':fontsdir='/var/cache/jellyfin/attachments/c25d55ed928b1cd3c370390b0903e3c6
    '-start_at_zero-codec:a:0copy-copyts-avoid_negative_tsdisabled-max_muxing_queue_size2048-fhls-max_delay5000000-hls_time3-hls_segment_typempegts-start_number203-hls_segment_filename/var/lib/
    jellyfin/transcodes/e04f3513ae64d140f097c68c8067a981%d.ts-hls_playlist_typevod-hls_list_size0-y/var/lib/jellyfin/transcodes/e04f3513ae64d140f097c68c8067a981.m3u8


    Attached Files Thumbnail(s)
           
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Jellyfin FFMPEG isn't using the correct number of threads - by khatharsis - 2024-11-15, 06:24 PM
    RE: Jellyfin FFMPEG isn't using the correct number of threads - by TheDreadPirate - 2024-11-15, 07:11 PM
    RE: Jellyfin FFMPEG isn't using the correct number of threads - by khatharsis - 2024-11-16, 11:43 AM
    RE: Jellyfin FFMPEG isn't using the correct number of threads - by TheDreadPirate - 2024-11-16, 08:41 PM
    RE: Jellyfin FFMPEG isn't using the correct number of threads - by khatharsis - 2024-11-17, 01:52 PM

    • 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