transcoding settings - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions) +--- Thread: transcoding settings (/t-transcoding-settings) Pages:
1
2
|
transcoding settings - chenks - 2024-12-06 i've set up jellyin as an LXC in proxmox (ubuntu OS) it's running fine but just want to check i have transcoding options set correctly. the host CPU is 12th Gen Intel® Core i3-12100 (8 cores) the iGPU has passthru enabled correctly in proxmox (i believe) Code: root@proxmox:~# lspci -nn | grep -Ei "3d|display|vga" using this guide i can see that my alder lake CPU supports most options https://en.wikipedia.org/wiki/Intel_Quick_Sync_Video#Hardware_decoding_and_encoding i've set hardware decoding to Intel Quicksync (QSV) i've enabled the following and left all the other options as default for trickplay i've enabled "hardware decoding" and "Enable hardware accelerated MJPEG encoding" and left all other settings blank. does this look all ok or should i be doing anything else? should i also enable "enable tone mapping"? RE: transcoding settings - TheDreadPirate - 2024-12-06 You can also check both of the HEVC RExt boxes. And, if you haven't already, you can check "Allow encoding in HEVC format". https://github.com/intel/media-driver?tab=readme-ov-file#decodingencoding-features You can check both tone mapping boxes. Just make sure you installed the intel-opencl-icd package. You can check both low power boxes as long as you've setup the GuC and HuC firmware. I THINK this needs to be done in Proxmox and not the LXC. https://jellyfin.org/docs/general/administration/hardware-acceleration/intel/#lp-mode-hardware-support RE: transcoding settings - chenks - 2024-12-06 (2024-12-06, 01:30 PM)TheDreadPirate Wrote: You can check both tone mapping boxes. Just make sure you installed the intel-opencl-icd package. ah ok, so "enable tone mapping" and "enable VPP tone mapping"? i haven't installed anything extra as of yet, so i will check on how to do that. (2024-12-06, 01:30 PM)TheDreadPirate Wrote: You can check both low power boxes as long as you've setup the GuC and HuC firmware. I THINK this needs to be done in Proxmox and not the LXC. is this worth while? RE: transcoding settings - TheDreadPirate - 2024-12-06 (2024-12-06, 02:35 PM)chenks Wrote: ah ok, so "enable tone mapping" and "enable VPP tone mapping"? Yes. (2024-12-06, 02:35 PM)chenks Wrote: i haven't installed anything extra as of yet, so i will check on how to do that. Code: sudo apt install intel-opencl-icd (2024-12-06, 02:35 PM)chenks Wrote:(2024-12-06, 01:30 PM)TheDreadPirate Wrote: You can check both low power boxes as long as you've setup the GuC and HuC firmware. I THINK this needs to be done in Proxmox and not the LXC. IMO, yes. It increases tone mapping performance if you have HDR content. Since you have limited tone mapping performance with your iGPU, you should ensure you get max performance from it if you have HDR content and SDR devices. RE: transcoding settings - chenks - 2024-12-06 (2024-12-06, 02:52 PM)TheDreadPirate Wrote: no probs. intel-opencl-icd is already installed (in the ubuntu LXC), so that part is good to go (2024-12-06, 02:52 PM)TheDreadPirate Wrote: IMO, yes. It increases tone mapping performance if you have HDR content. Since you have limited tone mapping performance with your iGPU, you should ensure you get max performance from it if you have HDR content and SDR devices. ok. the doc says to install it on the host, which would be proxmox i guess https://jellyfin.org/docs/general/administration/hardware-acceleration/intel/#lp-mode-hardware-support if that's the case then i would follow the debian set of instructions althought the instructions say Quote:The setup is not necessary unless you are using an Intel Jasper Lake or Elkhart Lake processor, or you want faster OpenCL tone-mapping speed on Linux. my CPU is alder lake 12th gen, so not sure if that means that it isn't necessary for me or not? RE: transcoding settings - TheDreadPirate - 2024-12-06 That line is saying that it setting up this firmware required for Jasper Lake and Elkhart Lake CPU. Not just for tone mapping, but for transcoding in general. It is optional for other Intel CPU families. But installing the firmware improves tone mapping performance. RE: transcoding settings - chenks - 2024-12-06 ah ok, i'll need to read the installation instructions a bit more carefully as i don't want to end up screwing up the pve host in the process. this is what my settings now look like (without doing the low-power for now) RE: transcoding settings - TheDreadPirate - 2024-12-06 Also check "only generate images from key frames". Generating trickplays will happen MUCH quicker when that is enabled. The small loss in timing accuracy is worth it, IMO. RE: transcoding settings - the-bort-the - 2024-12-14 I also have an Alder Lake CPU with Jellyfin installed as a docker container on Debian. I have followed the thread and believe I've checked all the same boxes, but I'm seeing a lot of pausing/freezing/buffering during playback. It's much worse than just disabling the encoding/decoding. I do see, via the top command the CPU% is way down from when hardware acceleration is completely disabled, so there's that. I've included some playback information as well.I'm struggling to understand how things could be different. If you want a new thread, I'm also happy to open one. Adding some of the information that was asked of OP in hopes there is something I've missed. docker-compose.yml snippet: Code: image: jellyfin/jellyfin:10.9.11-amd64.20240907-221241 # apt policy intel-opencl-icd Code: intel-opencl-icd: # /usr/lib/jellyfin-ffmpeg/ffmpeg -v debug -init_hw_device opencl Code: ffmpeg version 6.0.1-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers # /usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=vadev/dri/renderD128 -init_hw_device opencl@va Code: ffmpeg version 6.0.1-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers RE: transcoding settings - the-bort-the - 2024-12-14 I noticed the information in the playback info had some progress noted on the transcoding progress. Once that completed, things seemed better. Is that a feature of sorts we need to wait for to complete to ensure smoother playback? Just from a user experience, that isn't the best, if you're trying to binge several episodes. |