Jellyfin Forum
cant get transcoding to work - 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: cant get transcoding to work (/t-cant-get-transcoding-to-work)



cant get transcoding to work - caleb87 - 2024-03-14

Some movies won't play on my Chromecast Ultra 4k. Pretty sure it's because they are 10 bit. I'm trying to get transcoding to work, but have had no success.

I have tried on several different servers. Ubuntu w/ AMD 6900 XT with 7950x CPU. Tried AMD AMF, VAAPI, and V4L2. Also tried a Windows 11 machine with 7950x and 4090. The windows server didn't provide the same logs. 

I included ffmpeg logs for both servers, but not all settings attempted. I also included the end of jellyfin server log.

Any ideas on what I'm doing wrong?

MOVIE INFO:
Video
Title: 4K HEVC HDR
Codec: HEVC
Profile: Main 10
Level: 153
Resolution: 3840x2160
Aspect ratio: 16:9
Interlaced: No
Framerate: 23.976025
Bitrate: 61054 kbps
Bit depth: 10 bit
Video range: HDR
Video range type: HDR10
DV title: DV Profile 7.6
DV version major: 1
DV version minor: 0
DV profile: 7
DV level: 6
DV rpu preset flag: 1
DV el preset flag: 1
DV bl preset flag: 1
DV bl signal compatibility id: 6
Color space: bt2020nc
Color transfer: smpte2084
Color primaries: bt2020
Pixel format: yuv420p10le
Ref frames: 1


RE: cant get transcoding to work - TheDreadPirate - 2024-03-14

The AMD + Ubuntu looks like some issue with the setup. Did you install the OpenCL packages?

https://jellyfin.org/docs/general/administration/hardware-acceleration/amd/#configure-on-linux-host

What is the output of this command?

Code:
sudo /usr/lib/jellyfin-ffmpeg/ffmpeg -v debug -init_hw_device opencl=ocl:.0,device_vendor="Advanced Micro Devices"

The Windows + Nvidia log shows that the video is DV7.6. That DV profile is not compatible with any streaming device. It is a bluray player only DV Profile. It SHOULD have transcoded the video, but I've found that DV7.6 often doesn't trigger a transcode when it should.


RE: cant get transcoding to work - caleb87 - 2024-03-14

You're right. Thanks for the help! It the DV, because I have another movie almost identical specs that plays fine. All the DV movies fail. Now I wonder what I can do to fix the DV issue.

DOES PLAY:
Title: 4K HEVC HDR
Codec: HEVC
Profile: Main 10
Level: 153
Resolution: 3840x2160
Aspect ratio: 16:9
Interlaced: No
Framerate: 23.976025
Bitrate: 59669 kbps
Bit depth: 10 bit
Video range: HDR
Video range type: HDR10
Color space: bt2020nc
Color transfer: smpte2084
Color primaries: bt2020
Pixel format: yuv420p10le
Ref frames: 1


DOES NOT PLAY:
Title: 4K HEVC HDR
Codec: HEVC
Profile: Main 10
Level: 153
Resolution: 3840x2160
Aspect ratio: 16:9
Interlaced: No
Framerate: 23.976025
Bitrate: 61054 kbps
Bit depth: 10 bit
Video range: HDR
Video range type: HDR10
DV title: DV Profile 7.6
DV version major: 1
DV version minor: 0
DV profile: 7
DV level: 6
DV rpu preset flag: 1
DV el preset flag: 1
DV bl preset flag: 1
DV bl signal compatibility id: 6
Color space: bt2020nc
Color transfer: smpte2084
Color primaries: bt2020
Pixel format: yuv420p10le
Ref frames: 1


RE: cant get transcoding to work - TheDreadPirate - 2024-03-14

The one that does play is plain HDR10, super compatible. I can't find a spec sheet with what DV profiles the CC Ultra 4K supports. I am willing to bet it only supports DV5, which is what streaming services like Netflix and Disney+ use for their HDR content. It may also support DV8.1.

Look up "dovi_tool". You can use that to convert DV7.6 to DV8.1.


RE: cant get transcoding to work - caleb87 - 2024-03-14

Have you ever used dovi_tool? So many technical terms, I'm kind of lost. I used the command below to produce a BL_RPU.hevc file, but I couldn't figure out how to replace the mkv 7.6 with 8. I wonder if DV 5 would be even more compatible? Or a command to just strip it all together? I don't need insane quality and wish I had bought standard blurays instead of 4k now lol.

Code:
ffmpeg -i indi.mkv -c:v copy -bsf:v hevc_mp4toannexb -f hevc - | dovi_tool -m 2 convert --discard -



RE: cant get transcoding to work - TheDreadPirate - 2024-03-14

The output of that command produces a file that is JUST the video and is DV8.1. The next steps in the reddit post I'm assuming you found, are to reintegrate it with the audio and subtitles from the original video.

I have used dovi_tool with mixed results. Granted, I'm trying to use it a bit differently. I'm trying to go the extra step of creating AV1 HDR10 videos.

DV5 is a completely different format from DV7 or 8. I'm sure there is a process, but I'm not aware of it.


RE: cant get transcoding to work - caleb87 - 2024-03-14

I was just reading that Kodi can do on the fly. I tested the same movie with Kodi and jellyfin streaming to it, and it works on the same chromecast.

Most other threads I read people say it's a hardware limitation, but clearly not the case if Kodi can play it.

Kodi runs like poo with jellyfin though, so I don't feel like Kodi is a solution either.

Once I figure out all the BS, I'm going to write a complete guide to starting a movie server. It's crazy how many problems I've run into.

At least I know about DV and the problems it causes lol. Hopefully jellyfin devs find a compatibility for it. Thanks for your help!