[RESOLVED] Indexing Issue

Support forum for DGDecNV
Post Reply
DAE avatar
dmcs
Posts: 36
Joined: Sat Oct 21, 2017 9:40 pm

[RESOLVED] Indexing Issue

Post by dmcs »

Hi,

I've been running into an issue lately. There are glitches in a few frames when indexing with DGDecNV (latest version) although the file appears to be normal during playback in MPC/VLC. I took 2 screenshots of the same frame, taken with MPC and DGDecNV (also, "show=true" in x64 doesn't seem to write text properly on the frame, x86 works fine.)
MPC
sample_a.png
DGDecNV
sample_b.png
My gpu is 1030. I suspect the issue could be the latest Nvidia driver. Here's the sample:

Code: Select all

https://mega.nz/#!8Qgl1KCQ!7k1hyKrO3XlIKKtxd_JLA9ySalBjaZN3qY_xNePGHvc
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Indexing Issue

Post by admin »

For the decode artifacts, set Strict AVC in Settings before doing Save Project. Then exit DGIndexNV before serving the script. The stream contains I frames that are not seekable.

For the debug output, that is weird. What OS are you running? What is your script? Please post the first 10 lines of your DGI file.
DAE avatar
dmcs
Posts: 36
Joined: Sat Oct 21, 2017 9:40 pm

Re: Indexing Issue

Post by dmcs »

Thank you. "Strict AVC" seems to fix the problem.

OS: Windows 10 x64 (1803)
Script:

Code: Select all

DGSource("sample.dgi", show=true)
DGI content:

Code: Select all

DGAVCIndexFileNV20 DGIndexNV 2053.0.0.148 X64
F:\Encoding\dgdecnv2053\x64 Binaries\

G:\Blu-ray\!Remux\Valerian and the City of a Thousand Planets 2017 2160p Remux HEVC TrueHD 7.1\sample.mkv 151972273

DEVICE 0
DECODE_MODES 0,0,0,0,0
STREAM 2 0
CLIP 0 0 0 12
RANGE 0 0 18446744073709551615 0
DEMUX 
DEPTH 8
ASPECT 0 -1432670628
COLORIMETRY 1 2 2
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Indexing Issue

Post by admin »

Thank you, dmcs.

That info issue is weird. Also that second negative number on the ASPECT line is weird. I've duplicated that and will fix it.

For the info overlay issue I will make a debug load for you tomorrow morning.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Indexing Issue

Post by admin »

@dmcs

Please download this and run your script with it.

http://rationalqm.us/misc/DGDecodeNV_dmcs.dll

You will get a series of popups:

First: should show the path to DGIndexNV.exe
Second: should show a value of verBufferSize > 0 and < 4096
Third: should show GetFileVersionInfo() succeeded
Fourth: should show verQueryValue() succeeded
Fifth: should show the version

Please advise your results. Thank you.
DAE avatar
dmcs
Posts: 36
Joined: Sat Oct 21, 2017 9:40 pm

Re: Indexing Issue

Post by dmcs »

Thank you.

Here's the info:
- 1st: same path in dgi file
- 2nd: verBufferSize: 0
- 3rd -> 5th: nothing happened. It just repeated what shown in 1st and 2nd.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Indexing Issue

Post by admin »

Thanks, it's getting more weird. Investigating...
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Indexing Issue

Post by admin »

Please go to that DGIndexNV.exe and right click and select Properties. Go to the Details tab. Does it show the version?
DAE avatar
dmcs
Posts: 36
Joined: Sat Oct 21, 2017 9:40 pm

Re: Indexing Issue

Post by dmcs »

It does.
Untitled.png
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Indexing Issue

Post by admin »

Please re-download the test DLL and try again. Note that it now queries the DLL rather than DGIndexNV (so no longer assuming the two must have the same version). Also there is an error code displayed if it fails.
DAE avatar
dmcs
Posts: 36
Joined: Sat Oct 21, 2017 9:40 pm

Re: Indexing Issue

Post by dmcs »

Here's the output. The overlay text works properly now.
1.png
2.png
3.png
4.png
5.png
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Indexing Issue

Post by admin »

That is still weird that it couldn't query DGIndexNV.exe (only for you) but if it works now then OK I'll let it go.

Fix will be in the next slipstream. I still have a few other things to do.

Thanks for pointing out these issues and for your assistance with the debugging. :salute:
DAE avatar
dmcs
Posts: 36
Joined: Sat Oct 21, 2017 9:40 pm

Re: Indexing Issue

Post by dmcs »

Umm, I think I know where I messed up the overlay. I renamed the x64 dgindex .exe file so that it's easier for me to use in commandline (since both x86 and x64 version have the same file name.) I changed the name back to its original and now the overlay info works perfectly.

I am so sorry for the trouble. :( :( :(

There's one more thing I'd like to ask, regarding "show2". It seems like, it only works when x is the multiple of 10 and y is the multiple of 20.
I.e., "show2=5,10" --> overlay is at 0,0; "show2=38,40" --> overlay at 30,40; "show2="30,20" --> overlay at 30,20.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Indexing Issue

Post by admin »

Oy, well, thank you for your honesty. It's not a total loss because I think it is better to query the DGDecodeNV.dll rather than DGIndexNV.exe, and I have added code to print nothing if the version query fails, rather than printing garbage.

Regarding show2 offsets, yes, that is a current limitation. If you make a strong argument, I can try to change it, but it would be low priority.
DAE avatar
dmcs
Posts: 36
Joined: Sat Oct 21, 2017 9:40 pm

Re: Indexing Issue

Post by dmcs »

admin wrote:
Thu Jun 21, 2018 1:49 pm
Regarding show2 offsets, yes, that is a current limitation. If you make a strong argument, I can try to change it, but it would be low priority.
Ah, now I understand why it behaves that way. No, this is no issue. There's no need for any changes. :)
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Indexing Issue

Post by admin »

Great, thanks. I have 'forced subs only' to work on and then I can slipstream.
Post Reply