Guest asrequested Posted May 12, 2019 Posted May 12, 2019 Add this line to the mpv.conf, and try again. hwdec-codecs=all
Guest asrequested Posted May 12, 2019 Posted May 12, 2019 This is what we're dealing with. [ 13.080][i][display-tags] Title: Captain America-The Winter Soldier 2014 UHD BluRay HDR10 2160p Multi Multi H265-d3g [ 13.080][v][vd] Container reported FPS: 23.976025 [ 13.081][v][vd] Codec list: [ 13.081][v][vd] hevc - HEVC (High Efficiency Video Coding) [ 13.081][v][vd] hevc_qsv (hevc) - HEVC (Intel Quick Sync Video acceleration) [ 13.082][v][vd] hevc_cuvid (hevc) - Nvidia CUVID HEVC decoder [ 13.082][v][vd] Opening decoder hevc [ 13.082][v][vd] Looking at hwdec hevc-d3d11va... [ 13.082][v][vd] Not using this for auto-copy. [ 13.082][v][vd] Looking at hwdec hevc-dxva2... [ 13.082][v][vd] Not using this for auto-copy. [ 13.082][v][vd] Looking at hwdec hevc-nvdec... [ 13.082][v][vd] Not using this for auto-copy. [ 13.082][v][vd] Looking at hwdec hevc-dxva2-copy... [ 13.132][v][vd] Trying hardware decoding via hevc-dxva2-copy. [ 13.132][v][vd] Selected codec: hevc (HEVC (High Efficiency Video Coding)) [ 13.132][v][vf] User filter list: [ 13.132][v][vf] (empty) [ 13.133][v][ad] Codec list: [ 13.133][v][ad] spdif_truehd (truehd) - libavformat/spdifenc audio pass-through decoder [ 13.133][v][ad] Opening decoder spdif_truehd [ 13.133][v][ad] Selected codec: spdif_truehd (libavformat/spdifenc audio pass-through decoder) [ 13.133][v][af] User filter list: [ 13.133][v][af] (empty) [ 13.133][v][cplayer] Starting playback... [ 13.135][v][vd] Pixel formats supported by decoder: dxva2_vld d3d11va_vld d3d11 cuda yuv420p10le [ 13.135][v][vd] Codec profile: Main 10 (0x2) [ 13.135][v][vd] Requesting pixfmt 'dxva2_vld' from decoder. [ 13.135][e][ffmpeg] AVHWFramesContext: Could not create the surfaces [ 13.135][e][ffmpeg] AVHWFramesContext: Error creating an internal frame pool [ 13.135][e][ffmpeg/video] hevc: Failed setup for format dxva2_vld: hwaccel initialisation returned error. [ 13.135][v][vd] Pixel formats supported by decoder: d3d11va_vld d3d11 cuda yuv420p10le yuv420p10le [ 13.135][v][vd] Codec profile: Main 10 (0x2) [ 13.135][v][vd] Requesting pixfmt 'yuv420p10le' from decoder. [ 13.210][v][vd] Falling back to software decoding. The profile isn't being supported, and I'm trying to figure out, why. From what I can tell, you APU supports HEVC.
Disturbd1 2 Posted May 12, 2019 Author Posted May 12, 2019 Add this line to the mpv.conf, and try again. hwdec-codecs=all Same. Attached screen and the conf file in case I missed something. mpv.zip
Guest asrequested Posted May 12, 2019 Posted May 12, 2019 Try this gpu-api=auto hwdec=d3d11va hwdec-codecs=all audio-spdif=ac3,eac3,dts,dts-hd,truehd audio-exclusive=yes log-file="mpv log.txt"
Disturbd1 2 Posted May 12, 2019 Author Posted May 12, 2019 Try this gpu-api=auto hwdec=d3d11va hwdec-codecs=all audio-spdif=ac3,eac3,dts,dts-hd,truehd audio-exclusive=yes log-file="mpv log.txt" We're making progress, as it's now showing that it's using HEVC, but FR is not holding steady. It's smooth for a bit, then choppy again.
Guest asrequested Posted May 12, 2019 Posted May 12, 2019 We're making progress, as it's now showing that it's using HEVC, but FR is not holding steady. It's smooth for a bit, then choppy again. No, it's always said the same thing, but it's not enabling hwdec, which you need. It should look like this Try this gpu-api=auto hwdec=d3d11va-copy vo=gpu gpu-context=d3d11 hwdec-codecs=all audio-spdif=ac3,eac3,dts,dts-hd,truehd audio-exclusive=yes log-file="mpv log.txt"
Disturbd1 2 Posted May 12, 2019 Author Posted May 12, 2019 No, it's always said the same thing, but it's not enabling hwdec, which you need. It should look like this Try this gpu-api=auto hwdec=d3d11va-copy vo=gpu gpu-context=d3d11 hwdec-codecs=all audio-spdif=ac3,eac3,dts,dts-hd,truehd audio-exclusive=yes log-file="mpv log.txt" Still not showing hwdec
Guest asrequested Posted May 12, 2019 Posted May 12, 2019 If that doesn't work, try playing an h264 movie. Let's establish if hwdec is used.
Guest asrequested Posted May 12, 2019 Posted May 12, 2019 And probably with this config gpu-api=auto hwdec=auto hwdec-codecs=all audio-spdif=ac3,eac3,dts,dts-hd,truehd audio-exclusive=yes log-file="mpv log.txt"
Disturbd1 2 Posted May 12, 2019 Author Posted May 12, 2019 If that doesn't work, try playing an h264 movie. Let's establish if hwdec is used. Yup, it appears to be:
Disturbd1 2 Posted May 12, 2019 Author Posted May 12, 2019 Yup, it appears to be: This was also without changing the conf file. So on an h264 file with the following conf, it did show hwdec: gpu-api=auto hwdec=d3d11va-copy vo=gpu gpu-context=d3d11 hwdec-codecs=all audio-spdif=ac3,eac3,dts,dts-hd,truehd audio-exclusive=yes log-file="mpv log.txt"
Guest asrequested Posted May 12, 2019 Posted May 12, 2019 Ok, so I'm thinking you need to upgrade your GPU. It appears that the 6th gen APUs were the first to (maybe) support HEVC. So I'm thinking that the drivers may not be new enough, and probably aren't supported. The APU is recognized by mpv, but it's acting like HEVC isn't supported. [ 0.017][v][vo/gpu] Probing for best GPU context. [ 0.017][v][vo/gpu/d3d11] Initializing GPU context 'd3d11' [ 0.039][v][vo/gpu/d3d11] Using Direct3D 11 feature level 12_0 [ 0.039][v][vo/gpu/d3d11] Device Name: AMD Radeon(TM) R7 Graphics [ 0.039][v][vo/gpu/d3d11] Device ID: 1002:130f (rev d4) So maybe time to get a new GPU?
Disturbd1 2 Posted May 12, 2019 Author Posted May 12, 2019 Ok, so I'm thinking you need to upgrade your GPU. It appears that the 6th gen APUs were the first to (maybe) support HEVC. So I'm thinking that the drivers may not be new enough, and probably aren't supported. The APU is recognized by mpv, but it's acting like HEVC isn't supported. [ 0.017][v][vo/gpu] Probing for best GPU context. [ 0.017][v][vo/gpu/d3d11] Initializing GPU context 'd3d11' [ 0.039][v][vo/gpu/d3d11] Using Direct3D 11 feature level 12_0 [ 0.039][v][vo/gpu/d3d11] Device Name: AMD Radeon(TM) R7 Graphics [ 0.039][v][vo/gpu/d3d11] Device ID: 1002:130f (rev d4) So maybe time to get a new GPU? Since AMD uses those AIO APUs (which is what mine is), I wonder if I could get away with just updating the APU and be all set. Else, is there a minimum NVIDIA/Radeon GPU recommendation per Emby for smooth 4k downscaling to 1080? If so, that could be a cheaper route for me.
Guest asrequested Posted May 12, 2019 Posted May 12, 2019 You could probably get a GTX 1050 pretty cheap, now that they've released the 1650 and 1660. Grab a used on on ebay. I got my GTX 1060 (used) on ebay.
Disturbd1 2 Posted May 12, 2019 Author Posted May 12, 2019 You could probably get a GTX 1050 pretty cheap, now that they've released the 1650 and 1660. Grab a used on on ebay. I got my GTX 1060 (used) on ebay. Thanks for all your help in investigating, Doofus. I'll look into hardware upgrades, and if for some crazy reason the problem persists I'll let you know here.
Guest asrequested Posted May 13, 2019 Posted May 13, 2019 Looking at the log again, I think the issue is actually that it doesn't support 10 bit, and not simply HEVC. The solution is the same.
Disturbd1 2 Posted May 13, 2019 Author Posted May 13, 2019 Looking at the log again, I think the issue is actually that it doesn't support 10 bit, and not simply HEVC. The solution is the same.You are a gentleman, and a scholar!
Luke 42077 Posted May 13, 2019 Posted May 13, 2019 Hardware Acceleration requires premiere. Not just a supported card. Lets not forget that part. ^_~ Just to clarify on this, only for server transcoding, not for hardware accelerated video playback in Emby apps such as Emby Theater.
Disturbd1 2 Posted May 13, 2019 Author Posted May 13, 2019 Just to clarify on this, only for server transcoding, not for hardware accelerated video playback in Emby apps such as Emby Theater.I'm guessing that in my case, even changing transcoding settings in Server wouldn't translate to better performance? Regardless of the local player?
Guest asrequested Posted May 13, 2019 Posted May 13, 2019 I'm guessing that in my case, even changing transcoding settings in Server wouldn't translate to better performance? Regardless of the local player? Nope
Luke 42077 Posted May 14, 2019 Posted May 14, 2019 I'm guessing that in my case, even changing transcoding settings in Server wouldn't translate to better performance? Regardless of the local player? If the server is not transcoding then no, it would not make any difference.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now