Jump to content

xpenology - Unable to turn on hardware decoding


Go to solution Solved by Carlo,

Recommended Posts

GrimReaper
Posted

Your HW acceleration IS configured properly and working, however you're trying to play AVC Hi10p file - and no device I know of offers HW support for it, not even last-gen RTX 30xs, hence it is transcoded in software only. Those are always a headache, you'd be better converting those to 8-bit AVC or any HEVC. 

Posted
50 分钟前,死神说:

你的硬件加速  IS 正确配置 和工作,但是你想播放AVC Hi10p文件-没有设备,我知道报价为它硬件支持,甚至没有最后的根RTX 30xs,因此它在软件只能转码。 这些总是令人头疼的,你最好将它们转换为 8 位 AVC 或任何 HEVC。  

I tried to play other files in my video library, and the hardware decoding didn't work,include H264,H265,HEVC,8bit,4K,1080P,720P.

GrimReaper
Posted (edited)
7 minutes ago, Sailence said:

I tried to play other files in my video library, and the hardware decoding didn't work,include H264,H265,HEVC,8bit,4K,1080P,720P.

Then do provide ffmpeg logs for any of those, as in above example it all works as it should. 

>>>>>>  User policy for admin
        EnablePlaybackRemuxing: True
        EnableVideoPlaybackTranscoding: True
        EnableAudioPlaybackTranscoding: True
>>>>>>  Affected codecs
Encoder VAAPI GeminiLake UHD Graphics 605 - H.264 (AVC)
        Adapter #0: 'GeminiLake UHD Graphics 605' Id:12676 (Driver: Intel iHD driver for Intel(R) Gen Graphics - 21.2.2 (1dd7d7f), Vendor: Intel Corporation)
        Frame Sizes: 32x32...4096x4096
        Color Formats: NV12
        Profiles: Main Profile (Level 6), High Profile (Level 6), Constrained Baseline Profile (Level 6)
Decoder VAAPI GeminiLake UHD Graphics 605 - H.264 (AVC)
        Adapter #0: 'GeminiLake UHD Graphics 605' Id:12676 (Driver: Intel iHD driver for Intel(R) Gen Graphics - 21.2.2 (1dd7d7f), Vendor: Intel Corporation)
        Frame Sizes: max 4096x4096
        Color Formats: NV12
        Profiles: Main Profile (Level 6), High Profile (Level 6), Constrained Baseline Profile (Level 6)
Decoder QuickSync GeminiLake UHD Graphics 605 - H.264 (AVC)
        Adapter #0: 'GeminiLake UHD Graphics 605' Id:12676 (Driver: , Vendor: 32902, SDK Version: 1.34)
        Frame Sizes: 16x16...16384x16384 - Width Alignment: 2 - Height Alignment: 2
        Profiles: Baseline Profile (Level 5.2), Main Profile (Level 5.2), Extended Profile (Level 5.2), High Profile (Level 5.2), High 4:2:2 Profile (Level 5.2), Constrained Baseline Profile (Level 5.2), Progressive High Profile (Level 5.2), Constrained High Profile (Level 5.2)
>>>>>>  FindVideoEncoder - Media: h264, UseHardwareCodecs: True, Mode: Custom
Info    Checking: 'VAAPI GeminiLake UHD Graphics 605 - H.264 (AVC)'
Info    Check successful - selecting 'VAAPI GeminiLake UHD Graphics 605 - H.264 (AVC)'
>>>>>>  FindVideoDecoder - MediaType: h264, Mode: Custom
Info    Checking: 'VAAPI GeminiLake UHD Graphics 605 - H.264 (AVC)'
NoMatch The color format (yuv420p10, p010) is not supported)
Info    Decoder does not match
Info    Checking: 'QuickSync GeminiLake UHD Graphics 605 - H.264 (AVC)'
NoMatch BitDepth (10 Bit) is not supported by the codec
Info    Decoder does not match
Info    Checking: 'Automatic software decoder'
Info    Check successful - selecting 'Automatic software decoder'
>>>>>>  Processing Plan
Info    Name                                        CanDoInHardware      WillDoInHardware     Reason                                  
Info    Automatic software decoder               >> False                False                Software Codec                           
Info    VideoInput                               >> False                False                Not a hardware decoder                   
Info    Scaling                                  >> True                 True                                                          
Info    ColorConversion                          >> True                 True                                                          
Info    VideoOutput                              >> True                 True                 Hardware encoder                         
Info    VAAPI GeminiLake UHD Graphics 605 - H... >> True                 True                 Hardware Codec                           

 

