• 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 ffmpeg question

     
    • 0 Vote(s) - 0 Average

    ffmpeg question

    ffmpeg vs jellyfin-ffmpeg
    pennywise134
    Offline

    Junior Member

    Posts: 14
    Threads: 4
    Joined: 2024 Nov
    Reputation: 0
    Country:Canada
    #1
    2024-11-28, 09:08 PM (This post was last modified: 2024-11-28, 09:09 PM by pennywise134. Edited 1 time in total.)
    I understand that Jellyfin recommends using jellyfin-ffmpeg over vanilla ffmpeg. How can I tell if my Jellyfiin server is transcoding using Jellyfin's version of ffmpeg?

    intel-gpu-top shows that ffmpeg is being used to transcode, but I don't know how to tell if this is the jellyfin version of ffmpeg or regular/vanilla ffmpeg.

    Some screenshots and a transcoding log attached.

    Jellyfin version: 10.10.3
    OS: Ubuntu Desktop 24.04.1 LTS
    CPU: Intel i3-1220p
    Memory: 24gb LPDDR5


    Attached Files Thumbnail(s)
           

    .txt   FFmpeg.Transcode-2024-11-28_16-05-20_f981014415f16671c9c76640789b073e_9755de85.txt (Size: 81.45 KB / Downloads: 60)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-11-28, 09:42 PM
    You have to go out of your way and modify the service files to change which ffmpeg Jellyfin uses. That setting in the dashboard does not do anything anymore.

    Your log confirms it is using jellyfin-ffmpeg.

    Code:
    /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -f matroska -init_hw_device vaapi=va:,vendor_id=0x8086,driver=iHD -init_hw_device qsv=qs@va -init_hw_device opencl=ocl@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/media/lucas/GOLD/Videos/Movies/4K Movies/Spider-Man Across the Spider-Verse (2023)/Spider-Man.Across.the.Spider-Verse.2023.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR.H.265-FLUX.mkv" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 hevc_qsv -tag:v:0 hvc1 -low_power 1 -preset veryfast -b:v 1116000 -maxrate 1116000 -bufsize 2232000 -profile:v:0 main -level 50 -g:v:0 72 -keyint_min:v:0 72 -vf "setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,scale_vaapi=w=1280:h=532:extra_hw_frames=24,hwmap=derive_device=opencl:mode=read,tonemap_opencl=format=nv12:p=bt709:t=bt709:m=bt709:tonemap=bt2390:peak=100:desat=0,hwmap=derive_device=qsv:mode=write:reverse=1:extra_hw_frames=16,format=qsv" -codec:a:0 libfdk_aac -ac 6 -ab 384000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename "7648e4370bdfc0d9a153a8ac226a4341-1.mp4" -start_number 0 -hls_segment_filename "/var/cache/jellyfin/transcodes/7648e4370bdfc0d9a153a8ac226a4341%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/var/cache/jellyfin/transcodes/7648e4370bdfc0d9a153a8ac226a4341.m3u8"
    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]
    pennywise134
    Offline

    Junior Member

    Posts: 14
    Threads: 4
    Joined: 2024 Nov
    Reputation: 0
    Country:Canada
    #3
    2024-11-28, 09:49 PM (This post was last modified: 2024-11-28, 10:09 PM by pennywise134. Edited 1 time in total.)
    (2024-11-28, 09:42 PM)TheDreadPirate Wrote: You have to go out of your way and modify the service files to change which ffmpeg Jellyfin uses.  That setting in the dashboard does not do anything anymore.

    Your log confirms it is using jellyfin-ffmpeg.

    Code:
    /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -f matroska -init_hw_device vaapi=va:,vendor_id=0x8086,driver=iHD -init_hw_device qsv=qs@va -init_hw_device opencl=ocl@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/media/lucas/GOLD/Videos/Movies/4K Movies/Spider-Man Across the Spider-Verse (2023)/Spider-Man.Across.the.Spider-Verse.2023.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR.H.265-FLUX.mkv" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 hevc_qsv -tag:v:0 hvc1 -low_power 1 -preset veryfast -b:v 1116000 -maxrate 1116000 -bufsize 2232000 -profile:v:0 main -level 50 -g:v:0 72 -keyint_min:v:0 72 -vf "setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,scale_vaapi=w=1280:h=532:extra_hw_frames=24,hwmap=derive_device=opencl:mode=read,tonemap_opencl=format=nv12:p=bt709:t=bt709:m=bt709:tonemap=bt2390:peak=100:desat=0,hwmap=derive_device=qsv:mode=write:reverse=1:extra_hw_frames=16,format=qsv" -codec:a:0 libfdk_aac -ac 6 -ab 384000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename "7648e4370bdfc0d9a153a8ac226a4341-1.mp4" -start_number 0 -hls_segment_filename "/var/cache/jellyfin/transcodes/7648e4370bdfc0d9a153a8ac226a4341%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/var/cache/jellyfin/transcodes/7648e4370bdfc0d9a153a8ac226a4341.m3u8"

    Ahh ok, so the actual process name is ‘ffmpeg’? I think that’s the part that was confusing me, I thought it was supposed to be ‘jellyfin-ffmpeg’
    « 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