Jellyfin Forum
SOLVED: Transcoding Error - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Transcoding Error (/t-solved-transcoding-error)



Transcoding Error - Devante - 2023-07-26

tldr; errors in logs when trying to transcode




Hey everyone, 

New here but longtime user of /jellyfin

Well long story short, I'm on Unraid using the Jellyfin container.
I don't know much about formats and codecs and just now learned that while most of what's in my library is HEVC/x265 and use VLC to watch those, now that I have Jellyfin set up, I cannot pay them in my Firefox browser.

Which leads me to wanting to transcode for myself and friends/family.

I have a Dell Optiplex 7050, 32GB RAM, no dedicated GPU, but an Intel i7-6700 which supports QuickSync according to their page.

I've gone to Playback > Transcoding > Set Hardware acceleration to both QSV and VAAPI.
I've checked decoding for every option.
I've checked enable hardware encoding.

Everything else I left defult (including encoding preset: auto).
I don't see an option to pick what to transcode TO.

Here is the error log for QSV: https://pastebin.com/Vp3CukDC
and for VAAPI: https://pastebin.com/4dvRy7nf

Thank you for any help and insight!

(by the way, ignore the filename of the movie. It says x264 but it's actually x265).


RE: Transcoding Error - TheDreadPirate - 2023-07-26

H265 isn't supported in Firefox (patent issues, etc), but should be supported in the Jellyfin Media Player desktop app.

But back to your transcoding issue. There are additional steps you need to take to pass your GPU into the container. The logs indicate it can't see a GPU or the drivers aren't installed. Follow this guide.

https://jellyfin.org/docs/general/administration/hardware-acceleration/intel#configure-with-linux-virtualization

After you verify that your GPU is visible and configured in the container, in the hardware accelerated decode section you should only check the codecs that your GPU supports decoding.

https://en.wikipedia.org/wiki/Intel_Quick_Sync_Video#Hardware_decoding_and_encoding

For the 6700 these are what should be checked.

H264
HEVC
MPEG2
VC1
VP8
VP9


RE: Transcoding Error - Devante - 2023-07-27

(2023-07-26, 06:10 PM)TheDreadPirate Wrote: H265 isn't supported in Firefox (patent issues, etc), but should be supported in the Jellyfin Media Player desktop app.

But back to your transcoding issue.  There are additional steps you need to take to pass your GPU into the container.  The logs indicate it can't see a GPU or the drivers aren't installed.  Follow this guide.

https://jellyfin.org/docs/general/administration/hardware-acceleration/intel#configure-with-linux-virtualization

After you verify that your GPU is visible and configured in the container, in the hardware accelerated decode section you should only check the codecs that your GPU supports decoding.

https://en.wikipedia.org/wiki/Intel_Quick_Sync_Video#Hardware_decoding_and_encoding

For the 6700 these are what should be checked.

H264
HEVC
MPEG2
VC1
VP8
VP9

Awesome thank you.
I did follow that guide but some of the wording was confusing. Reading it again helped though.

What ended up helping was adding the group (mine was 44, and the command wasn't with "render" but rather "video"), adding the dev/dri, and finally checking the codecs that you listed.

Normally I don't make all the changes at work because I like to know what worked but I just wanted to be done with it ha... thanks again!