Quantcast Avisynth Slow After TMPGEnc Encoding? - digitalFAQ.com Forums [Archives]
  #1  
06-15-2003, 09:33 PM
MrTibs MrTibs is offline
Free Member
 
Join Date: Aug 2002
Location: Canada
Posts: 200
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
06-15-2003, 10:09 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
"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" ( Just an old programming joke )

-kwag
Reply With Quote
  #3  
06-16-2003, 02:20 PM
sh0dan sh0dan is offline
Free Member
 
Join Date: Mar 2003
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Shutting down the app. that uses AviSynth should kill all remains of it.
__________________
Regards, sh0dan // VoxPod
Reply With Quote
  #4  
06-16-2003, 02:26 PM
MrTibs MrTibs is offline
Free Member
 
Join Date: Aug 2002
Location: Canada
Posts: 200
Thanks: 0
Thanked 0 Times in 0 Posts
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"?
Reply With Quote
  #5  
06-16-2003, 02:29 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
AviSynth 2.52 is 2fast and 2furious for TMPEG
Reply With Quote
  #6  
06-17-2003, 08:22 AM
MrTibs MrTibs is offline
Free Member
 
Join Date: Aug 2002
Location: Canada
Posts: 200
Thanks: 0
Thanked 0 Times in 0 Posts
I fixed the problem by downloading and installing a new copy of "readavs.dll" into the TMPGenc directory.
Reply With Quote
  #7  
06-17-2003, 07:34 PM
Grantman Grantman is offline
Free Member
 
Join Date: Sep 2002
Location: Northfield, IL
Posts: 102
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Grantman Send a message via AIM to Grantman Send a message via MSN to Grantman Send a message via Yahoo to Grantman
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!! )

Grantman
Reply With Quote
  #8  
06-18-2003, 09:56 AM
MrTibs MrTibs is offline
Free Member
 
Join Date: Aug 2002
Location: Canada
Posts: 200
Thanks: 0
Thanked 0 Times in 0 Posts
@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>
Reply With Quote
  #9  
06-18-2003, 07:04 PM
Grantman Grantman is offline
Free Member
 
Join Date: Sep 2002
Location: Northfield, IL
Posts: 102
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Grantman Send a message via AIM to Grantman Send a message via MSN to Grantman Send a message via Yahoo to Grantman
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.


Grantman
Grantman
Reply With Quote
  #10  
06-18-2003, 07:16 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
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.
I've added two CODEC forums. One on the Video category, and one on the Audio category.

-kwag
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Script slow? Jimblob Avisynth Scripting 7 03-30-2004 06:46 PM
Encoding: RGB to YUY2 is very slow? TLTw Video Encoding and Conversion 2 06-18-2003 12:52 PM
Slow encoding - Is this the norm? vdermerwedz Video Encoding and Conversion 10 06-07-2003 10:11 PM
Avisynth: New Script seems to be slow Jellygoose Avisynth Scripting 8 06-03-2003 05:58 AM
Avisynth: AVS + TMPG yields no image? muaddib Avisynth Scripting 5 06-19-2002 06:10 PM

Thread Tools



 
All times are GMT -5. The time now is 08:26 PM  —  vBulletin Jelsoft Enterprises Ltd