Jump to content

Emby Theatre support for EVC


Daz42

Recommended Posts

In terms of colors, I think I am onto something. I think MPV is trying to output using yuv444p as a target format. When I insert this line:

 

--vf=format=fmt=rgb48le

 

The colors are pristine as you see them in MPC-HC. The only downside is that I am back to choppy playback again, even with:

 

--hwdec=auto

Edited by Daz42
Link to comment
Share on other sites

OK, I have it all working properly on MPV standalone. It's *almost* the same as MPC-HC. I need to use these settings:

 

hwdec=d3d11va
vf=format=colormatrix=bt.709:primaries=bt.709

 

Playing my test movie with standalone MPV is nearly perfect and no frame drops. The color is as close as I can get to MPC-HC. Unfortunately, no matter how much I play around in the ET settings, I cannot stop the choppy playback (setting to 'Auto' or 'D3D Windows 8+') - it feels like the setting is not being passed to MPV.

Link to comment
Share on other sites

Guest asrequested

 Unfortunately, no matter how much I play around in the ET settings, I cannot stop the choppy playback (setting to 'Auto' or 'D3D Windows 8+') - it feels like the setting is not being passed to MPV.

 

Two ways to check. You can look at stats for nerds, or look at the mpv log. Both will tell you what hardware acceleration is being used. 

 

You can also disable everything in the UI and use your own mpv.conf.

Link to comment
Share on other sites

Two ways to check. You can look at stats for nerds, or look at the mpv log. Both will tell you what hardware acceleration is being used. 

 

You can also disable everything in the UI and use your own mpv.conf.

 

When you say disable everything in the ET UI, you can only set most items to 'Auto' - is this what you mean?

Link to comment
Share on other sites

Guest asrequested

When you say disable everything in the ET UI, you can only set most items to 'Auto' - is this what you mean?

 

Yeah, auto should allow the mpv.conf config. In this case, hwdec.

Edited by Doofus
Link to comment
Share on other sites

Guest asrequested

I was just reading up on hwdec. I think the opengl line that I added is messing with the color.

 

5a1ce677540a6_Snapshot_280.jpg

 

Try this

hwdec=cuda-copy
vf=format=colormatrix=bt.709:primaries=bt.709
Link to comment
Share on other sites

JeremyFr79

OK, I have it all working properly on MPV standalone. It's *almost* the same as MPC-HC. I need to use these settings:

 

hwdec=d3d11va

vf=format=colormatrix=bt.709:primaries=bt.709

 

Playing my test movie with standalone MPV is nearly perfect and no frame drops. The color is as close as I can get to MPC-HC. Unfortunately, no matter how much I play around in the ET settings, I cannot stop the choppy playback (setting to 'Auto' or 'D3D Windows 8+') - it feels like the setting is not being passed to MPV.

If you're using BT.709 then you're reducing HDR down to SDR, you need to output in BT.2020 to get HDR, also I'd recommend playing back at native FPS and let the TV do the interpolation it's going to be better at it than your computer will and it will take a significant amount of strain off by not forcing the computer to create 36 extra frames that aren't there to begin with.  On my system I have it set to automatically adjust the resolution and refresh rate output to the TV to always be native to the content and let the TV's system do everything else, works great  and looks fantastic.  Your choppiness may even be caused by the way the computer is interpolating frames messing with the TV's onboard processing trying to do the same thing.  I'd turn off any and all processing on the TV and see if your choppiness goes away if you're stuck on outputting 24p content at 60p from the PC, again personally I'd never suggest doing it that way as it causes more problems than it fixes.

Link to comment
Share on other sites

JeremyFr79

I was wondering about using refresh rate switching to help with the 'choppiness'

I can attest that outputting outside of native refresh rate to my TV can cause all kinds of unwanted "wonkiness" unfortunately what happens is you have 2 sets of post processing going on and the TV being 2nd in line doesn't know that anything's happening at the source so it tries to compensate and do it's thing and usually just makes matters worse.

Link to comment
Share on other sites

Guest asrequested

I can attest that outputting outside of native refresh rate to my TV can cause all kinds of unwanted "wonkiness" unfortunately what happens is you have 2 sets of post processing going on and the TV being 2nd in line doesn't know that anything's happening at the source so it tries to compensate and do it's thing and usually just makes matters worse.

 

I need to buy a new tv. I'm itching to test all of this. 

Link to comment
Share on other sites

Guest asrequested

DO IT!

 

LOL...Oh I've been thinking about it. I have some other things I need to pay for, first. Damn it! There's that itch, again.....

