• 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 HW transcoding on a i5-8500T

     
    • 0 Vote(s) - 0 Average

    HW transcoding on a i5-8500T

    debug
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2023 Jun
    Reputation: 0
    Country:United States
    #1
    Yesterday, 07:43 PM
    I am failing to set up HW transcoding on my i5-8500T after spending hours on it.

    Can you help find out where the issue is? 

    In the Jellyfin transcoding UI i have selected Intel QuickSync and QSV device as /dev/dri/renderD128

    I am attempting to play this file: https://4kmedia.org/lg-chess-hdr-demo/

    Docker compose file below. GIDs selected appropriately given the system GIDs. Right now the file fails to play (just loads forever) and even other content fails to play.

    services:
      jellyfin:
        image: jellyfin/jellyfin:10.10.7
        user: 1000:1000
        container_name: jellyfin
        network_mode: 'host'
        volumes:
          - /home/administrator/server/local_NVME/docker/jellyfin/configConfused-faceconfig
          - /home/administrator/server/local_NVME/docker/jellyfin/cacheConfused-facecache
          - /home/administrator/server/local_NVME/docker/jellyfin/jellyfinConfused-facedata
          - /home/administrator/server/NAS/MediaConfused-facemedia
        devices:
          - /dev/dri/renderD128Confused-facedev/dri/renderD128
        group_add:
          - "993"    # GID for 'render'
          - "44"     # GID for 'video'
        restart: 'unless-stopped'
        environment:
          - PUID=1000
          - PGID=1000
          - LIBVA_DRIVER_NAME=iHD
          - FFREPORT=file=/config/logs/ffmpeg-report.log:level=32


    Logs (sudo docker logs jellyfin | grep -i qsv): 
    Code:
    [/color]
    [19:16:27] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available decoders: ["libdav1d", "av1", "av1_cuvid", "av1_qsv", "h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4", "vc1_qsv", "vc1_cuvid", "vp8", "libvpx", "vp8_cuvid", "vp8_qsv", "vp9", "libvpx-vp9", "vp9_cuvid", "vp9_qsv", "aac", "ac3", "ac4", "dca", "flac", "mp3", "truehd"]
    [19:16:27] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available encoders: ["libsvtav1", "av1_nvenc", "av1_qsv", "av1_amf", "av1_vaapi", "libx264", "h264_amf", "h264_nvenc", "h264_qsv", "h264_v4l2m2m", "h264_vaapi", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "hevc_vaapi", "mjpeg_qsv", "mjpeg_vaapi", "aac", "libfdk_aac", "ac3", "alac", "dca", "flac", "libmp3lame", "libopus", "truehd", "libvorbis", "srt"]
    [19:16:27] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available filters: ["bwdif_cuda", "deinterlace_qsv", "deinterlace_vaapi", "flip_vulkan", "hwupload_cuda", "hwupload_vaapi", "libplacebo", "overlay_opencl", "overlay_qsv", "overlay_vaapi", "overlay_vulkan", "overlay_cuda", "procamp_vaapi", "scale_cuda", "scale_opencl", "scale_qsv", "scale_vaapi", "scale_vulkan", "tonemapx", "tonemap_cuda", "tonemap_opencl", "tonemap_vaapi", "transpose_cuda", "transpose_opencl", "transpose_vaapi", "transpose_vulkan", "vpp_qsv", "yadif_cuda", "zscale", "alphasrc"]
    [19:16:27] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["cuda", "vaapi", "qsv", "drm", "opencl", "vulkan"]
    [19:22:02] [INF] [27] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -f mpegts -init_hw_device vaapi=va:/dev/dri/renderD128,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/media/Movies/All/LG Chess 4K Demo.mp4" -noautoscale -map_metadata -1 -map_chapters -1 -threads 4 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_qsv -preset veryfast -b:v 1116000 -maxrate 1116000 -bufsize 2232000 -profile:v:0 high -level 51 -g:v:0 180 -keyint_min:v:0 180 -vf "setparams=color_primaries=bt2020:color_trc=smpte2084:colorspace=bt2020nc,scale_vaapi=w=960:h=540:extra_hw_frames=24,procamp_vaapi=c=1.2,tonemap_vaapi=format=nv12:p=bt709:t=bt709:m=bt709:extra_hw_frames=32,hwmap=derive_device=qsv,format=qsv" -codec:a:0 libfdk_aac -bsf:a aac_adtstoasc -ac 2 -vbr:a 5 -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 "2d4b2aafce32009f264913aed3f566bc-1.mp4" -start_number 0 -hls_segment_filename "/config/transcodes/2d4b2aafce32009f264913aed3f566bc%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcodes/2d4b2aafce32009f264913aed3f566bc.m3u8"
    [color=#cccccc]


    The file seems to play after about 15 minutes of transcoding and even then it is supper choppy. I got this machine in the hopes that I can use this for Jellyfin transcoding and perhaps I did not make the right choice here.
    smoothie
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2025 Jul
    Reputation: 0
    #2
    Today, 05:02 AM
    I can transcode 3 concurrent files on a 7500T 1L HP mini pc so your 8500T is all good.
    The difference is I am not using docker and have it installed on bare metal with Ubuntu 24.04 LTS
    I am not sure how to help you with your issue but I just wanted to let you know the hardware is all good, so once you fix the config you're all set
    debug
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2023 Jun
    Reputation: 0
    Country:United States
    #3
    2 hours ago
    Sounds great, thank you. I appreciate the data point.
    « Next Oldest | Next Newest »

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