Edited by GrimReaper
Posted
9 minutes ago, GrimReaper said:

Make sure all decoders are selected in Transcoding settings, change HW accelleration setting from Advanced to Yes, repeat test and post log, please. 

All decoders are selected in Transcoding settings, change HW accelleration setting from Advanced to Yes.Hardware decoding still does not work.The log in attachment.

ffmpeg-transcode-32feb360-ee38-42d7-b2d3-8dfa381d0520_1.txt

GrimReaper
Posted

Haven't seen BDMVs in a long time. My guess would be, since transcoding disc folder rips has always been an "experimental" feature due to the tools used not really supporting them, DSM having issues there, @softworkz might shed some light there.

In any case, you might wanna think about converting those to more streaming-friendly formats, like mp4s or mkvs.

You have any plain mp4 or mkv AVC/HEVC files to playback? 

Posted
10 分钟前,死神说:

好久没看到BDMV了。 我的猜测是,由于转码光盘文件夹 rips 一直是一个“实验性”功能,因为使用的工具并不真正支持它们,DSM 在那里有问题, 在那里 @softworkz 有所启发 可能会 。

无论如何,您可能想考虑将它们转换为更适合流式传输的格式,例如 mp4s 或 mkvs。

您有任何要播放的普通 mp4 或 mkv AVC/HEVC 文件吗? 

Try playing another file.

The upload failed because the log was too large, so I deleted some duplicate records.

Title 1080p H264
Codec H264
Codec Tag avc1
AVC No
Profile High
Level 40
Resolution 1920x1080
Aspect Ratio16:9
Interlaced No
Framerate 25
Bitrate 4,463 kbps
Bit Depth 8 bit
Pixel Format yuv420p
Reference Frames 1

ffmpeg-transcode-0a349512-5a75-49f4-bf47-4dc77eb0d466_H264_8bit_mp4.txt

GrimReaper
Posted
7 minutes ago, Sailence said:

Try playing another file.

The upload failed because the log was too large, so I deleted some duplicate records.

Title 1080p H264
Codec H264
Codec Tag avc1
AVC No
Profile High
Level 40
Resolution 1920x1080
Aspect Ratio16:9
Interlaced No
Framerate 25
Bitrate 4,463 kbps
Bit Depth 8 bit
Pixel Format yuv420p
Reference Frames 1

ffmpeg-transcode-0a349512-5a75-49f4-bf47-4dc77eb0d466_H264_8bit_mp4.txt 278.87 kB · 0 downloads

And yes, you're getting HW accelleration there:

>>>>>>  User policy for admin
        EnablePlaybackRemuxing: True
        EnableVideoPlaybackTranscoding: True
        EnableAudioPlaybackTranscoding: True

>>>>>>  Affected codecs
Encoder VAAPI GeminiLake UHD Graphics 605 - H.264 (AVC)
        Adapter #0: 'GeminiLake UHD Graphics 605' Id:12676 (Driver: Intel iHD driver for Intel(R) Gen Graphics - 21.2.2 (1dd7d7f), Vendor: Intel Corporation)
        Frame Sizes: 32x32...4096x4096
        Color Formats: NV12
        Profiles: Main Profile (Level 6), High Profile (Level 6), Constrained Baseline Profile (Level 6)

Decoder VAAPI GeminiLake UHD Graphics 605 - H.264 (AVC)
        Adapter #0: 'GeminiLake UHD Graphics 605' Id:12676 (Driver: Intel iHD driver for Intel(R) Gen Graphics - 21.2.2 (1dd7d7f), Vendor: Intel Corporation)
        Frame Sizes: max 4096x4096
        Color Formats: NV12
        Profiles: Main Profile (Level 6), High Profile (Level 6), Constrained Baseline Profile (Level 6)


>>>>>>  FindVideoEncoder - Media: h264, UseHardwareCodecs: True, Mode: Automatic
Info    Checking: 'VAAPI GeminiLake UHD Graphics 605 - H.264 (AVC)'
Info    Check successful - selecting 'VAAPI GeminiLake UHD Graphics 605 - H.264 (AVC)'

>>>>>>  FindVideoDecoder - MediaType: h264, Mode: Automatic
Info    Checking: 'VAAPI GeminiLake UHD Graphics 605 - H.264 (AVC)'
Info    Check successful - selecting 'VAAPI GeminiLake UHD Graphics 605 - H.264 (AVC)'