Link to comment
Share on other sites

 

I was just reading up on hwdec. I think the opengl line that I added is messing with the color.

 

5a1ce677540a6_Snapshot_280.jpg

 

Try this

hwdec=cuda-copy
vf=format=colormatrix=bt.709:primaries=bt.709

Tried:

 

hwdec=cuda-copy

vf=format=colormatrix=bt.709:primaries=bt.709

 

That actually messed the colors up again!

Link to comment
Share on other sites

So - back to ET, I setup logging to see if I could see why I was getting choppy playback - however it looks to be hardware decoding:

 

[   0.012][v][ytdl_hook] Loading lua script @ytdl_hook.lua...
[   0.013][v][ytdl_hook] loading mp.defaults
[   0.014][v][ytdl_hook] loading @ytdl_hook.lua
[   0.014][v][cplayer] Run command: hook-add, flags=0, args=[on_load, 1, 10]
[   0.014][v][cplayer] Run command: hook-add, flags=0, args=[on_preloaded, 2, 10]
[   0.014][v][cplayer] Done loading @ytdl_hook.lua.
[   0.015][v][ipc] Starting IPC master
[   0.015][v][refreshrate] Loading lua script C:/Users/Emby/AppData/Roaming/Emby-Theater/system/x64/mpv/scripts/refreshrate.lua...
[   0.015][v][ipc] Listening to IPC pipe.
[   0.016][v][refreshrate] loading mp.defaults
[   0.017][v][refreshrate] loading file C:/Users/Emby/AppData/Roaming/Emby-Theater/system/x64/mpv/scripts/refreshrate.lua
[   0.019][v][cplayer] Done loading C:/Users/Emby/AppData/Roaming/Emby-Theater/system/x64/mpv/scripts/refreshrate.lua.
[   0.023][v][ipc_0] Client connected
[   0.024][v][cplayer] Set property: volume=100 -> 1
[   0.024][v][cplayer] Run command: loadfile, flags=0, args=[http://192.168.2.200:80/emby/Videos/0639a89e0f1d1189e86474a31af55c0c/stream.mkv?Static=true&mediaSourceId=0639a89e0f1d1189e86474a31af55c0c&deviceId=uklonmds01&api_key=78bd8a82e4a1495a9a5c340bf72b033e&Tag=76f74a3a7fb7b1ff5fe69c5aeb2d9012, replace, ]
[   0.025][cplayer] Playing: http://192.168.2.200:80/emby/Videos/0639a89e0f1d1189e86474a31af55c0c/stream.mkv?Static=true&mediaSourceId=0639a89e0f1d1189e86474a31af55c0c&deviceId=uklonmds01&api_key=78bd8a82e4a1495a9a5c340bf72b033e&Tag=76f74a3a7fb7b1ff5fe69c5aeb2d9012
[   0.025][v][cplayer] Running hook: ytdl_hook/on_load
[   0.027][w][ytdl_hook] youtube-dl failed, trying to play URL directly ...
[   0.027][v][cplayer] Run command: hook-ack, flags=0, args=[on_load]
[   0.027][v][ffmpeg] Opening http://192.168.2.200:80/emby/Videos/0639a89e0f1d1189e86474a31af55c0c/stream.mkv?Static=true&mediaSourceId=0639a89e0f1d1189e86474a31af55c0c&deviceId=uklonmds01&api_key=78bd8a82e4a1495a9a5c340bf72b033e&Tag=76f74a3a7fb7b1ff5fe69c5aeb2d9012
[   0.079][v][ffmpeg] Could not set AVOption tls_verify='0'
[   0.080][v][ffmpeg] Mime-type: 'video/x-matroska'
[   0.080][v][ffmpeg] Stream opened successfully.
[   0.080][v][cache] Cache size set to 150000 KiB (75000 KiB backbuffer)
[   0.080][v][demux] Trying demuxers for level=normal.
[   0.082][v][mkv] Found the head...
[   0.082][v][mkv] + a segment...
[   0.082][v][mkv] Parsing seek head...
[   0.082][v][mkv] |+ segment information...
[   0.082][v][mkv] | + muxing app: libebml v1.3.5 + libmatroska v1.4.8
[   0.082][v][mkv] | + writing app: mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
[   0.082][v][mkv] | + timecode scale: 1000000
[   0.082][v][mkv] | + duration: 10953.902s
[   0.082][v][mkv] | + segment uid bb c0 cb 67 db d7 46 61 b4 9d 14 89 32 03 89 d3
[   0.082][v][mkv] |+ segment tracks...
[   0.082][v][mkv] | + a track...
[   0.082][v][mkv] |  + Track number: 1
[   0.082][v][mkv] |  + Track type: Video
[   0.082][v][mkv] |  + Video track
[   0.083][v][mkv] |   + Display width: 3840
[   0.083][v][mkv] |   + Display height: 2160
[   0.083][v][mkv] |   + Pixel width: 3840
[   0.083][v][mkv] |   + Pixel height: 2160
[   0.083][v][mkv] |  + Codec ID: V_MPEGH/ISO/HEVC
[   0.083][v][mkv] |  + CodecPrivate, length 200
[   0.083][v][mkv] |  + Language: und
[   0.083][v][mkv] |  + Default duration: 41.708ms ( = 23.976 fps)
[   0.083][v][mkv] | + a track...
[   0.083][v][mkv] |  + Track number: 2
[   0.083][v][mkv] |  + Track type: Audio
[   0.083][v][mkv] |  + Audio track
[   0.083][v][mkv] |   + Sampling frequency: 48000.000000
[   0.083][v][mkv] |   + Channels: 8
[   0.083][v][mkv] |  + Codec ID: A_TRUEHD
[   0.083][v][mkv] | + a track...
[   0.083][v][mkv] |  + Track number: 3
[   0.083][v][mkv] |  + Track type: Subtitle
[   0.083][v][mkv] |  + Codec ID: S_HDMV/PGS
[   0.083][v][mkv] Parsing chapters...
[   0.083][v][mkv] New edition 0
[   0.083][v][mkv] Default edition flag: 0
[   0.083][v][mkv] Chapter 0 from 00:00:00.000 to 00:00:00.000, Chapter 1
[   0.083][v][mkv] Chapter 1 from 00:10:10.651000000 to 00:00:00.000, Chapter 2
[   0.083][v][mkv] Chapter 2 from 00:27:00.660000000 to 00:00:00.000, Chapter 3
[   0.083][v][mkv] Chapter 3 from 00:37:49.225000000 to 00:00:00.000, Chapter 4
[   0.083][v][mkv] Chapter 4 from 00:46:54.520000000 to 00:00:00.000, Chapter 5
[   0.083][v][mkv] Chapter 5 from 01:02:04.971000000 to 00:00:00.000, Chapter 6
[   0.083][v][mkv] Chapter 6 from 01:14:10.612000000 to 00:00:00.000, Chapter 7
[   0.083][v][mkv] Chapter 7 from 01:28:07.115000000 to 00:00:00.000, Chapter 8
[   0.083][v][mkv] Chapter 8 from 01:41:46.642000000 to 00:00:00.000, Chapter 9
[   0.083][v][mkv] Chapter 9 from 01:53:52.617000000 to 00:00:00.000, Chapter 10
[   0.083][v][mkv] Chapter 10 from 02:02:58.79000000 to 00:00:00.000, Chapter 11
[   0.083][v][mkv] Chapter 11 from 02:15:04.54000000 to 00:00:00.000, Chapter 12
[   0.083][v][mkv] Chapter 12 from 02:27:55.74000000 to 00:00:00.000, Chapter 13
[   0.083][v][mkv] Chapter 13 from 02:36:51.443000000 to 00:00:00.000, Chapter 14
[   0.083][v][mkv] Chapter 14 from 02:48:28.348000000 to 00:00:00.000, Chapter 15
[   0.083][v][mkv] Chapter 15 from 02:54:43.764000000 to 00:00:00.000, Chapter 16
[   0.083][v][mkv] |+ found cluster
[   0.083][v][mkv] Deferring reading cues.
[   0.083][v][mkv] Seeking to 81398528195 to read header element 0x1254c367.
[   0.091][v][cache] Dropping cache at pos 81398528195, cached range: 0-270336.
[   0.091][v][cache] Seeking underlying stream: 270336 -> 81398528195
[   0.369][v][cache] EOF reached.
[   0.369][v][cache] Dropping cache at pos 6491, cached range: 81398528195-81398529450.
[   0.369][v][cache] Seeking underlying stream: 81398529450 -> 6491
[   0.375][v][mkv] All headers are parsed!
[   0.375][v][demux] Detected file format: Matroska
[   0.375][v][cache] blocking for STREAM_CTRL 6
[   0.376][v][cplayer] Opening done: http://192.168.2.200:80/emby/Videos/0639a89e0f1d1189e86474a31af55c0c/stream.mkv?Static=true&mediaSourceId=0639a89e0f1d1189e86474a31af55c0c&deviceId=uklonmds01&api_key=78bd8a82e4a1495a9a5c340bf72b033e&Tag=76f74a3a7fb7b1ff5fe69c5aeb2d9012
[   0.377][v][cplayer] Running hook: ytdl_hook/on_preloaded
[   0.377][v][cplayer] Run command: hook-ack, flags=0, args=[on_preloaded]
[   0.377][cplayer]  (+) Video --vid=1 (*) (hevc)
[   0.377][cplayer]  (+) Audio --aid=1 --alang=eng (*) (truehd)
[   0.377][cplayer]  (+) Subs  --sid=1 --slang=eng (*) (hdmv_pgs_subtitle)
[   0.378][v][vo/opengl] Initializing OpenGL backend 'angle'
[   0.424][v][vo/opengl] Using Direct3D 11 feature level 11_0
[   0.432][v][vo/opengl/win32] resize window: 3840:2160
[   0.432][v][vo/opengl/win32] DPI detected from the new API: 288
[   0.432][v][vo/opengl/win32] display-fps: 60.000000
[   0.438][v][vo/opengl/win32] color-profile: C:\WINDOWS\system32\spool\drivers\color\sRGB Color Space Profile.icm
[   0.451][v][vo/opengl] EGL_VERSION=1.4 (ANGLE 2.1.0.5f45e7c34cd4)
[   0.451][v][vo/opengl] EGL_VENDOR=Google Inc. (adapter LUID: 0000000000005425)
[   0.451][v][vo/opengl] EGL_CLIENT_APIS=OpenGL_ES
[   0.451][v][vo/opengl] Trying to create GLES 3.x context.
[   0.451][v][vo/opengl/win32] DPI detected from the new API: 288
[   0.453][v][vo/opengl] Using DXGI 1.2+
[   0.453][v][vo/opengl] GL_VERSION='OpenGL ES 3.0 (ANGLE 2.1.0.5f45e7c34cd4)'
[   0.454][v][vo/opengl] Detected GLES 3.0.
[   0.454][v][vo/opengl] GL_VENDOR='Google Inc.'
[   0.454][v][vo/opengl] GL_RENDERER='ANGLE (NVIDIA GeForce GT 1030 Direct3D11 vs_5_0 ps_5_0)'
[   0.454][v][vo/opengl] GL_SHADING_LANGUAGE_VERSION='OpenGL ES GLSL ES 3.00 (ANGLE 2.1.0.5f45e7c34cd4)'
[   0.454][v][vo/opengl] Loaded extension GL_EXT_texture_norm16.
[   0.454][v][vo/opengl] Loaded extension GL_EXT_color_buffer_half_float.
[   0.454][v][vo/opengl] Loaded extension GL_EXT_disjoint_timer_query.
[   0.454][v][vo/opengl] Loaded extension GL_ANGLE_translated_shader_source.
[   0.454][v][vo/opengl] Reported display depth: R=8, G=8, B=8
[   0.454][v][vo/opengl] Testing FBO format 0x805b
[   0.454][v][vo/opengl] Create FBO: 16x16 (16x16)
[   0.455][v][vo/opengl] Using FBO format 0x805b.
[   0.455][v][vo/opengl] No advanced processing required. Enabling dumb mode.
[   0.455][v][vo/opengl] Loading hwdec driver 'd3d11-egl'
[   0.458][v][vo/opengl] Resize: 3840x2160
[   0.458][v][vo/opengl] Assuming 60.000000 FPS for display sync.
[   0.458][v][vd] Container reported FPS: 23.976025
[   0.458][v][vd] Codec list:
[   0.458][v][vd]     hevc - HEVC (High Efficiency Video Coding)
[   0.458][v][vd]     hevc_cuvid (hevc) - Nvidia CUVID HEVC decoder
[   0.458][v][vd] Opening video decoder hevc
[   0.458][v][vd] Probing 'd3d11va'...
[   0.458][v][vd] Trying hardware decoding.
[   0.459][v][d3d11va] Using VO-supplied device 000001d5e9373440.
[   0.460][v][vd] Selected video codec: hevc (HEVC (High Efficiency Video Coding))
[   0.461][v][ad] Codec list:
[   0.461][v][ad]     spdif_truehd (truehd) - libavformat/spdifenc audio pass-through decoder
[   0.461][v][ad]     truehd - TrueHD
[   0.461][v][ad] Opening audio decoder spdif_truehd
[   0.461][v][ad] Selected audio codec: spdif_truehd (libavformat/spdifenc audio pass-through decoder)
[   0.461][v][cplayer] Starting playback...
[   0.462][v][ad] In: profile=-99 samplerate=0
[   0.463][v][vd] Pixel formats supported by decoder: dxva2_vld d3d11va_vld yuv420p10le
[   0.463][v][vd] Codec profile: Main 10 (0x2)
[   0.463][v][d3d11va] {86695f12-340e-4f04-9fd3-9253dd327460} MPEG2and1_VLD  NV12
[   0.463][v][d3d11va] {ee27417f-5e28-4e65-beea-1d26b508adc9} MPEG2_VLD  NV12
[   0.463][v][d3d11va] {6f3ec719-3735-42cc-8063-65cc3cb36616} <unknown>  NV12
[   0.463][v][d3d11va] {1b81bea4-a0c7-11d3-b984-00c04f2e73c5} VC1_D2010  NV12
[   0.463][v][d3d11va] {1b81bea3-a0c7-11d3-b984-00c04f2e73c5} VC1_D  NV12
[   0.463][v][d3d11va] {32fcfe3f-de46-4a49-861b-ac71110649d5} <unknown>  NV12
[   0.463][v][d3d11va] {d79be8da-0cf1-4c81-b82a-69a4e236f43d} <unknown>  NV12
[   0.463][v][d3d11va] {f9aaccbb-c2b6-4cfc-8779-5707b1760552} <unknown>  NV12
[   0.463][v][d3d11va] {1b81be68-a0c7-11d3-b984-00c04f2e73c5} H264_E  NV12
[   0.463][v][d3d11va] {5b11d51b-2f4c-4452-bcc3-09f2a1160cc0} HEVC_VLD_Main  NV12
[   0.463][v][d3d11va] {107af0e0-ef1a-4d19-aba8-67a163073d13} HEVC_VLD_Main10  NV12 P010
[   0.463][v][d3d11va] {20bb8b0a-97aa-4571-8e99-64e60606c1a6} <unknown>  NV12 P010
[   0.463][v][d3d11va] {15df9b21-06c4-47f1-841e-a67c97d7f312} <unknown>  NV12
[   0.463][v][d3d11va] {efd64d74-c9e8-41d7-a5e9-e9b0e39fa319} <unknown>  NV12
[   0.463][v][d3d11va] {ed418a9f-010d-4eda-9ae3-9a65358d8d2e} <unknown>  NV12
[   0.463][v][d3d11va] {9947ec6f-689b-11dc-a320-0019dbbc4184} <unknown>  NV12
[   0.463][v][d3d11va] {33fcfe41-de46-4a49-861b-ac71110649d5} <unknown>  NV12
[   0.463][v][d3d11va] {463707f8-a1d0-4585-876d-83aa6d60b89e} VP9_VLD_Profile0  NV12
[   0.463][v][d3d11va] {a4c749ef-6ecf-48aa-8448-50a7a1165ff7} <unknown>  NV12 P010
[   0.463][v][d3d11va] {dda19dc7-93b5-49f5-a9b3-2bda28a2ce6e} <unknown>  NV12 P010
[   0.463][v][d3d11va] {914c84a3-4078-4fa9-984c-e2f262cb5c9c} <unknown>  NV12
[   0.463][v][vd] Selecting {107af0e0-ef1a-4d19-aba8-67a163073d13} HEVC_VLD_Main10 104
[   0.587][vd] Using hardware decoding (d3d11va).
[   0.587][v][vd] Decoder format: 3840x2160 d3d11va_vld[p010] bt.2020-ncl/bt.2020/st2084/limited SP=4000.000000 CL=unknown
[   0.587][v][vd] Using container aspect ratio.
[   0.588][vf] Using conversion filter.
[   0.588][v][vf] Video filter chain:
[   0.588][v][vf]   [in] 3840x2160 d3d11va_vld[p010] bt.2020-ncl/bt.2020/st2084/limited NP=10000.000000 SP=4000.000000 CL=u
[   0.588][v][vf]   [d3d11vpp] 3840x2160 d3d11_nv12[nv12] bt.2020-ncl/bt.2020/st2084/limited NP=10000.000000 SP=4000.000000 CL=un [a]
[   0.588][v][vf]   [out] 3840x2160 d3d11_nv12[nv12] bt.2020-ncl/bt.2020/st2084/limited NP=10000.000000 SP=4000.000000 CL=un
[   0.599][v][d3d11vpp] Found 1 rate conversion caps. Looking for caps=0x2.
[   0.599][v][d3d11vpp]   - 0: 0x00000017
[   0.599][v][d3d11vpp]        (matching)
[   0.600][cplayer] VO: [opengl] 3840x2160 d3d11_nv12[nv12]
[   0.600][v][cplayer] VO: Description: Extended OpenGL Renderer
[   0.600][v][vo/opengl] Resize: 3840x2160
[   0.600][v][vo/opengl] Window size: 3840x2160
[   0.600][v][vo/opengl] Video source: 3840x2160 (1:1)
[   0.600][v][vo/opengl] Video display: (0, 0) 3840x2160 -> (0, 0) 3840x2160
[   0.600][v][vo/opengl] Video scale: 1.000000/1.000000
[   0.600][v][vo/opengl] OSD borders: l=0 t=0 r=0 b=0
[   0.600][v][vo/opengl] Video borders: l=0 t=0 r=0 b=0
[   0.600][v][vo/opengl] Testing FBO format 0x805b
[   0.600][v][vo/opengl] Create FBO: 16x16 (16x16)
[   0.600][v][vo/opengl] Using FBO format 0x805b.
[   0.600][v][vo/opengl] No advanced processing required. Enabling dumb mode.
[   0.600][v][cplayer] set video colors output-levels=0
[   0.601][v][vo/opengl] recompiling a shader program:
[   0.601][v][vo/opengl] header:
[   0.601][v][vo/opengl] [  1] vec3 hable(vec3 x) {
[   0.601][v][vo/opengl] [  2] return ((x * (0.150000*x + 0.050000)+0.004000)/(x * (0.150000*x + 0.500000) + 0.060000)) - 0.066667;
[   0.601][v][vo/opengl] [  3] }
[   0.601][v][vo/opengl] body:
[   0.601][v][vo/opengl] [  1] color.r = 1.000000 * vec4(texture(texture0, texcoord0)).r;
[   0.601][v][vo/opengl] [  2] color.gb = 1.000000 * vec4(texture(texture1, texcoord1)).rg;
[   0.601][v][vo/opengl] [  3] // color conversion
[   0.601][v][vo/opengl] [  4] color.rgb = mat3(colormatrix) * color.rgb + colormatrix_c;
[   0.601][v][vo/opengl] [  5] color.a = 1.0;
[   0.601][v][vo/opengl] [  6] // color mapping
[   0.601][v][vo/opengl] [  7] color.rgb = clamp(color.rgb, 0.0, 1.0);
[   0.601][v][vo/opengl] [  8] color.rgb = pow(color.rgb, vec3(1.0/78.843750));
[   0.601][v][vo/opengl] [  9] color.rgb = max(color.rgb - vec3(0.835938), vec3(0.0))
[   0.601][v][vo/opengl] [ 10]              / (vec3(18.851562) - vec3(18.687500) * color.rgb);
[   0.601][v][vo/opengl] [ 11] color.rgb = pow(color.rgb, vec3(1.0/0.159302));
[   0.601][v][vo/opengl] [ 12] color.rgb *= vec3(40.000000);
[   0.601][v][vo/opengl] [ 13] // HDR tone mapping
[   0.601][v][vo/opengl] [ 14] color.rgb = hable(color.rgb) / hable(vec3(16.000000));
[   0.601][v][vo/opengl] [ 15] color.rgb = cms_matrix * color.rgb;
[   0.601][v][vo/opengl] [ 16] color.rgb = clamp(color.rgb, 0.0, 1.0);
[   0.601][v][vo/opengl] [ 17] color.rgb = pow(color.rgb, vec3(1.0/2.2));
[   0.627][v][vo/opengl] shader link log (status=1):
[   0.627][v][vo/opengl]
[   0.627][v][vo/opengl]
[   0.627][v][vo/opengl]
[   0.629][v][cplayer] first video frame after restart shown
[   0.629][v][af] Audio filter chain:
[   0.629][v][af]   [in] 192000Hz 7.1 8ch spdif-truehd
[   0.629][v][af]   [out] 192000Hz 7.1 8ch spdif-truehd
[   0.629][v][af]   [ao] 192000Hz 7.1 8ch spdif-truehd
[   0.629][v][ao] Trying audio driver 'wasapi'
[   0.629][v][ao/wasapi] requested format: 192000 Hz, 7.1 channels, spdif-truehd
[   0.632][v][ao/wasapi] No device specified. Selecting default.
[   0.633][v][ao/wasapi] Selecting device '{4c39075b-298b-4f30-aa38-730ea4553888}' (SONY AVSYSTEM-0 (NVIDIA High Definition Audio))
[   0.634][v][ao/wasapi] Monitoring changes in device {0.0.0.00000000}.{4c39075b-298b-4f30-aa38-730ea4553888}
[   0.639][v][ao/wasapi] Trying 7.1 spdif-truehd @ 192000hz (exclusive) -> ok
[   0.639][v][ao/wasapi] Accepted as 7.1 spdif-truehd @ 192000hz (exclusive)
[   0.639][v][ao/wasapi] Device period: 10 ms
[   0.650][v][ao/wasapi] Buffer frame count: 1920 (10 ms)
[   0.650][v][ao/wasapi] IAudioClock::GetFrequency gave a frequency of 192000.
[   0.653][v][ao/wasapi] device buffer: 1920 samples.
[   0.653][v][ao/wasapi] using soft-buffer of 38400 samples.
[   0.653][cplayer] AO: [wasapi] 192000Hz 7.1 8ch spdif-truehd
[   0.653][v][cplayer] AO: Description: Windows WASAPI audio output (event mode)
[   0.655][v][cplayer] starting audio playback
[   0.656][v][cplayer] playback restart complete
[   0.661][cplayer] Track switched:
[   0.661][cplayer]  (+) Video --vid=1 (*) (hevc)
[   0.661][cplayer]  (+) Audio --aid=1 --alang=eng (*) (truehd)
[   0.661][cplayer]  (+) Subs  --sid=1 --slang=eng (*) (hdmv_pgs_subtitle)
[   0.662][v][cplayer] Set property: aid=1 -> 1
[   0.672][cplayer] Track switched:
[   0.672][cplayer]  (+) Video --vid=1 (*) (hevc)
[   0.672][cplayer]  (+) Audio --aid=1 --alang=eng (*) (truehd)
[   0.672][cplayer]      Subs  --sid=1 --slang=eng (*) (hdmv_pgs_subtitle)
[   0.672][v][cplayer] Set property: sid="no" -> 1
[   0.674][v][cplayer] Run command: seek, flags=0, args=[905.000000, absolute, exact]
[   0.674][v][mkv] queuing seek to 905.000000
[   0.684][v][mkv] execute seek (to 905.000000 flags 40)
[   0.684][v][mkv] Seeking to 81398140811 to read header element 0x1c53bb6b.
[   0.684][v][cplayer] hr-seek, skipping to 905.000000
[   0.693][v][cache] Dropping cache at pos 81398140811, cached range: 6491-8862043.
[   0.693][v][cache] Seeking underlying stream: 8862043 -> 81398140811
[   0.865][v][mkv] Parsing cues...
[   0.908][v][cache] EOF reached.
[   0.923][v][cache] Dropping cache at pos 5730291552, cached range: 81398140811-81398529450.
[   0.923][v][cache] Seeking underlying stream: 81398529450 -> 5730291552
[   0.982][v][mkv] seek done
[   1.000][v][vd] Decoder format: 3840x2160 d3d11va_vld[p010] bt.2020-ncl/bt.2020/st2084/limited SP=4000.000000 CL=unknown
[   1.000][v][vd] Using container aspect ratio.
[   1.087][v][cplayer] first video frame after restart shown
[   1.088][v][cplayer] starting audio playback
[   1.088][v][cplayer] playback restart complete
[   1.131][v][cplayer] Enter buffering.
[   1.432][v][cplayer] End buffering (waited 0.331479 secs).
[   7.174][v][cplayer] Run command: stop, flags=0, args=[]
[   7.174][v][cplayer] EOF code: 4  
[   7.174][v][ad] Uninit audio decoder.
[   7.174][v][vd] Uninit video.
[   7.202][v][cache] Terminating cache...
[   7.203][v][cache] Cache exiting...
[   7.222][v][cplayer] finished playback, success (reason 2)
[   7.222][cplayer]
[   7.230][v][vo/opengl] flushing shader cache
[   7.426][v][vo/opengl/win32] uninit
[   7.428][v][cplayer] Run command: quit, flags=0, args=[0]
[   7.430][cplayer]
[   7.430][cplayer] Exiting... (Quit)
[   7.430][v][ytdl_hook] Exiting...
[   7.430][v][refreshrate] Exiting...
[   7.431][v][ipc_0] Exiting...
 

Link to comment
Share on other sites

@@Luke, perhaps you could help - what arguments are passed to MPV when a movie plays? I would like to explore each one. I am getting consistent choppiness when lauching MPV through ET now but never when launching it directly.

Edited by Daz42
Link to comment
Share on other sites

Guest asrequested

It is using hardware acceleration, but d3d and not cuda-copy. It must be getting overridden.

 

Using hardware decoding (d3d11va).

[ 0.587][v][vd] Decoder format: 3840x2160 d3d11va_vld[p010] bt.2020-ncl/bt.2020/st2084/limited SP=4000.000000 CL=unknown

[ 0.587][v][vd] Using container aspect ratio.

[ 0.588][vf] Using conversion filter.

[ 0.588][v][vf] Video filter chain:

[ 0.588][v][vf] [in] 3840x2160 d3d11va_vld[p010] bt.2020-ncl/bt.2020/st2084/limited NP=10000.000000 SP=4000.000000 CL=u

[ 0.588][v][vf] [d3d11vpp] 3840x2160 d3d11_nv12[nv12] bt.2020-ncl/bt.2020/st2084/limited NP=10000.000000 SP=4000.000000 CL=un [a]

[ 0.588][v][vf] [out] 3840x2160 d3d11_nv12[nv12] bt.2020-ncl/bt.2020/st2084/limited NP=10000.000000 SP=4000.000000 CL=un

[ 0.599][v][d3d11vpp] Found 1 rate conversion caps. Looking for caps=0x2.

[ 0.599][v][d3d11vpp] - 0: 0x00000017

[ 0.599][v][d3d11vpp] (matching)

[ 0.600][cplayer] VO: [opengl] 3840x2160 d3d11_nv12[nv12]

Link to comment
Share on other sites

dannygp87

@@Daz42

1) What build number of Windows 10 do you have? (Press Win+R and write "winver")

