Guest asrequested Posted May 10, 2018 Share Posted May 10, 2018 Before I do more extensive testing, I wanted to see what the resource usage was when using vf=d3d11vpp=deint=yes:interlaced-only=yes:mode=adaptive The results are very good (ignore the CPU usage, I had other things running) Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted May 10, 2018 Share Posted May 10, 2018 Are you using an mpv.conf as well as the theater settings?no, just ET available settings Link to comment Share on other sites More sharing options...
Guest asrequested Posted May 10, 2018 Share Posted May 10, 2018 no, just ET available settings I thought you were using the Nvidia option for deinterlacing? Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted May 10, 2018 Share Posted May 10, 2018 I thought you were using the Nvidia option for deinterlacing?i was and may switch back to it, I was hoping the arT deinterlace might assist with the live tv audio drift but alas doesn’t help Link to comment Share on other sites More sharing options...
Guest asrequested Posted May 10, 2018 Share Posted May 10, 2018 @@PrincessClevage If you have an Nvidia GPU and want to try using it to deinterlace, try this: 1. Follow this guide to set up using an mpv.conf 2. Add this line, to the mpv.conf vd-lavc-o=deint=adaptive 3. In the Theater settings, set hardware acceleration to Cuda or Cuda copy back 4. Disable all other video filters, and set deinterlace to 'no' 5. Test playback Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted May 10, 2018 Share Posted May 10, 2018 (edited) @@PrincessClevagei have test hwa=cuda and cud a copy and this setting can not play hvec media smoothly and Is not a suitable setting even if it helps with live tv audio drift Edited May 10, 2018 by PrincessClevage Link to comment Share on other sites More sharing options...
Guest asrequested Posted May 10, 2018 Share Posted May 10, 2018 i have test hwa=cuda and cud a copy and this setting can not play hvec media smoothly and Is not a suitable setting even if it helps with live tv audio drift Ok, post screenshots of your video settings Link to comment Share on other sites More sharing options...
Guest asrequested Posted May 10, 2018 Share Posted May 10, 2018 What is your GPU model? Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted May 10, 2018 Share Posted May 10, 2018 What is your GPU model?GT 1030 Link to comment Share on other sites More sharing options...
Guest asrequested Posted May 10, 2018 Share Posted May 10, 2018 Screenshots of your settings? Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted May 10, 2018 Share Posted May 10, 2018 Screenshots of your settings?When I get home I will gather this (a couple of hours time) Link to comment Share on other sites More sharing options...
Guest asrequested Posted May 10, 2018 Share Posted May 10, 2018 Well, one thing that's a problem, is if the 'auto' deinterlace option in Theater acts on what ffprobe returns, then it's going to be wrong. 720 is always progressive Link to comment Share on other sites More sharing options...
lifespeed 42 Posted May 10, 2018 Author Share Posted May 10, 2018 Well, one thing that's a problem, is if the 'auto' deinterlace option in Theater acts on what ffprobe returns, then it's going to be wrong. That resembles a smoking gun, or one of possibly several issues. Link to comment Share on other sites More sharing options...
Guest asrequested Posted May 10, 2018 Share Posted May 10, 2018 (edited) Playing a 720p Live TV stream with no mpv.conf, and only using deinterlacing=yes in Theater's settings, the logs reveal it's performing a non-adaptive deinterlace. So it looks like it's applying deinterlacing, regardless. [vd] Using hardware decoding (d3d11va). [ 0.391][v][vd] Decoder format: 1280x720 d3d11[nv12] auto/auto/auto/limited/auto CL=mpeg2/4/h264 (auto 0.000000/0.000000/0.000000) [ 0.391][v][vf] [in] 1280x720 d3d11[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [ 0.392][v][d3d11vpp] Found 1 rate conversion caps. Looking for caps=0x2. [ 0.392][v][d3d11vpp] - 0: 0x0000001f [ 0.392][v][d3d11vpp] (matching) [ 0.403][v][vf] [userdeint] 1280x720 d3d11[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [ 0.403][v][vf] [autorotate] 1280x720 d3d11[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 And it appears the same when playing a 1080p movie [vd] Using hardware decoding (d3d11va). [ 0.124][v][vd] Decoder format: 1920x808 [0:1] d3d11[nv12] auto/auto/auto/auto/auto CL=mpeg2/4/h264 (auto 0.000000/0.000000/0.000000) [ 0.124][v][vd] Using container aspect ratio. [ 0.124][v][vf] [in] 1920x808 d3d11[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [ 0.125][v][d3d11vpp] Found 1 rate conversion caps. Looking for caps=0x2. [ 0.126][v][d3d11vpp] - 0: 0x0000001f [ 0.126][v][d3d11vpp] (matching) [ 0.137][v][vf] [userdeint] 1920x808 d3d11[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [ 0.137][v][vf] [autorotate] 1920x808 d3d11[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 Using the filter string, we see that applied in the log when playing the same movie., and setting deinterlace=no. [ffmpeg/video] h264: {80a3a7bd-89d8-4497-a2b8-2126af7e6eb8} 103 104 105 106 [ 0.093][d][ffmpeg/video] h264: {8de911c4-c898-4364-9715-1de6b3fe773d} 103 106 [ 0.093][d][ffmpeg/video] h264: {50925b7b-e931-4978-a12a-586630f095f9} 103 106 [ 0.093][d][ffmpeg/video] h264: {49761bec-4b63-4349-a5ff-87ffdf088466} 103 106 [ 0.099][d][ffmpeg/video] h264: Reinit context to 1920x816, pix_fmt: d3d11 [ 0.101][v][vd] Selected codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) [ 0.101][d][user_filter_wrapper] Setting option 'deint' = 'yes' (flags = 0) [ 0.101][d][user_filter_wrapper] Setting option 'interlaced-only' = 'yes' (flags = 0) [ 0.101][d][user_filter_wrapper] Setting option 'mode' = 'adaptive' (flags = 0) [ 0.101][v][vf] User filter list: [ 0.101][v][vf] d3d11vpp (d3d11vpp.00) [ 0.101][v][ad] Codec list: [ 0.101][v][ad] spdif_dts_hd (dts) - libavformat/spdifenc audio pass-through decoder [ 0.101][v][ad] Opening decoder spdif_dts_hd [ 0.101][v][ad] Selected codec: spdif_dts_hd (libavformat/spdifenc audio pass-through decoder) [ 0.101][v][af] User filter list: [ 0.101][v][af] (empty) [ 0.101][v][cplayer] Starting playback... [ 0.103][v][vd] Pixel formats supported by decoder: cuda dxva2_vld d3d11va_vld d3d11 yuv420p [ 0.103][v][vd] Codec profile: High (0x64) [ 0.103][v][vd] Requesting pixfmt 'd3d11' from decoder. [ 0.103][d][ffmpeg/video] h264: Decoder GUIDs reported as supported: [ 0.103][d][ffmpeg/video] h264: {ee27417f-5e28-4e65-beea-1d26b508adc9} 103 106 [ 0.103][d][ffmpeg/video] h264: {bf22ad00-03ea-4690-8077-473346209b7e} 103 106 [ 0.103][d][ffmpeg/video] h264: {1b81bea4-a0c7-11d3-b984-00c04f2e73c5} 103 106 [ 0.103][d][ffmpeg/video] h264: {e07ec519-e651-4cd6-ac84-1370cceec851} 103 106 [ 0.103][d][ffmpeg/video] h264: {bcc5db6d-a2b6-4af0-ace4-adb1f787bc89} 103 106 [ 0.103][d][ffmpeg/video] h264: {1b81be94-a0c7-11d3-b984-00c04f2e73c5} 103 106 [ 0.103][d][ffmpeg/video] h264: {1b81bea2-a0c7-11d3-b984-00c04f2e73c5} 103 106 [ 0.103][d][ffmpeg/video] h264: {1b81be68-a0c7-11d3-b984-00c04f2e73c5} 103 106 [ 0.103][d][ffmpeg/video] h264: {d79be8da-0cf1-4c81-b82a-69a4e236f43d} 103 106 [ 0.103][d][ffmpeg/video] h264: {f9aaccbb-c2b6-4cfc-8779-5707b1760552} 103 106 [ 0.104][d][ffmpeg/video] h264: {705b9d82-76cf-49d6-b7e6-ac8872db013c} 103 106 [ 0.104][d][ffmpeg/video] h264: {c528916c-c0af-4645-8cb2-372b6d4adc2a} 103 106 [ 0.104][d][ffmpeg/video] h264: {91cd2d6e-897b-4fa1-b0d7-51dc88010e0a} 100 103 106 107 [ 0.104][d][ffmpeg/video] h264: {90b899ea-3a62-4705-88b3-8df04b2744e7} 103 106 [ 0.104][d][ffmpeg/video] h264: {442b942a-b4d9-4940-bc45-a882e5f919f3} 103 106 [ 0.104][d][ffmpeg/video] h264: {97688186-56a8-4094-b543-fc9daaa49f4b} 103 106 [ 0.104][d][ffmpeg/video] h264: {1424d4dc-7cf5-4bb1-9cd7-b63717a72a6b} 103 106 [ 0.104][d][ffmpeg/video] h264: {c346e8a3-cbed-4d27-87cc-a70eb4dc8c27} 103 106 [ 0.104][d][ffmpeg/video] h264: {ffc79924-5eaf-4666-a736-06190f281443} 103 106 [ 0.104][d][ffmpeg/video] h264: {f416f7bd-098a-4cf1-a11b-ce54959ca03d} 103 106 [ 0.104][d][ffmpeg/video] h264: {bf44dacd-217f-4370-a383-d573bc56707e} 100 103 106 [ 0.104][d][ffmpeg/video] h264: {2364d06a-f67f-4186-aed0-62b99e1784f1} 103 106 [ 0.104][d][ffmpeg/video] h264: {464bdb3c-91c4-4e9b-896f-225496ac4ed6} 103 106 [ 0.104][d][ffmpeg/video] h264: {28566328-f041-4466-8b14-8f5831e78f8b} 103 106 [ 0.104][d][ffmpeg/video] h264: {6b4a94db-54fe-4ae1-9be4-7a7dad004600} 103 104 106 [ 0.104][d][ffmpeg/video] h264: {8c56eb1e-2b47-466f-8d33-7dbcd63f3df2} 103 106 [ 0.104][d][ffmpeg/video] h264: {5b11d51b-2f4c-4452-bcc3-09f2a1160cc0} 103 106 [ 0.104][d][ffmpeg/video] h264: {75fc75f7-c589-4a07-a25b-72e03b0383b3} 103 104 105 106 [ 0.104][d][ffmpeg/video] h264: {107af0e0-ef1a-4d19-aba8-67a163073d13} 103 104 106 [ 0.104][d][ffmpeg/video] h264: {07cfaffb-5a2e-4b99-b62a-e4ca53b6d5aa} 103 106 [ 0.104][d][ffmpeg/video] h264: {463707f8-a1d0-4585-876d-83aa6d60b89e} 103 106 [ 0.104][d][ffmpeg/video] h264: {a4c749ef-6ecf-48aa-8448-50a7a1165ff7} 103 104 105 106 [ 0.104][d][ffmpeg/video] h264: {76988a52-df13-419a-8e64-ffcf4a336cf5} 103 106 [ 0.105][d][ffmpeg/video] h264: {80a3a7bd-89d8-4497-a2b8-2126af7e6eb8} 103 104 105 106 [ 0.105][d][ffmpeg/video] h264: {8de911c4-c898-4364-9715-1de6b3fe773d} 103 106 [ 0.105][d][ffmpeg/video] h264: {50925b7b-e931-4978-a12a-586630f095f9} 103 106 [ 0.105][d][ffmpeg/video] h264: {49761bec-4b63-4349-a5ff-87ffdf088466} 103 106 [ 0.110][d][ffmpeg/video] h264: Reinit context to 1920x816, pix_fmt: d3d11 [ 0.112][i][vd] Using hardware decoding (d3d11va). [ 0.112][v][vd] Decoder format: 1920x808 [0:1] d3d11[nv12] auto/auto/auto/auto/auto CL=mpeg2/4/h264 (auto 0.000000/0.000000/0.000000) [ 0.112][v][vd] Using container aspect ratio. [ 0.112][v][vf] [in] 1920x808 d3d11[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [ 0.112][v][vf] [userdeint] 1920x808 d3d11[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [ 0.113][v][vf] [d3d11vpp] 1920x808 d3d11[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [ 0.113][v][vf] [autorotate] 1920x808 d3d11[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 Edited May 10, 2018 by Doofus Link to comment Share on other sites More sharing options...
Guest asrequested Posted May 10, 2018 Share Posted May 10, 2018 The stats from the standalone do a nice job of showing what's happening. Link to comment Share on other sites More sharing options...
Luke 37092 Posted May 10, 2018 Share Posted May 10, 2018 What is ours missing from that? Link to comment Share on other sites More sharing options...
Guest asrequested Posted May 10, 2018 Share Posted May 10, 2018 What is ours missing from that? You're just using deninterlace=yes list.push('--hwdec=' + (options.hwdec || 'no')); if (options.deinterlace == 'yes') { list.push('--deinterlace=' + (options.deinterlace || 'auto')); } The filter string that I'm applying, is https://mpv.io/manual/stable/#video-filters-d3d11vpp vf=d3d11vpp=deint=yes:interlaced-only=yes:mode=adaptive And my suggestion would be to ditch 'auto'. ffprobe is making mistakes. Link to comment Share on other sites More sharing options...
Luke 37092 Posted May 10, 2018 Share Posted May 10, 2018 but that's gpu specific, right? Link to comment Share on other sites More sharing options...
Guest asrequested Posted May 10, 2018 Share Posted May 10, 2018 but that's gpu specific, right? No, windows specific. It requires D3D11va Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted May 10, 2018 Share Posted May 10, 2018 Screenshots of your settings? Link to comment Share on other sites More sharing options...
PrincessClevage 173 Posted May 10, 2018 Share Posted May 10, 2018 Screenshots of your settings?redowloaded the ET stable version and seems that audio drift for 23.97 content has gone Link to comment Share on other sites More sharing options...
Guest asrequested Posted May 10, 2018 Share Posted May 10, 2018 You've got too many options, selected. That's a lot processing. And if you're using refresh rate switching, interpolation is redundant. Some of those options depend on other options. They aren't all independent. Unless you understand them, it's probably better to disable them. Link to comment Share on other sites More sharing options...
Luke 37092 Posted May 10, 2018 Share Posted May 10, 2018 No, windows specific. It requires D3D11va What windows systems will support this? Link to comment Share on other sites More sharing options...
Guest asrequested Posted May 10, 2018 Share Posted May 10, 2018 Windows 8 and above, but I should explain that deinterlace=yes uses vf=d3d11vpp=deint=yes. It used to use vf=d3d11vpp=deint=yes:interlaced-only=yes, but in these shinchiro builds, interlaced-only has be been removed. I don't know what is used if CUDA is used for HWA, but the best option seems to be the one I posted, earlier. What I've done is just kept using the interlaced-only option, along with adaptive. Link to comment Share on other sites More sharing options...
lifespeed 42 Posted May 10, 2018 Author Share Posted May 10, 2018 I'm glad you guys are looking into this, the last release playback quality leaves a lot to be desired. It sounds like you're looking at the right areas. I'm not sure if I can help with testing, it sounds like you have it figured out at this point. But if you need another PC perspective let me know and I'll try to help. I have two Intel i7 desktops with nVidia GTX770 and GTX970, as well as an i3 laptop with integrated graphics. It would be great to see these fixes integrated into a released version someday. Link to comment Share on other sites More sharing options...
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