Log in

View Full Version : DG NV tools


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 [24] 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63

tormento
2nd February 2010, 15:52
I don't plan to implement batch processing at this time. There are external solutions that can be implemented.
Such as? I need DGToolsNV to create one dgi per file for about 100 files =P

Guest
2nd February 2010, 16:09
Something like the solutions already available for DGIndex. I'd prefer you took this to a new thread because, as I said, I'm not going to implement batch support.

txporter
2nd February 2010, 16:29
Such as? I need DGToolsNV to create one dgi per file for about 100 files =P

Just use the command line interface (http://neuron2.net/dgavcdecnv/DGAVCIndexNVManual.html#AppendixB) and write a batch file to do it for you.

I use something like this to batch index mpg files with DGIndex. Modify it to work for what you want.
FOR /F "usebackq" %%A IN (`dir /b /on *.mpg`) DO "d:\temp\dgindex" -IF=[%%A] -OM=2 -FO=0
-AT=[d:\temp\ivtc-ns.avs] -OF=[%%~nA] -HIDE -EXIT

Guest
2nd February 2010, 17:29
Great. Sorry, but I took it off my to-do list. :(

Don't worry, though, because I only took it off because I have just implemented it and it will be in build 2006. :p

Turtleggjp
2nd February 2010, 17:34
Thanks for pointing that out. It will be fixed in build 2006, which is imminent.

No problem.

I think I found another issue though. One of the files I am working on seems to only be picking up the first 10000 frames when the video is served using version 2005. I went back and tried version 1.0.13 of DGAVCIndex and it created a different index file. When this video is served, it appears to have the correct number of frames (having trouble with it crashing, probably because it is such an old version). I am attaching the index files from both programs. The video I am working on is 00083.m2ts from Jumper Region A. If you need a sample, I will upload it.

EDIT: Just tried with NVBeta10. With it, I only get 12165 frames instead of the 12360 mentioned at the bottom of the index file

EDIT 2: Got 1.0.13 working stable (had to use the old server with the old dll). All 12360 frames are served with this version.

MuLTiTaSK
2nd February 2010, 17:44
for your backup projects in windows 7 dont tweak the registry and use dss to index your sources all you need is DGDecNV (bit.ly/6aVfOY)

@neuron2
eta on stdout?

Guest
2nd February 2010, 18:02
If you need a sample, I will upload it. I definitely need the sample. I'll hold up build 2006 for this.

Guest
2nd February 2010, 18:04
eta on stdout? I'm in a bit of a pickle about it. The way it is implemented now in DGIndex kills Win2000 compatibility and now some other issues are being raised. But the alternative, AllocConsole(), pops up an extra DOS window. I only absorbed this as a contribution from someone else and to be honest I am not motivated to spend a lot of time on it. So, if you describe a good way to implement it, I will be happy to pay attention.

tormento
2nd February 2010, 18:12
for your backup projects in windows 7 dont tweak the registry and use dss to index your sources all you need is DGDecNV (bit.ly/6aVfOY)
What?!? :eek:

Turtleggjp
2nd February 2010, 20:56
Here is the sample:

http://www.mediafire.com/file/rnnm2jxh3mz/00083.m2ts_0

Please note that this sample is not enough to give you 10000 frames. For that, I would need to upload pretty much the entire file, which is 418MB.

Also, what I was originally trying to do was string several of these files together, so I could encode them into one file. The total frame count is 46513. Build 2005 still only serves the first 10000 frames, and NVBeta10 is only showing 46486 frames. 1.0.13 shows all 46513 frames.

Guest
2nd February 2010, 21:35
That stream doesn't help us. I can't duplicate your issue with it. Can you upload the whole thing?

EDIT: Wait, I think I know what's happening. Hold off on the full upload for now.

Turtleggjp
2nd February 2010, 23:10
Ok, thanks. If you need me to upload the whole thing, is it ok if I put it in a Multi-part RAR archive and upload it to Mediafire in 200MB pieces? Or would you rather me upload it some other way?

Guest
3rd February 2010, 00:55
The RAR pieces would be fine but hold off until I post again, because I think I know what is happening already.

Guest
3rd February 2010, 01:04
@Turtleggjp

That's from a camcorder, right? Is there an option to enable IDRs? Maybe some GOP option? The sample you gave me has one I frame at a recovery point and then 1400+ frames with no I or IDR in sight.

Please go ahead and upload the entire stream.

Turtleggjp
3rd February 2010, 01:36
No this is from the Blu Ray of Jumper Region A. It is one of several bonus feature clips that seem to exhibit this strange behavior. This one is the only one long enough (more than 10000 frames) to give me a problem by itself.

Heading home right now, I will begin uploading when I get there.

EDIT: Part 1 is here: http://www.mediafire.com/file/ytjmdujezam/00083.part1.rar

EDIT2: Part 2 is here: http://www.mediafire.com/file/2wgj0xvwjwj/00083.part2.rar

EDIT3: Part 3 is here: http://www.mediafire.com/file/tzwmhwzjmzz/00083.part3.rar

tormento
3rd February 2010, 07:43
@neuron2
I am going to work where I have a 100mbit connection. I'll upload ASAP the clip that gives me a strange audio delay offset.

Nice bug time, uh? ;)

tormento
3rd February 2010, 13:12
Just use the command line interface (http://neuron2.net/dgavcdecnv/DGAVCIndexNVManual.html#AppendixB) and write a batch file to do it for you.

I use something like this to batch index mpg files with DGIndex. Modify it to work for what you want.
FOR /F "usebackq" %%A IN (`dir /b /on *.mpg`) DO "d:\temp\dgindex" -IF=[%%A] -OM=2 -FO=0
-AT=[d:\temp\ivtc-ns.avs] -OF=[%%~nA] -HIDE -EXIT

The command you wrote tries to open N session of dgindex, where N is the number of files -> CRASH!

Guest
3rd February 2010, 17:20
@Turtleggjp

Part 2 apparently has a bad CRC. I cannot decompress those 3 parts using WinRAR.

Guest
3rd February 2010, 17:33
No this is from the Blu Ray of Jumper Region A. It is one of several bonus feature clips that seem to exhibit this strange behavior. I'm thinking to just buy the BluRay if we can't get your upload to work.

Turtleggjp
3rd February 2010, 17:38
The files check ok here. I put a recovery record in that archive, see if you can use the repair function on it. If not, I'll try uploading it again.

EDIT: I downloaded part 2, and confirmed there is an error. I was able to repair the error using the recovery record though.

txporter
3rd February 2010, 18:14
The command you wrote tries to open N session of dgindex, where N is the number of files -> CRASH!

That's odd. I have been using that on Vista64 and XP SP2 without any issue. What operating system are you running? Are you running that within a batch file?

Guest
3rd February 2010, 18:18
EDIT: I downloaded part 2, and confirmed there is an error. I was able to repair the error using the recovery record though. Gosh, I don't know what a recovery record is or how to use it. Do I have to redownload part 2, or all of them, or...?

Turtleggjp
3rd February 2010, 18:23
Gosh, I don't know what a recovery record is or how to use it. Do I have to redownload part 2, or all of them, or...?

Cool, I get to teach Neuron2 something! :)

Open up part 2 of the archive directly using WinRAR. You should see the name of the file followed by a <-> symbol (indicating the file begins and ends in other parts of the archive). Now go to the Commands Menu, and select Repair Archive. Tell it where you want it to output the fixed file. When it is done, rename the resulting file (probably "_recover.rar") to the name of the corrupted file. Put this file in a folder with the other two good pieces. It should now work.

Guest
3rd February 2010, 18:38
That worked!

Investigating...

tormento
3rd February 2010, 18:59
That's odd. I have been using that on Vista64 and XP SP2 without any issue. What operating system are you running? Are you running that within a batch file?
Windows 7_x64. Launched from cmd.exe.

tormento
3rd February 2010, 19:01
@neuron2

I saw you haven't still downloaded the latest file I sent you, the one with the strange audio delay.

Please get a look before releasing 2006 build ;)

