Log in

View Full Version : DGMPGDecNV 1.0.2


Pages : [1] 2 3 4 5

Guest
8th February 2009, 18:57
WARNING: This is not for you if you do not have a supported Nvidia display adapter!

Here's Nvidia CUDA support for MPEG2 streams.

Please read the Release Notes for current limitations.

http://neuron2.net/dgmpgdecnv/dgmpgdecnv.html

Your feedback will be appreciated.

laserfan
8th February 2009, 19:13
Your feedback will be appreciated.First off, THANKS!

More to come... ;)

Guest
8th February 2009, 19:49
Please re-download. I just fixed two bugs in DGMPGIndexNV. :)

laserfan
8th February 2009, 20:45
I re-downloaded and made a .dgm file from an MPEG2 Elementary Stream, but when I try to open my .avs file

LoadPlugin("c:\program files (x86)\DGMPGDecNV\DGMPGDecodeNV.dll")
MPEG2Source("d:\video\video.dgm")

I get an Avisynth error when trying to launch with VirtualDub:

Avisynth open failure:
MPEG2Source: The input file is not a D2V project file.

Tried changing the .dgm to .d2v but get the same error. Am I right to be using MPEG2Source?

EDIT: Never mind, on a hunch I changed MPEG2Source to MPGSource and it worked! :)

Guest
8th February 2009, 22:14
EDIT: Never mind, on a hunch I changed MPEG2Source to MPGSource and it worked! :) You smart guy. I bow down.

Will add that to the Notes.txt file. Thank you for pointing it out.

kebulek
8th February 2009, 22:20
:thanks:

I tried one test encode with DVB stream (16:9 720x576i@3.5mbit) and this avs script:

MPGSource("D:\test.dgm", deinterlace=1).Crop(8,4,-8,-4).LanczosResize(624,352)

vs

MPEG2Source("D:\test.d2v").LeakKernelDeint(order=1).Crop(8,4,-8,-4).LanczosResize(624,352)

85-87fps vs 104-106fps, which is not bad. Can we expect some speedup in near future? :)

Guest
8th February 2009, 22:29
What numbers do you get without deinterlacing? Don't forget, the PureVideo deinterlacer is a heavy load. It will be interesting to see if it is faster than similar Avisynth filters, such as yadif. LeakKernelDeint() is very simple by comparison. PureVideo produces much better quality deinterlacing.

kebulek
8th February 2009, 22:51
@neuron2

Without deinterlacing: 117-124fps vs 117-130. I expected a lot more without it. :confused:

It's XviD 1.2 1-pass fyi...

Guest
8th February 2009, 23:00
Without deinterlacing: 117-124fps vs 117-130. I expected a lot more without it. You've not been reading the threads about this.

Did you compare PureVideo to yadif?

kebulek
8th February 2009, 23:45
I'm not familiar with yadif, but I'm learning how to use it right now. :)

woah!
9th February 2009, 05:00
when using the deinterlace=1 option, what are the purevideo settings used for the deinterlacing? or is what you get the best it can deliver for the type of material used?

so far it is working fine here :)

Guest
9th February 2009, 05:38
I don't know the answer to that. All I know is I select the mode "Adaptive".

woah!
9th February 2009, 06:06
ok i seem to have missed something with purevideo then. how or where do you pick adaptive? i can see "smart/film/video/automatic" in this window and only "best available/combine fields/display fields separately"?

http://thumbnails11.imagebam.com/2615/4c882f26146564.gif (http://www.imagebam.com/image/4c882f26146564)

Guest
9th February 2009, 06:11
I'm talking about the CUDA video API. It offers:

Weave
Bob
Adaptive

I guess that they correspond to:

Combine fields
Display fields separately
Best available

woah!
9th February 2009, 06:15
ah ok sorry to go off topic, if thats the case then it is doing the best it can with adaptive i suppose :)

squid_80
9th February 2009, 12:22
Since the source code hasn't been released I assume this program has been completely rewritten from scratch, even though the interface is very similar to the existing GPL licensed dvd2avi/dgmpgdec programs?

jj666
9th February 2009, 12:49
Thanks Neuron2, you're making my measly $15 donation stretch very far with the addition of VC1 and MPEG2 :-)

Cheers,

-jj-

hajj_3
9th February 2009, 12:54
is there any reason why dgmpgdec doesnt have .mpg in the allowed extensions to open by default? as lots of tv card software like hauppauge record .mpg mpeg2 files. i get the error "program streams not supported" when i enable all extensions to be opened and then try to open a .mpg file.

