Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > DVD2AVI / DGIndex

Reply
 
Thread Tools Search this Thread Display Modes
Old 23rd August 2010, 03:32   #2461  |  Link
elguaxo
Registered User
 
elguaxo's Avatar
 
Join Date: Jun 2006
Posts: 260
Quote:
Originally Posted by hydra3333 View Post
Well, yes, spatially, although not the temporal (and probably most useful) aspect per Didee's finding ... I suspect chopping up a frame into fragments for individual threading (which is what MT does) may not be all that happy a choice in a number circumstances.
Try it with a big enough overlap. Filters like TempGaussMC for example work great with an overlap of 16.
elguaxo is offline   Reply With Quote
Old 23rd August 2010, 03:54   #2462  |  Link
hydra3333
Registered User
 
Join Date: Oct 2009
Location: crow-land
Posts: 540
Could do. Spatial MT can be a tad difficult to code with lots of filters, and possibly not go well with motion compensation and the likes of MDepan.

I'm hoping neuron2 may come back with some good news, as "simple" multi-threading is a direction everyone is heading.
hydra3333 is offline   Reply With Quote
Old 23rd August 2010, 06:59   #2463  |  Link
Clumpco
Registered User
 
Clumpco's Avatar
 
Join Date: Sep 2006
Posts: 82
Quote:
Originally Posted by neuron2 View Post
Why would I jump on you? You've been very helpful to me in the past by your testing and reporting of issues. You're the kind of guy I want to keep real happy.
Aww gee shucks

Quote:
Originally Posted by neuron2 View Post
You want DGIndexNV to output a D2V file? Hmm, that cannot be done as the formats are quite different.
OK I get that

Quote:
Originally Posted by neuron2 View Post
Hasn't anybobody gotten the DGNV tools to work with those programs? I would send manono a PM. He's my johnny on the spot for anything (A)GK.
Cheers for the info, I will do.

Quote:
Originally Posted by neuron2 View Post
Anyway, if you make a D2V file, that would imply you want to use mpeg2source() (the DGMPGDec source filter). What would you gain from DGNV, given that indexing is not done on the GPU?
Aha, a very valid point that I had missed (see now why I was scared of being jumped upon?)

Quote:
Originally Posted by neuron2 View Post
If DGNV can't be used with (A)GK, maybe you can wean your community friends onto a more recent, still supported tool, like MeGUI, that is known to work with the DGNV stuff.
This would indeed be probably the best option.

Thanks for everything!
Clumpco is offline   Reply With Quote
Old 23rd August 2010, 09:58   #2464  |  Link
LeXXuz
21 years and counting...
 
LeXXuz's Avatar
 
Join Date: Oct 2002
Location: Germany
Posts: 716
I noticed some flickering in one of my latest encodes and after investigating this, I noticed a difference between DGIndex and DGIndexNV handling erroneous frames in the source material.

While DGIndex shows only a small distortion in that frame (notice the shifted macro block line in the lady's hat to the left):



DGDecNV seems to refuse to decode the rest of that frame. What is shown in the bottom part in the Avisynth preview window is the picture from where I jumped to the erroneous frame 11087:



This is what happened during frameserving this to x264. I think the rest of that frame belong to the first frame of that GOP:




EDIT: Switched Image Hoster. Pictures should work now.

Last edited by LeXXuz; 23rd August 2010 at 13:26.
LeXXuz is offline   Reply With Quote
Old 23rd August 2010, 12:11   #2465  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,391
Yesterday, by accident I found the following: (Under Windows 7,) if you have DGindexNV registered and running, then happen to install the dotNET 1.1 framework (needed to install another older piece of software), then DGIndexNV will welcome you with "invalid licence", requiring to generate a fresh license key.

Dunno if it has been mentioned before, this thread is very long.


@ elguaxo
> Try it with a big enough overlap. Filters like TempGaussMC for example work great with an overlap of 16.

Still, SetMTmode is preferable. overlap=16 is the bare minimum to avoid noticeable artifacts. Quality-wise, I'd go with 32. But that's the crux of spatial MT: the overlap is increasing the spatial area that a filter has to work on. Example:

MT() with 4 Threads, overlap 16, on 480i/p content: 20% more area
MT() with 6 Threads, overlap 32, on 720p content: 33% more area

I'm going to make some tests later, but ... 20 to 30% more frame area for MVTools to process, compared to 10-15% (15-20%) CPU usage for *CPU* decoding of 720p (1080p) streams on my i860 ... that's not a promising figure. These simple numbers suggest that the overhead of MT is bigger then what possibly can be saved by offloading the decoding to GPU.
__________________
- We´re at the beginning of the end of mankind´s childhood -

My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!)
Didée is offline   Reply With Quote
Old 23rd August 2010, 12:34   #2466  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
EDIT: Uhm. Why are the thumbnails/links not showing???
Your links are dead. I cut them and paste into a browser and nothing shows.
Guest is offline   Reply With Quote
Old 23rd August 2010, 13:25   #2467  |  Link
LeXXuz
21 years and counting...
 
LeXXuz's Avatar
 
