View Full Version : DGVC1DecNV Version 1.0.6


Guest
22nd November 2008, 01:59
DGVC1IndexNV today decoded its first VC1 stream from the blu-ray "Baraka". I'm still some time away from being able to release an alpha, but I wanted to start this thread to let you know about it and to ask for some test clips.

I'm looking for any and all VC1 clips, but only raw elementary VC1 or in an M2TS container. I will do ASF later. Thank you.

For those not acquainted with my tools, the NV on the end denotes a version that runs on an Nvidia graphics card GPU. I don't have any plans to develop a non-NV version because I am not aware of any decent open source decoder.

Also please be aware that my NV tools require a license obtained by making a small donation to become a supporter of neuron2.net.

EDIT: This post will now hold a link to the latest version.

http://neuron2.net/dgvc1decnv/dgvc1decnv.html

Snowknight26
22nd November 2008, 02:20
Had a short clip laying around: http://stfcc.org/misc/jessejames.clip.m2ts

Guest
22nd November 2008, 02:24
Thanks, Snowknight26. It plays just fine.

lucassp
22nd November 2008, 14:56
What GPU did you use for decoding?

Guest
22nd November 2008, 15:11
I used both 8500GT and 9600GT.

Audionut
22nd November 2008, 15:24
00014.split.54.ts (http://www.greentreefrog.net.au/~lionel.davey/00014.split.54.ts)

I need to go through my blu-rays and see whats vc1.

Audionut
22nd November 2008, 15:35
00403.m2ts (http://www.greentreefrog.net.au/~lionel.davey/00403.m2ts)

Inventive Software
22nd November 2008, 16:03
I'm keeping a close eye on this one, as it'll help me justify whether I purchase a new graphics card for Xmas.

rack04
22nd November 2008, 18:22
sample.m2ts (http://www.megaupload.com/?d=Z3FL0VMY)

Hopefully this works. Here is the procedure I followed to create this file.

1.) Source is evo container from HD DVD
2.) Extracted VC1 and E-AC3 using eac3to
3.) Muxed VC1 and E-AC3 to M2TS using tsMuxer

lucassp
22nd November 2008, 23:07
I used both 8500GT and 9600GT.

Officialy those two cards don't support VC-1 full bitstream decoding. Or maybe nVidia updated the VP2 core:confused:

Guest
23rd November 2008, 02:51
Huh? What do you mean by "full bitstream decoding"? Do you mean it's not all on the GPU? So what? We need an Avisynth frame accurate VC1 source filter, that's all, don't we? I get 43fps on 1080P VC1. Who cares how the decoding is partitioned?

Guest
23rd November 2008, 03:02
sample.m2ts (http://www.megaupload.com/?d=Z3FL0VMY)

Hopefully this works. Here is the procedure I followed to create this file.

1.) Source is evo container from HD DVD
2.) Extracted VC1 and E-AC3 using eac3to
3.) Muxed VC1 and E-AC3 to M2TS using tsMuxer It's not working. Can you please post a sample of the extracted VC1 from step 2?

I'n not seeing a sequence layer in the m2ts.

Anyway, who cares about HD-DVD? :)

woah!
23rd November 2008, 03:48
It's not working. Can you please post a sample of the extracted VC1 from step 2?

I'n not seeing a sequence layer in the m2ts.

Anyway, who cares about HD-DVD? :)

could it be because eacto removes the pulldown from hddvd vc1 files i think...

i suppose you could call your program DGblurayVC1DecNV :D

heres 3 files that should work:

http://tinyurl.com/5c334x
http://tinyurl.com/54uxnt
http://tinyurl.com/67nobk

Guest
23rd November 2008, 03:53
could it be because eacto removes the pulldown from hddvd vc1 files i think... Nah. The sequence layer is missing it seems. Or maybe it's simple or main profile VC1 in the EVO. That's why I want to see the demuxed ES.

i suppose you could call your program DGblurayVC1DecNV :D Nah. It should work on all advanced profile VC1. Simple and main require stuff to be signaled out-of-band in the container, and if the demuxer doesn't recreate that as in-band syntax, then it goes to hell. At least that's my understanding. Again, that's why I'd like to see the demuxed ES.

Thanks for the samples. I'll report back only if they don't work.

rack04
23rd November 2008, 04:23
It's not working. Can you please post a sample of the extracted VC1 from step 2?

I'n not seeing a sequence layer in the m2ts.

Anyway, who cares about HD-DVD? :)

I do. :D

http://www.megaupload.com/?d=TL24T9X2

Guest
23rd November 2008, 05:13
Sharing is caring.

Standby...investigating.

Guest
23rd November 2008, 05:17
The VC1 elementary stream plays fine, so apparently tsmuxer messed it up.

Are you able to play the m2ts in anything? I can't.

Guest
23rd November 2008, 05:24
Open your m2ts in tsmuxer and demux the VC1. The demuxed VC1 doesn't play in anything. So it looks like something is going wrong in the muxing.

EDIT: I did a hex comparison of the raw VC1 you gave me and the raw VC1 demuxed from your M2TS. The latter has many spurious 00 00 01 0D start codes (frame start code) inserted throughout the file. It's garbage. You may want to report it to the author.

rack04
23rd November 2008, 05:43
Open your m2ts in tsmuxer and demux the VC1. The demuxed VC1 doesn't play in anything. So it looks like something is going wrong in the muxing.

EDIT: I did a hex comparison of the raw VC1 you gave me and the raw VC1 demuxed from your M2TS. The latter has many spurious 00 00 01 0D start codes (frame start code) inserted throughout the file. It's garbage. You may want to report it to the author.

I agree that tsmuxer is the problem. Thanks.

EDIT: Submitted this as a bug report to tsmuxer. Thanks.

bob0r
23rd November 2008, 13:02
Just a side note: there are many cases where tsmuxer creates bad files, and where tsremux does not.
Such cases are:
itv-hd .ts to new .ts
some bbc-hd .ts to new .ts
The new created tsmuxer .ts files are usually desynced.

I never understood this: Why are there so many ways to create, mux, demux or edit .ts files?
For example itv-hd.ts mpc internal, haali, fail to open the .ts, while the muxers and dgavc do open the .ts file.

Guess thats even more reason to support .mkv, it works or it does not.... ok sorry for the off topic, but especially the first part may be useful.

CruNcher
23rd November 2008, 13:27
I guess because all of the broadcast related stuff like PID, PAT and all the other things you need careful worked out parser logic for that (what do you parse?,when do you parse?,in which situations do you override bitstream values with container level values?) :)

Guest
23rd November 2008, 14:32
in which situations do you override bitstream values with container level values?) There is no container for transport streams, there is only the bitstream.

CruNcher
23rd November 2008, 23:55
Of course you right, for transport stream every Video related decision is left @ the bitstream level and it's flags, it would only count for the other most used formats :)
Maybe in bob0r example the problem of not being able to parse those files is caused by missing PAT/PMT or not able to find the correct PID ?

Guest
23rd November 2008, 23:59
Maybe in bob0r example the problem of not being able to parse those files is caused by missing PAT/PMT or not able to find the correct PID ? Could be. If he would post one, I could determine that.

Sagekilla
24th November 2008, 06:38
@neuron2: Is there any possibility of a merge of DGVC1DevNV and DGAVCDecNV into one program, possibly when both are more mature?

Audionut
24th November 2008, 13:56
rambo2.split.49.ts (http://www.greentreefrog.net.au/~lionel.davey/rambo2.split.49.ts)

Guest
24th November 2008, 14:18
@neuron2: Is there any possibility of a merge of DGVC1DevNV and DGAVCDecNV into one program, possibly when both are more mature? It's possible but I'll decide that later.

liquidator87
25th November 2008, 12:49
Might be a stupid question, but will I be able to use this tool w/o a nVidia card?

Audionut
25th November 2008, 13:03
Might be a stupid question, but will I be able to use this tool w/o a nVidia card?


From the first post in this thread.

For those not acquainted with my tools, the NV on the end denotes a version that runs on an Nvidia graphics card GPU.

liquidator87
25th November 2008, 18:27
Soooo.... well, another question: assuming I've an nVidia card, any chance to get this tool on linux?

Guest
25th November 2008, 19:03
Avisynth does not run under Linux.

liquidator87
25th November 2008, 21:10
Well in some ways... it does. Using avs2yuv and wine, I'm able to make encodes, if the source is something that does not depend from DirectShow (which obviously doesn't exist on linux).
For example, DGAVCDec and DGMPGDec are great for this, but with VC1 there's not a reliable source filter yet, since FFMpegSource is still young and DirectShowSource can't work on linux...