kebulek
9th February 2009, 13:04
MPEG2Source("D:\test.d2v").Yadif(mode=0,order=1).Crop(8,4,-8,-4).LanczosResize(624,352)
vs
MPGSource("D:\test.dgm", deinterlace=1).Crop(8,4,-8,-4).LanczosResize(624,352)

XviD 1-pass: 78-79fps vs 100-105fps (C2D E6600 + 9600GT)

I hope I used right Yadif settings. :)

rack04
9th February 2009, 14:33
Please read the file Notes.txt for current limitations.


I get the error "program streams not supported" when i enable all extensions to be opened and then try to open a .mpg file.

From the Notes.txt file.

Current limitations
-------------------

No MPEG1.

No program streams (e.g. .vob and .mpg).

No honoring of pulldown.

No Fusion-style audio.

Guest
9th February 2009, 14:53
is there any reason why dgmpgdec doesnt have .mpg in the allowed extensions to open by default? Because I haven't implemented program stream support yet.

nixo
9th February 2009, 15:06
Hi,

Thanks for this. I've had no issues with dgmpgdecnv and you're right, the deinterlacer looks really good.

Initially though, I had problems with audio desynch. Turns out when demuxing with DGIndex I kept losing the first 10 frames of the vob. When using a different demuxer everything was fine. I'm using latest 1.5.3 so maybe there's still an issue with demuxing - I saw there was a recent entry in the changelog regarding this.

Here is a sample that illustrates the problem:

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

This probably belongs in the dgmpgdec thread but I figured that since people need to demux to use dgmpgdecnv... well it might be allright.

--
Nikolaj

Guest
9th February 2009, 15:25
I figured that since people need to demux to use dgmpgdecnv That's needed only if you have a program stream for the moment. I'll add PS support.

I'll look at your stream. Thanks for pointing this out.

hajj_3
9th February 2009, 15:26
Because I haven't implemented program stream support yet.

ahh ok.

if i was to use purevideo to de-interlace would this mean that when i encode in gordian knot i wont have to choose "field de-interlace (blend)" and instead would choose not to de-interlace at all?

many thanks neuron.

Guest
9th February 2009, 15:27
if i was to use purevideo to de-interlace would this mean that when i encode in gordian knot i wont have to choose "field de-interlace (blend)" and instead would choose not to de-interlace at all? That is correct.

halsboss
9th February 2009, 15:46
Er, can anyone please help ... I don't know what purevideo is, and I only download and install the driver for the 8800GT.

What else would I need installed to run this ? I'm in PAL territory.

You've not been reading the threads about this.

Did you compare PureVideo to yadif?Sorry ... anyone got a link ?

hajj_3
9th February 2009, 15:48
purevideo isnt free, you can buy it from nvidia, it allows your videocard to do some of the processing when playing dvds/blurays so less of your cpu will be used. players like cyberlink powerdvd allow purevideo support.

halsboss
9th February 2009, 16:05
Thankyou. Do I need to buy it to use this new DGMPGDecNV 1.0.0 ?

Guest
9th February 2009, 16:08
Er, can anyone please help ... I don't know what purevideo is, and I only download and install the driver for the 8800GT. If you are talking about in the context of DGMPGDecNV, then it is already supported. All you need to do is enable it, either in the menu of DGMPGIndexNV, or using deinterlace=1 for DGMPGDecodeNV. I don't know what hajj_3 is talking about. If you are talking about some other context, then it's OT for this thread.

What else would I need installed to run this? Nothing.

Google is your friend.

hajj_3
9th February 2009, 16:19
i was on about purevideo, it isnt included in nvidia drivers is it? it didnt used to be atleast. NVIDIA PureVideo Decoder 1.02.233 is an installer i have which allows video players like powerdvd to use the gpu to playback videos so that it uses less of your cpu. Isnt this what DGMPGDec uses?

what are the differences between the 2 different options "single rate" and "double rate", which should we choose?

Guest
9th February 2009, 16:28
i was on about purevideo, it isnt included in nvidia drivers is it? Yes it is.

it didnt used to be atleast. NVIDIA PureVideo Decoder 1.02.233 is an installer i have which allows video players like powerdvd to use the gpu to playback videos so that it uses less of your cpu. Isnt this what DGMPGDec uses? No.

what are the differences between the 2 different options "single rate" and "double rate", which should we choose? Single rate is deinterlacing. Double rate is bobbing.

nixo
9th February 2009, 18:21
A small thing: When I open DGMPGIndexNV.exe and select 'Disable Display', then open a vid, and then deselect 'Disable Display', I get a crash. Only seems to happen when I do things in that order, though.

