Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
25th October 2023, 09:32 | #1 | Link |
Registered User
Join Date: Jul 2010
Posts: 193
|
Error when encoding avs with x264 from command line, "Could not open DGIndexNV.ini"
The title says it all. Sorry if this has been discussed before, but I've searched here and there and found nothing. After a LOT of testing and suffering, I found a "solution":
If x264 version is above 3020, it does not work. I'm getting the binaries from here (VideoLAN version): https://forum.doom9.org/showthread.php?t=89979 Is this normal? Is there a fix? I'm sorry, maybe I'm asking something stupid or obvious or anything but I haven't encode in a long time and I'm not up to date with latest changes and trends. |
25th October 2023, 13:06 | #2 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,008
|
Get it working for display of avs file first, x264 use will just obfuscate the problem.
Load/play avs64.avs into VDub2, or PotPlayer, or MPC-HC. If problem (this is expected), post avs script. EDIT: DGDecNV v250:- https://www.rationalqm.us/dgdecnv/binaries/
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 25th October 2023 at 13:26. |
25th October 2023, 13:27 | #3 | Link | ||
Registered User
Join Date: Jul 2010
Posts: 193
|
Quote:
The index I used is DGIndexNV 2053, x64 version. Seems like something changed on x264 build and some file/ini/dll cannot be found anymore. If I remember correctly from my tests, if indexed with x86 DGIndexNV, then it works, although I don't remember if I also had to specifically inject the DGIndexNV dll in the avs. EDIT: Keep in mind that, if with version 3020 works, there should be nothing wrong with the avs (I guess). The script is literally just "DGSource(test.dgi)", with DGSource options (resize, deinterlace...). Quote:
Thanks. Last edited by eXtremeDevil; 25th October 2023 at 13:35. |
||
25th October 2023, 13:46 | #4 | Link | |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,008
|
Quote:
Dont know why it may be trying to access DGIndexNV.ini Note, DGIndexNV.ini is created on first use of DGIndexNV. DGIndexNV.ini should contains similar to this Code:
Version=DGIndexNV 249.0.0.0 Window_Position=4,48 Info_Window_Position=970,48 Process_Priority=2 Playback_Speed=3 AVS_Template_Folder=C:\NON-INSTALL\DGDecNV\Template AVS_Template_File=Progressive_169_Robo_11_Resize.avs AVS_Template_File_Index=10 AVS_Enable_Template=1 AVS_Overwrite=0 Full_Path_In_Files=1 Enable_Info_Log=1 Loop_Playback=0 AVC_Extension=264 MPG_Extension=m2v VC1_Extension=vc1 HEVC_Extension=265 Deinterlace=0 UsePF=0 UseD3D=0 Snapped=1 ResponseOnAudioMismatch=0 Enable_Demux=1 CUDA_Device=255 Decode_Modes=0,0,0,0 Full_Info=1 Bare_Demux=0 Disable_Encrypted_Audio_Warning=0 Force_Zoom=0 StrictAVC=1 PGSForcedOnly=0 Default_Save_Project_Path= H2S_Settings=0,1,2000,0,0.42,1.00,1.000000,1.00,1.00,0.70 Generate_THD_AC3=1 Optimize_For_HDD=0 Preview_Path= Save_Chapters_As_Xml=0 Languages= ResponseOnFPSMismatch=0
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 25th October 2023 at 13:50. |
|
25th October 2023, 13:52 | #5 | Link | |
Registered User
Join Date: Jul 2010
Posts: 193
|
Quote:
I'll try with that one and post back, thanks. |
|
25th October 2023, 14:10 | #6 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,008
|
I think x264 is maybe extracting location of DGIndexNV from dgi file, and probably trying to get the version + other info for debug logging (or similar).
New setup of DGDecNV and copying of DGDecodeNV.dll to your plugins (delete any existing DGIndexNV.ini in DGDecNV/DGIndex folder to create anew). Go into DGIndex Settings and set them up again. Re-Index video file with DGIndexNV. Everything should probably just work OK. Things probably just got a little bit 'out-of-whack' somewhere. EDIT: Typical contents of dgi file. Code:
DGAVCIndexFileNV25 DGIndexNV 250.0.0.0 X64 C:\NON-INSTALL\DGDecNv\ D:\___BLURAY\TESTING\TESTING.mkv 27611879890 DEVICE 0 DECODE_MODES 0,0,0,0,0 STREAM 2 0 RANGE 0 0 18446744073709551615 0 DEMUX 2,3,4,5,6,7,8,9,10 DEPTH 8 CHROMA_LOCATION 0 ASPECT 1 1 COLORIMETRY 1 1 1 IS_444 0 # ... Lots of stuff SIZ 1920 x 1088 DISP 0,1920,0,1080 FPS 24000 / 1001 CODED 147841 PLAYBACK 147841 0.00% FILM ORDER 0 I like Patman mods version of x264 [x264 with PatMan mods. t_mod x86/x64 8/10 bit, posix/Win32threads]:- https://github.com/jpsdr/x264/releases:- for x265 I like this one, [x265 with Patman mods (AVS, AQ-MODE 5, ..., 8/10/12 bit)]:- https://github.com/jpsdr/x265/releases NOTE, some recent version compiles of x265.exe are 10 bit output only (slower/bigger for 8 bit input).
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 25th October 2023 at 14:46. |
25th October 2023, 22:14 | #7 | Link | |
Registered User
Join Date: Jul 2010
Posts: 193
|
Quote:
I'm happy with the new free version, but seems like some options are gone, because I used to use the filter like this: Code:
DGSource("test.dgi", crop_t=0,crop_b=0,crop_l=4,crop_r=4,resize_w=704,resize_h=400,deinterlace=1) Any thoughts on the gone options and the resize change? Should the result be the same? I will do some tests anyway Last edited by eXtremeDevil; 25th October 2023 at 22:17. |
|
26th October 2023, 06:14 | #8 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,801
|
Those parameters must be ancient, I've been using DGIndexNV for ages and never used them. See the manual for proper parameters, they are all still there.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
26th October 2023, 08:44 | #9 | Link | |
Registered User
Join Date: Jul 2010
Posts: 193
|
Quote:
Everything is working fine now, with latest versions and OpenCL which is what I really wanted I have just one last issue. If this is not the place to post/ask about it, please let me know and I will open a new thread. For some reason videos are now corrupted when resizing from 1080 to 720 with DGIndexNV and deinterlacing at the same time. No issues if I resize to 704x400 with deinterlace. I tried with the exact same DGIndexNV version as before, when it was working, and also with the exact same video source I tried back then and worked. The only thing I can think of that has changed is Windows updates and my Nvidia GPU's driver updates. Check the screenshots: VIDEO DEINTERLACED AND RESIZED TO 704x400: VIDEO RESIZED TO 720 WITHOUT DEINTERLACING: VIDEO DEINTERLACED AND RESIZED TO 720 : Weird as hell if you ask me, and out of nowhere. This is happening from before I even opened this thread, so it is definetely not a side effect from my latests modifications. Again, exact same DGIndexNV, libraries, AvsP and video source that worked last time I encoded (last year). And it's not an AvsP error, I encoded it and that was the result in the mkv Thanks in advance! Last edited by eXtremeDevil; 26th October 2023 at 08:46. |
|
26th October 2023, 10:43 | #10 | Link | ||
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,008
|
I dont use any of the other fancy stuff in DgIndexNV/DgSource, other than the AVS template stuff.
Graft don't post here anymore, best post bug report on his forum. EDIT: DG Forum:- https://www.rationalqm.us/board/index.php EDIT: From Here [DGDecodeNV over network]:- https://www.rationalqm.us/board/view...php?f=8&t=1267 by olex99 Quote:
Quote:
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 26th October 2023 at 11:01. |
||
26th October 2023, 11:00 | #11 | Link | ||
Registered User
Join Date: Jul 2010
Posts: 193
|
Quote:
Quote:
Thanks all! |
||
26th October 2023, 11:22 | #12 | Link | |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,008
|
Quote:
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
|
Tags |
avs, cmd, dgindexnv, dgindexnv.ini, x264 |
Thread Tools | Search this Thread |
Display Modes | |
|
|