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
11th January 2010, 13:51
I have found a strange interaction between NVTools and RipBot.

I am converting some .mts video, using an avs script to deinterlace and read the format. The avs file goes in the RipBot.

If I use the dgmultidecodenv dll, avs2avi crashes. If I use dgdecodenv.dll+cuvidsrv, everything goes ok and ripbot can make its work.

Any idea?

laserfan
11th January 2010, 16:15
If I use the dgmultidecodenv dll, avs2avi crashes. If I use dgdecodenv.dll+cuvidsrv, everything goes ok and ripbot can make its work.

Any idea?
As has been discussed here already, RipBot does not work with DGMultiSource, only as you've found out with DGSource and CUVIDServer.

buzzqw
11th January 2010, 16:24
HDC beta works only well with DGMulti :) http://www.64k.it/andres/data/hdconverttox/HDConvertToX-beta.exe

BHH

stax76
11th January 2010, 16:34
Did Atak investigate it why it don't work?

tormento
12th January 2010, 11:33
Did Atak investigate it why it don't work?

Ask Neuron2 why avs2avi crashes.

:confused:

Atak_Snajpera
12th January 2010, 12:51
@neuron2
DGMultiSource does not like this ...

command line
avs2avi.exe "getinfo.avs" -c null -o n


getinfo.avs
Import("C:\Users\Dawid\Desktop\script.avs").ConvertToYV12()
WriteFile("E:\temp\RipBot264temp\job1\info.txt","Framecount")
WriteFile("E:\temp\RipBot264temp\job1\info.txt","Framerate")
WriteFile("E:\temp\RipBot264temp\job1\info.txt","AudioRate")
WriteFile("E:\temp\RipBot264temp\job1\info.txt","AudioChannels")
WriteFile("E:\temp\RipBot264temp\job1\info.txt","AudioLength")
WriteFile("E:\temp\RipBot264temp\job1\info.txt","Width")
WriteFile("E:\temp\RipBot264temp\job1\info.txt","Height ")
Trim(0,-1)


Is this because of Trim(0,-1) ?

rack04
12th January 2010, 14:25
Is this because of Trim(0,-1) ?

I use Trim(0,-1) to get the height from my avisynth scripts and I haven't experienced any problems. Although my input is always an avs file so I just copy the script and append with writefile.

COPY "%INPUT_VIDEO%" "%SOURCE_FOLDER%\%SOURCE_FILENAME%-analyze.avs">"%SOURCE_FOLDER%\%SOURCE_FILENAME%-copy.txt"
DEL "%SOURCE_FOLDER%\%SOURCE_FILENAME%-copy.txt"

Echo WriteFile("%SOURCE_FOLDER%\%SOURCE_FILENAME%-height.txt","Height")>>"%SOURCE_FOLDER%\%SOURCE_FILENAME%-analyze.avs"
Echo Trim(0,-1)>>"%SOURCE_FOLDER%\%SOURCE_FILENAME%-analyze.avs"

"%ffmpeg_PATH%" -i "%SOURCE_FOLDER%\%SOURCE_FILENAME%-analyze.avs" 2>"%SOURCE_FOLDER%\%SOURCE_FILENAME%-ffmpeg.txt"

type "%SOURCE_FOLDER%\%SOURCE_FILENAME%-height.txt">"%SOURCE_FOLDER%\%SOURCE_FILENAME%-height.tmp"
set /p SOURCE_HEIGHT=<"%SOURCE_FOLDER%\%SOURCE_FILENAME%-height.tmp"

DEL "%SOURCE_FOLDER%\%SOURCE_FILENAME%-analyze.avs"
DEL "%SOURCE_FOLDER%\%SOURCE_FILENAME%-ffmpeg.txt"
DEL "%SOURCE_FOLDER%\%SOURCE_FILENAME%-height.txt"
DEL "%SOURCE_FOLDER%\%SOURCE_FILENAME%-height.tmp"

tormento
12th January 2010, 16:02
I have a feature request: I import several .mts files into DGIndexNV to create a single .dgi to feed media encoding software by avs. Could be very nice to have a chapters.txt created automatically to index the resulting .mkv file, following the single .mts timecodes.

Plus: a strange error. I am working with several .mts files (same source) and one of these gives me "unknown video type - try another video PID". How can I help you to help me?

Guest
12th January 2010, 16:25
Plus: a strange error. I am working with several .mts files (same source) and one of these gives me "unknown video type - try another video PID". How can I help you to help me? Post a link to a piece of the MTS file that does that. Cut the first 50MB with DGSplit.

tormento
12th January 2010, 16:49
Post a link to a piece of the MTS file that does that. Cut the first 50MB with DGSplit.

