Page 1 of 1

[RESOLVED] DGIndexNV batch job

Posted: Sun Nov 12, 2017 9:48 am
by Guest
Is there a way to have DGIndexNV do a batch job
Simply load a bunch of index jobs and then let DGIndexNV go at the them

Re: DGIndexNV batch job

Posted: Sun Nov 12, 2017 12:11 pm
by admin
It's easily done in a cmd window (DOS) script using CLI. Many people do that. Therefore, I never saw the point of integrating batch functionality into DGIndexNV. Can you make a strong argument for it?

Re: DGIndexNV batch job

Posted: Sun Nov 12, 2017 3:45 pm
by Guest
Can you make a strong argument for it?
No
Its just that my batch file skills are somewhat lacking
Thanks for the reply

Re: DGIndexNV batch job

Posted: Thu Nov 16, 2017 9:20 pm
by DJATOM

Code: Select all

@echo off
for %%m in (%*) do (
	C:\encoder\dgdecnv\DGIndexNV -i %%m -o "%%~nm.dgi" -h 
	echo Indexed "%%~nxm".
)
pause
Change executable path to your own and save as "batch_dgindexNV.bat".
Just drag&drop your files onto that batch and it will index your files.

Re: DGIndexNV batch job

Posted: Fri Nov 17, 2017 4:43 am
by Guest
Thanks

Re: DGIndexNV batch job

Posted: Wed Nov 29, 2017 5:12 pm
by Guest
Admin
Please mark this as resolved

Re: [RESOLVED] DGIndexNV batch job

Posted: Wed Nov 29, 2017 5:50 pm
by admin
Your wish is my command.

Re: [RESOLVED] DGIndexNV batch job

Posted: Wed Nov 29, 2017 6:02 pm
by Guest
Thank you

Re: [RESOLVED] DGIndexNV batch job

Posted: Tue Jan 02, 2018 2:55 pm
by Jagutherrschaften
I would like to use a batch file like the one mentioned above to index a ts-file and demux video and audio.
I read that -a is the switch to use for demuxing audio but it doesn't work for me.
How do I have to change the batch file to make DGIndexNV write audio files too?

Re: [RESOLVED] DGIndexNV batch job

Posted: Tue Jan 02, 2018 3:22 pm
by Guest
Demux audio works with Save Project
You must use the -o or -od switch as well
The admin will correct me if I am wrong

Re: [RESOLVED] DGIndexNV batch job

Posted: Tue Jan 02, 2018 3:31 pm
by Jagutherrschaften
Thank you for your reply.

Code: Select all

@echo off
for %%m in (%*) do (
	"C:\Program Files\MeGUI\tools\dgindexnv\DGIndexNV.exe" -i %%m -od "%%~nm.dgi" -h 
	echo Indexed "%%~nxm".
)
pause
This is what I am using at the moment. If I add

Code: Select all

-a
after "%%~nm.dgi" nothing changes. Seems I don't understand how to use it :? .

Re: [RESOLVED] DGIndexNV batch job

Posted: Tue Jan 02, 2018 3:59 pm
by Guest
Try it before -od and see if it works

Re: [RESOLVED] DGIndexNV batch job

Posted: Tue Jan 02, 2018 4:32 pm
by Jagutherrschaften
Same result, demuxing the video works fine, no audio file is created.

Re: [RESOLVED] DGIndexNV batch job

Posted: Tue Jan 02, 2018 4:40 pm
by Guest
Are you using the 32 bit or 64 bit version?

Open up DGIndexNV directly and drag and drop your file into it
Enable audio demux and then save project with video demux
Does it work?

Re: [RESOLVED] DGIndexNV batch job

Posted: Wed Jan 03, 2018 6:51 am
by admin
As gonca suggests, you must have Enable_Audio_Demux=1 in the INI file. You can either edit it manually or you can enable it in the DGIndexNV GUI via Audio/Enable audio processing.

For the next slipstream I will make -a automatically assume processing is enabled.

If this does not resolve your issue, can you make available a short unprocessed source sample (50MB is fine)? You can cut TS files with DGSplit, or you can open it in DGIndexNV, set a range, and then do File/Output Trimmed TS.

Re: [RESOLVED] DGIndexNV batch job

Posted: Thu Jan 04, 2018 7:18 am
by Jagutherrschaften
Thank you for your help :hat: .

I realized that the "Enable_Audio_Demux=1" was already in the INI-file, I additionally checked "Enable audio processing" in the GUI.
The setting wasn't there after closing and reopening the GUI. I then changed the permissions of the file DGIndexNV.ini - I gave all the different rights to all users and reapplied the settings. This solved my problem, the settings are saved and now demuxing audio and video and indexing the files works with the following batch-code:

Code: Select all

@echo off
for %%m in (%*) do (
	"C:\Program Files (x86)\MeGUI\tools\dgindexnv\DGIndexNV.exe" -i %%m -a -od "%%~nm.dgi" -h 
	echo Indexed "%%~nxm".
)
pause


This makes DGIndexNV even more valuable for me, thanks a lot :bow:

Re: [RESOLVED] DGIndexNV batch job

Posted: Thu Jan 04, 2018 7:41 am
by admin
Good to hear you have it sorted out and thank you for the status update.