2) Assuming that you have Windows 10 Falls Creator Update, do you have HDR/advanced colors activated in display settings on windows?

3) Your TV has a 10bit panel, you should output 10bits instead of 8bit to get the full benefit of HDR. Are you forcing 8bit 4:4:4 on Nvidia Control panel?

Edited by dannygp87
Link to comment
Share on other sites

dannygp87

Also, does the HDR flag appear on your TV when you are playing the file with MPC-HC? And with ET? My guess is that it isn't because you are outputing an 8bits signal

Edited by dannygp87
Link to comment
Share on other sites

@@Daz42

1) What build number of Windows 10 do you have? (Press Win+R and write "winver")

2) Assuming that you have Windows 10 Falls Creator Update, do you have HDR/advanced colors activated in display settings on windows?

3) Your TV has a 10bit panel, you should output 10bits instead of 8bit to get the full benefit of HDR. Are you forcing 8bit 4:4:4 on Nvidia Control panel?

 

Hi @@dannygp87, I have Windows 10 (10.0.16.299, build 16299). Yes I have the Windows 10 Falls Creator Update as I have version 1709.

 

In the nVidia control panel, you can set 8 bit Full RGB (full) or 10 bit 4:2:2 (limited) at maximum. As I understand it, it is not possible to get 10bit 4:4:4 @ 60hz through the current specification of HDMI (currently 2.2) as there is not enough bandwidth at 18Gbps. Currently, I have 10 bit 4:2:2 set through Windows to see if there is any difference.

