Batch processing error
Batch processing error
I have tried to demux multiple files with the command
for /R %%a in (*.mkv) D:\Eseguibili\Media\DGDecNV\DGIndexNV.exe -i "%%~na.mkv" -a -o "%%~na.dgi"
but it opens DGIndexNV multiple times instead of waiting for the process to finish.
Is there a way to have one file indexed at a time?
for /R %%a in (*.mkv) D:\Eseguibili\Media\DGDecNV\DGIndexNV.exe -i "%%~na.mkv" -a -o "%%~na.dgi"
but it opens DGIndexNV multiple times instead of waiting for the process to finish.
Is there a way to have one file indexed at a time?
- Bullwinkle
- Posts: 338
- Joined: Thu Sep 05, 2019 6:37 pm
Batch processing error
You've got us launched on a full-scale re-engineering of MKV support, so it will be some time before we can duplicate this and try things. But here is a guess. Try:
for /R %%a in (*.mkv) START /W /B D:\Eseguibili\Media\DGDecNV\DGIndexNV.exe -i "%%~na.mkv" -a -o "%%~na.dgi"
EDIT: May not work as DGIndexNV itself spawns a demux process that may not be waited for. If it doesn't work you'll just have to be patient until we get time to look at it.
for /R %%a in (*.mkv) START /W /B D:\Eseguibili\Media\DGDecNV\DGIndexNV.exe -i "%%~na.mkv" -a -o "%%~na.dgi"
EDIT: May not work as DGIndexNV itself spawns a demux process that may not be waited for. If it doesn't work you'll just have to be patient until we get time to look at it.
Batch processing error
Well, it works and it doesn't.
It launches just a copy of DGIndexNV but I have to close it manually or the next one are not indexed.
Definitely not an unattended batch type.
Please consider batch indexing as a to do feature
Batch processing error
Could be fun to try setting 'optimize for HDD' with the start /w /b stuff.
Batch processing error
You didn't say the result of optimize for HDD. Did it change anything?
- Bullwinkle
- Posts: 338
- Joined: Thu Sep 05, 2019 6:37 pm
Batch processing error
Sherman will try to duplicate this today.
Batch processing error
OK, this works fine for me:
for /R %%a in (*.mkv) do "D:\Don\Programming\C++\DGDecNV\DGIndexNV Good\x64\Release\DGIndexNV.exe" -i "%%~na.mkv" -at "D:\Don\Programming\C++\DGDecNV\DGIndexNV Good\x64\Release\template.avs" -a -e -o "%%~na.dgi"
Note that you need the -at option to get AVS files. You can give the full path to the template file as here, or you can put a copy of the template file in the current directory and just give -at 'template.avs'. I recommend using the full path. Also, with -e you do not need the start /w /b stuff. 'Optimize for HDD' does not matter. Your example was missing the 'do' BTW.
Please advise about your success.
for /R %%a in (*.mkv) do "D:\Don\Programming\C++\DGDecNV\DGIndexNV Good\x64\Release\DGIndexNV.exe" -i "%%~na.mkv" -at "D:\Don\Programming\C++\DGDecNV\DGIndexNV Good\x64\Release\template.avs" -a -e -o "%%~na.dgi"
Note that you need the -at option to get AVS files. You can give the full path to the template file as here, or you can put a copy of the template file in the current directory and just give -at 'template.avs'. I recommend using the full path. Also, with -e you do not need the start /w /b stuff. 'Optimize for HDD' does not matter. Your example was missing the 'do' BTW.
Please advise about your success.
Batch processing error
Great! Thank you for the update.
Batch processing error
Latest release candidate doesn't create qp file anymore when launching from CLI, even pointing to correct AVS etc.
Do I remember wrong that the last stable version created it?
Do I remember wrong that the last stable version created it?
Batch processing error
Nothing changed in that regard so it should still be working. I'll check it. Please give me the full command line that fails. MKV or disk?
Batch processing error
MKV, a couple of dozens but you can reproduce with less, of course.
The command line was the one suggested me, i.e. something such as:
for /R %%a in (*.mkv) START /W /B D:\Eseguibili\Media\DGDecNV\DGIndexNV.exe -i "%%~na.mkv" -a -at D:\Eseguibili\Media\DGDecNV\template.avs -e -o "F:\In\Goblin slayer [Dynit]\%%~na.dgi"
Batch processing error
Reminder: chapters2qp.exe must be present with DGIndexNV.exe.
Testing it now...
Testing it now...
Batch processing error
OK, I found the bug. Stand by for a fix.
Batch processing error
Re-download the 244 release candidate and update DGIndexNV. Should be working.