Join Date: Oct 2002
Location: Germany
Posts: 716
Quote:
Originally Posted by neuron2 View Post
Your links are dead. I cut them and paste into a browser and nothing shows.
You're right. It seems Imagebanana has some problems. All recent uploads are blanc. However, it should work now with Imageshack.
LeXXuz is offline   Reply With Quote
Old 23rd August 2010, 13:57   #2468  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by LeXXuz View Post
I noticed some flickering in one of my latest encodes and after investigating this, I noticed a difference between DGIndex and DGIndexNV handling erroneous frames in the source material.
It looks like different error recovery in the decoders. Can you post a segment of the source that includes this, so that I can investigate and ask nVidia about it? Thank you.
Guest is offline   Reply With Quote
Old 23rd August 2010, 13:59   #2469  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by Didée View Post
Yesterday, by accident I found the following: (Under Windows 7,) if you have DGindexNV registered and running, then happen to install the dotNET 1.1 framework (needed to install another older piece of software), then DGIndexNV will welcome you with "invalid licence", requiring to generate a fresh license key.
It must have changed the info returned by the system call I use. No big deal, I suppose, because you can simply make a new license.
Guest is offline   Reply With Quote
Old 23rd August 2010, 15:17   #2470  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,781
Quote:
Originally Posted by LeXXuz View Post
I think it's not. MeGUI sets the wrong SAR to x264. The aspect ratio of the output is slightly too small and the picture looks slightly narrowed in width. With DGIndex everything is fine.

EDIT: It is the DAR Megui is having trouble with. Sorry for any confusion.

Just opened a 16:9 anamorphic encode and MeGUI sets DAR to 1,25 instead of ITU 16:9 PAL. As a result, x264 encoder is fed with SAR setting of 5:4 instead of 31:17 as it should.
Never feed MeGUI with a manually made script if you try to encode anamorphically. You must use the "Clever AR" feature of the integrated AviSynth Script builder. Or insert the required global AviSynth variables too:

PHP Code:
global MeGUI_darx 16
global MeGUI_dary 
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 23rd August 2010, 15:42   #2471  |  Link
LeXXuz
21 years and counting...
 
LeXXuz's Avatar
 
Join Date: Oct 2002
Location: Germany
Posts: 716
Quote:
Originally Posted by LigH View Post
Never feed MeGUI with a manually made script if you try to encode anamorphically. You must use the "Clever AR" feature of the integrated AviSynth Script builder. Or insert the required global AviSynth variables too:

PHP Code:
global MeGUI_darx 16
global MeGUI_dary 
Please read the rest of my posts. That was not the issue. I always use "Clever AR" for anamorphic encodes. However, when MeGui does not detect the correct source AR, "Clever AR" is useless as well.
LeXXuz is offline   Reply With Quote
Old 23rd August 2010, 16:26   #2472  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
I just tried to shrink a DVD with Procoder. It crashes right away (something nvcuda.dll) when I load the script with the DGDecodeNV source filter. Works fine with the normal DGDecode.

Could this be the same problem that crashed HCEnc, Don?
Groucho2004 is offline   Reply With Quote
Old 23rd August 2010, 17:46   #2473  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Could also be the problem I had, opening AVS with avifile API, reading some parameters like frame rate, image size etc. and then closing without reading a frame/image, you always have to read a frame/image before you close. I don't know why but DGDecNV is the only decoder that requires this, maybe neuron2 knows more, it was easy to workaround for me, just took me a while to figure out why it was crashing all the time.
stax76 is offline   Reply With Quote
Old 23rd August 2010, 17:49   #2474  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Could be either one. I don't have Procoder so I don't know.
Guest is offline   Reply With Quote
Old 23rd August 2010, 22:12   #2475  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by stax76 View Post
Could also be the problem I had, opening AVS with avifile API, reading some parameters like frame rate, image size etc. and then closing without reading a frame/image, you always have to read a frame/image before you close.
Yes, I had the same problem and came to the same conclusion. Unfortunately, this doesn't help me with the Procoder problem.

Luckily there is DGDecode so I have an alternative, albeit a slower one.
Groucho2004 is offline   Reply With Quote
Old 23rd August 2010, 23:01   #2476  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Are you confusing DGSource with MPEG2Source? There is DGSource of DGDecNV, AVCSource of DGAVCDec and MPEG2Source of DGMPGDec, if you mean DGMPGDec, for SD there is not much gain since it don't take much CPU time or do you have HD MPEG-2? ffms2 is a little bit faster then DGMPGDec, it's also handy if you have a MKV container from MakeMKV or from eac3to.

Last edited by stax76; 23rd August 2010 at 23:04.
stax76 is offline   Reply With Quote
Old 23rd August 2010, 23:07   #2477  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by stax76 View Post
Are you confusing DGSource with MPEG2Source?
No. I was referring to the names of the DLLs.
Groucho2004 is offline   Reply With Quote
Old 23rd August 2010, 23:23   #2478  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
OK, then I was confusing something.
stax76 is offline   Reply With Quote
Old 24th August 2010, 03:06   #2479  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
Quote:
Originally Posted by LeXXuz View Post
Please read the rest of my posts. That was not the issue. I always use "Clever AR" for anamorphic encodes. However, when MeGui does not detect the correct source AR, "Clever AR" is useless as well.
When MeGUI does not detect the source AR you can specify it manually selecting the correct AR from the dropdown list (in avs script creator).
Sharktooth is offline   Reply With Quote
Old 25th August 2010, 05:47   #2480  |  Link
AlekseiV
Registered User
 
Join Date: Jan 2010
Posts: 92
I just bought this, and is there any way to make it crash less?
I can't analyze any files in MeGUI's script creator. The indexer works, and the AVS Script Creator opens and shows the video, but hitting Analyse nearly instantly causes a crash. It very, very rarely can get through a whole video.
If I manually set up the AVS, even loading it into MeGUI (or MeGUI x64, or StaxRip) will crash them.

I can't encode using anything but feeding a hand-made AVS into the pure x264.exe. That works great, though.

My sources are a variety of files that have nothing in common, so I'm assuming it's a problem with either DGNV or maybe my hardware/drivers.
The crash is associated with "nvcuda.dll"

(Lenovo Thinkpad W510 with a Quadro FX880M, based on the GT216, 258.96 drivers)
AlekseiV is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 19:10.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.