Doom9
25th November 2008, 21:46
That's not really Linux.. Wine is a Windows Emulator so it's basically Windows. And add to that the added complexity of low level hardware drivers that you need to wrap around to - apparently some have done it (http://forums.nvidia.com/lofiversion/index.php?t71784.html) but I have my doubts that you'll get any kind of support for such a hack from either nVidia or neuron2. There's a reason why nVidia just recently released VDPAU..

And I think it's time to get back on topic.

Guest
25th November 2008, 23:02
CUDA video decoding is currently tied to D3D so porting to Linux is not an option.

DGVC1IndexNV is finished. I hope to have the source filter done by Monday. Then I'll make a release. BTW, existing licenses will work for this and any future closed tools I may make.

Guest
27th November 2008, 04:19
Here's a pre-alpha of DGVC1IndexNV. Your existing DGAVCDecNV license file can be used.

I'd appreciate any test results. I'm starting the DGVC1DecodeNV component now.

http://neuron2.net/misc/DGVC1IndexNV.zip

It supports Advanced profile ES, TS, and M2TS. Please update nvcuvid.dll with the included one.

Audionut
27th November 2008, 05:15
Working fine here with the few streams I have.

I've got some more VC1 blu-ray on their way.

bigotti5
27th November 2008, 05:44
Should 'Honor Pulldown Flags' work?
It does not here...

Guest
27th November 2008, 06:06
Not yet implemented. May I please have your stream for testing?

woah!
27th November 2008, 07:15
with the 00006.m2ts file i linked earlier too, i get a error 700 message with it. not with the other 2 tho...



http://img520.imageshack.us/img520/236/error700mg9.jpg (http://imageshack.us)


and here another clip for you..

http://tinyurl.com/6bsdt4

bigotti5
27th November 2008, 07:36
Here (http://rapidshare.com/files/167805230/PAL_NTSC_IL_VC1.rar.html) are real interlaced samples, PAL and NTSC

Pulldowned stream is only a selfmade bars sample

Guest
27th November 2008, 14:26
with the 00006.m2ts file i linked earlier too, i get a error 700 message with it. not with the other 2 tho... I can't duplicate that. Does it happen at the beginning or end?

and here another clip for you..

http://tinyurl.com/6bsdt4 Thanks but I don't know what to do with an AVI.

Guest
27th November 2008, 14:31
Here are real interlaced samples, PAL and NTSC Thank you.

Pulldowned stream is only a selfmade bars sample How did you make it?

Audionut
27th November 2008, 14:36
Windows Media 9 Advanced Profile - aka VC1 - Encoded by

Adobe Media Encoder CS4.ts (http://www.greentreefrog.net.au/~lionel.davey/Adobe%20Media%20Encoder%20CS4.ts)
Sony Vegas Pro 8.ts (http://www.greentreefrog.net.au/~lionel.davey/Sony%20Vegas%20Pro%208.ts)

Audionut
28th November 2008, 01:31
batman.split.13.ts (http://www.greentreefrog.net.au/~lionel.davey/batman.split.13.ts)

woah!
28th November 2008, 05:00
I can't duplicate that. Does it happen at the beginning or end?

Thanks but I don't know what to do with an AVI.

at the beginning but after that it previews the file fine.

that avi? was cut using mkv, then demuxed to the raw vc1 or so i thought. it plays fine through your program tho heh..

what is the best way to cut a clip from a m2ts file then?

Audionut
28th November 2008, 11:01
ATM for VC1 i'm using this.

http://forum.doom9.org/showthread.php?p=1196166#post1196166

It can load mkv files and save to .ts or .m2ts which is fine for DGVC1DecNV.
It can also demux from .ts or .m2ts and split files.

woah!
29th November 2008, 05:52
ATM for VC1 i'm using this.

http://forum.doom9.org/showthread.php?p=1196166#post1196166

It can load mkv files and save to .ts or .m2ts which is fine for DGVC1DecNV.
It can also demux from .ts or .m2ts and split files.


thx i was doing mkv that way, but had slow playback of the resulting clips? but by doing what ACrowley said here:

http://forum.doom9.org/showthread.php?p=1197472#post1197472

and then process the vc1 dumped file to tsmuxer, cutting the vc1 file in m2ts clips i have no slow playback and the files are attached here to test (hopefully not avi)

split.34.m2ts from a hddvd hotfuzz movie has a pulldown showing in tsmuxer, so here are the same files, 1 with pulldown left in, and the other with tsmuxer removing pulldown:


pulldown: http://tinyurl.com/6f3wmp
pulldown removed: http://tinyurl.com/5n4nb5

another clip no pulldown: http://tinyurl.com/6gb3le

all 3 seems to play ok in DGVC1DecNV...

woah!
29th November 2008, 06:07
also i get this alot in all the files i have processed so far, even the 3 i originally posted which are untouched straight off the disc:

SEQ 43151838 !INTERLACE !PULLDOWN
ENTRY 43151860 !BROKEN !CLOSED

dont know if that is normal?

Guest
29th November 2008, 13:38
dont know if that is normal? It's just indexing the file positions of the sequence header and entry point and values of some of their flags.

Sharc
29th November 2008, 15:25
Pre-alpha works here in preview and play mode, - tested with PAL BD

Edit:
Audio tracks (6 streams) are not demuxed when saving a project, only .dgv is output like:

STREAM 1
PKTSIZ 192
VPID 4113
FO 2
YUVRGB 1
LUMFILT 0 0
CLIP 0 0 0 0
RANGE 0 21613498367
AUDIO 1100,1101,1102,1103,1104,1105,1106

SEQ 990 !INTERLACE PULLDOWN
ENTRY 1012 !BROKEN CLOSED
FRM I PROG
FRM Pskip PROG
FRM B PROG
FRM B PROG
FRM Pskip PROG
FRM B PROG
FRM B PROG
FRM Pskip PROG
FRM B PROG
FRM B PROG
FRM Pskip PROG
FRM B PROG
FRM B PROG
FRM Pskip PROG
SEQ 175326 !INTERLACE PULLDOWN
ENTRY 175348 !BROKEN !CLOSED
FRM I PROG
FRM B PROG
FRM B PROG
FRM Pskip PROG
FRM B PROG
etc.

Guest
29th November 2008, 16:19
Audio tracks (6 streams) are not demuxed when saving a project, only .dgv is output like If you want it fixed, you'll have to give me the stream so I can duplicate the issue. Use DGSplit to cut the first 50 MB.

Guest
29th November 2008, 19:29
DGVC1DecodeNV is done and working. I just have to do the documentation and revise the web site. Shooting for tomorrow or Monday.

rica
29th November 2008, 19:30
Hi, i get this when i try to open a raw VC1 file/or vc1ts.

http://img55.imageshack.us/img55/1176/neuronbp9.th.jpg (http://img55.imageshack.us/my.php?image=neuronbp9.jpg)

(TS forms have been uploaded here:
http://forum.doom9.org/showthread.php?p=1217818#post1217818 )

Guest
29th November 2008, 19:38
Copy your license file to the same directory as DGVC1IndexNV.exe.

Guest
29th November 2008, 19:39
If you want it fixed, you'll have to give me the stream so I can duplicate the issue. Use DGSplit to cut the first 50 MB. Never mind. I found the problem. Thank you for pointing it out.

rica
29th November 2008, 19:43
Sorry but what licence file do you mean?

Guest
29th November 2008, 19:48
My CUDA-enabled tools require a license. See here:

http://neuron2.net/dgavcdecnv/dgavcdecnv.html

The license is good for all closed tools I may ever release and for all future versions thereof. Please take further discussion of this to PM. We've already had one flame fest about this.

rica
29th November 2008, 20:07
Thanks a lot.

woah!
30th November 2008, 01:36
It's just indexing the file positions of the sequence header and entry point and values of some of their flags.

ah ok i just see ! with BROKEN and thought maybe i was still not clipping the files correctly or something.

cant wait to try the decoder :)

Guest
30th November 2008, 01:55
That's why I like to complete the documentation. :)

BROKEN refers to the syntax element "broken link".

Guest
30th November 2008, 15:25
Have at it, gals and guys!

http://neuron2.net/dgvc1decnv/dgvc1decnv.html

The updated CUVID Server supports both the AVC and VC1 source filters. Be sure to upgrade nvcuvid.dll also.

Sharc
30th November 2008, 15:44
:thanks:

Sharc
30th November 2008, 16:19
m2ts file (from the log):

Stream Type: Transport [192]
Profile: Advanced
Level: 3
Frame Size: 1920x1088
SAR: 16x9
Display Size: 1920x1080
Frame Rate: 23.976024 fps
Colorimetry: BT.709* [2]
Frame Structure: Progressive
Frame Type: I
Coded Number: 924
Playback Number: 924
Frame Repeats: 0
Field Repeats: 0
Bitrate: 28.009
Bitrate (Avg): 18.469
Bitrate (Max): 39.658
Audio Stream: 1100: PCM 48K 16bit 3/2lfe
Audio Stream: 1101: AC3 3/2 640
Audio Stream: 1102: AC3 3/2 640
Audio Stream: 1103: DTS C+L+R+SL+SR 48 1536
Audio Stream: 1104: AC3 3/2 640
Audio Stream: 1105: DTS C+L+R+SL+SR 48 1536
Audio Stream: 1106: AC3 3/2 640
Audio Stream: 1107: AC3 2/0 192
Elapsed: 0:00:07
.......

Audio:
When I "Select All" and Save Project => crash
When I select e.g. "stream 1101" only and Save Project => ok

Added:
Apparently it is the DTS streams (1103, 1105) which cause the problem.

rica
30th November 2008, 18:43
Hi Don, thanks for the release.

I've made some trials with both prealpha edition and the fist release.
I've seen interlaced artifacts and pixelization on MC interlaced clip.
Both CD and MC clips play at 20-22 fps even the original was 29.97 interlaced.
Here is my avs:
LoadPlugin("C:\users\rica\desktop\DGVC1\DGVC1DecodeNV.dll")
VC1Source("G:\MC\video.dgv")
fielddeinterlace()

FW 178.24, GPU 8600GTS, CPU E6750, RAM 2GB/800, OS Vista SP1 32bit Ultimate.

woah!
30th November 2008, 19:59
i am still getting a error 700 decode problem on untouched m2ts files :(

what driver set are you working with? maybe that should be mentioned as i am running the newest nvidia drivers 180.48 WHQL from here:

http://www.nvidia.com/object/winxp_180.48_whql.html

woah!
30th November 2008, 20:39
well i just downgraded back to the 178.24 drivers, but now i still get the error and now i cant continue to process the vc1 file, as DGVC1IndexNV just crashes straight away now :(

i have no issues with AVC files at all with the other program of yours.

i am using a 260GTX...

Audionut
30th November 2008, 21:14
Sweet, thanks neuron2.

The requested URL /dgvc1decnv/cuvidserver102.zip was not found on this server.

rica
30th November 2008, 21:58
what driver set are you working with? maybe that should be mentioned as i am running the newest nvidia drivers 180.48 WHQL from here:

http://www.nvidia.com/object/winxp_180.48_whql.html

This is already what nvida suggests to 200 series owners.

woah!
30th November 2008, 23:03
ok sorry to get confusing here, but i am back on track now.

seems avisynth was playing a roll in this problem. i uninstalled avisynth, reinstalled it, loaded problem m2ts and i now get no issue with error700 :)

but it crashed as soon as i tried to index :(

turns out to be if there is a DTS track this is causing the crash, as if i choose set no audio track, then it indexes fine :)

all is working fine now as long as i set no audio, would it be possible to have a drop down option to tick off audio demuxing?

rica
30th November 2008, 23:25
neuron2 states in his quickstart guide:

DGVC1IndexNV saved your audio in a file(s). It will have a ".wav", ".ac3", or ".mpa" extension.

So, no dts support...

Guest
30th November 2008, 23:42
Apparently it is the DTS streams (1103, 1105) which cause the problem. Don't you know by now that I need a stream to duplicate the issue? :)

DTS demuxing should be working. If it is not, please provide a source stream sample.

Guest
30th November 2008, 23:44
I've made some trials with both prealpha edition and the fist release.
I've seen interlaced artifacts and pixelization on MC interlaced clip. Same answer as above.

Guys, I don't have a magic wand! I have to get the stream to re-create your issue. Thank you for your patience.

Guest
30th November 2008, 23:45
i am still getting a error 700 decode problem on untouched m2ts files Is it once at the beginning or end? Or is it multiple times on one stream?

Guest
30th November 2008, 23:51
The requested URL /dgvc1decnv/cuvidserver102.zip was not found on this server. Fixed. Thanks for pointing it out.

Guest
30th November 2008, 23:52
all is working fine now as long as i set no audio, would it be possible to have a drop down option to tick off audio demuxing? Give me the darn stream and I'll fix it!!!

This gets frustrating to keep having to ask for the stream. :(

DTS should work. If you give me the stream I will fix it. :)

rica
30th November 2008, 23:54
Same answer as above.

Guys, I don't have a magic wand! I have to get the stream to re-create your issue. Thank you for your patience.

Mariah Carey vc1 is hidden inside MC.ts i've already uploaded : :)

http://www.mediafire.com/?sharekey=610f03b89c15442eab1eab3e9fa335ca96e8f04935ff43a0

If you need a raw vc1, please tell me.

best.

Sharc
30th November 2008, 23:57
turns out to be if there is a DTS track this is causing the crash, as if i choose set no audio track, then it indexes fine :)

all is working fine now as long as i set no audio, would it be possible to have a drop down option to tick off audio demuxing?

Same here with DTS. Works fine with AC3 streams though.
You can turn DTS streams off by:
- Audio => Audio Demux
- Select from the Available Audio Streams table the DTS stream you want to remove
- Press Clear
..... etc.
- Press Done

Sharc
1st December 2008, 00:02
Don't you know by now that I need a stream to duplicate the issue? :)

I know, I know .... just presently a problem with uploading 50MB ... :o

Guest
1st December 2008, 00:28
Mariah Carey vc1 is hidden inside MC.ts i've already uploaded OK, I see it too. I'll have to ask Nvidia about it and get back to you on it. Thank you for pointing it out.

Sharc
1st December 2008, 00:48
Here we go:
http://www.mediafire.com/?sharekey=f4754089d1b37e86d2db6fb9a8902bda

rica
1st December 2008, 00:50
You are welcome.
But please check where i marked; Celine Dion (CD.ts has no issues while MC.ts has)
Even mediainfo or any other tools show this MC as interlaced,
i suspect it has pulldown while CD is a real interlaced video.
What do you think?

http://img55.imageshack.us/img55/306/neuron03kr8.th.png (http://img55.imageshack.us/my.php?image=neuron03kr8.png)

http://img140.imageshack.us/img140/5760/neuron04gl8.th.png (http://img140.imageshack.us/my.php?image=neuron04gl8.png)

EDIT: One more time; here they are:
http://forum.doom9.org/showthread.php?p=1217818#post1217818

Guest
1st December 2008, 01:01
"The folder you accessed is currently empty."

Did you try the link?

Guest
1st December 2008, 01:02
What do you think? I already told you what I think. I have to ask Nvidia about it.

Failing to honor pulldown would not cause macroblocking.

rica
1st December 2008, 01:09
OK, i'll be waiting.
Thanks.

woah!
1st December 2008, 03:21
Give me the darn stream and I'll fix it!!!

This gets frustrating to keep having to ask for the stream. :(

DTS should work. If you give me the stream I will fix it. :)

is the first like 25mb of the m2ts file enough? as the file is 12gb heh. sorry for not posting a clip but i thought it could be more a problem my end.

http://tinyurl.com/6ftxba

Guest
1st December 2008, 04:01
Perfect. Thank you.

Investigating...

Guest
1st December 2008, 04:39
Re-download 1.0.0 and get the fixed DGVC1IndexNV.exe out of it. All the other files are the same.

Sharc
1st December 2008, 07:10
Everything looks ok now, DTS is demuxed. Thank you.

ACrowley
1st December 2008, 11:08
can we await a ATi/AMD Version of your Tools ?

Audionut
1st December 2008, 11:13
Looks like the cropping function is broken.

Appears to be over cropping.

edit: happens on all the sources I have atm.
oh and I think this effort was worth another $15;)

hubblec4
1st December 2008, 13:12
i cant start the app. because cant find the nvcuda.dll

i havent a nvida grafikcard. is this the problem?

hubble

Audionut
1st December 2008, 13:24
i havent a nvida grafikcard. is this the problem?

Sigh.

From the first post in this thread.

For those not acquainted with my tools, the NV on the end denotes a version that runs on an Nvidia graphics card GPU. I don't have any plans to develop a non-NV version because I am not aware of any decent open source decoder.

Guest
1st December 2008, 14:31
Appears to be over cropping.

oh and I think this effort was worth another $15 Actually, it is cropping as desired but the SIZ line at the bottom of the DGV file is being set to the cropped size and not the uncropped size. So the source filter crops the already cropped size. I'll release a fix. I will also check if DGAVCDecNV is affected. Thank you for pointing this out. And thanks for the extra donation. :)

Guest
1st December 2008, 14:58
Actually, it is cropping as desired but the SIZ line at the bottom of the DGV file is being set to the cropped size and not the uncropped size. So the source filter crops the already cropped size. Re-download 1.0.0. Only DGVC1IndexNV is changed. I want to get a reasonably clean 1.0.0 before starting to bump revision numbers.

liquidator87
1st December 2008, 18:07
I noticed in the first post you said that there isn't a valid open source decoder at this time... may I ask why existent decoders (for example ffmpeg/libavcodec) are inadequate?
PS: sorry if you already answered this, but I couldn't find an answer...

Guest
1st December 2008, 18:27
That's OT for this thread and could lead to a flame fest, so I'm just going to say that my opinion is well-known and if you search you can find out about it. Please don't discuss it further here. I have no plans to make a VC1 source filter based on libavcodec.

Audionut
1st December 2008, 22:50
That fixed it.

Another issue I found is when trimming material. The resulting .dgv file has 2 beginning frames of macro blocked garbage.
If I set to save and demux, the demuxed file loads fine back into DGVC1IndexNV, but the .dgv file displays the garbage.


Thanks.

Guest
1st December 2008, 23:02
Another issue I found is when trimming material. The resulting .dgv file has 2 beginning frames of macro blocked garbage. Those are orphaned B frames due to an open GOP. I suppose I should implement what I do in DGIndex: replace them with copies of the first decodable frame. Putting it on the to-do list.

CruNcher
1st December 2008, 23:03
@rica

Something is strange with that MC.ts i would even say DGVC1Dec handles it the best way (realy robust parser) compared with most other Software stuff, in my Software Framework it crashes after 40 frames been transcoded (also heavy corrupted result) Haali-Splitter->(Windows Media Decoder DMO) -> H.264
CD.ts works nicely got it down from 22->6 (very easy entropy) :)

Scary about MC.ts i see a complete different beginning through the corrupted result see -> http://s11.directupload.net/images/081201/9dt36qc7.png so i guess those damaged frames got skipped by Donalds Parser entirely :)

rica
1st December 2008, 23:43
CruNcher,
Thanks for the feedback.
I must admit this MC clip is one of the most difficult ones i've ever met.
I've been making some trials for 3 hours this evening.
When i complete the trials i want to share my experience here on this thread if i get a permission from neuron2.

Guest
1st December 2008, 23:49
As long as it is on topic you don't need my permission. :)

I hope this is really a rip from a DVD you own and not some piece of corrupted garbage you downloaded somewhere. What is the title and region of the DVD?

rica
1st December 2008, 23:58
Thanks, i'll try to do my best :)

Guest
2nd December 2008, 00:00
What is the title and region of the DVD that you took MC.ts from?

CruNcher
2nd December 2008, 00:02
DVD with VC1 and inside of .ts ? i would say rather Blu-Ray was the Source or maybe a transcode from something into VC1 and .ts maybe to play it back on the Xbox 360 or Ps3, the sporadic artifacts in the DGVC1Dec output could be transfer errors i guess (or failed decryption).

rica
2nd December 2008, 00:09
What is the title and region of the DVD that you took MC.ts from?

Mariah Carey; The Advantures Of Mimi. Region 1.
BTW i've been uploading a raw vc1 cut directly by eac3to (160MB); i'll add it here when finished.(roughly half an hour is left)

--------------------------------------------------------------------------------

CruNcher
2nd December 2008, 00:12
How did you cut that sample which software did you used ?
i mean how came MC.ts into existence as 56 mb sample, as it seems (the creator) didn't cut @ a i frame :)

rica
2nd December 2008, 00:17
How did you cut that sample which software did you used ?
i mean how came MC.ts into existence as 56 mb sample, as it seems (the creator) didn't cut @ a i frame :)

Original vc1 was extracted by eac3to and recut and remuxed to ts by TSMuxer.
Edit: btw i gave it a go with the original vc1; nothing has changed.
You will get a new eac3to cut as soon as possible.

Guest
2nd December 2008, 00:19
@rica

Give me a fragment of the unprocessed source (m2ts). I will demux it myself. Thank you.

CruNcher
2nd December 2008, 00:20
and the sample from the final .ts you also made with TSMuxer ?

rica
2nd December 2008, 00:25
@rica

Give me a fragment of the unprocessed source (m2ts). I will demux it myself. Thank you.

OK, but what method do you suggest to cut this m2ts?
1) Cut and remux directly to m2ts by tsmuxer or tsremux.
2) Demux with eac3to and cut/remux to m2ts by tsmuxer.
3) Or?