I have found that it can't correctly find the Video PID. It puts 2 instead of 1011. If I manually put 1011, it works.

Guest
12th January 2010, 17:34
I have found that it can't correctly find the Video PID. It puts 2 instead of 1011. If I manually put 1011, it works. If you give me the stream sample I can fix that.

tormento
12th January 2010, 17:41
If you give me the stream sample I can fix that.

PM sent.

Audionut
13th January 2010, 11:06
Hi neuron2, A little bug (feature request).

Load a MKV and select audio demux. Select the stream. Replace the automatically generated filename with whatever (no extension) and dgnv doesn't automatically add the extension back when saving.

So if i'm demuxing audio from myrip.mkv, dgindex will open the filesave box with myrip.ac3. If I decide to change then name to a-better-rip, dgindex doesn't add the extension for me cause i'm lazy and I end up with a-better-rip file instead of a-better-rip.ac3.

Desaster Dan
14th January 2010, 11:46
Hi Neuron2,
First thank's for the great NV Tools.
Blue - Ray encoding time is still a pain in the ass, but less....

I have one big wish, and one problem:

At first, please stick your head together with all the other bosses
and make it possible to run your tools inside Staxrip.

The other thing is, since I canged to win7 64bit, i have problems with the licence file.
After every reboot it seems to be invalid.
up to now I generated 5 licence numbers, so the end is near.;o)

Any solution?

Is this an UAC Problem?

Thank for help,
Daniel

Guest
14th January 2010, 15:48
At first, please stick your head together with all the other bosses
and make it possible to run your tools inside Staxrip. It already works fine for me. Did you try with and without the CUVID Server?

I will have access to a Win7 machine in a while, at which point I can investigate.

The other thing is, since I canged to win7 64bit, i have problems with the licence file.
After every reboot it seems to be invalid.
up to now I generated 5 licence numbers, so the end is near. I have no idea about that. I can reset your license count when you run out.

tormento
14th January 2010, 19:36
Hi Neuron2, got a look at my video problem? Any hope to get the multiple file chapter feature too?

Desaster Dan
14th January 2010, 21:40
Hi Neuron2,
Thank's for reply.

About this staxrip thing:

Normaly i use dgmultidecodenv.dll, so there is no need for the server.
I don't know mutch about the new staxrip build, cause i paused for the last 2 weeks.....
But I know Multitask was very close to the problem. Is there any
breakthrouth?
Anyway, i know, the staxrip treat would be the better place for that, but is there any howto for the changes I have to make in Staxrip to make it working? actually i'm working with version 1.1.4.1.
If it's workin for you, plz tell me the secret screws i have to turn. ;o)

regards,

Daniel

PS: have mercy with my lousy english

stax76
14th January 2010, 22:39
@Desaster Dan

I'll get a Nvidia card tomorrow so yes, we are working on it.

MuLTiTaSK
14th January 2010, 23:00
@neuron2

i got good news to report DGIndexNV IS WORKING WITH StaxRip 1.1.4.1 (bit.ly/6FxoaN)

settings
http://img683.imageshack.us/img683/7853/ss20100114163647.th.png (http://img683.imageshack.us/img683/7853/ss20100114163647.png)
http://img683.imageshack.us/img683/4734/ss20100114163751.th.png (http://img683.imageshack.us/img683/4734/ss20100114163751.png)
http://img254.imageshack.us/img254/8746/ss20100114163029.th.png (http://img254.imageshack.us/img254/8746/ss20100114163029.png)
http://img69.imageshack.us/img69/7998/ss20100114163135.th.png (http://img69.imageshack.us/img69/7998/ss20100114163135.png)
http://img69.imageshack.us/img69/3491/ss20100114163228.th.png (http://img69.imageshack.us/img69/3491/ss20100114163228.png)

MuLTiTaSK
14th January 2010, 23:46
@neuron2

once you running on Win7 @ stax76 installs his new nvidia gpu maybe together you guys could come up with a solution with unloading AviSynth scripts from the gpu's memory
cause to me it seems that script calls fill gpu memory eventually causing further calls to crash the gpu but progress sure is being made :thanks:

stax76
15th January 2010, 00:47
Somebody recently posted in a MeGUI thread using only 3 instead of 4 memory slots helped making NV tools work.

I'll have a card shortly, it will be:

G512P Sparkle (R) 9400GT 512MB DVI/TV

I'll test it on Win 7 Ultimate 32bit, I might also be able to test it on XP since I should still have my old XP partition. If it's related to the memory on the card, how about then testing source files with smaller resolution?

