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 9th July 2010, 01:35   #1981  |  Link
RedDwarf1
RedDwarf Fan
 
Join Date: Jun 2005
Location: United Kingdom
Posts: 198
I've noticed that when using DGMultiSource in both AvsP and MeGUI, GPU memory never gets released until the application is closed. Selecting release all videos from memory in AvsP doesn't free GPU memory, only closing the tab or AvsP releases the memory.

If I open a video using AvsP and resize the window to x2, it uses more memory, if I then resize it again either up to x3 or back to x1, more memory is used and so on and so on until the only option is to close AvsP or the tab (script) to release the memory. That's very inconvenient when looking through a video file.

I wasn't certain whether this was purely an AvsP problem but the fact I experienced similar things with MeGUI suggests it's not.

My Video card has 1GB of memory so I have more room for such memory leaks than some but it still gets very severe.
RedDwarf1 is offline   Reply With Quote
Old 9th July 2010, 02:45   #1982  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by dgeise View Post
Is there any chance you could support other vendors' GPU products, either by a separate decoder stack or bu using platform-neutral CUDA coding techniques?
If and when the other vendors expose an API for video decoding, it becomes a possibility. That is not the case at this time.

Consider running a secondary Nvidia card only for decoding alongside your main ATI card (if that is what you decide upon).
Guest is offline   Reply With Quote
Old 9th July 2010, 02:46   #1983  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
Quote:
Originally Posted by dgeise View Post
Hi Don,

I was wondering- the changes to your API function naming scheme seem to be opening a window for supporting 'other' <whisper> non-nvidia </whisper> video cards in the future.

The reason I ask is that I'm starting to look into buying a new computer, and the ATI video cards look to be a better deal from a price/performance/power perspective.

I'm pretty well hooked on your video processing tools, which makes it difficult to switch to different hardware. Your answer may somewhat influence my purchasing decisions, so I'll ask it right out.

Is there any chance you could support other vendors' GPU products, either by a separate decoder stack or bu using platform-neutral CUDA coding techniques?

Since this may be of general interest, I'm asking here on the forum.

Thanks & as always keep up the fantastic work-
- a big fan
CUDA is proprietary, hence supported by nvidia only.
The most probable and logical change would be moving toward OpenCL (that is also very similar to CUDA), but im not Donald, so i dont know what he wants to do and if it is doable.
That said, you should wait for an "official" answer from Donald.

Edit: he was faster than me... so you have your answer.
Sharktooth is offline   Reply With Quote
Old 9th July 2010, 03:59   #1984  |  Link
dgeise
Registered User
 
Join Date: Feb 2009
Posts: 7
ignorance is bliss

thanks for the responses.

maybe I'll stick with nvidia GPUs for the next iteration after all.
dgeise is offline   Reply With Quote
Old 9th July 2010, 06:38   #1985  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,564
Quote:
Originally Posted by neuron2 View Post
Consider running a secondary Nvidia card only for decoding alongside your main ATI card (if that is what you decide upon).
How far is your card selection feature going?
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 9th July 2010, 11:15   #1986  |  Link
kebulek
Registered User
 
kebulek's Avatar
 
Join Date: Oct 2008
Posts: 40
Quote:
Originally Posted by kebulek View Post
I've done some testing today and that bug occurs only with DGSource(...) and CUVIDserver. With DGMultiSource is everything OK.

Green frames show up after frame 744+.
Looks like I was wrong. I've encoded whole movie with DGMultiSource and at the end there are 2 bad repeating frames. But before encoding, I didn't see them in VDub...

MKV Sample (2MB)
kebulek is offline   Reply With Quote
Old 9th July 2010, 14:20   #1987  |  Link
OK
Registered User
 
Join Date: Jun 2010
Posts: 2
about "__aud__"

Hello,neuron2

I can't get a string of audio path by using "__aud__".

This situation have been continuing since dgdecnv2015.

I couldn't get dgdecnv2014, so I still use dgdecnv2013.

Dgdecnv2013 is fine, about the situation.

Please check it.

I attached an avs file about the situation.
Attached Files
File Type: zip template_deinterlace2.zip (692 Bytes, 31 views)
OK is offline   Reply With Quote
Old 9th July 2010, 15:05   #1988  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by kebulek View Post
Looks like I was wrong. I've encoded whole movie with DGMultiSource and at the end there are 2 bad repeating frames.
I'm aware of it because I saw it with your previous sample, even though you said it didn't happen!

Investigating. Use trim until I release a fix. It only happens in some cases at end of file.
Guest is offline   Reply With Quote
Old 9th July 2010, 15:12   #1989  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by OK View Post
I can't get a string of audio path by using "__aud__".
Duplicated. Will fix for next release. Thanks for your report.
Guest is offline   Reply With Quote
Old 10th July 2010, 02:50   #1990  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by tormento View Post
How far is your card selection feature going?
It's written on a piece of paper called my "to-do list".

@all