rica
2nd December 2008, 00:26
and the sample from the final .ts you also made with TSMuxer ?

Yes. It was tsmuxer.

CruNcher
2nd December 2008, 00:43
try todo as less as possible with as few as possible different developer tools, also try to maintain the .m2ts and not remux into .ts :)
1) seems better 2 are to much steps something could go wrong (and neuron is not here to debug your production chain) :) not sure which of both takes the bitstream into account while cutting (tsremux,tsmuxer) i guess both don't and cut straight @ the point user requests it (initially that isn't bad as a good splitter->decoder combination should jump to the next i-frame). DGVC1Dec does it as you see but other combination's don't like this created .ts much and crash while trying to decode everything :)

Guest
2nd December 2008, 00:56
@rica

Cut the source m2ts directly. One option is DGSplit.

Or you can load the source m2ts in DGVC1IndexNV, set a range, do Save project and demux video. Then upload the demuxed vc1.

I prefer the first option.

Guest
2nd December 2008, 01:14
@rica

I'd still like the sample, but Nvidia thinks they probably have a bug in the calculation of deblocking filter coefficients and hope to give me a fix very soon.

rica
2nd December 2008, 01:16
This is a cut with TSMuxer:
http://www.mediafire.com/?sharekey=610f03b89c15442e91b20cc0d07ba4d21c4ba96cbfe5b446

Cut with DGSplit is coming soon which is made on the fly...

rica
2nd December 2008, 01:17
@rica

I'd still like the sample, but Nvidia thinks they probably have a bug in the calculation of deblocking filter coefficients and hope to give me a fix very soon.

Good news, thanks.

CruNcher
2nd December 2008, 01:39
AppName: mplayerc.exe AppVer: 1.1.906.0 ModName: wmvdecod.dll
ModVer: 11.0.5721.5145 Offset: 000361ad

