digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth slow after TMPG encoding? (http://www.digitalfaq.com/archives/avisynth/4000-avisynth-slow-after.html)

MrTibs 06-15-2003 09:33 PM

Avisynth slow after TMPG encoding?
 
My computer has developed a strange problem. After encoding with TMPG, avisynth is very slow. For example, the first sample encode would take 8 minutes, the second would take 22!

I've tested loading the avs script into Vdub and the script is just as slow in there. In order to "fix" the problem, I need to reboot.

This problem began when I installed avisynth 2.5. I've since un installed it and re-installed 2.08. Anyone heard of this problem?

kwag 06-15-2003 10:09 PM

"snif" "snif", smells like a memory leak :!:
sh0dan, are you around :!:
I experienced the same thing the other day, after running my machine for about 3 days without a reboot. I'm on XP SP1 Professional.
@sh0dan,
"Don't try to follow (debug) the null pointers, as you'll wind up in a nut house" :mrgreen: ( Just an old programming joke ;) )

-kwag

sh0dan 06-16-2003 02:20 PM

Shutting down the app. that uses AviSynth should kill all remains of it.

MrTibs 06-16-2003 02:26 PM

You would think but...no. It seems that it only happens when I encode with TMPG. If I load the avs script with Vdub or TMPG without encoding, everthing is fine.

If there a patch for TMPG that allows it to open avs scripts? Could avitynth 2.5 have replaced the "patch"?

kwag 06-16-2003 02:29 PM

AviSynth 2.52 is 2fast and 2furious for TMPEG :mrgreen:

MrTibs 06-17-2003 08:22 AM

I fixed the problem by downloading and installing a new copy of "readavs.dll" into the TMPGenc directory.

Grantman 06-17-2003 07:34 PM

Known issues with MPEG & AVI files...
 
It could also be one of the known issues with Windows XP and media files. (Specifially MPEG or AVI files).

If you have opened Windows Explorer to access files at anytime while your computer was running without a reboot it may explain the issue.

When you access a directly in Windows Explorer the operating systems reads each file and actually accesses information about the file. There is something strage about some MPEG & AVI files that causes Windows Explorer to keep attached to the files (and keep allocating memory/cpu). This can cause an inability to delete the file or a slowdown in other applications accessing similar files.

I have seen a patch on the Microsoft Knowledge Base for specific Divx files but you can search the net and see that the problem is wide spread.

Even if you close Windows Explorer you can still see "Explorer" in the task list with a strangely high memory count. Killing Explorer and rerunning it does not do the trick.

A reboot does.

However, if you DO NOT open Windows Explorer and just run TMPGEnc you will not see such a slow down on a 2nd encode.

(At least that has been my direct experience).

I actually use a 2nd computer to access files via my network to work around this issue on my encoding machine. The keeps the need to reboot down.

Hope this is helpful. (Like anything it may also be some completely other issue!! 8) )

Grantman

MrTibs 06-18-2003 09:56 AM

@Grantman

Thanks for your post. The issue I encountered is on Win98 but I am doing more and more video work on XP so your post is a great heads up.

<RANT>Everytime MS introduces a "new" OS, we techies have to spend months finding solutions to the new "features". The novelty of this cat and mouse game has long worn off.</RANT>

Grantman 06-18-2003 07:04 PM

I am no Microsoft cheerleader...
 
I have as many issues with Microsoft as anyone but this one is not as much their fault as others.

I have found various levels of trouble based on the codec installed. With all the versions of DivX, MPEG2 and hybrid MPEG floating around I find that one week to the next I have varying levels of issue.

Since I have started working on files from my ReplayTV I have had more problems. It requires an MPEG2 codec I was not previously using.

I have found too many bugs in the Nimo codec pack but there are a couple of things missing from the Multimedia Essentials codec pack.

So I usually install several by hand and will install over each other depending on what I am working on.

Now... if Microsoft just provided an MPEG2 & Divx codec with Windows (that was as clean as the codecs for their crap media formats)...

It would make things easier.

KWAG :?:

It might make sense to create a forum dedicated only to codecs with links to downloads. The versions change quickly and it is basically impossible to install EVERYTHING correctly once.

Just an idea. :idea:


Grantman
Grantman

kwag 06-18-2003 07:16 PM

Re: I am no Microsoft cheerleader...
 
Quote:

Originally Posted by Grantman

KWAG :?:

It might make sense to create a forum dedicated only to codecs with links to downloads. The versions change quickly and it is basically impossible to install EVERYTHING correctly once.

Just an idea. :idea:

I've added two CODEC forums. One on the Video category, and one on the Audio category. ;)

-kwag


All times are GMT -5. The time now is 05:04 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.