Guest
3rd February 2010, 20:06
I saw you haven't still downloaded the latest file I sent you Patience, my friend. I have several things I'm working on *and* I have a full-time job.

txporter
4th February 2010, 00:36
Windows 7_x64. Launched from cmd.exe.

If you just typed it into cmd, then you need to drop one of the two %%, each time it is written. Command line is %A, batch is %%A.

tormento
4th February 2010, 10:10
If you just typed it into cmd, then you need to drop one of the two %%, each time it is written. Command line is %A, batch is %%A.

Does not work. Just found StaxRip works perfectly in batch mode =)

XadoX
4th February 2010, 11:24
While indexing a VC1 file and cropping in the gui. The Display Size is showing right. But in the created log file there is a wrong value.

e.g.:
GUI: Display Size 1920*816
Log: Display Size 1920*1080

Edit:
It would be great if DGindexNV always shows the right SAR value. So I can use it for x264.
Because while handling PAR/DAR/SAR I always get very confused!

tormento
4th February 2010, 11:33
Because while handling PAR/DAR/SAR I always get very confused!
Well, picture that almost anytime BD has SAR 1:1 and PAL DVD 64:45 ;)

P.S: If you play a video before encoding, FFDShow gives you the correct PAR/SAR in the info.

Guest
4th February 2010, 15:11
@Turtleggjp