also this one crashes immediately (i slowly wonder if it is a Haali Splitter bug) why should Microsoft not support their own stream ? :(

Guest
2nd December 2008, 01:45
This is a cut with TSMuxer Um, I didn't ask for that.

rica
2nd December 2008, 01:45
Give it a go with MPC-HC. Default decoder is WMVideo decoder DMO and renderer is EVR Custom.

Guest
2nd December 2008, 01:47
All this other player stuff is OT. Please stop it.

rica
2nd December 2008, 01:47
Um, I didn't ask for that.

I know, it's about to come what you asked. :)

CruNcher
2nd December 2008, 01:58
Sorry Neuron and yeah the stream renders fine with Arcsoft's Decoder which is running on the GPU (DXVA), while DGVC1DecNV shows the white fog on most frames :)

rica
2nd December 2008, 01:59
This is what you asked i think:
http://www.mediafire.com/?sharekey=610f03b89c15442e91b20cc0d07ba4d2fe42c980d1dc0c85

Splitted by DGSplit.

CruNcher
2nd December 2008, 14:41
@rica
MC.ts is 100% interlaced 30i also gets correctly detected by most Demuxer/Decoder all Nvidia (DXVA based Decoder) Deinterlaced it to 60p most Software 30p :) (interlaced lines are clearly visible every frame couldn't see a 3:2 pull down pattern but maybe it was modified and the pattern got lost)

CD.ts is 100% Progressive though the wrong flagging forces most Decoder to De-interlace it if set on Auto modes (saves some bits but hurts the output) :( (couldn't see any interlaced lines though this section is really dark maybe i missed them motion seems enough to see them if it was)

rica
2nd December 2008, 20:31
@rica
MC.ts is 100% interlaced 30i also gets correctly detected by most Demuxer/Decoder all Nvidia (DXVA based Decoder) Deinterlaced it to 60p most Software 30p :) (interlaced lines are clearly visible every frame couldn't see a 3:2 pull down pattern but maybe it was modified and the pattern got lost)

CD.ts is 100% Progressive though the wrong flagging forces most Decoder to De-interlace it if set on Auto modes (saves some bits but hurts the output) :( (couldn't see any interlaced lines though this section is really dark maybe i missed them motion seems enough to see them if it was)

You are right on CD.ts is progressive even mediainfo and other tools perceive it as interlaced.
Here are the specs of both BDs:

http://bluray.highdefdigest.com/1177/celinedion_newday.html

http://bluray.highdefdigest.com/420/mariahcarey_adventuresofmimi.html

Both seems as progressive but MC seems 1080p/TBA.

What is TBA; i haven't found any info on this abbreviation?

Doom9
2nd December 2008, 20:36
TBA = To Be Announced

rica
2nd December 2008, 20:42
Thanks but it smells "not really" or "so called"?

rica
3rd December 2008, 01:50
:confused:Let me say those two clips are really an investigation subject for developers...
Celine Dion is progressive but seems interlaced; btw i've never seen any 29.97 p BD...
Mariah Carey clip is much more complicated; is it interlaced or pulldown progressive????
MC clip does not work with Haali > WMVideo decoder DMO chain while CD clip works with the same one. :confused:

Sharc
3rd December 2008, 20:10
I have both DGAVCindex (v1.0.7) and DGAVCindexNV (v1.0.8) installed. The corresponding decoders are in the Avisynth Plugins directory, .dll versions do match with the .exe versions.

Now when I produce an index .dga file with DGAVCIndex.exe and an .avs script like AVCSource("myfilexxx.dga") I get on playback the error: AVCSource: CUVID Server not running!
So I start the CUVID server. Now I get the error: DGAVCIndexNV/DGAVCDecodeNV mismatch! (as mentioned before, the dga has been produced by DGAVCIndex.exe).

I am trapped. Can't I have both DGAVCIndex and DGAVCIndexNV installed simultaneously?

rack04
3rd December 2008, 20:22
I have both DGAVCindex (v1.0.7) and DGAVCindexNV (v1.0.8) installed. The corresponding decoders are in the Avisynth Plugins directory, .dll versions do match with the .exe versions.

Now when I produce an index .dga file with DGAVCIndex.exe and an .avs script like AVCSource("myfilexxx.dga") I get on playback the error: AVCSource: CUVID Server not running!
So I start the CUVID server. Now I get the error: DGAVCIndexNV/DGAVCDecodeNV mismatch! (as mentioned before, the dga has been produced by DGAVCIndex.exe).

I am trapped. Can't I have both DGAVCIndex and DGAVCIndexNV installed simultaneously?

Yes you can. Just make sure that you load the correct plugin in the avs script.

LoadPlugin("...\DGAVCDecode.dll")
AVCSource("mystream.dga")

LoadPlugin("...\DGAVCDecodeNV.dll")
AVCSource("mystream.dga")

LoadPlugin("...\DGVC1DecodeNV.dll")
AVCSource("mystream.dgv")

BTW, this is the DGVC1DecNV discussion thread.

Sharc
3rd December 2008, 20:54
Thanks! That's it.
The problem remains that the application which produces the script does not insert the LoadPlugin. Anyway, I will find a workaround. Thanks again.

rack04
3rd December 2008, 20:56
Thanks! That's it.
The problem remains that the application which produces the script does not insert the LoadPlugin. Anyway, I will find a workaround. Thanks again.

If you haven't read the QuickStart yet, it explains a way to create a template.avs file that will automatically generate the avs script with you save the project. That might be useful to you.

Guest
4th December 2008, 05:19
Big O (it's a joke, get it?) at Nvidia has cured our problem. Please get the revised nvcuvid.dll from inside the 1.0.0 download. Mariah now plays flawlessly.

CruNcher
4th December 2008, 12:54
they really fast also working this open is great :) that's gonna improve a lot of other Software in their Ecosystem from other ISVs too and very fast (ATI has no chance with this kind of community support as Doom9 behind Nvidia debuging) :)

@neuron2
Disable display doesn't work when the Double Rate De-interlacer is enabled so no speed measurement works via Preview is it possible to change that ?

8800 GT (G92) Forceware 180.70 (XP SP3)

MC.ts

NO Deinterlace = 46 FPS
Single Rate = 35 FPS
Double Rate = ?? FPS

rica
6th December 2008, 23:11
It really seems much better but i get this error on cut_04.m2ts:

http://img242.imageshack.us/img242/3694/neuron06pq0.th.png (http://img242.imageshack.us/my.php?image=neuron06pq0.png)

(post 123)

The same file in re-encoding to h264 at MeGui:

http://img242.imageshack.us/img242/2110/neuron07zn6.th.png (http://img242.imageshack.us/my.php?image=neuron07zn6.png)




_ _ _

Guest
7th December 2008, 01:03
If you hit OK, does it proceed OK or does this bring things to a fatal halt in MEGUI?

I can fix it but I'm currently working on porting the audio sync fixes from DGAVCDec. If it stops everything, then I'll boost the priority.

rica
7th December 2008, 01:21
When i hit OK, no fatal halt seems but no progress at all; process stays at where it was...
You have to abort MeGui...

Sharc
7th December 2008, 13:30
If you haven't read the QuickStart yet, it explains a way to create a template.avs file that will automatically generate the avs script with you save the project. That might be useful to you.
Thanks for the hint with the automated script. It really helped to solve my problem.

woah!
7th December 2008, 22:01
hi neuron2,

i think i just caught a bug when processing 300 the movie. it seems repeatable here when processing this clip:

http://tinyurl.com/5z5znz

heres a screen of the blocks i see when previewing it:

http://img244.imageshack.us/img244/4261/blocksxw2.jpg (http://imageshack.us)

i dont see these blocks when i run the same raw clip in powerdvd. the clip looks fine.

edit: also now muxed the complete vc1 into a mkv and ran through mpc-hc using 3 different vc1 ffdshow wmv9 / dmo / libavcodec filters and they all play that section without issues.

http://img184.imageshack.us/img184/9203/noblockspi9.jpg (http://imageshack.us)

rica
7th December 2008, 22:38
Confirmed.
And plus the same error pop-up window exists at the end of the clip:

http://img301.imageshack.us/img301/6252/neuron08ti3.th.png (http://img301.imageshack.us/my.php?image=neuron08ti3.png)

Sharc
7th December 2008, 22:52
@neuron2:
Sample of a vc-1 source here which is partially blocky when indexing it and playing it back in mpc using VC1Source().
http://www.mediafire.com/?sharekey=f4754089d1b37e86d2db6fb9a8902bda

rica
7th December 2008, 23:39
I get the same error even on proggresive vc1s:

http://img216.imageshack.us/img216/4263/neuron09tg7.th.png (http://img216.imageshack.us/my.php?image=neuron09tg7.png)

Guest
7th December 2008, 23:42
OK, guys, thanks. Give me a few days as this will require Nvidia's attention.

Guest
8th December 2008, 03:54
Big O was watching this thread and when I got back from dinner, there was a mail from him with the fix for the blocking. Get the updated nvcuvid.dll from the 1.0.0 distribution.

I'm looking into the 700 decode error problem.

Sharc
8th December 2008, 18:04
Thanks! That was fast. Blocking is gone!

rica
8th December 2008, 22:43
After the latest update even "700 decode problem" is not left while playing with DGVC1indexNV. (BTW, original vc1 cuts have been done by eac3to directly)

Re-encoding to h264 of interlaced or progressive clips is still problematic btw. (no problem in playing with the original vc1 on DGVC1IndexNV)
I can watch created h264mkv via GraphStudio;
the chain is:
Haali > ArcsoftVideo decoder > Video Renderer-or/ Video Mixing Renderer9 which means i still have to see the interlacing artifacts (if the original is interlaced) and no DXVA decoding; picture freezes at the beginning of the clip with EVR...


_ _ _ _ _ _

rica
9th December 2008, 16:10
Re-encoding to h264 of interlaced or progressive clips is still problematic btw. (no problem in playing with the original vc1 on DGVC1IndexNV)
I can watch created h264mkv via GraphStudio;
the chain is:
Haali > ArcsoftVideo decoder > Video Renderer-or/ Video Mixing Renderer9 which means i still have to see the interlacing artifacts (if the original is interlaced) and no DXVA decoding; picture freezes at the beginning of the clip with EVR...


_ _ _ _ _ _

Hi guys,
I've found the problem.
I forgot to wear my eyeglasses; so i used SD_HQ profile by mistake (instead of HD-HQ preset) :D
Here it is: (corrected one)
http://www.mediafire.com/?sharekey=610f03b89c15442e91b20cc0d07ba4d2ea63b1f5b6144375


@neuron2,

I get this error while trying to open avs on MeGui: (trying to deinterlace the MC video)

http://img218.imageshack.us/img218/2977/neuron15up3.th.png (http://img218.imageshack.us/my.php?image=neuron15up3.png)

Here is the avs:
LoadPlugin("C:\users\rica\desktop\DGVC1\DGVC1DecodeNV.dll")
VC1Source("G:\MC\MC.dgv",deinterlace=true)


Am i doing something wrong or Purevideo gets it as progressive?

woah!
11th December 2008, 04:50
another repeatable bug i think:

pink square top left, in the posted clip i get a few of them in different frames aswell. only when viewing the avs script of the indexed clip.

if same clip is run using DS it isnt there, so am thinking its a indexing issue.

pink dot:

http://www.cif-forums.com/nucker/pink01.jpg

no pink dot:

http://www.cif-forums.com/nucker/gone02.jpg


clip:

http://tinyurl.com/6zyht8


edit : seems you can see this bug when just previewing too, so maybe its not the indexing as i thought...

Guest
11th December 2008, 14:45
Am i doing something wrong or Purevideo gets it as progressive? deinterlace is an int: 0=no deinterlace, 1=deinterlace, 2=bob.

rica
11th December 2008, 18:01
Oh, sorry.
Thanks.

michael1971
12th December 2008, 15:44
Damn... i have got an ati radeon 2600xt... dgvc1 not working for me :(

rack04
12th December 2008, 15:48
Damn... i have got an ati radeon 2600xt... dgvc1 not working for me :(

Please read the first post.

woah!
13th December 2008, 03:07
i take it my post #148 is only happening on my system?

rica
13th December 2008, 03:35
i take it my post #148 is only happening on my system?

Yes, i'm afraid.

woah!
13th December 2008, 03:56
damn :(

if i see this in the preview window of DGVC1DecNV, and after encoding it is in the finished result, i assume i need to figure what else could be in the chain? i didnt think there was much else that could effect the output from DGVC1DecNV in the preview.

i caught this accidentally so it could be happening with all my vc1 encodes at random frames :(

Guest
13th December 2008, 07:37
i take it my post #148 is only happening on my system? No, I have duplicated it and Nvidia is on the case.

woah!
13th December 2008, 08:10
*slaps Rica...

so glad as i have been trying many different things to see if i could catch it here.

Guest
14th December 2008, 00:43
i have been trying many different things to see if i could catch it here. Big O came through again with a fix! Redownload 1.0.0 and get the updated nvcuvid.dll. It's a pretty rare case apparently.

Isn't Nvidia support the cat's meow? :D

@woah!

Big O is interested to know what encoder was used or where that clip came from. Anything you could tell us would be valuable. Big O thinks it's a very poor encoder and is wondering who is using it. Thanks.

nautilus7
14th December 2008, 01:00
Isn't it The Dark Knight Blu-ray Disc? If that's true, it's Warner who made that disc.

EDIT: Yes, it is. I just downloaded the sample.

rica
14th December 2008, 01:26
*slaps rica...


:d
:d
:d

woah!
14th December 2008, 02:59
Big O came through again with a fix! Redownload 1.0.0 and get the updated nvcuvid.dll. It's a pretty rare case apparently.

Isn't Nvidia support the cat's meow? :D

@woah!

Big O is interested to know what encoder was used or where that clip came from. Anything you could tell us would be valuable. Big O thinks it's a very poor encoder and is wondering who is using it. Thanks.

its straight off the bluray disc the dark knight. it has a weird setup where by they use film 2:35:1 for most parts and like the clip i posted is in 16:9 format which was filmed with a imax camera.

woah!
14th December 2008, 04:55
still seeing a pink block at frame 168 of the problem clip you have already? i see it in preview and after i process the clip and use virtualdub to see its frame 168.

its the only one i see nor tho....

http://img78.imageshack.us/img78/4584/b1ze5.jpg (http://imageshack.us)

woah!
14th December 2008, 06:14
seems i have another clip with blocks :(

all seems to be in this area of the film timeline.


blocks:
http://img244.imageshack.us/img244/8466/89771042rl4.jpg (http://imageshack.us)

no blocks with aavs.dll

http://img201.imageshack.us/img201/5236/nobhp6.jpg (http://imageshack.us)



heres the clip : http://tinyurl.com/6qbm68

Blue_MiSfit
14th December 2008, 07:04
Do these titles work without Direct3D? In other words, can you successfully use these tools over Remote Desktop?

~MiSfit

rica
14th December 2008, 16:51
woah!

I've seen a very small blocking here when i look carefully: (which is not so appearent as in your screenshot)

http://img228.imageshack.us/img228/1858/w1ur1.th.png (http://img228.imageshack.us/my.php?image=w1ur1.png)


180.60 FW with Cuda tools, latest DX update, latest nvcuvid.dll, Vista 32 SP1, 8600 GTS
_ _ _

Guest
15th December 2008, 03:30
@Blue_MiSfit

The CUDA decoders require Direct3D.

@all

Please get the new nvcuvid.dll from the 1.0.0 distribution. I believe all the blocking and pink squares should now be history. Thank you for your patience.

woah!
15th December 2008, 03:52
yes all now looks perfect thx :)

quick question, what is the max bitrate for bluray ? i thought 50mbps was max including audio. but once processed the log shows a Bitrate (Max): 50.731

Guest
15th December 2008, 04:20
That's a spike. I don't know how the spec is defined. It all hinges on the time period over which the bitrate is measured.

woah!
15th December 2008, 04:59
its just you said nvidia thought this was a bad encoder used, so maybe it is outta spec too, i have heard people are having issues with audio cut outs with this disc too...

rica
17th December 2008, 02:32
I've just tried 180.84 beta FW and blocking has started again:

http://img75.imageshack.us/img75/9287/blockingtr5.th.png (http://img75.imageshack.us/my.php?image=blockingtr5.png)

Guest
17th December 2008, 04:52
Need clip.

rica
17th December 2008, 23:48
It is on the post 163.

Guest
18th December 2008, 15:12
I've just tried 180.84 beta FW and blocking has started again Can't duplicate this. Looks like you are using an old nvcuvid.dll. Get it again out of the 1.0.0 distribution and make sure you are using that one. I have put the latest one from Nvidia there just now.

avivahl
18th December 2008, 19:02
neuron2: can you check if the 181.00 beta drivers contain the correct dll?
http://developer.nvidia.com/object/opengl_3_driver.html

Guest
18th December 2008, 19:37
I don't think the driver includes nvcuvid.dll. In any case, you have to use the one I supply.

laserfan
18th December 2008, 20:46
...For those not acquainted with my tools, the NV on the end denotes a version that runs on an Nvidia graphics card GPU. I don't have any plans to develop a non-NV version because I am not aware of any decent open source decoder...
I came here to see about a "non-NV version" and of course, due to neuron2's remarkable powers-of-documentation I find my answer in Post 1!!! Having now experienced what I believe to be issues w/both MS' and libavcodec's decoding of VC1, I find myself looking to get an NVidia graphics card, which in my case means also upgrading my old P4/AGP system completely to a new PCI Express 16-capable one. Santa-are-you-listening.

Anyway neuron2 if you have any occasion to leverage w/Nvidia the enhanced "pub" they're getting with your new tool, you should do so! They are gonna sell some cards as a result of your efforts! :)

--Current ATI Radeon owner

rica
18th December 2008, 21:29
Get it again out of the 1.0.0 distribution and make sure you are using that one. I have put the latest one from Nvidia there just now.

Yes, it is working with your latest update; thanks. (looks very clean.)

Guest
18th December 2008, 22:20
They are gonna sell some cards as a result of your efforts! It would be nice to think that, but the community of Avisynth afficionado's is pretty small. Now if I make a DirectShow filter based on it...

Anyway, I think the Nvidia/ATI market share ratio is like 2/3 already, if I can believe what I read.

9600GT is a good choice for price/performance.

rica
18th December 2008, 23:40
They are gonna sell some cards as a result of your efforts! :)

--Current ATI Radeon owner

Believe me, even neuron can not rescue Ati which is a candidate of Guinness with its most reading thread (issues thread) on avsforum. (almost one million reading) :D
Ati owners always have to buy a new card hoping they won't meet issues anymore; this explains 2/3 :)

CruNcher
19th December 2008, 00:34
Tough it's sad to see ATI going so down in Video i mean we talk about the guys that where top in Video research back then :( when Nvidia only thought about how todo 3D and now we see Nvidia overthrowing ATI in Video, but it's also their fault they keep to closed in terms of their Video stuff and Nvidia was much faster leveraging that opportunity so i feel sad for ATI and their R&D guys :(

tomos
19th December 2008, 00:54
and of course us ATi card users who dont get cool stuff like this :(

rica
19th December 2008, 01:19
One year and a half:
Two Ati cards in my bin while my 8600GTS is still on my PC.... :)
Still 2/3 ratio....

CruNcher
19th December 2008, 02:44
@tomos
don't want to go to much oftop there could still be light at the tunnel for you i hope AMD/ATI gonna do the right thing and go as open as Nvidia with their UVD2 support for non licensed Developers
http://www.phoronix.com/scan.php?page=article&item=nvidia_vdpau_gpu&num=1 <- this is unique a very long time Linux waited for that and Nvidia made it reality 1 AMD/ATI are currently slow and behind Nvidia. It isn't over yet, though the question remains are AMD/ATI gonna support non licensed Developers on UVD2 and bring out a patch for Mplayer ? :)
Don't supporting those wouldn't fit in their strategy they already gave access to their Driver but keep UVD2 a 3rd Party Licensed Developer Secret ? (btw Nvidia goes the other way keeping their Driver a Secret opening VP2).
Still a Main Standard needs to be developed for Linux but it's a first direct step to SOA Hardware Video Decoding by both. Just lets wait for next month and see what and how AMD/ATI is gonna offer Developers for Linux and Windows alike in terms of UVD2 access they could gain at least under Linux the head with being complete open by then :). Also another thing which imho is of interest is the question of are UVD2 and VP2 programmable ??? could they be leveraged for other Video Codecs in the future by updating (somekind of pre loaded firmware inside the Driver ?). This way Nvidia for example maybe could even add X264 High Predictive Support in future Driver releases :)

http://www.youtube.com/watch?v=woq2gZOGQeg <- 100% CPU utilized playback via libavcodec
http://www.youtube.com/watch?v=Cw1IZuskREU <- 100% CPU utilized playback via Nvidia VDPAU VP2 Hardware
http://www.youtube.com/watch?v=U7R90A7ZqLU <- And this is what im 100% sure by now what we have in our Nvidia/ATI GPUs working :) (a dedicated Video Processor a ARM11 logic for Nvidia the same Video Engine inside the APX 2500)

Nothing different to what ST Micro, Broadcom, Sigma and others Develop, just by Nvidia and ATI :) and in reality this has nothing todo with CUDA @ all should be complete independent of it just called that way for Marketing Purposes, everything that comes after the Bitstream Decoding though is Shader based (ouput via Direct3D on Windows) and so CUDA like Deinterlacing, DeNoising, Scaling soon Super resolution Conversion and could potentially need some CPU time :)

laserfan
19th December 2008, 02:49
It would be nice to think that, but the community of Avisynth afficionado's is pretty small... 9600GT is a good choice for price/performance.Small, but wirey (read: influential)!!! ;)

Thanks for the tip on the card (which I see is only $90 bucks BFG Tech at Frys atm). :)

menlvd
20th December 2008, 15:41
neuron2
can U add option to disable demuxing audio (from ts/m2ts...) when creating project?

Guest
20th December 2008, 15:53
It's already there:

Audio/Audio Demux/Clear All

menlvd
20th December 2008, 15:54
It's already there:

Audio/Audio Demux/Clear All

oops sorry :)

jpsdr
21st December 2008, 08:40
Hello.

A little question. I've a PC made specialy for video processing encoding.
As i don't need high 3D capability, i've buy for it a simple little nVidia 6600.
I don't care about speed, but is it possible to use DGVC1DecNv with it ?
If not, which is the first or "lowest" nVidia card that support DGVC1DecNV ?

Thanks.

nm
21st December 2008, 09:15
A little question. I've a PC made specialy for video processing encoding.
As i don't need high 3D capability, i've buy for it a simple little nVidia 6600.
I don't care about speed, but is it possible to use DGVC1DecNv with it ?
No, CUDA doesn't run on it and the GPU doesn't have a VP2 video decoding unit.

If not, which is the first or "lowest" nVidia card that support DGVC1DecNV ?
GeForce 8400 GS (try to get a G98-based model), but if you ever want to use the GPU for filtering HD video, I'd recommend a bit more powerful card (8500/8600/9400/9500GT).

jpsdr
21st December 2008, 09:48
Thanks for the answer.

I've look at the prices, and i think i'll buy a 9600GT.

Guest
28th December 2008, 19:44
Another issue I found is when trimming material. The resulting .dgv file has 2 beginning frames of macro blocked garbage.

* DGVC1DecodeNV now replaces leading orphaned B frames with copies of the first decodable frame. This avoids delivering macroblocked frames when cutting at an open GOP.

http://neuron2.net/dgvc1decnv/dgvc1decnv101.zip

dael
29th December 2008, 11:45
Hi,

there is an open source decoder for VC-1 in current ffmpeg(libavcodec) (http://ffmpeg.org/index.html). Is it possible to use this lib to build a DGVC1Dec that is independent from nvidia cards?

Regards,
Daniel.

Leak
29th December 2008, 12:15
there is an open source decoder for VC-1 in current ffmpeg(libavcodec) (http://ffmpeg.org/index.html). Is it possible to use this lib to build a DGVC1Dec that is independent from nvidia cards?
Have you already tried using ffmpegSource (http://forum.doom9.org/showthread.php?t=127037)?

dael
29th December 2008, 12:21
Cool, thanks for the hint. I will try it out. Any Experiences with *.m2ts?

G_M_C
29th December 2008, 13:13
Cool, thanks for the hint. I will try it out. Any Experiences with *.m2ts?

Many, m2ts is just a container you know.

Guest
29th December 2008, 14:20
@dael

Please take off topic discussion elsewhere.

Audionut
29th December 2008, 14:39
Thanks for the update.

~bT~
1st January 2009, 05:51
Hi neuron2,

is the NVIDIA GeForce 8600GS supported?

Guest
1st January 2009, 07:18
I believe so.

~bT~
1st January 2009, 14:45
this is the card i have: http://support.packardbell.com/uk/item/index.php?i=spec_ic_geforce8600GS&pi=platform_amadeus_ipower

i don't see any info on CUDA.. pls help.

Guest
1st January 2009, 15:02
That card has the VP2 decoding engine that you require.

You can test it using the CUVID server/client applications at my web site. They are not licensed. You can find them at the bottom of this page:

http://neuron2.net/dgvc1decnv/dgvc1decnv.html

~bT~
1st January 2009, 15:12
^ awesome! donation soon on the way :)

edit: donated :)

laserfan
1st January 2009, 16:50
this is the card i have: http://support.packardbell.com/uk/item/index.php?i=spec_ic_geforce8600GS&pi=platform_amadeus_ipower

i don't see any info on CUDA.. pls help.

That card has the VP2 decoding engine that you require.

You can test it using the CUVID server/client applications at my web site. They are not licensed. You can find them at the bottom of this page:

http://neuron2.net/dgvc1decnv/dgvc1decnv.html
A definitive "Purevideo HD" card list can be found on this page (http://www.nvidia.com/page/purevideo_HD.html) in a PDF file in the column at left "PureVideo HD Support Table" (which BTW confirms the above). Maybe neuron2 you'll want to link to the doc from yours.

BTW I have a 9600GT (and Q6600 cpu/mobo) on-the-way so you sold another card and I'll be donating once the system's built! :)

nm
2nd January 2009, 08:31
A definitive "Purevideo HD" card list can be found on this page (http://www.nvidia.com/page/purevideo_HD.html) in a PDF file in the column at left "PureVideo HD Support Table" (which BTW confirms the above).
Note that Purevideo HD != VP2: http://en.wikipedia.org/wiki/PureVideo#Naming_confusions
The table you mentioned is somewhat incomplete for checking VP2 availability since it doesn't separate between different GeForce 8800 models, some of which do have VP2. The Wikipedia article lists these and also some of the GPUs that have VP3, i.e. full hardware decoding of VC-1 streams (not that it matters much since DGVC1DecNV works fine with VP2).

laserfan
2nd January 2009, 16:49
Note that Purevideo HD != VP2: http://en.wikipedia.org/wiki/PureVideo#Naming_confusions
The table you mentioned is somewhat incomplete for checking VP2 availability since it doesn't separate between different GeForce 8800 models, some of which do have VP2. The Wikipedia article lists these and also some of the GPUs that have VP3, i.e. full hardware decoding of VC-1 streams (not that it matters much since DGVC1DecNV works fine with VP2).Arrgh, I had seen that page and it confused me, cuz it has "some models" and "unknown" qualifiers in a couple of the columns. I guess there is no "definitive list" and I'm disappointed Nvidia's product manager(s) don't publish something more complete...

EDIT: I guess the wiki page *IS* complete assuming VP2 is the magic bullet. It's easy to get distracted by all the "PureVideo HD" qualifiers.

Guest
2nd January 2009, 16:59
VP2 is the magic bullet One needs VP2 or greater, e.g., VP3.

Guest
3rd January 2009, 05:45
Here is a test version of DGVC1IndexNV.

* Support new audio types on BluRay disks.

* Improve audio delay calculation.

Don't freak out if your machine ID changes. Your old license file will continue to work. New licenses, however, will use a new ID method that doesn't change when you reformat, boot a different partition, change drives, etc.

http://neuron2.net/dgvc1decnv/DGVC1IndexNV102test.zip

Feedback on this version will be appreciated.

rica
4th January 2009, 01:01
It works; thanks.
Here is the sample file to give it a go:
http://www.mediafire.com/?sharekey=610f03b89c15442e91b20cc0d07ba4d230a6ed47efffdcad

And here is the log:
Stream Type: Transport [192]
Profile: Advanced
Level: 3
Frame Size: 1920x1088
SAR: 16x9
Display Size: 1920x1080
Frame Rate: 23.976024 fps
Colorimetry: BT.709* [2]
Frame Structure: Progressive
Frame Type: I
Coded Number: 267
Playback Number: 267
Frame Repeats: 0
Field Repeats: 0
Bitrate: 36.583
Bitrate (Avg): 34.209
Bitrate (Max): 51.926
Audio Stream: 1100: AC3 3/2 48 640
Audio Stream: 1101: AC3 2/0 48 192
Audio Stream: 1102: TrueHD AC3 3/2 48 640
Elapsed: 0:00:01
Remain: 0:00:00
FPS:
Info: Finished!


HW:
nVidia 260 GTX AMP2 Edition/
nVidia 8600 GTS

VIDIA System Information report created on: 01/04/2009 02:13:10
System name: RICA-PC

[Display]
Processor: Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz (2662 MHz)
Operating System: Windows Vista (TM) Home Premium, 32-bit (Service Pack 1)
DirectX version: 10.0
GPU processor: GeForce GTX 260
Driver version: 180.60
Stream processors: 216
Core clock: 650 MHz
Shader clock: 1400 MHz
Memory clock: 1050 MHz (2100 MHz data rate)
Memory interface: 448-bit
Total available graphics memory: 1662 MB
Dedicated video memory: 896 MB
System video memory: 0 MB
Shared system memory: 766 MB
Video BIOS version: 62.00.1A.00.0A
IRQ: 16
Bus: PCI Express x16

[Components]

nvCplUIR.dll 2.2.200.00 NVIDIA Control Panel
nvCpl.cpl 2.2.200.00 NVIDIA Control Panel Applet
nvCplUI.exe 2.2.200.00 NVIDIA Control Panel
nvViTvSR.dll 7.15.11.8060 NVIDIA Video and TV Server
nvViTvS.dll 7.15.11.8060 NVIDIA Video and TV Server
nvDispSR.dll 7.15.11.8060 NVIDIA Display Server
NVMCTRAY.DLL 7.15.11.8060 NVIDIA Media Center Library
nvDispS.dll 7.15.11.8060 NVIDIA Display Server
NVCPL.DLL 7.15.11.8060 NVIDIA Compatible Windows Vista Display driver, Version 180.60
nvGameSR.dll 7.15.11.8060 NVIDIA 3D Settings Server
nvGameS.dll 7.15.11.8060 NVIDIA 3D Settings Server

Guest
4th January 2009, 01:10
Thank you for your test result.

rica
4th January 2009, 01:16
You are welcome,
I'll send some more test results.

rica
4th January 2009, 18:42
neuron, pls test this file; it doesn't work with 1.02_test while it works with 1.0.1.

http://www.sendspace.com/file/61lfv8

(btw, eac3to doesn't recognize this file)

Cut made via clip.exe as is.

Guest
4th January 2009, 19:02
What do you mean by "doesn't work". It works fine for me.

rica
4th January 2009, 19:25
It plays the file but when i try to "save project", nothing happens and i get this:
Stream Type:
Profile:
Level:
Frame Size:
SAR:
Display Size:
Frame Rate:
Colorimetry:
Frame Structure:
Frame Type:
Coded Number:
Playback Number:
Frame Repeats:
Field Repeats:
Bitrate:
Bitrate (Avg):
Bitrate (Max):
Elapsed:
Remain:
FPS:
Info:

Guest
4th January 2009, 19:53
OK, I know what's wrong. Standby...

Guest
4th January 2009, 20:00
Re-download 1.0.2test. My code for counting orphaned B frames was hosed.

Thank you for pointing this out!

rica
4th January 2009, 22:29
Yes, it works fine now, thanks :)
Stream Type: Transport [192]
Profile: Advanced
Level: 3
Frame Size: 1920x1088
SAR: 16x9
Display Size: 1920x1080
Frame Rate: 29.970030 fps
Colorimetry: BT.709* [2]
Frame Structure: Progressive
Frame Type: P
Coded Number: 374
Playback Number: 374
Frame Repeats: 0
Field Repeats: 0
Bitrate: 29.794
Bitrate (Avg): 29.388
Bitrate (Max): 32.593
Audio Stream: 1100: PCM 96K 24bit 2/0
Audio Stream: 1101: TrueHD AC3 3/2 48 448
Elapsed: 0:00:03
Remain: 0:00:00
FPS:
Info: Finished!

~bT~
6th January 2009, 17:31
i have a quick question.

i currently have 2 x 8600gs cards @ 512mb each.

i wanted to know if the encoding speed would increase if i got myself a 9800gtx @ 512mb?

my local store has got this bfg 9800gtx oc'd card for sale @ 97 quid which is really tempting me..

rica
6th January 2009, 18:41
DGVc1DecNV uses nVidia's HW decoder, doesn't encode anything. So nothing will change.

~bT~
7th January 2009, 17:34
^ i was thinking that if the decoding speed increases then maybe it would increase the encoding speed.

Guest
7th January 2009, 17:36
As discussed several times, any gain for transcoding will typically be small, because decoding time is small compared to encoding time.

~bT~
7th January 2009, 17:42
^ cheers. u saved me 97 quid :D

Guest
9th January 2009, 21:10
1. Added support for the new audio types found on BluRay disks.

2. Improved the audio delay calculation.

3. Fixed incorrect handling of field-interlaced streams.

4. Machine ID now not tied to system partition, so machine ID changes will be rare.

5. Updated the CUVID Server to 1.0.3.

http://neuron2.net/dgvc1decnv/dgvc1decnv.html

rica
10th January 2009, 23:35
Thanks neuron,
it really seems revolutionary :thanks:

Guest
11th January 2009, 01:53
Well, functionality wise, perhaps not. But you'd be amazed how much coding and testing went into this new version.

rica
11th January 2009, 01:56
Well, functionality wise, perhaps not. But you'd be amazed how much coding and testing went into this new version.

You're right.
I gonna share my results tomorrow.

~bT~
11th January 2009, 04:25
1. Added support for the new audio types found on BluRay disks.

what exactly are these new audio types?

thanx for the new version btw!

stottle
11th January 2009, 05:06
When I run the server, then start the client and open the jessejames.clip.m2ts from the 2nd post in this thread, nothing happens. The client window is blank and clicking the reset or step commands doesn't do anything either.

The server runs and shows up in the menubar, and is using the nvcuvid.dll successfully.

Am I missing something obvious?

Thanks

rica
11th January 2009, 13:41
what exactly are these new audio types?


pcm
thd
dts-hd

Guest
11th January 2009, 15:27
And EAC3.

Guest
11th January 2009, 15:29
Am I missing something obvious? First, the client supports only elementary streams, not transport streams. Second, the client is compiled for AVC clips. You have to rebuild it for VC1. I'll add an option for VC1 and release that today. Third, the first frame of that clip is a black frame!

EDIT: New version of the CUVID Client is uploaded.

rica
11th January 2009, 21:36
Both of your NV tools succesfully extracts BD audio files:

http://img80.imageshack.us/img80/3885/dg002el1.th.png (http://img80.imageshack.us/my.php?image=dg002el1.png)

The question;
is it technically possible of DG to extract embedded ac3 (together with thd) or core dts (core of dts-hd) as well?

Guest
12th January 2009, 02:28
Sorry, rica, but I don't understand your question. Can you clarify it please?

jj666
12th January 2009, 08:18
He's talking about downconverting the audio - instead of demuxing the full HD audio track data, to allow the standard AC3 (Blu-ray TrueHD) core or standard DTS (DTS-HD) core to be taken out from the audio data (as you can do with TSREMUX/TSMUXER/EAC3TO etc). It would certainly be a useful feature.

Cheers,

-jj-

nautilus7
12th January 2009, 13:41
I don't see why an indexing application should offer anything more than simple audio demuxing... eac3to can do audio conversions perfectly. Neuron2 can focus on other things.

rica
12th January 2009, 20:48
I don't see why an indexing application should offer anything more than simple audio demuxing... eac3to can do audio conversions perfectly. Neuron2 can focus on other things.

My friend,
madshi always suggests to figure out things in one step using just one application; remember?
So why do i use eac3to as a second application :p

It was just a feature request. :)

nautilus7
12th January 2009, 21:56
No, i don't remember madshi saying that. He told you to use only eac3to to do a very specific thing you wanted to do, and not any other app.

But anyway... I just expressed my opinion, not hurt feelings. Why asking neuron2 for a feature that another tool can do with enormous success? You can ask him for something that can't be done with any other freeware tool. E.g add .mkv reading support in his apps.

rica
12th January 2009, 22:02
I don't wanna go off the topic but let me remind you:
eac3to > raw media extraction + MkvMergeGui > remuxing to mkv.
(instead of those two applications, madshi insists on using one application: eac3to, correct?)
If eac3to is functioning as a remuxer (-using haali) as well why do you querry?
BTW this is not eac3to topic.

nautilus7
12th January 2009, 22:25
It seems you never get what i say... Are my English bad?

I remember exactly what madshi suggested YOU SHOULD DO IN YOUR SPECIFIC CASE. But he NEVER said that GENERALLY one should use one app instead of 2 or more, LIKE YOU IMPLIED.

I said that there are alternatives and very good ones to do audio conversions and that it doesn't worth the effort/time to implement such features here.

Then you began talking about how you did your mkv muxes. So, you're off topic here, i just said my opinion about a feature request.

I'm out of here now.

rica
12th January 2009, 22:29
Sorry neuron as of rica.

Guest
12th January 2009, 22:53
I don't see anything wrong with asking for the demuxing to extract core audio if possible. I'll look into it, just as I am looking into supporting MKV. I'm open to any and all feature requests and appreciate all feedback.

rica
12th January 2009, 23:38
Nothing to say anything else but just :thanks:

I don't see anything wrong with asking for the demuxing to extract core audio if possible. I'll look into it, just as I am looking into supporting MKV. I'm open to any and all feature requests and appreciate all feedback.

resonator
20th January 2009, 22:56
Searched the thread but couldn't find anything about that, but -- Is there something EXTRA that HAS to be installed NVidia-wise? I've tried to get it working on a Macbook Pro (Bootcamp XP) with a 8600M GT which should be working according to the PureVideoHD table, yet, I still get only an error message.

EDIT: In case there is, maybe we should quick-summarize the setup.

Guest
20th January 2009, 23:14
Searched the thread but couldn't find anything about that, but -- Is there something EXTRA that HAS to be installed NVidia-wise? I've tried to get it working on a Macbook Pro (Bootcamp XP) with a 8600M GT which should be working according to the PureVideoHD table, yet, I still get only an error message.

EDIT: In case there is, maybe we should quick-summarize the setup. You have to install the latest Nvidia drivers. You have to put nvcuvid.dll in your search path.

What error message are you getting?

resonator
21st January 2009, 15:18
Hmm, installed the latest "notebook drivers" from NVidia site. Now, by search path, do you mean the set variable "path"? (like set path=so and so in the DOS days, now found in I did add the path to DGVC1Dec folder (where nvcuvid.dll is residing), still I get "GPU decoder: Failed to create video decoder [100]".

Tried an elementary VC1 stream, demuxed from an HD-DVD EVO file by EVODemux. Should I try a different demuxer?

Guest
21st January 2009, 15:53
I mean put the DLL in your system32 directory.

What is Bootcamp XP and what is a Macbook? If this is not running on stock Windows I'm afraid you are on your own. CUVID requires standard DirectShow stuff.

Leak
21st January 2009, 16:02
What is Bootcamp XP
Bootcamp is Apple's utility to install Windows on a Mac (mainly a fancy bootloader + some drivers because Macs don't have a BIOS)...

and what is a Macbook?
Some fancy notebook with a logo of an apple that someone took a bite out of already... :D

If this is not running on stock Windows I'm afraid you are on your own. CUVID requires standard DirectShow stuff.
Well, it IS a standard Windows installation...

Guest
21st January 2009, 16:20
Put nvcuvid.dll into the sytem32 directory and install the latest Nvidia drivers. If that doesn't work run the CUVID sample decoder from the CUVID SDK. If that doesn't run contact Nvidia for support. If it does, post again to let me know.

resonator
22nd January 2009, 14:57
After doing some research it seems as if the problem lies with XP and notebook graphics. I had problems like that before audio-wise (I use DAWs a lot, both Cubase and Pro Tools), but so far nothing in terms of simple video-playback. Anyway, I was advised to install Vista, but I'll use the opportunity to install the Windows 7 Beta. I'll let you know if that changes anything.

Sharc
24th January 2009, 20:20
Just an observation:
When the CUVID server is being used for an encode (application 1) and at the same time by another application 2 (e.g. mpc for viewing) both outputs get garbled (the encode and the playback), or CUVID may even crash.

Guest
24th January 2009, 21:26
You shouldn't do that.

Guest
1st February 2009, 15:34
Here's a test version for MKV container support.

http://neuron2.net/dgvc1decnv/dgvc1denv104test.zip

rica
1st February 2009, 18:08
Here's a test version for MKV container support.

http://neuron2.net/dgvc1decnv/dgvc1denv104test.zip

It is working, thanks a lot.
Now i've been transcoding it with MeGui :)

rica
1st February 2009, 22:46
This is the transcoded file with MeGui, served with DGVC1NV-test:

http://www.sendspace.com/file/f94axk

_ _ _ _ _

~bT~
2nd February 2009, 01:02
Now i've been transcoding it with MeGui :)

what do you mean? :confused:

rica
2nd February 2009, 19:08
what do you mean? :confused:

:confused: either am i :)

You're right; it is not clear.

I meant "transcoding the original media"
Here is the way i go:
Getting dgv via DGVC1NV and frameserving to MeGui over CUVIDServer.

_ _ _ _ _

~bT~
6th February 2009, 00:06
what is this error?

http://hdimage.org/images/sbpyy2rg2fzpqxvp1y72_05022009230302.jpg

for encoding to continue, i must click ok.

Guest
6th February 2009, 01:02
It means that your stream has a problem. Is it at the beginning, end, or in the middle?

~bT~
6th February 2009, 01:10
looking at the progress, i see its stopped @ frame 152170 out of 185957.

Guest
6th February 2009, 01:25
May I ask what the stream is?

~bT~
6th February 2009, 01:26
its the bluray of the matrix revolutions.

Guest
6th February 2009, 01:29
If you can provide a cut with that error in it I can investigate.

rica
6th February 2009, 01:30
Why not uploading the problematic section?

~bT~
6th February 2009, 01:36
If you can provide a cut with that error in it I can investigate.

how to provide exactly that section?

rica
6th February 2009, 02:17
how to provide exactly that section?

152170/185957= approx 82% of the movie.
If the movie is -say- 30GB then 30*0.82=24.6 GB.
So cut it roughly first with DGSplit between 24-25GB.
After you may make a precise cut in the second step.

~bT~
6th February 2009, 02:32
^ i'm checking the file with eac3to.. may be a re-rip is needed.

edit: the m2ts is 23.8 GB..

what do i enter in dgsplit?

edit2: this .m2ts file has 2 video streams, could that be an issue?

Guest
6th February 2009, 05:47
what do i enter in dgsplit? Select segment mode and set the starting and ending byte offsets in the file.

edit2: this .m2ts file has 2 video streams, could that be an issue? No.

~bT~
6th February 2009, 11:56
Select segment mode and set the starting and ending byte offsets in the file.

that's what i don't know, what values to enter?

:stupid:

Guest
6th February 2009, 15:12
It depends on what part of the movie you want to extract. For example, suppose your file size is 2000000 bytes. If you want the third quarter of the file, then you'd enter:

start = 1000000
end = 1500000

Guest
6th February 2009, 16:00
* Added Matroska file support.

http://neuron2.net/dgvc1decnv/dgvc1decnv.html

rica
6th February 2009, 23:17
* Added Matroska file support.

http://neuron2.net/dgvc1decnv/dgvc1decnv.html

:thanks: Don.

~bT~
7th February 2009, 01:41
It depends on what part of the movie you want to extract. For example, suppose your file size is 2000000 bytes. If you want the third quarter of the file, then you'd enter:

start = 1000000
end = 1500000

its proving too difficult for me. i can provide u the problematic vc1 sample in mkv.

edit: here it is, looks like an issue ~ frame 150..

http://www.mediafire.com/?sharekey=39dde50f7954a9bed2db6fb9a8902bda

Guest
7th February 2009, 02:55
I'm not interested in anything you've re-encoded/re-muxed. I'm interested only in the original file from the disk. Sorry.

Snake91
7th February 2009, 13:31
I have opened the dgv with Notepad and I have seen these errors (thsi is an example

SEQ 902175582 !INTERLACE PULLDOWN
ENTRY 902175607 !BROKEN CLOSED

Will I have problems in encoding? Is the stream broken? (The stream comes from Journey to the Center of Earth BD)

Guest
7th February 2009, 14:51
I have opened the dgv with Notepad and I have seen these errors (thsi is an example

SEQ 902175582 !INTERLACE PULLDOWN
ENTRY 902175607 !BROKEN CLOSED

Will I have problems in encoding? Is the stream broken? (The stream comes from Journey to the Center of Earth BD) They are not errors:

http://neuron2.net/dgvc1decnv/DGVC1IndexNVManual.html#AppendixA

Snake91
7th February 2009, 19:34
Thanks, I would have read before the manual before asking:o

PS Can I ask if MPEG2 version is still in your 8future) plans? I think it's worth for purevideo deinterlacer

Guest
8th February 2009, 01:42
I had a little regression for transport streams in 1.0.4. I've just updated the ZIP file rather than make a new release. Please re-download it. GOP stepping was not working good for transport streams.

~bT~
9th February 2009, 10:18
just a lil request: will it be poss for you to rename readmefirst.html (or any other extra files) in future releases pls to vc1readmefirst.html and avcreadmefirst.html?

thanks.

Guest
13th February 2009, 03:20
1. Fixed GOP stepping for transport streams.

2. Fixed blocking on seeks with deinterlace=1.

3. Fixed false sync lock for M2TS files.

4. Fixed problem where stepping by GOP backward could wrap from the start of the file to the end of the file.

5. Closing the window while a play/preview is running caused a CUVID popup error. Fixed.

6. Enable "Disable Display" option only after a file is loaded. This prevents a crash scenario.

7. Fixed nvcuvid.dll memory leak.

8. Updated CUVID Server to version 1.0.4.

http://neuron2.net/dgvc1decnv/dgvc1decnv.html

Guest
13th February 2009, 05:34
just a lil request: will it be poss for you to rename readmefirst.html (or any other extra files) in future releases pls to vc1readmefirst.html and avcreadmefirst.html? No problem. Thank you for the suggestion. It's implemented in the releases just made.

~bT~
13th February 2009, 10:06
tyvm for the updates Don!

Guest
14th February 2009, 01:01
Everybody please re-download 1.0.5. It had a bad bug in DGVC1DecodeNV.dll.

~bT~
18th February 2009, 14:51
after installing the latest driver update (182.06) i notice there are 2 nvcuvid.dll files added to the system32 folder.

one is located here: C:\Windows\System32\DriverStore\FileRepository\nv_disp.inf_e784c780\nvcuvid.dll
and the other here: C:\Windows\System32\nvcuvid.dll (usual place)

should i replace these two with your version Don?

edit: i'm guessing the 1st one isn't important..

http://img5.imageshack.us/img5/5231/18022009140225mk4.jpg (http://imageshack.us)

Guest
18th February 2009, 15:52
The FileRepository one is not important.

You can replace the one in system32 if you want, as we have been doing.

If you want to keep the Nvidia one there so that the Nvidia driver install is not affected, you can put my nvcuvid.dll in the same directory as DGVC1IndexNV.exe *AND* in the same directory as CUVIDServer.exe. Then my tools will load my version and other apps will load the Nvidia driver version.

You'd need to do the same for DGMPGDecNV and DGAVCDecNV also.

~bT~
18th February 2009, 16:32
ok, so what you're saying is...

i can leave the nvidia version in system32 folder alone as long as i have your version in each folder for every dgnv tool including cuvidserver folder.

this is how it looks right now:

C:\Users\Admin\Tools\DGMPGnv\CUVIDServer.exe
C:\Users\Admin\Tools\DGMPGnv\DGMPGDecodeNV.dll
C:\Users\Admin\Tools\DGMPGnv\DGMPGIndexNV.exe
C:\Users\Admin\Tools\DGMPGnv\DGMPGIndexNV.ini
C:\Users\Admin\Tools\DGMPGnv\license.txt
C:\Users\Admin\Tools\DGMPGnv\Notes.txt
C:\Users\Admin\Tools\DGMPGnv\nvcuvid.dll

C:\Users\Admin\Tools\DGVC1nv\CUVIDServer.exe
C:\Users\Admin\Tools\DGVC1nv\DGVC1DecodeNV.dll
C:\Users\Admin\Tools\DGVC1nv\DGVC1DecodeNVManual.html
C:\Users\Admin\Tools\DGVC1nv\DGVC1IndexNV.exe
C:\Users\Admin\Tools\DGVC1nv\DGVC1IndexNV.ini
C:\Users\Admin\Tools\DGVC1nv\DGVC1IndexNVManual.html
C:\Users\Admin\Tools\DGVC1nv\license.txt
C:\Users\Admin\Tools\DGVC1nv\nvcuvid.dll
C:\Users\Admin\Tools\DGVC1nv\ReadMeFirstVC1.html
C:\Users\Admin\Tools\DGVC1nv\VC1QuickStart.html

C:\Users\Admin\Tools\DGAVCnv\CUVIDServer.exe
C:\Users\Admin\Tools\DGAVCnv\DGAVCDecodeNV.dll
C:\Users\Admin\Tools\DGAVCnv\DGAVCDecodeNVManual.html
C:\Users\Admin\Tools\DGAVCnv\DGAVCIndexNV.exe
C:\Users\Admin\Tools\DGAVCnv\DGAVCIndexNV.ini
C:\Users\Admin\Tools\DGAVCnv\DGAVCIndexNVManual.html
C:\Users\Admin\Tools\DGAVCnv\license.txt
C:\Users\Admin\Tools\DGAVCnv\nvcuvid.dll
C:\Users\Admin\Tools\DGAVCnv\ReadMeFirstAVC.html
C:\Users\Admin\Tools\DGAVCnv\AVCQuickStart.html


is that sufficient?

Guest
18th February 2009, 16:37
Yes, that is what I am saying and yes, that is sufficient.

You could put CUVIDServer.exe in a directory of its own to avoid having multiple copies, but it is inconsequential.

~bT~
18th February 2009, 16:40
^ cool. thanks. i tried it and it seems to be working fine.

Guest
19th February 2009, 00:45
Excellent. Thank you for your feedback on that. I will recommend this as the standard way now, because CoreAVC wants to use the released nvcuvid.dll for its CUDA acceleration.

plonk420
1st March 2009, 12:44
so it won't run in a software mode? i really don't want to buy/load "those other decoders"... not sure how it will run on an onboard 8200...

Guest
1st March 2009, 15:28
It requires Nvidia hardware for decoding.

laserfan
1st March 2009, 15:46
so it won't run in a software mode? i really don't want to buy/load "those other decoders"... not sure how it will run on an onboard 8200...Unlike for h.264 and MPEG2 sources, there is not a DGVC1Dec that is software-only i.e. nvidia VP2-less version if that's what you're asking.

These tools inspired me to get a 9600 (with a QuadCore mobo wrapped around it!) and DGVC1DecNV was a large part of it cuz I had trouble decoding VC1s before (don't now at all). :)

nm
1st March 2009, 16:54
... not sure how it will run on an onboard 8200...
I think GF 8200 has VP3, i.e. full VC-1 hardware decoding, so DGVC1DecNV should run very well on it when using the right drivers.

Navalynt
2nd March 2009, 07:17
I placed my license file in the same directory as dgvc1indexnv and I was successfully able to index my VC1 file. I created an AVS file as follows:

LoadPlugin("D:\Ripping Programs\Staxrip\Applications\dgvc1decnv\DGVC1DecodeNV.dll")
VC1Source("E:\Ripped Discs\The Fugitive\00000.track_4113.dgv")

When I try to load the AVS file into Staxrip I get an error VC1Source:Invalid License!

Is this a license problem or am I doing something wrong with the AVS script?

plonk420
2nd March 2009, 11:06
8200 on board should support CUDA, with all of its 8, maybe even 4 stream processors. not sure if it has VP2 or VP3 support... :( i just want an ultralow power nvidia card if i'm even to bother with a DX10+ one... (for capping demoscene demos)

nm
2nd March 2009, 11:24
8200 on board should support CUDA, with all of its 8, maybe even 4 stream processors. not sure if it has VP2 or VP3 support... :(
It certainly has at least VP2 capabilities, so it is a safe choice.

Guest
2nd March 2009, 14:53
Is this a license problem or am I doing something wrong with the AVS script? Please post the top of your DGV file. Also, tell me the exact path of your DGVC1IndexNV.exe.

Guest
11th March 2009, 01:25
1. Added undocumented rudimentary "output trimmed TS" function invokable via the F1 key.
Set a range and hit F1. It's for diagnostic use and is not supported. Think of "DGSplit with a GUI".

2. Sometimes opening a file would not display the first frame until a GOP step is done. Fixed.

3. Fixed Load Project bugs.

4. Fixed problem where specifying a bad file to the CLI caused a crash.

5. File/Close did not clear all state. Fixed.

6. CLI -a now demuxes all the audio streams for an MKV file.

7. The Info dialog did not show all MKV audio tracks. Fixed.

8. License check now allows for a single license file to support multiple machine IDs.

9. Fixed an M2TS parsing bug that caused corruption for some streams.

http://neuron2.net/dgvc1decnv/dgvc1decnv.html

tomos
14th March 2009, 03:29
hi, quick Q.

would this work if i had an nvidia card as a secondary card? (main is an ATi one)

The 9400 GT is quite cheap and supports CUDA afaict.

Guest
14th March 2009, 03:41
I doubt it will work as a secondary. You'd have to ask Nvidia or try it for a definitive answer.

squid_80
14th March 2009, 04:07
Slightly tweaked code from nvidia's videodecode sample that makes sure a CUDA compatible device is used:
// Initialize Direct3D
void
initializeD3D(HWND hWnd)
{
// Create the D3D object.
gpD3D = Direct3DCreate9(D3D_SDK_VERSION);
assert(gpD3D != 0);

// Get primary display identifier
D3DADAPTER_IDENTIFIER9 adapterId;

// Find the first CUDA capable device
unsigned int adapter;
for(adapter = 0; adapter < gpD3D->GetAdapterCount(); adapter++)
{
CUdevice device;
gpD3D->GetAdapterIdentifier(adapter, 0, &adapterId);
if (cuD3D9GetDevice(&device, adapterId.DeviceName) == CUDA_SUCCESS)
break;
}

if (adapter == gpD3D->GetAdapterCount())
{
// no CUDA device found
return;
}

// Create the D3D Display Device
RECT rc;
GetClientRect(hWnd, &rc);
D3DDISPLAYMODE d3ddm;
gpD3D->GetAdapterDisplayMode(adapter, &d3ddm);
D3DPRESENT_PARAMETERS d3dpp;
ZeroMemory(&d3dpp, sizeof(d3dpp));

d3dpp.Windowed = true; // fullscreen or windowed?
d3dpp.BackBufferCount = 1;
d3dpp.SwapEffect = D3DSWAPEFFECT_DISCARD;
d3dpp.hDeviceWindow = hWnd;
d3dpp.BackBufferWidth = rc.right - rc.left;
d3dpp.BackBufferHeight = rc.bottom - rc.top;
d3dpp.BackBufferFormat = d3ddm.Format;
d3dpp.FullScreen_RefreshRateInHz = 0; // set to 60 for fullscreen, and also don't forget to set Windowed to FALSE
d3dpp.PresentationInterval = D3DPRESENT_INTERVAL_IMMEDIATE; // D3DPRESENT_DONOTWAIT;

HRESULT eResult = gpD3D->CreateDevice(adapter, D3DDEVTYPE_HAL, hWnd,
D3DCREATE_HARDWARE_VERTEXPROCESSING | D3DCREATE_MULTITHREADED,
&d3dpp, &gpD3DDevice);
assert(S_OK == eResult);
}

Guest
14th March 2009, 04:09
Please explain the significance of it.

squid_80
14th March 2009, 04:17
gpD3D->GetAdapterCount() returns the number of video adapters in the machine.
gpD3D->GetAdapterIdentifier() fills out a D3DADAPTER_IDENTIFIER9 struct for a specific adapter.
cuD3D9GetDevice checks if a given device supports CUDA.
Basically the code iterates through each video adapter in the system until it finds one that supports CUDA. Then uses the given adapter number as the first parameter when calling gpD3D->CreateDevice instead of D3DADAPTER_DEFAULT.

tomos
14th March 2009, 04:51
I doubt it will work as a secondary. You'd have to ask Nvidia or try it for a definitive answer.

might end up trying it. could always make it pri if needs be i guess

Guest
14th March 2009, 15:52
Then uses the given adapter number as the first parameter when calling gpD3D->CreateDevice instead of D3DADAPTER_DEFAULT.
Are you saying you KNOW that this will allow using an Nvidia card as a secondary adapter with my NV tools? Or are you suggesting it as something to try?

Guest
14th March 2009, 15:56
might end up trying it. could always make it pri if needs be i guess If you like, I'll work with you to try to get it working, assuming squid_80's idea works.

squid_80
14th March 2009, 22:39
Are you saying you KNOW that this will allow using an Nvidia card as a secondary adapter with my NV tools? Or are you suggesting it as something to try?
I can't confirm that exact code will work as designed, since I can't test the "find first CUDA capable card" loop properly - my last ATI card fried 18 months ago and all my Nvidia cards are CUDA capable, so it always exits with adapter=0. But I have tested passing the adapter no. of a secondary Nvidia card to CreateDevice and it works.

Guest
15th March 2009, 00:26
OK, thank you. It seems at least worth trying. I need someone with dual adapters to step up for testing.

tomos
15th March 2009, 07:29
If you like, I'll work with you to try to get it working, assuming squid_80's idea works.

thanks :)

will be a few weeks till i get an nvidia card though. sorry. only one i have at the mo is an old 6800gt and i doubt it will work with CUDA

Guest
15th March 2009, 16:57
OK, ping me when you are ready to go. This could pull ATI users into the fold.

tomos
15th March 2009, 22:13
screw it, i just ordered a gts250. think it's like a 9800 or thereabouts. will hopefully get it tues/wed time. it's going to be on vista x64. will update once it's installed

Guest
16th March 2009, 02:33
Send me a PM when you are ready, as I will need to send you a special build. Thank you for your willingness to help.

~bT~
20th March 2009, 02:51
i have two cards in sli. i can try maybe?

Guest
20th March 2009, 03:06
OK, I'll add the code from squid_80 and make a binary available.

How does that SLI stuff work? Is there still a primary adapter?

~bT~
20th March 2009, 03:13
^ errrmm...no idea.. sorry.

Leak
20th March 2009, 10:37
How does that SLI stuff work? Is there still a primary adapter?
If it's anything like ATI's Crossfire you'll have two separate adapters and an option somewhere in the driver to link them, at which point the second adapter disappears from a program's point of view.

squid_80
20th March 2009, 10:51
It won't be a very good test for the code I posted anyway since even if they exist as 2 separate devices they will both be CUDA capable.

Guest
20th March 2009, 13:07
It won't be a very good test for the code I posted anyway since even if they exist as 2 separate devices they will both be CUDA capable. But I can make the code ignore the first one just for testing.

crasus
31st March 2009, 08:00
neuron2, just a small question. I have the nvcuvid.dll that came with the latest nVidia drivers & CoreAVC Pro in system32 and your version in the program directory.

Considering that MPC-HC is set up to use the CoreAVC Pro CUDA function, can I run a x264 encode with DGVC1DecNV's avs function while watching a movie in MPC-HC?

Guest
31st March 2009, 14:07
I don't recommend it. If you do it, I take no responsibility for what happens.

crasus
31st March 2009, 15:59
Thanks for the reply, neuron2! As I'm curious, do you have any ideea to what might happen?

laserfan
31st March 2009, 16:09
Lessee, your movie playback fails 90% in, and you have a crowd of people in your HT. At the same time the encoding that's been cranking-away for 16 hours and counting craps-out and you have to start over. Why risk it?

Guest
31st March 2009, 19:32
All I can say is that some people do it and get away with it and some get corrupted encodes. I don't know why and don't have time to investigate. Theoretically, I believe it should work as the Nvidia driver is supposed to manage the contexts for the two different processes, but as I said, some people have had problems.

Audionut
23rd April 2009, 14:32
Hi Don,

I'm getting this error on Windows 7 with all versions of your app.

cuvidMapVideoFrame: 208.


I realize win 7 is still in beta, but i'm willing to help trouble shoot if you want. It's only a matter of time now before Windows 7 is released.

Guest
23rd April 2009, 14:35
I've already reported it to Nvidia some time ago. The problem is not in my code and we just have to hope that they fix it in time.

I will rattle their cages a little.

EDIT: Just sent this:

"I have a user doing VC1 decoding on Windows 7 beta.

He gets cuvidMapVideoFrame: 208. I believe we briefly discussed
issues with Windows 7 a while back.

Is this issue known and can we hope for a fix before Windows 7
goes final? The user is willing to assist in debugging."

Audionut
23rd April 2009, 14:41
Cheers.

squid_80
23rd April 2009, 15:13
Is that with win7 build 7077 or later?

Guest
23rd April 2009, 23:40
If you have a recent Windows 7 build you will need the latest Nvidia drivers for it. The problem is fixed if you ensure that.

Audionut
24th April 2009, 09:54
I'm using build 7068 of windows 7. However the release candidate has just been leaked.

I'm using 181.71 which shows as the latest build for windows 7 on nvidia's site.

I don't want to use the latest build for vista 185.68 as afaik this is WDDM 1.0.
I'd prefer to stick to win 7 drivers which are WDDM 1.1.

I'll install windows 7 RC tonight or tomorrow and try again. If that doesn't work, I'll try the latest drivers for Vista and report back.


edit: WDDM http://en.wikipedia.org/wiki/Windows_Display_Driver_Model

Audionut
25th April 2009, 02:55
Using release candidate build 7100 of windows 7 and the drivers from automatic update 181.72 I still get the same error.

sangwich
6th May 2009, 03:02
what is this error?

http://hdimage.org/images/sbpyy2rg2fzpqxvp1y72_05022009230302.jpg

for encoding to continue, i must click ok.

I'm getting same error when screen saver engages (switching users will likely to cause this too but I'm not sure, need to test it again) and when two or more DGVC1Decode processes trying to run, so in my case it is not related to any particular position in the fille. I'm using WinXP SP3 + 8600GTS + 178.24 driver. So, is limitation of CUVID server or a bug (or a feature :)) ?

Guest
6th May 2009, 04:31
Do not use a screen saver when encoding. Do not try to use the CUVID server with multiple clients at the same time.

sangwich
6th May 2009, 14:31
Do not use a screen saver when encoding. Do not try to use the CUVID server with multiple clients at the same time.

It also happens when switching users and when connecting to the machine remotely. I can cope with your "don't" in the first and 2nd case, but 3rd and 4th cases are really crippling. Imagine if you are waited for 6 hours to encode a movie and you are 99% done when you wife (insert GF/roommate/child/etc. here) decides to check her email "for a quick sec" and everything goes to trash :(

So, can I nicely ask for a fix?

laserfan
6th May 2009, 14:42
...can I nicely ask for a fix?But, do we know of *any* programs that can survive a log-off/log-on-as-another-user?

Guest
6th May 2009, 14:45
There's no fix possible unless Nvidia changes the architecture. You have to play by the rules if you want to use CUVID.

Leak
6th May 2009, 15:02
But, do we know of *any* programs that can survive a log-off/log-on-as-another-user?
"Fast user switching" isn't logging off, it's logging on more than one session and switching between them. It's just that only the current session can effectively use the GPU...

Anyway, shouldn't there be a way for DGVC1Decode to simply stall (maybe with a dialog popping up for the user to terminate it) until it can reacquire the hardware, assuming that it's actually possible to do that (most games do it when you tab out of them and back)?

I'd say that would be way better than simply erroring out - if it's doable, of course...

sangwich
6th May 2009, 15:05
But, do we know of *any* programs that can survive a log-off/log-on-as-another-user?

In WinXP switching users is not the same as log-off. When I re-encode h264 content, I use non NV version of dgavcdecode and have a queue of work for several days, however I can do all those thing without any impact on the processing.

squid_80
6th May 2009, 15:18
Anyway, shouldn't there be a way for DGVC1Decode to simply stall (maybe with a dialog popping up for the user to terminate it) until it can reacquire the hardware, assuming that it's actually possible to do that (most games do it when you tab out of them and back)?
Unfortunately it's more complicated than that, not only would it have to re-acquire a handle to a direct3d device but also reinitialize the CUDA decoder and feed in all the previous reference frames again so the DPB was valid.

Leak
6th May 2009, 22:08
Unfortunately it's more complicated than that, not only would it have to re-acquire a handle to a direct3d device but also reinitialize the CUDA decoder and feed in all the previous reference frames again so the DPB was valid.
Hmmm... I don't think that's actually infinite reference frames, so shouldn't it be possible to keep as much of the stream as needed to do that in memory?

np: Lackluster - Whinnye (Proof Of Concept)

squid_80
6th May 2009, 22:52
Sure it's possible, just not particularly easy.

Guest
6th May 2009, 23:05
Also, there's no API to preload the DPB like that, and to reattach to D3D without resetting stuff.

Leak
6th May 2009, 23:59
Also, there's no API to preload the DPB like that
So how do you seek around in the stream then?

Guest
7th May 2009, 14:38
If the error code returned is sufficient to distinguish the error from a simple stream error, then theoretically something could be done. But I'd have to keep polling to see when decoding can start succeeding again. It sounds like a nightmare to me.

xandercage
9th May 2009, 15:43
i m using nvidia 8800GTX 768 MB GPU.
I instaled this driver 185.85_desktop_winxp_32bit_english_whql and this cudadriver_2.2_winxp_32_185.85_general.
My OS Win XP PRO SP3
But i can t load VC-1 stream. I always get this error
http://megaupload.cz/images/snap33.jpg

What kind of license file is missing?
Any ideas how can i load VC-1 stream or m2ts file?

Guest
9th May 2009, 16:05
To get a license, you need to push the yellow button on this page:

http://neuron2.net/dgvc1decnv/dgvc1decnv.html

xandercage
9th May 2009, 16:09
I must donate? Or what do u mean?
Thx for the answer

Guest
9th May 2009, 16:10
Just read what is written on the page I linked. It's all spelled out for you.

xandercage
9th May 2009, 16:55
OK i m waitting for the activation...
Sorry for my dump qustions.
Thanks for your great work

squid_80
9th May 2009, 20:40
You might want to save your money, the 8800GTX can't use CUDA for decoding.

Guest
9th May 2009, 23:43
He didn't read the page like I asked him to. :(

Leak
10th May 2009, 11:38
He didn't read the page like I asked him to. :(
How about making your program error out with an "Unsupported hardware"-type error message before even checking for a license file?

np: Casiotone For The Painfully Alone - Northfield, MN (vs. Children)

Audionut
17th May 2009, 14:53
Hi Don,

Just to report your tools work fine in Windows 7 x64 with the latest drivers from nvidia. 185.85

Regards,

Guest
17th May 2009, 16:42
Thanks for the test results, Audionut!

rack04
25th May 2009, 16:53
Using DGVC1DecNV 1.0.6 and CUVID Server 1.0.4 I get the following error at 98.4% complete in the first pass.

"cuvidDecodePicture() error."

I'm using Windows XP SP3 with Nvidia 8800GT with driver version 185.85. I have the screen saver disabled. If there is any other information you need to debug please let me know.

The x264 command line that I use to encode is:

"%x264_PATH%" --pass 1 --bitrate %DESIRED_BITRATE% --stats "%WORKING_DIRECTORY%\%SOURCE_FILENAME%.stats" --level 4.1 --keyint 24 --min-keyint 1 --bframes 3 --b-adapt 2 --weightb --direct auto --deblock -1:-1 --subme 2 --partitions none --vbv-bufsize 30000 --vbv-maxrate 24000 --qcomp 0.5 --me dia --threads auto --thread-input --sar 1:1 --aud --progress --no-psnr --no-ssim --output NUL "%INPUT_VIDEO%" --mvrange 511 --nal-hrd

The following zip file contains the raw VC-1 stream, AviSynth script, and DGV file.

http://www.megaupload.com/?d=UYVX1C50

woah!
25th May 2009, 23:36
looks like frame 253 is the problem, using DGsource is stopping at that frame.

rack04
26th May 2009, 13:34
I did some more testing. It appears that WMVideo Decoder DMO, wmv9, and libavcodec are able to decode this stream properly.

rack04
4th June 2009, 13:36
I did some more testing. It appears that WMVideo Decoder DMO, wmv9, and libavcodec are able to decode this stream properly.

Has anyone else bee able to reproduce this problem using the files I linked to above?

Guest
4th June 2009, 13:40
I've reproduced it but haven't had time to get to it as I am finishing up multiple input file support.

rack04
4th June 2009, 13:50
I've reproduced it but haven't had time to get to it as I am finishing up multiple input file support.

Very well. Thank you for your time.

rack04
8th June 2009, 04:30
I've reproduced it but haven't had time to get to it as I am finishing up multiple input file support.

I just tried the encode again using DG NV tools beta and everything works great. Thanks.

robinsj
8th June 2009, 23:19
So i just donated, how long does it take to get a license.... Thanks!!

may24
13th June 2009, 21:28
... so this seems to be for NVidia only.
Will there be - by chance - a version for us ATI owners ?
Perhaps one without cuda support, to start with ...

lucassp
15th June 2009, 06:56
Here's AMD's official answer:
http://forums.amd.com/forum/messageview.cfm?catid=328&threadid=99872&forumid=9

nabilash
21st June 2009, 00:45
Why did you program it in a way that it only works with nVidia GPUs? :/
I mean I'd donate for this, but because it requires a nVidia GPU it's totally useless for me and many other people...

Still good job though...

Guest
21st June 2009, 13:56
Why did you program it in a way that it only works with nVidia GPUs? As explained in the posts immediately above yours, Nvidia is the only manufacturer that has made available an appropriate video decoding API.

A630761
23rd July 2009, 18:11
Hello Donald.
I changed my PC and the license file does not work anymore.
I sent you three messages asking you a new license file, but have not yet been answered.
My new ID machine is F9174253.
My e-mail is sollazzo.rosario @ alice.it.
can You send me the file?

Thank you .

Guest
23rd July 2009, 20:38
If I remember to look at this again when I get home this evening I'll do it. You should have used PM for this!

darkmantis
25th July 2009, 10:18
i need to see an actual working copy before i dump out 15$ on something I don't even know will help me..sorry..

Inspector.Gadget
25th July 2009, 16:42
darkmantis, you created an account just to troll this thread? Do you think there would be 19 pages of discussion in this thread and inummerable pages elsewhere if these tools didn't work as promised on supported GPUs? Come on.

Guest
28th July 2009, 04:25
i need to see an actual working copy before i dump out 15$ on something I don't even know will help me..sorry.. I've had only one refund request (which I honored) and that was due to the user not realizing his Nvidia card did not support the tools.

Anyway, I think I can survive without your donation.

vwpassion
21st September 2009, 00:31
I was wondering if there's any (significant) difference with regards the decoding speed (lets say source is a VC-1 Bluray) between a VP2 and VP3 engine card, and whether for instance a cheap Geforce 8400 does the same job as a let's say GTX 260 (or better).

Guest
21st September 2009, 01:04
The actual decoding time is not significantly different, but the bandwidth for moving data to/from the CPU is significantly higher on the high end cards. That significantly increases overall performance.

XadoX
25th September 2009, 07:24
Should I prefer cropping by DGVC1DecNV or cropping in Avisynth? Are there speed differences?

Edit:
I get a green bar on the left, after loading the cropped .DGV (cropped by MOD16) file into AviSynth.
After loding the .DGV file into DGVC1DecNV again there also seems a problem.

http://img32.imageshack.us/img32/5182/creatingdgv.th.png (http://img32.imageshack.us/i/creatingdgv.png/) http://img97.imageshack.us/img97/9905/loadingagain.th.png (http://img97.imageshack.us/i/loadingagain.png/) http://img196.imageshack.us/img196/3224/avisynth.th.png (http://img196.imageshack.us/i/avisynth.png/)

Edit:
cropping only in high seems to work.

Guest
25th September 2009, 14:10
If you need to crop before resizing and you want to resize on the GPU, then you have to crop on the GPU. Otherwise it doesn't matter.

I have updated NV beta 10 with the fix for cropping with Load Project. Thanks for pointing it out.

Regarding your green bar, I do not see the issue. There are several possibilities:

1. You are using UseD3D=1. Please advise if you are.

2. You are running an older CUVIDServer and not the one in NV beta 10. Please check that.

3. You have an older version of the Nvidia drivers. Which driver version are you using?

XadoX
25th September 2009, 16:14
1. You are using UseD3D=1. Please advise if you are.

2. You are running an older CUVIDServer and not the one in NV beta 10. Please check that.

3. You have an older version of the Nvidia drivers. Which driver version are you using?

1. no (not INI was created with UseD3D=1)

2. Using the one in the Beta 9 package (though that was the newest)

3. v190.38

Guest
25th September 2009, 18:20
Well at least telll me what Nvidia card you have.

XadoX
27th September 2009, 18:28
Nvidia Quadro NVS290.

Edit:
Updated post before (#373).

Edit:
Trying it now with driver v191 and your NVbeta10 package.
Now it works.

Atomic420
20th October 2009, 23:51
I have DGVC1DecodeNV.dll from version 1.0.6, but i used DGVC1IndexNV.exe 1.0.7 beta 10 from your "NV.Beta.10" package.

When trying to load a .dgv file in avisynth its saying there's a mismatch between the versions of Index/Decode.

So is there a dll for 1.0.7 ? There must be since on your site you state 107 is the recommended version.

Could you point me to the dll i need, or how to get around this?

:thanks:

Guest
21st October 2009, 00:09
If you use the indexer from beta 10, you have to load the source filter from the same beta 10, that is, DGDecodeNV.dll. Then use DGSource("file.dgv") in your script.

skylinekiller
2nd November 2009, 00:46
I am having trouble importing a VC-1 file in MeGUI that was demuxed by TSmuxer and they said this program would solve the problem. How do I install this correctly?

Guest
2nd November 2009, 00:53
Tell me exactly what you did and what trouble you are having.

skylinekiller
2nd November 2009, 01:01
I have a VC-1 I used tsMuxer and extracted to M2ts, then I used MeGUI AVSScript Creator and go to import the M2ts, but I keep getting error AviSynth script error: DirectShowSource: Timeout waiting for graph to start.
I only get this error with VC-1. I dont know what to do with the dgdecnv200b1 files.

Guest
2nd November 2009, 01:10
I dont know what to do with the dgdecnv200b1 files. Unzip all the dgdecnv200b1 files into a directory. Open DGIndexNV.exe. Then do File/Open and select your M2TS file. What happens?

skylinekiller
2nd November 2009, 06:30
File....Open....00001.m2ts It opens....Then Click ol...Yhrn Missing Liscense file.

Guest
2nd November 2009, 13:12
Did you obtain a license?

skylinekiller
3rd November 2009, 00:20
no, I figured you would hav to install it first. Can't see purchasing something if it doesn't even fix my problem

skylinekiller
5th November 2009, 01:01
So do I install it or something to pay for the liscense? What do I do now? From the sound of it will this fix the problem?

Guest
5th November 2009, 02:07
You make a donation by clicking on the Donate button here:

http://neuron2.net/dgvc1decnv/dgvc1decnv.html

Then I give you a license that you use to unlock the software.

I can assure you it will decode and frame serve VC1 properly as long as you have a supported Nvidia graphics card. See the table linked at the site mentioned above.

Whether you can make it work with MEGUI is another matter. I cannot make it work with MEGUI with recent builds but others have no problem. So I don't know what the answer to that is at this time. But you can always serve the video to x264.exe manually via CLI without using a GUI.

skylinekiller
6th November 2009, 23:18
ok, I donated

skylinekiller
11th November 2009, 12:45
Allright, got it to demux, but need this to work in MeGUI...Need to crop adjust size, add filter, decomb. Where did you here of people making this work with MeGUI?

Guest
11th November 2009, 14:28
Allright, got it to demux, but need this to work in MeGUI...Need to crop adjust size, add filter, decomb. Where did you here of people making this work with MeGUI? Here on the forum.

I wouldn't get my hopes up if I were you, as MEGUI appears to be in death throes. Sorry if I am wrong about that, but all indications suggest that.

skylinekiller
11th November 2009, 21:25
So you are saying its about to become a dinosaur? What's taking it's place?

Guest
11th November 2009, 21:46
Look in the GUIs forum.

I use the CLI interface of x264 and also sometimes Lord-MuldeR's simple GUI.

Guest
28th November 2009, 07:01
This thread is closed as DGVC1DecNV is superceded by DGNV tools 2.0.0.

Guest
28th May 2010, 17:21
Disable display doesn't work when the Double Rate De-interlacer is enabled so no speed measurement works via Preview is it possible to change that ? I have this fixed locally. It will be in build 2010.