Guest
15th January 2010, 01:02
A single instance should not run into any memory issues. You're not opening multiple instances, are you?

stax76
15th January 2010, 01:10
Single instance, yes. I'll be running it with a debugger tomorrow.

Guest
15th January 2010, 03:40
got a look at my video problem? I have it fixed and will release a build tomorrow.

Any hope to get the multiple file chapter feature too? When something has only one user asking for it and it is a nontrivial thing and I don't need it, it's hard for said thing to rise high on the priority list.

tormento
15th January 2010, 12:15
I have it fixed and will release a build tomorrow.
Great.
When something has only one user asking for it and it is a nontrivial thing and I don't need it, it's hard for said thing to rise high on the priority list.
Any idea on how to sum timecodes?

cweb
15th January 2010, 16:17
Hi Neuron2,
The other thing is, since I canged to win7 64bit, i have problems with the licence file.
After every reboot it seems to be invalid.
up to now I generated 5 licence numbers, so the end is near.;o)

Any solution?

Is this an UAC Problem?

Thank for help,
Daniel

I'm working without problems under win7, but it's 32bit win7...

nurbs
15th January 2010, 17:55
Windows 7 64bit works fine here.

Desaster Dan
15th January 2010, 18:27
Hm,
once again I'm the only dummy with such a problem ;o))

cweb
15th January 2010, 22:27
Hm,
once again I'm the only dummy with such a problem ;o))

You're no such thing. It's a question of tracking down what may be affecting your installation.

Abnormal1
16th January 2010, 13:17
I have got a mpg source (Pirates of the Caribbean Dead Man's Chest) that is causing DGToolsNV to crash at save but DGIndex seems to process just fine.

It was created by extracting the mpg from the mkv that I created using MakeMkv. (Done this way as Anydvd -> Dvd Decrypter Ifo Mode would cause audio sync issues)

I can PM you a link to the first 50mb of the file if you wish (used Cuttermaran)

Thanks
Neil

Guest
16th January 2010, 16:15
I can PM you a link to the first 50mb of the file if you wish (used Cuttermaran)
Yes, of course I need the stream. But please cut it with DGSplit. Thank you.

Guest
16th January 2010, 16:18
* Fix leading B frame calculation for AVC.

* Fix opening of some 192-byte (MTS/M2TS) streams.

* Added frame coding field (interlaced/progressive) to the MPG info display.

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

stax76
16th January 2010, 17:34
@neuron2

Which indexing file extensions are used by which indexing applications?

DGIndex: d2v

DGAVCIndex: dga

DGIndexNV: dgi

Obsolete: dgm, dgv

Is that correct?

MuLTiTaSK
16th January 2010, 17:57
@stax76

DGIndex = *.d2v
DGIndexNV = *.dgi
DGAVCIndex = *.dga

stax76
16th January 2010, 18:59
On Win 7 Ultimate 32bit there are arbitrary hang-ups opening a simple DGMultiSource script using VirtualDub. It opens often but sometimes hangs. I'll now try DGSource and Win XP.

Edit: DGSource didn't cause any crashes so far.

Guest
16th January 2010, 19:17
I have got a mpg source (Pirates of the Caribbean Dead Man's Chest) that is causing DGToolsNV to crash at save but DGIndex seems to process just fine.

It was created by extracting the mpg from the mkv that I created using MakeMkv. (Done this way as Anydvd -> Dvd Decrypter Ifo Mode would cause audio sync issues)

I can PM you a link to the first 50mb of the file if you wish (used Cuttermaran)
The file you gave me has illegal MPEG2 syntax. I can't believe it is that way on the BluRay disk. Every picture has a sequence header and extension, which means you have sequences without I frames. I know that the MPEG2 video spec allows for repeated sequence headers, but I have NEVER seen it in the wild, and you have repeated sequence headers before B frames, which is not allowed. So I'd like to see the original BluRay source material.

Please start AnyDVD HD and then copy the M2TS file to your hard disk. Then use DGSplit to cut the first 50MB of the M2TS file. Give me that to allow me to investigate further.

Guest
16th January 2010, 19:18
On Win 7 Ultimate 32bit there are arbitrary hang-ups opening a simple DGMultiSource script using VirtualDub. It opens often but sometimes hangs. I'll now try DGSource and Win XP.

Edit: DGSource didn't cause any crashes so far. What is your source? If using AnyDVD HD, please copy the source file to your hard disk rather than trying to open it directly on the source disk.

MuLTiTaSK
16th January 2010, 19:35
@stax76

make sure to test with lastest build DGDecNV 2002 (bit.ly/6VZIFi)

@neuron2

thanks for the lastest build;)

stax76
16th January 2010, 19:39
What is your source?

It's a short SD avc mkv file created with x264 and mkvmerge. Hangs only sometimes on startup and works fine with DGSource.

Guest
16th January 2010, 19:59
It's a short SD avc mkv file created with x264 and mkvmerge. Hangs only sometimes on startup and works fine with DGSource. Can I have the MKV source file please?

stax76
16th January 2010, 20:21
Can I have the MKV source file please?

http://www.filedropper.com/avc

Abnormal1
16th January 2010, 21:25
The file you gave me has illegal MPEG2 syntax. I can't believe it is that way on the BluRay disk. Every picture has a sequence header and extension, which means you have sequences without I frames. I know that the MPEG2 video spec allows for repeated sequence headers, but I have NEVER seen it in the wild, and you have repeated sequence headers before B frames, which is not allowed. So I'd like to see the original BluRay source material.

Please start AnyDVD HD and then copy the M2TS file to your hard disk. Then use DGSplit to cut the first 50MB of the M2TS file. Give me that to allow me to investigate further.

I had a feeling it was an issue with the source. The source is Pirates of the Caribbean Dead Man's Chest PAL DVD and it has given my trouble after trouble trying to get audio sync and as such I have been trying many methods to extract movie only to get good sync.

The file I sent you was the very first 50mb using DGSplit 1.1 that I extracted from a mkv that Makemkv created. I can send you other files if you wish but the original vobs do read in DGIndexNV just fine, albeit for my sync issues.

I was wondering, it would be nice if DGIndexNV came up with an error (even if it was basic like "Source Error") instead of just crashing to windows. Is this possible?

Guest
16th January 2010, 23:15
I can send you other files if you wish I already asked once. Can you please supply the original M2TS stream?

I was wondering, it would be nice if DGIndexNV came up with an error (even if it was basic like "Source Error") instead of just crashing to windows. Is this possible? I did that several hours ago. :)