>>>>>>  Processing Plan
Info    Name                                        CanDoInHardware      WillDoInHardware     Reason                                  
Info    VAAPI GeminiLake UHD Graphics 605 - H... >> True                 True                 Hardware Codec                           
Info    VideoInput                               >> True                 True                 Same adapter (/dev/dri/renderD128), s... 
Info    Scaling                                  >> True                 True                                                          
Info    VideoOutput                              >> True                 True                 Hardware encoder                         
Info    VAAPI GeminiLake UHD Graphics 605 - H... >> True                 True                 Hardware Codec                           

 

Posted
4 minutes ago, GrimReaper said:

And yes, you're getting HW accelleration there:

>>>>>>  User policy for admin
        EnablePlaybackRemuxing: True
        EnableVideoPlaybackTranscoding: True
        EnableAudioPlaybackTranscoding: True

>>>>>>  Affected codecs
Encoder VAAPI GeminiLake UHD Graphics 605 - H.264 (AVC)
        Adapter #0: 'GeminiLake UHD Graphics 605' Id:12676 (Driver: Intel iHD driver for Intel(R) Gen Graphics - 21.2.2 (1dd7d7f), Vendor: Intel Corporation)
        Frame Sizes: 32x32...4096x4096
        Color Formats: NV12
        Profiles: Main Profile (Level 6), High Profile (Level 6), Constrained Baseline Profile (Level 6)

Decoder VAAPI GeminiLake UHD Graphics 605 - H.264 (AVC)
        Adapter #0: 'GeminiLake UHD Graphics 605' Id:12676 (Driver: Intel iHD driver for Intel(R) Gen Graphics - 21.2.2 (1dd7d7f), Vendor: Intel Corporation)
        Frame Sizes: max 4096x4096
        Color Formats: NV12
        Profiles: Main Profile (Level 6), High Profile (Level 6), Constrained Baseline Profile (Level 6)


>>>>>>  FindVideoEncoder - Media: h264, UseHardwareCodecs: True, Mode: Automatic
Info    Checking: 'VAAPI GeminiLake UHD Graphics 605 - H.264 (AVC)'
Info    Check successful - selecting 'VAAPI GeminiLake UHD Graphics 605 - H.264 (AVC)'

>>>>>>  FindVideoDecoder - MediaType: h264, Mode: Automatic
Info    Checking: 'VAAPI GeminiLake UHD Graphics 605 - H.264 (AVC)'
Info    Check successful - selecting 'VAAPI GeminiLake UHD Graphics 605 - H.264 (AVC)'

>>>>>>  Processing Plan
Info    Name                                        CanDoInHardware      WillDoInHardware     Reason                                  
Info    VAAPI GeminiLake UHD Graphics 605 - H... >> True                 True                 Hardware Codec                           
Info    VideoInput                               >> True                 True                 Same adapter (/dev/dri/renderD128), s... 
Info    Scaling                                  >> True                 True                                                          
Info    VideoOutput                              >> True                 True                 Hardware encoder                         
Info    VAAPI GeminiLake UHD Graphics 605 - H... >> True                 True                 Hardware Codec                           

 

But it can't play.

Playback Error

No compatible streams are currently available. Please try again later or contact your system administrator for details.

GrimReaper
Posted
1 minute ago, Sailence said:

But it can't play.

Playback Error

No compatible streams are currently available. Please try again later or contact your system administrator for details.

Oh, my bad, I didn't even look down the log, just checked header. 

Does same happen if you put QuickSync on top in Transcoding>select Advanced>HW Decoders? 

Posted

I've been watching as @GrimReaper has been giving you excellent advice on what to try to diagnose this and I would have done exactly the same thing.

Can you upload your latest hardware_detection log file for us to look at?
Can you share Lost in Russia for us to use to test with?

You can probably right click on the media file and choose share:
image.png.3b50b8bec19e9605ec67ebfcdbd74694.png

Then just PM me the link you see above. You can adjust how long the link is good for in the advanced options if you like.
If you don't have this configured on your NAS then you could also upload the file to dropbox, google drive or similar as well.

Thanks.

  • Like 1
Posted
8 minutes ago, cayars said:

我一直在看着 @GrimReaper 一直在给你很好的建议来尝试诊断这个问题,我也会做同样的事情。

你能上传你最新的hardware_detection日志文件给我们看看吗?
你可以分享迷失在俄罗斯供我们用来测试吗?

您可能可以右键单击媒体文件并选择共享:
image.png.3b50b8bec19e9605ec67ebfcdbd74694.png

然后PM我你上面看到的链接。 如果您愿意,您可以在高级选项中调整链接的有效时间。
如果你没有在你的 NAS 上配置这个,那么你也可以将文件上传到 dropbox、谷歌驱动器或类似的。