Thanks for bringing that stream to light. It exposed a subtle problem in my indexing for AVC streams. It affects this case only: BFF field pictures with IDR/I in the first field and P/B in the second field of anchor frames. I have it fixed locally but need to do some regression testing. It will be in build 2006.

Guest
4th February 2010, 15:18
While indexing a VC1 file and cropping in the gui. The Display Size is showing right. But in the created log file there is a wrong value.

e.g.:
GUI: Display Size 1920*816
Log: Display Size 1920*1080
Are you sure about that? The log file is created by reading the fields of the Info dialog. So the two should be the same. If you are sure then please post a stream fragment I can use to duplicate this.

tormento
4th February 2010, 15:23
@neuron2

Another nice bug for you. ;)

This (http://www.mediafire.com/?mmxomydd42j) file has 2 audio tracks. DGIndex 1.5.7 demuxes both correctly, DGIndexNV 2005 only one.

XadoX
4th February 2010, 15:28
Are you sure about that? The log file is created by reading the fields of the Info dialog. So the two should be the same. If you are sure then please post a stream fragment I can use to duplicate this.
Hmm now I can not reproduce this bug? :o My fault!

Guest
5th February 2010, 03:38
* Improve GOP back near EOF.

* Delete the navigation trackbar and subsume its
functionality into the selection bar. I find the action
more logical for navigation and parsimony demands the
deletion. There is still an issue with flashing of the
bar that I am addressing. Isn't Win32 GDI wonderful?

* Improve handling of this error case: open a transport
stream for which the video PID specified in the first program in the PAT/PMT has no data.

* The cropping dialog now shows the resulting mod values
and adds a static note about fine movements.

* Cropping can now be specified via CLI. For example,

dgindexnv -i "phasecoherence.vc1" -c 8 8 8 8

* For opening program streams, increase the depth of initial scanning of the source file when looking for audio channels. This avoids missing some audio streams that do not begin immediately.

* Fix an indexing bug for some AVC BFF field-structured streams.

http://neuron2.net/dgdecnv/dgdecnv.html

MuLTiTaSK
5th February 2010, 04:02
@neuron2

great support like always thank you very much my recent backups just got higher on my todo list;)

XadoX
5th February 2010, 08:03
@neuron2: Great news :thanks:

tormento
5th February 2010, 08:11
Today, 03:38
I hope you are not in my timezone (GMT+1) :eek:

Thanks for your effort to get every day a better program, I'll make the extensive testing you deserve. :thanks:

Efenstor
5th February 2010, 08:30
I'm having a problem with b2005: getting the "Missing license file" error when trying to load 900 files. The license file is okay.

This problem still occurs in build 2006.

tormento
5th February 2010, 10:36
Unfortunately the bugs I reported you have not been solved:


20091231_193634_cane.mts (http://www.mediafire.com/?zdztjmgq5nw) keeps on producing -672ms delayed audio. However since even eac3to gives me the same delay, I suppose it is a strange file created from my Sony cam:

[E:\in\avhdc]d:eac3to.exe 20091231_193634_cane.mts
M2TS, 1 video track, 1 audio track, 1 subtitle track, 0:00:30, 50i
1: h264/AVC, 1080i50 (16:9)
2: AC3, 5.1 channels, 448kbps, 48khz, -672ms
3: Subtitle (PGS)


20100101_182644_campiglio.mts (http://www.mediafire.com/?ony2nymfmmn) keeps on giving two audio tracks. Eac3to gives me the following info:

[E:\in\avhdc]d:eac3to.exe 20100101_182644_campiglio.mts
M2TS, 1 video track, 1 audio track, 1 subtitle track, 0:01:08, 50i
1: h264/AVC, 1080i50 (16:9)
2: AC3, 5.1 channels, 448kbps, 48khz
3: Subtitle (PGS)


orphan_The_1st_50_MB.VOB (http://www.mediafire.com/?mmxomydd42j) now gives two audio tracks BUT in the preview panel only one is listed. Moreover the last one is wrong in time lenght, skipping the initial logo audio for about 15 secs. Eac3to gives me the following info and skips the initial logo for both tracks:

[F:\download]d:eac3to.exe orphan_The_1st_50_MB.VOB
VOB, 1 video track, 2 audio tracks, 7 subtitle tracks, 0:01:02
1: MPEG2, 576i50 (16:9)
2: AC3, 5.1 channels, 384kbps, 48khz, dialnorm: -27dB, 3ms
3: AC3, 5.1 channels, 384kbps, 48khz, dialnorm: -27dB, -4ms
4: Subtitle (DVD)
5: Subtitle (DVD)
6: Subtitle (DVD)
7: Subtitle (DVD)
8: Subtitle (DVD)
9: Subtitle (DVD)
10: Subtitle (DVD)

I think for today it is enough! :devil:

Guest
5th February 2010, 15:09
Unfortunately the bugs I reported you have not been solved:

20091231_193634_cane.mts (http://www.mediafire.com/?zdztjmgq5nw) keeps on producing -672ms delayed audio. However since even eac3to gives me the same delay, I suppose it is a strange file created from my Sony cam Then why are you calling it a bug? I don't see anything wrong.

20100101_182644_campiglio.mts (http://www.mediafire.com/?ony2nymfmmn) keeps on giving two audio tracks. Yes, I have not addressed this yet.

orphan_The_1st_50_MB.VOB (http://www.mediafire.com/?mmxomydd42j) now gives two audio tracks BUT in the preview panel only one is listed. The audio doesn't appear right away. Wait for some time and the second track appears in the Info dialog display. I don't know anything about any "initial logo audio".

Guest
5th February 2010, 15:10
This problem still occurs in build 2006. I can't get excited about this problem. And I don't have sets of 1000 files lying around.

tormento
5th February 2010, 15:49
Then why are you calling it a bug? I don't see anything wrong.
Indeed. ;)
The audio doesn't appear right away. Wait for some time and the second track appears in the Info dialog display. I don't know anything about any "initial logo audio".
If you try to cut the initial 15 seconds from the VOB, the audio tracks are ok. Probably when the reauthor editor has added the distribution logo (the 1st 15 seconds you see in the video), he committed some wrong editing or so. I'll leave the conclusion to he who knows much more than me.

Guest
5th February 2010, 16:18
I don't like your snarky comments about bugs and devil smilies.

tormento
5th February 2010, 16:45
You misunderstood. Relax.

Efenstor
5th February 2010, 20:58
I can't get excited about this problem. And I don't have sets of 1000 files lying around.

I don't demand anything, just reporting.

I can't give you so many files either but two days ago I've started working on a small command-line utility for duplicating single files (don't ask me why I need it). May be it would help when ready? :)

stax76
5th February 2010, 21:38
I can't give you so many files either but two days ago I've started working on a small command-line utility for duplicating single files (don't ask me why I need it). May be it would help when ready?

Duplicating a file is a very useful task, explorer has some abilities, you can just select one or more files in explorer, press Ctrl+C and subsequently Ctrl+V. Explorer duplicates the files then with following naming pattern:

D:\Unsortiert\metrona - Copy - Copy - Copy - Copy.txt
D:\Unsortiert\metrona - Copy - Copy - Copy (2).txt
D:\Unsortiert\metrona - Copy - Copy - Copy.txt
D:\Unsortiert\metrona - Copy - Copy (2) - Copy.txt
D:\Unsortiert\metrona - Copy - Copy (2).txt
D:\Unsortiert\metrona - Copy - Copy (3).txt
D:\Unsortiert\metrona - Copy - Copy.txt
D:\Unsortiert\metrona - Copy (2) - Copy - Copy.txt
D:\Unsortiert\metrona - Copy (2) - Copy.txt
D:\Unsortiert\metrona - Copy (2).txt
D:\Unsortiert\metrona - Copy (3) - Copy.txt
D:\Unsortiert\metrona - Copy (3).txt
D:\Unsortiert\metrona - Copy (4) - Copy.txt
D:\Unsortiert\metrona - Copy (4).txt
D:\Unsortiert\metrona - Copy.txt
D:\Unsortiert\metrona.txt

ncahammer
5th February 2010, 23:08
http://www.mediafire.com/?wjwmdn5gtzt
Glitch at ~27"
I get no glitch with ffdshow or coreavc
Don't navigate there, let the video play

Guest
5th February 2010, 23:12
Glitch at ~27" What does this mean?