[RESOLVED] Crashing on MPEG2 streams
[RESOLVED] Crashing on MPEG2 streams
I have a few DVD VOBs that I'm trying to open in DGDecNV. As soon as I choose my VOBs and click open the program crashes. This is only happens on some files. Strangely if I remux my streams with makeMKV first, and open these in DGDecNV then everything works as expected, perhaps its just a problem handling some VOB containers?
Re: Crashing on MPEG2 streams
I'll be happy to look into it if you can give me a sample. Please use DGSplit to cut about the first 50 MB of the start of the VOB. Then if you can get the crash with that sample, please upload it somewhere and give me the link. Thank you.
If you can't make it happen with a sample, then please tell me the exact DVD and where to get it.
If you can't make it happen with a sample, then please tell me the exact DVD and where to get it.
Re: Crashing on MPEG2 streams
Seems to be an issue with opening VOBs directly from a physical disc or mounted ISO through DTlite.
Copying the VOBs to my machine first seems to fix the issue, so it does not show up in a DGSplit sample.
Still a bit strange, the original DGIndex does not seem to suffer from this problem. If the VOBs work from my machine, then it basically ends up being a non-issue.
Copying the VOBs to my machine first seems to fix the issue, so it does not show up in a DGSplit sample.
Still a bit strange, the original DGIndex does not seem to suffer from this problem. If the VOBs work from my machine, then it basically ends up being a non-issue.
Re: Crashing on MPEG2 streams
OK, thanks for the update. I will do some testing of the following scenarios and report back:
* across a network connection
* direct from disk
* mounted ISO
Everything is supposed to work but let's see...
* across a network connection
* direct from disk
* mounted ISO
Everything is supposed to work but let's see...
Re: Crashing on MPEG2 streams
Ah I think I see the issue...
Audio demuxing was enabled by default for me. It looks like DGIndexNV will crash if it cannot write out the audio streams upon loading a file. Opening streams from a mounted ISO will cause it, as it will be write protected, it looks like DGIndexNV tries to put the audio streams in the same directory as the video.
I just have to turn off the audio demuxing, I did not realize it was on.
Audio demuxing was enabled by default for me. It looks like DGIndexNV will crash if it cannot write out the audio streams upon loading a file. Opening streams from a mounted ISO will cause it, as it will be write protected, it looks like DGIndexNV tries to put the audio streams in the same directory as the video.
I just have to turn off the audio demuxing, I did not realize it was on.
Re: Crashing on MPEG2 streams
Sweet, thanks for that extra information. I'm spending today on this problem and will report back later.
Re: Crashing on MPEG2 streams
Can you please give me the exact steps to cause the crash?
I tried with a mounted ISO, an AnyDVD-loaded disk, and an unprotected disk. All open without problems. When I do Save Project I get an error pop-up saying you cannot save here. I will try across the network now.
Note that DGIndexNV does not try to open an output audio file on open, just when you do Save Project. So please do provide a step-by-step for me.
I tried with a mounted ISO, an AnyDVD-loaded disk, and an unprotected disk. All open without problems. When I do Save Project I get an error pop-up saying you cannot save here. I will try across the network now.
Note that DGIndexNV does not try to open an output audio file on open, just when you do Save Project. So please do provide a step-by-step for me.
Re: Crashing on MPEG2 streams
Few notes:
-These are all from my local machine, no network storage
-Tried with a physical and mounted bluray, no issues there. Only seems to be DVDs/VOBs
-I'm on windows 10 x64 build 1511
-Running 2xTitanX in SLI (Let me know if you need any other specs)
-When opening VOBs from a writable space, DGIndexNV preemptively creates the audio stream files (.ac3 in my case) there, they are about 8kb in size.
ex)
T80 2_0ch 48KHz 192Kbps DELAY 0ms.ac3
T81 2_0ch 48KHz 192Kbps DELAY 0ms.ac3
But, on saving the project, 2 different .ac3 streams are created with the project.dgi file
ex)
VTS_07_1 T80 2_0ch 48KHz 192Kbps DELAY 0ms.ac3
VTS_07_1 T81 2_0ch 48KHz 192Kbps DELAY 0ms.ac3
So it looks like the first two 8kb streams aren't written to again, I'm not sure what they would be for.
I'm guessing DGIndexNV crashes when it can't write these files
Steps:
Mount DVD iso (I'm using DTlite v10.2)
Or insert physical DVD (AnyDVDHD 7.6.7.0 running for encrypted discs)
Run DGIndexNV - b2051 (I'm using x64, although this will happen on both, run-as-admin doesn't seem to matter)
Audio->Audio Demux
Ensure "Enable Audio Processing" is checked
File->Open
select VOBs from DVD (single or multiple)
click OK on file list dialog
Windows returns "DGIndexNV.exe has stopped working"
-These are all from my local machine, no network storage
-Tried with a physical and mounted bluray, no issues there. Only seems to be DVDs/VOBs
-I'm on windows 10 x64 build 1511
-Running 2xTitanX in SLI (Let me know if you need any other specs)
-When opening VOBs from a writable space, DGIndexNV preemptively creates the audio stream files (.ac3 in my case) there, they are about 8kb in size.
ex)
T80 2_0ch 48KHz 192Kbps DELAY 0ms.ac3
T81 2_0ch 48KHz 192Kbps DELAY 0ms.ac3
But, on saving the project, 2 different .ac3 streams are created with the project.dgi file
ex)
VTS_07_1 T80 2_0ch 48KHz 192Kbps DELAY 0ms.ac3
VTS_07_1 T81 2_0ch 48KHz 192Kbps DELAY 0ms.ac3
So it looks like the first two 8kb streams aren't written to again, I'm not sure what they would be for.
I'm guessing DGIndexNV crashes when it can't write these files
Steps:
Mount DVD iso (I'm using DTlite v10.2)
Or insert physical DVD (AnyDVDHD 7.6.7.0 running for encrypted discs)
Run DGIndexNV - b2051 (I'm using x64, although this will happen on both, run-as-admin doesn't seem to matter)
Audio->Audio Demux
Ensure "Enable Audio Processing" is checked
File->Open
select VOBs from DVD (single or multiple)
click OK on file list dialog
Windows returns "DGIndexNV.exe has stopped working"
Re: Crashing on MPEG2 streams
Wow, that is shocking. Obviously that shouldn't happen. Let me see if I can duplicate it...djc5166 wrote:-When opening VOBs from a writable space, DGIndexNV preemptively creates the audio stream files (.ac3 in my case) there, they are about 8kb in size.
ex)
T80 2_0ch 48KHz 192Kbps DELAY 0ms.ac3
T81 2_0ch 48KHz 192Kbps DELAY 0ms.ac3
Re: Crashing on MPEG2 streams
It's not happening for me. Can you please post your INI file contents? I'll do some code reading and see if I can determine where a rogue fopen may be happening.
I may have to make a debug load for you.
I may have to make a debug load for you.
Re: Crashing on MPEG2 streams
OK, I think I know what is going on. Can you please use DGSplit to give me the first 50 MB of the first VOB?
Re: Crashing on MPEG2 streams
Version=DGIndexNV 2051
Window_Position=1168,483
Info_Window_Position=100,100
Process_Priority=2
Playback_Speed=3
AVS_Template_Folder=
AVS_Template_File=template.avs
AVS_Enable_Template=1
AVS_Overwrite=0
Full_Path_In_Files=1
MRUList[0]=
MRUList[1]=
MRUList[2]=
MRUList[3]=
Enable_Info_Log=1
Loop_Playback=0
AVC_Extension=264
MPG_Extension=m2v
VC1_Extension=vc1
HEVC_Extension=265
Deinterlace=0
UsePF=0
AlwaysCrop=1
UseD3D=0
Snapped=0
ResponseOnAudioMismatch=0
Enable_Audio_Demux=1
CUDA_Device=255
Decode_Modes=0,0,0,0
Full_Info=1
Bare_Demux=0
Disable_Encrypted_Audio_Warning=0
Fine_Cropping=0
Window_Position=1168,483
Info_Window_Position=100,100
Process_Priority=2
Playback_Speed=3
AVS_Template_Folder=
AVS_Template_File=template.avs
AVS_Enable_Template=1
AVS_Overwrite=0
Full_Path_In_Files=1
MRUList[0]=
MRUList[1]=
MRUList[2]=
MRUList[3]=
Enable_Info_Log=1
Loop_Playback=0
AVC_Extension=264
MPG_Extension=m2v
VC1_Extension=vc1
HEVC_Extension=265
Deinterlace=0
UsePF=0
AlwaysCrop=1
UseD3D=0
Snapped=0
ResponseOnAudioMismatch=0
Enable_Audio_Demux=1
CUDA_Device=255
Decode_Modes=0,0,0,0
Full_Info=1
Bare_Demux=0
Disable_Encrypted_Audio_Warning=0
Fine_Cropping=0
Re: Crashing on MPEG2 streams
This ends up happening on all the VOBs I have tried, as long as they were from a write protected space and Audio Demux was enabled, I can give you a sample of one though.admin wrote:OK, I think I know what is going on. Can you please use DGSplit to give me the first 50 MB of the first VOB?
Re: Crashing on MPEG2 streams
Yes, please give me a sample.
I've already fixed it but I need your sample to test the fix.
I've already fixed it but I need your sample to test the fix.
Re: Crashing on MPEG2 streams
Thank you. OK, the fix works.
Before I slipstream it for you, can you try something for me please?
Turn off audio demux. Then open the VOB from an unwritable place. Then turn on audio demux and do Save Project. What happens?
Before I slipstream it for you, can you try something for me please?
Turn off audio demux. Then open the VOB from an unwritable place. Then turn on audio demux and do Save Project. What happens?
Re: Crashing on MPEG2 streams
I burnt your file to a disk and tried the Save Project. Windows refuses to save there. I'll go ahead and slipstream the fix into 2051.
Thank you, for pointing this out and helping with the debugging, djc5166.
Thank you, for pointing this out and helping with the debugging, djc5166.
Re: Crashing on MPEG2 streams
I slip-streamed the fix into 2051.
Re: Crashing on MPEG2 streams
It works as expected when I do this.admin wrote:Thank you. OK, the fix works.
Before I slipstream it for you, can you try something for me please?
Turn off audio demux. Then open the VOB from an unwritable place. Then turn on audio demux and do Save Project. What happens?
Re: [RESOLVED] Crashing on MPEG2 streams
Thank you, outstanding software and support!
Re: [RESOLVED] Crashing on MPEG2 streams
Thank you. Have a great 2016 and lots of success for your projects.