谢谢。

lost in Russia:

http://sailence.top:5000/sharing/hVC7C5cgF

password:Embysupport

And I don't know where can I find the hardware_detection log file.

Posted

Hardware detection log is in the same place you get the emby server log from.

Posted
58 minutes ago, cayars said:

I've been watching as @GrimReaper has been giving you excellent advice on what to try to diagnose this and I would have done exactly the same thing.

Can you upload your latest hardware_detection log file for us to look at?
Can you share Lost in Russia for us to use to test with?

You can probably right click on the media file and choose share:
image.png.3b50b8bec19e9605ec67ebfcdbd74694.png

Then just PM me the link you see above. You can adjust how long the link is good for in the advanced options if you like.
If you don't have this configured on your NAS then you could also upload the file to dropbox, google drive or similar as well.

Thanks.

The hardware_detection log file.

hardware_detection-63772103144.txt

fillidill
Posted (edited)

I also have a DS918+ and for me Quicksync is working much better than Vaapi so give that a try. I am using the docker version of Emby if that matters.

Edited by fillidill
Posted

Try changing your hardware transcoding back to just Yes instead of advanced. Based on the ffmpeg log, these are the reasons you're not getting it for this video:

NoMatch The color format (yuv420p10, p010) is not supported)
Info    Decoder does not match
Info    Checking: 'QuickSync GeminiLake UHD Graphics 605 - H.264 (AVC)'
NoMatch BitDepth (10 Bit) is not supported by the codec

So it depends on the source video.

GrimReaper
Posted

Guys, all those steps were already taken:

8 minutes ago, fillidill said:

I also have a DS918+ and for me Quicksync is working much better than Vaapi so give that a try.

 

2 hours ago, GrimReaper said:

Does same happen if you put QuickSync on top in Transcoding>select Advanced>HW Decoders? 

 

1 hour ago, Sailence said:

As well as:

7 minutes ago, Luke said:

Try changing your hardware transcoding back to just Yes instead of advanced. Based on the ffmpeg log, these are the reasons you're not getting it for this video:

NoMatch The color format (yuv420p10, p010) is not supported)
Info    Decoder does not match
Info    Checking: 'QuickSync GeminiLake UHD Graphics 605 - H.264 (AVC)'
NoMatch BitDepth (10 Bit) is not supported by the codec

So it depends on the source video.

 

3 hours ago, GrimReaper said:

Make sure all decoders are selected in Transcoding settings, change HW accelleration setting from Advanced to Yes, repeat test and post log, please. 

 

2 hours ago, Sailence said:

All decoders are selected in Transcoding settings, change HW accelleration setting from Advanced to Yes.Hardware decoding still does not work.The log in attachment.

ffmpeg-transcode-32feb360-ee38-42d7-b2d3-8dfa381d0520_1.txt 58.76 kB · 2 downloads

 

Posted
13 minutes ago, Luke said:

Try changing your hardware transcoding back to just Yes instead of advanced. Based on the ffmpeg log, these are the reasons you're not getting it for this video:

NoMatch The color format (yuv420p10, p010) is not supported)
Info    Decoder does not match
Info    Checking: 'QuickSync GeminiLake UHD Graphics 605 - H.264 (AVC)'
NoMatch BitDepth (10 Bit) is not supported by the codec

So it depends on the source video.

I try that,it can't play also.

ffmpeg-transcode-e5264f6e-9dd8-418d-98b9-9c30cb492f5b_setting_yes.txt

Posted
9 minutes ago, Sailence said:

Based on the ffmpeg log, these are the reasons you're not getting it for this video. Does this answer your question?

NoMatch The color format (yuv420p10, p010) is not supported)
Info    Decoder does not match
Info    Checking: 'QuickSync GeminiLake UHD Graphics 605 - H.264 (AVC)'
NoMatch BitDepth (10 Bit) is not supported by the codec
GrimReaper
Posted
7 minutes ago, Luke said:

Based on the ffmpeg log, these are the reasons you're not getting it for this video. Does this answer your question?

NoMatch The color format (yuv420p10, p010) is not supported)
Info    Decoder does not match
Info    Checking: 'QuickSync GeminiLake UHD Graphics 605 - H.264 (AVC)'
NoMatch BitDepth (10 Bit) is not supported by the codec

Luke, that's the initial AVC Hi10p log and that one's been sorted and explained. 

This is the one to look into:

 

ffmpeg-transcode-e5264f6e-9dd8-418d-98b9-9c30cb492f5b_setting_yes.txt

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...