Neat Video community Forum Index
www.neatvideo.com
Neat Video community
support - help - questions and answers - sharing experience and opinions - feedback - suggestions - backup contact
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

VirtualDub with NeatVideo plugin running out of memory?

 
Post new topic   Reply to topic    Neat Video community Forum Index -> Bugs, issues
View previous topic :: View next topic  
Author Message
AndCycle



Joined: 05 Mar 2012
Posts: 26

PostPosted: Wed Aug 08, 2012 3:17 am    Post subject: VirtualDub with NeatVideo plugin running out of memory? Reply with quote

I am just using VirtualDub with NeatVideo 3.2 to process my raw video,
it kicks out a message said,

--

Error!

Line: 253
Func: Malloc
Error: Neat Video (32 bit) cannot get free memory block from the operating system (or plug-in) host).
(1036800-byte memory block is requested from: 90f4ac53)

Please make more memory available for application and retry.

--

I can see the virtualDub using 1.5G memory in task manager,
I am not sure who is leaking inside, NeatVideo is the only filter I used,

after I hit ok the progress keeps running,
will this effect my final render result? or everything will be fine?
Back to top
View user's profile Send private message
jpsdr



Joined: 11 Aug 2008
Posts: 193

PostPosted: Wed Aug 08, 2012 7:36 am    Post subject: Reply with quote

What version of VDub ?
I've personnaly used VDub+NeatVideo a lot of time to process full HD video, on a PC under WinXP SP3 with 2Go of RAM without any issue.
It's the first time i see someone with memory issue with VDub.
What temporal radius ? (In my case i use 2). If i remember properly, during HD process, VDub used something around 700MB or less, in my case.

What codec do you use for you video ? (Input/output).
Back to top
View user's profile Send private message
AndCycle



Joined: 05 Mar 2012
Posts: 26

PostPosted: Wed Aug 08, 2012 6:51 pm    Post subject: Reply with quote

oops, sorry for missing the detail, I am trying different combination to locate the problem,
looks like this doesn't related to NeatVideo,

here is the original setup

source file is mov, Apple ProRes HQ, recorded by Atomos Samurai,
4hrs footage 1080 59.94i,
VirtualDub 1.9.11 (32bits) QuickTime.vdf by tateu,
NeatVideo 3.2, cpu only, interlace mode, radius=5,
video compression is x264vfw_37_2200,
audio direct copy,
target for single pass qp=0 keep color space lossless.avi

I am currently test this,

VirtualDub 1.10.2-AMD64, FFInputDriver 0.7,
x264vfw64 same version, same filter and setup,

have to wait it for a day to see the memory usage,

even if it's still leaking, I think it can survive this time,
because last time 32bits setup crashed with 1.6GB at 20% progress,
64bits with 8GB is enough for it to get over with this issue, for now.
Back to top
View user's profile Send private message
jpsdr



Joined: 11 Aug 2008
Posts: 193

PostPosted: Thu Aug 09, 2012 7:28 am    Post subject: Reply with quote

I think the issue is that you may be doing too much things in the same operation : Filter (high CPU & memory usage) + x264 encode (idem).
Personnaly, i separate steps, for a lot of reasons. One of them, is that if you need to redo the x264 encode, you don't need to the filtering.
My advice (what i'm personnaly doing when working on video) : Save the filtered file, or more precisely, the final result just before encoding (so with all the video processing you have to do) in a lossless YV12 format.
The only codec i know (but maybe there is others) which produce YV12 and works both on x86 and x64 are "Lagarith" or "UT Video". Lagarith give a little better compression (around 10%), but is 3 times slower than UT Video.
This will create a file of around 300GB i think.
Also, radius 5 is high, and will use more memory than 2 that i personnaly use... Better reason i think to separate steps...
Back to top
View user's profile Send private message
AndCycle



Joined: 05 Mar 2012
Posts: 26

PostPosted: Fri Aug 10, 2012 8:34 am    Post subject: Reply with quote

thanks for your advice Smile
Back to top
View user's profile Send private message
JClement



Joined: 01 Oct 2012
Posts: 1

PostPosted: Tue Oct 02, 2012 12:13 am    Post subject: Reply with quote

This leak is about 22kbytes/frame for a conventional VHS video. I did a test with 5 hoggish filters in a row. They increased the memory initially, but after that the memory stayed about the same. By contrast Neat Video kept on increasing the memory.

OK, it is possible to do the video in segments, but no filter should cause memory to increase so you run out in a 2hour NTSC video. So far support is stonewalling it.

OK, I can use the 64bit version, but then I lose most of the other useful filters which means I have to save intermediate results. If I wish to prevent degradation I need to use a nonlossy format which gobbles disk space. I do not consider this to be a reasonable solution.
Back to top
View user's profile Send private message
NVTeam



Joined: 01 Sep 2005
Posts: 2237

PostPosted: Tue Oct 02, 2012 11:14 am    Post subject: Reply with quote

Thanks for sending the profile and settings to support. We have been trying to reproduce the problem using a 2.5GB clip file, NV v3.2 Home plug-in, both 32-bit and 64-bit versions, but so far the problem is not reproducible:
- there is no increase in reported memory usage in the 64-bit version;
- there is no increase in reported memory usage in the 32-bit version.

We did try to run a video analysis pass as well.

Need some help to reproduce the problem. Please advise.

Thank you,
Vlad
_________________
Neat Video team
noise reduction for video and photos
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Neat Video community Forum Index -> Bugs, issues All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group