avs2yuv DGSource: Cannot open index file!

Support forum for DGDecNV
Post Reply
DAE avatar
Darkexy
Posts: 3
Joined: Mon Jul 26, 2021 10:55 am

avs2yuv DGSource: Cannot open index file!

Post by Darkexy »

Hi there,

I've got a problem with DGDecNV. I indexed some files and worked with them using AvsPmod which worked perfectly fine. Today I tried to encoded them with x265 using avs2yuv to pipe the output of avs to x265 and now it shows the error:
error: DGSource: Cannot open index file!
In my AVS file these are the first lines:
#Load Plugins
LoadPlugin("D:\dgdecnv2053\DGDecodeNV.dll")

#Load Sources
BD = DGSource("D:\STREAM\00004.dgi")
EP804 = DGSource("D:\Episode 804.dgi")
EP805 = DGSource("D:\Episode 805.dgi")
Since it worked with AvsPmod I dont get why it won't work with avs2yuv. Today I read that you need license but that the program does not show any note for that. I didn't licensed yet, is it possible that this is the problem? Is there any solution?

Hoping for help!

Best regards
DExy
User avatar
Rocky
Posts: 3557
Joined: Fri Sep 06, 2019 12:57 pm

avs2yuv DGSource: Cannot open index file!

Post by Rocky »

The latest version does not require a license anymore. I don't know anything about avs2yuv, but if it works with avspmod then I would think it should work with avs2yuv. I'll see if I can duplicate it but your best bet is to talk to the avs2yuv author.
DAE avatar
Darkexy
Posts: 3
Joined: Mon Jul 26, 2021 10:55 am

avs2yuv DGSource: Cannot open index file!

Post by Darkexy »

Thanks for the fast reply. I tested another script and there it worked totally fine...
Seems like I need to find out whats the problem with the index files.
User avatar
Rocky
Posts: 3557
Joined: Fri Sep 06, 2019 12:57 pm

avs2yuv DGSource: Cannot open index file!

Post by Rocky »

Maybe special characters in your file names? Saved index file or script as UTF-8 with BOM, etc.?
User avatar
Rocky
Posts: 3557
Joined: Fri Sep 06, 2019 12:57 pm

avs2yuv DGSource: Cannot open index file!

Post by Rocky »

OP has not followed up so I mark this resolved.
DAE avatar
Darkexy
Posts: 3
Joined: Mon Jul 26, 2021 10:55 am

avs2yuv DGSource: Cannot open index file!

Post by Darkexy »

Sorry, totally forgot about it.

Yeah, the problem was a special character. Can't tell anymore, which it was. But today I faced the same problem again and found out that this time it was about the two versions of '-'. In Windows Explorer it was the I had the longer version of '-', in my script was the short version of it, since Windows shorten it within the copy-paste-process.
Post Reply