--
Nikolaj

Guest
9th February 2009, 18:36
Turns out when demuxing with DGIndex I kept losing the first 10 frames of the vob. OK, I have this fixed and will release it this evening.

And thanks for your "disable display" bug report too. I will fix it.

rica
9th February 2009, 23:47
neuron,
Are you too fast or am i too slow to catch you ? :)

rebelvigilante
10th February 2009, 07:09
I keep running into an error trying to run the included DGIndex- Missing License File... I'm attempting to use a .m2v I demuxed utilizing my regular DGIndex for testing purposes... am I just doing something wrong?

:edit:

Apparently I need to donate :o oops- I guess I'll be back this again once I find work and pay off the utilities

Audionut
10th February 2009, 09:59
Sweet, thanks Don.

Inventive Software
10th February 2009, 12:39
Yet another excuse for me to get an NVIDIA card. Won't happen for a while yet (poor student, money has different priorities). Nice work Donald. :)

laserfan
11th February 2009, 00:06
I noticed today that you include CUVID Server 1.04 with DGMPGDecNV, but still have zipped the older 1.03 with AVC and VC1 versions. Is this an oversight, or should I NOT be using 1.04 for all 3 of your apps (I currently have 1.04 in its own directory and launch it for any of the three)?

Guest
11th February 2009, 00:33
Always use the latest version of the CUVID server and nvcuvid.dll.

I'll have to think about packaging some more.

kebulek
11th February 2009, 01:23
How important is updating that "win\system32\nvcuvid.dll" file? I forgot to update it with every new DGxxxNV versions... :/

Guest
11th February 2009, 03:02
How important is updating that "win\system32\nvcuvid.dll" file? You could miss out on bug fixes. Try not to forget.

Guest
13th February 2009, 04:02
Here is the second test version. I'll release this if there are no big problems found.

http://neuron2.net/dgmpgdecnv/dgmpgdecnv100b.zip

~bT~
13th February 2009, 13:11
^ i notice u have included dgdecode.dll with this release, is this intentional?

Guest
13th February 2009, 14:22
Oops. Please re-download it. Thank you.

kebulek
13th February 2009, 15:59
From DGAVCIndexNV thread:
2. Fixed blocking on seeks with deinterlace=1.

@neuron: Did you fix this also in DGMPGIndexNV? I notice that in VDub few days ago, when I was seeking. And when i played same .avs in MPC, everything was fine. I'm in work right now, so I can't check new version. :)

Guest
14th February 2009, 01:02
Everybody please re-download 1.0.0b. It had a bad bug in DGMPGDecodeNV.dll.

blubberbirne
15th February 2009, 21:04
Deinterlacing don't work for me. The encoded File stutter. Framerate is only 29,87 and not 29,97 after encoding.
If i use yadif for deinterlacing, everythink is fine.

Guest
16th February 2009, 02:58
I can't help you without a source stream to allow me to duplicate your issue.

lpm
16th February 2009, 04:50
Using 1.0.0b (with NVidia GeForce 8500 GT on XP SP3 32-bit)

Your work rocks... the new tool seem to be working great functionally for me but there are glitches. Decoding works but is choppy and slow when frameserving with AVISynth... This is only with the new MPGSource, I get great performance when frameserving AVC with DGAVCDecNV. I will try to put together a reproducible test case but it looks like I'm not the only one experiencing so you might have one already.

One regret: so far MPGSource() doesn't take the "info" parameter and passes no hints by default so the ColorMatrix() filter can't automatically decide what to do if chained next.

A side suggestion: Today there are different command line syntaxes and AVISynth syntax variations between all the DG*Dec tools. How about merging all the tools (DGMPGDec, DGAVCDec, DGVC1Dec, DGMPGDecNV, DGAVCDecNV) into a single binary at some point - and a single AVISynth function - with the NV features enabled as a switch, and of course only when the required hardware/license are present? That would be awesome.... not a major requirement but a nice-to-have at some point.

blubberbirne
16th February 2009, 09:15
I can't help you without a source stream to allow me to duplicate your issue.

i will upload a small sample file later this evening (german time)

EDIT:

Here is the Sample: http://rapidshare.com/files/198874638/sample.rar

it also includes 2 Encodes. One with Cuda Deinterlace and the other one with Yadif.

i use this script for encoding...


loadplugin("DGMPGDecodeNV.dll")
#Load_Stdcall_plugin("yadif.dll")
mpgsource("sample.dgm", deinterlace=1)
#Yadif(2,1) #software-deinterlace
crop(2,0,1914,1076)#Temp
spline36resize(1280,720) #Temp