Hello,
this option seems to be off by default and 2-pass encoding still works.
So what happens when you turn it on? I've never found a decent explanation of this -
I was wondering if anybody here knew.
![]()
+ Reply to Thread
Results 1 to 9 of 9
-
-
I haven't used TMPGEnc for a while, but it probably permanently saves the 'stats' file from the first pass of a two pass encode. The first past checks the video and sets the variable bitrate for the different parts of the video. The file is probably dumped normally when the program is closed.
Just guessing, though. -
I think you are right it does save the stats file - but what for?
Is there something you can do again later, that will reuse that stat file? What? -
It does much more than just save the stats file. It saves all motion vector analysis so it doesn't have to do it again during the second pass. It makes the second pass much faster. The temp files are deleted when the rendering is complete.
-
Thanks redwudz/jagabo
It's only to speed up the 2nd pass? Based on what I've seen, it fits.
Explains why 2-pass vbr still works without it.
Appreciate it,
Dave
EDIT - I may have spoken too soon.
I encoded a short clip with and without this cache, and the run times were identical,
down to the second. The mystery continues. -
On my system the second pass is more than 6 times faster with the cache enabled (depending on the motion search precision setting). On a small sample video the first pass (analyzing) took 128 seconds with cache disabled or enabled. The second pass took 129 seconds with the cache disabled, 20 seconds with the cache enabled. There's no mystery at all for me. I have the cache set to 8000 MB.
-
Originally Posted by jagabo
The PC is modest, AMD X2 4200 @ 2.2 GHz.
I selected a 3 minute clip using the cut/edit tool. All the settings are at default.
It took 5 minutes 6 seconds (3 minutes first pass) with the cache enabled, and
5 minutes 22 seconds with the cache disabled. So there's some difference,
but nowhere near what you are seeing. -
How much faster it will be depends on the motion search precision setting you are using. The more motion search the program does the more time the encoding takes, and the more time you will save by using the cache. For the above test I was using TMPGEnc Plus 2.5. I was using the highest quality (slowest encoding) motion search precision setting. Total encoding times in seconds:
MSP setting: no cache, cache:
lowest quality (very fast): 38, 38
normal: 41, 39
high quality (slow): 99, 68
highest quality (slowest): 257, 148
Note that there will also be differences depending on the actual video content. When there's no motion and no noise the encoder can decide very quickly that it doesn't need to do any searching. If the video is noisy or has lots of motion it will spend a lot of time looking for motion vctors. I was using some handheld camcorder footage with a lot of motion and a bit of noise.
By the way, just as a comparison, HcEnc took only 30 seconds to encode the same video at its "Best" setting with results comparable to TMPGEnc's highest quality setting. -
Thanks jagabo,
That's great info. My setting was at standard, I hadn't tried the HQ settings.
Interesting that you mentioned HCEnc. One of the reasons I installed Tmpg 3.x was to do
a comparison to it. I had run an encode in AvsToDvd - which uses HCenc. The source was average
at best,and I wanted to see if I could get a better result using Tmpg 3.x.
I took the AviSynth script created in AvsToDvd and opened it in Tmog 3. One thing about
this product, the vfapiserver/directshow multimedia file reader is enabled by default and it's used when the
avisynth script is opened. But watching it run in task manager, tmpg itself is using 65% cpu, while vfapiserver.exe
is using 35%.
I stopped it and disabled vfapiserver. Now, the cpu consumed was 98% in Tmpg 3.x and encode times at least
30% quicker. According to the program source info, the "avi file reader" is being used now.
It doesn't seem to be any quicker than 2,5, but perhaps I haven't played around with it enough yet.
Similar Threads
-
Getting the best results from TMPGEnc 2.5 on 2 AVIs
By buddycat in forum Video ConversionReplies: 28Last Post: 7th Nov 2010, 17:30 -
TMPGEnc advanced settings for best quality results
By tdavid232 in forum Video ConversionReplies: 1Last Post: 15th May 2008, 18:02 -
2 Pass VBR Problems in TMPGEnc
By Rez. in forum Video ConversionReplies: 0Last Post: 19th Dec 2007, 11:16 -
mpeg 4 realtime bitrates vs multipass mpeg-2 VBR
By miamicanes in forum Capturing and VCRReplies: 5Last Post: 9th Sep 2007, 21:37 -
DVD Rebuilder Pro & CCE in Multipass VBR mode
By devnulllore in forum Newbie / General discussionsReplies: 12Last Post: 30th Jul 2007, 09:04