Edited by Daz42
Link to comment
Share on other sites

Also, does the HDR flag appear on your TV when you are playing the file with MPC-HC? And with ET? My guess is that it isn't because you are outputing an 8bits signal

 

I am not seeing any 'HDR' notifications appear on the screen when playing 10 bit HDR videos - even when set at 4:2:2 10bit, either through the nVidia control panel or from Windows display settings.

 

However, when I set 4:2:2 10bit all of the TV settings are locked to HDR so you can't adjust many of the settings you could at 8bit.

Edited by Daz42
Link to comment
Share on other sites

dannygp87

I am not seeing any 'HDR' notifications appear on the screen when playing 10 bit HDR videos - even when set at 4:2:2 10bit, either through the nVidia control panel or from Windows display settings.

 

However, when I set 4:2:2 10bit all of the TV settings are locked to HDR so you can't adjust many of the settings you could at 8bit.

Exactly, that's exactly how it should be configured. Leave the color setting on Nvidia Control panel to default and it should change automatically from RGB to 4:2:2 when you play a video if you have HDR activated on Windows 'un display settings.

The problem is that currently mpv doesn't notify the screen to change the mode, so my recommendation is to use MadVR render in ET options (although that option is not working with the last ET release, we have to wait until it's updated")

 

In this page there is more information: http://www.avsforum.com/forum/26-home-theater-computers/2880609-madvr-hdr-passthrough-isn-t-working.html#/topics/2880609

Link to comment
Share on other sites

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...