We have good news on the memory leak problem. Nvidia came through yet again in a fabulous manner. My secret contact O told me how to use "floating contexts" to dissociate the CUVID object creation/deletion from the invoking threads. Without that it didn't work because the creation and deletion was done from different threads, which was virtually forced upon me by the Avisynth architecture.

Now I can hit F2 in VirtualDub until the cows come home.

Say your goodbyes to the CUVID Server. He has served us well but must now move on to the quantum vacuum. May he serve in peace.

A test version is imminent.

@OK

Your bug is fixed.

@kebulek

You're up next.
Guest is offline   Reply With Quote
Old 10th July 2010, 03:17   #1991  |  Link
Lyle_JP
Unreasonable User
 
Lyle_JP's Avatar
 
Join Date: Nov 2003
Posts: 216
WooHoo! This memory leak was my biggest complaint as well, though I never brought it up neuron2 because I was never sure if it wasn't Avisynth x64's fault.
Lyle_JP is offline   Reply With Quote
Old 10th July 2010, 08:16   #1992  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,564
If there will be no more MEGUI/VDub errors I think there should be another imminent donation
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 10th July 2010, 13:08   #1993  |  Link
kebulek
Registered User
 
kebulek's Avatar
 
Join Date: Oct 2008
Posts: 40
I've got another mystery - just made some testing with XviD and picture resizing directly with DGTools.

Code:
LoadPlugin("C:\Program Files\DGTools\DGMultiDecodeNV.dll")
DGMultiSource("E:\video.dgi", deinterlace=1, resize_w=624, resize_h=352).Trim(0,153290)
With this script, I'm able to open the .AVS only once in VD. Another try (with proper close and re-open) failed and VD freezed.

Code:
LoadPlugin("C:\Program Files\DGTools\DGMultiDecodeNV.dll")
DGMultiSource("E:\video.dgi", deinterlace=1).LanczosResize(624,352).Trim(0,153290)
With this script works everything fine.

So is there something wrong with internal resize or it's a VD bug?

Last edited by kebulek; 10th July 2010 at 22:39.
kebulek is offline   Reply With Quote
Old 10th July 2010, 22:35   #1994  |  Link
mikeyakame
lookin for my sanity
 
Join Date: Feb 2007
Location: it all depends on the day and which country comes to mind
Posts: 42
@Neuron2

That is awesome news about the memory leak being fixed! It definitely means no more need to use DGSource to prepare a video!
mikeyakame is offline   Reply With Quote
Old 11th July 2010, 02:45   #1995  |  Link
meatwad
Registered User
 
meatwad's Avatar
 
Join Date: Jun 2007
Posts: 106
Can someone using StaxRip 1.1.6 confirm that build 2019 is working fine with it? I'm having some problems getting it to work with it, but I'm pretty sure it's an error on my part somewhere.
meatwad is offline   Reply With Quote
Old 11th July 2010, 08:55   #1996  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,564
Quote:
Originally Posted by meatwad View Post
Can someone using StaxRip 1.1.6 confirm that build 2019 is working fine with it?
I jumped on MeGui wagon. I suggest you to do the same as it is much more complete and you can train to use it as in near future I suggest you to use the x64 version too. It is much faster and stable.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 11th July 2010, 10:17   #1997  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
I'm a bit at a loss here. Why do people use these buggy "GUIs" when the DG tools do (almost) everything for them already? All that has to be done in most cases is to feed the script into the encoder.

I'll try to keep my opinion about the "GUI designers" to myself, many of them don't know squat about programming that goes beyond putting some fancy dialogs together in Visual Basic.

So, what am I missing? Is it really so hard to create a batch file (considering the countless examples that can be found here on Doom9)?
Or is it about calculating the bitrate? Multiplexing?

Just curious.
Groucho2004 is offline   Reply With Quote
Old 11th July 2010, 12:06   #1998  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,564
Quote:
Originally Posted by Groucho2004 View Post
I'm a bit at a loss here.
Personally I edit the avs by hand BUT I can't remember every x264 switch I need AND I can't stay at home to manually wait to launch the next job.

To sum things up: create x264 command line and batch it. Stop.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 11th July 2010, 12:36   #1999  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
General discussion of GUIs is off topic here. Thank you.
Guest is offline   Reply With Quote
Old 11th July 2010, 12:57   #2000  |  Link
MOS-Marauder
Registered User
 
Join Date: Apr 2006
Posts: 134
Well if i prepare my Cue with MeGui (latest Dev Build and DGTools NV 2019) and DONT use Cuvid Server it crashes badly on after adding to cue and trying to create the 2nd AVS with the AVS Script Generator. DGMultiSource isnt yet working good. if i check "use Cuvid Server" all is working as expected.
Also.. if one AVS using DGMultisource is playing in Mediaplayer i cannot open another one (Cuvid Deode error, no video...crashing BOTH then)..


Edit: Ahem sorry for mentioning "the GUI".. but in fact it also happens w/o it...


Chris
MOS-Marauder 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:54.


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