Possibly the tool you used to extract the video from the MKV is stupidly repeating the sequence header in front of each picture. What did you use?

Abnormal1
17th January 2010, 00:21
Possibly the tool you used to extract the video from the MKV is stupidly repeating the sequence header in front of each picture. What did you use?

The way I got that mpg was:
Rip DVD to mkv via MakeMKV
remux mkv via mkvmerge 3 (needed as was unable to extract original mkv)
Extract video mpg using MKVextractGUI 3
Cut the first 50mb using DGSplit 1.1

stax76
17th January 2010, 00:39
Yes, I think mkvextract corrupts MPEG-2 files. I while ago I used MakeMKV to rip a DVD, played fine but after using mkvextract it was a macro block hell.

MuLTiTaSK
17th January 2010, 00:39
@neuron2

it seems like DGSplit can corrupt some files i had the problem in the past i just had to use mkvmerge to split some .mkv files i created with MakeMKV

@Abnormal1

i suggest you do the same with the file in question
so neuron2 can check it out
load the .mkv file into mkvmerge GUI and split a 50mb sample
http://img10.imageshack.us/img10/3379/ss20100116183833.png

Guest
17th January 2010, 00:49
it seems like DGSplit can corrupt some files Nonsense. It is a binary splitter and functions fine. If you stupidly cut a container file (like an MKV) with it, of course the resulting file will be unusable. But if you cut a stream file (like a transport stream or VOB), then the file is still usable.

i had the problem in the past i just had to use mkvmerge to split some .mkv files i created with MakeMKV You cannot use a binary file splitter on an MKV file.

Guest
17th January 2010, 00:57
The way I got that mpg was:
Rip DVD to mkv via MakeMKV
remux mkv via mkvmerge 3 (needed as was unable to extract original mkv)
Extract video mpg using MKVextractGUI 3
Cut the first 50mb using DGSplit 1.1 The corresponding VOB fragment has normal GOPs so I think it's clear that MKVextractGUI is causing the problem with the stream. What happens if you demux with DGIndexNV itself?

I suppose MakeMKV could be repeating sequence headers but it seems unlikely.

DGIndexNV is quite different in design than DGIndex, which accounts for the difference in behavior. Nevertheless, your demuxed video stream is illegal MPEG2, so I am not interested in revising DGIndexNV to handle it differently.

There should not be any need to go through all this to backup your DVD. You should try the direct way again, and we can address any audio sync issues that arise.

MuLTiTaSK
17th January 2010, 01:14
@neuron2

i meant to say only on his MakeMKV created .mkv file he should use mkvmerge to split a sample
DGSplit works perfect for me on all my samples just dont use it with containers;)

MuLTiTaSK
17th January 2010, 01:16
@neuron2

any chance for some batch functions in DGSplit?