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 > Capturing and Editing Video > VirtualDub, VDubMod & AviDemux

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th September 2012, 21:42   #1  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,750
Documentation for "Video filter process-ahead"

I'm using VirtualDub 1.10.2 on a 12-core workstation. I am pained to see it running mainly on a single thread when reading from an .avs file (only filter applied is GradFun2DBmod). It is depressing to see CPU in Task Manager sit there bouncing between 4-5%...

I've got Preferences>Threading set up as
Code:
Video compression threads=1
Video filter threading=Auto
Video filter process-ahead=1
I know that Video compression threads=1 allows the encoder to run in a separate thread.

Video Filter Threading=Auto would speed things up if I was using multiple filters, which I'm not

However, I've not been able to find ANY documentation on "Video filter process ahead." My best guess is that, ala After Effects, it'll request multiple future frames when they're non-deterministic, so they can be rendered in parallel. Which is exactly what I'd like to be happening.

However, different values don't seem to show meaningful differences in rendering speed. Could be that the .AVS file (or AVISynth overall) only renders frames serialized.

So, anyone know what this option really does, or have any other suggestions for how to speed things up?
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 6th September 2012, 22:12   #2  |  Link
Keiyakusha
契約者
 
Keiyakusha's Avatar
 
Join Date: Jun 2008
Posts: 1,576
Never noticed that option. Thanks for notifying, will give it a try.
As for your issue, if it works in the way you think, this option will only speed up something when VDub is the bottleneck. But since avisynth is a slowest thing in the Universe, VDub's part of the work on current frame may be finished long before avisynth will even think of preparing next frame. GradFun2DBmod is pretty slow filter (like 10 times slower than flash3kyuu). Does anyone still use it?

Last edited by Keiyakusha; 6th September 2012 at 22:16.
Keiyakusha is offline   Reply With Quote
Old 10th September 2012, 11:54   #3  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,664
I was also curious on what Video filter process-ahead did, so I did a search and found some relevant information over at the German doom9.
I used google translate and this is my interpretation.

Video filter process-ahead:
These settings only apply to VirtualDub's native filters. If VirtualDub is set to "Video: Fast recompress" than the video filter process-ahead settings are simply ignored.

I agree with Keiyakusha, use flash3kyuu.
I'm also using Avisynth 2.6 MT which does make a difference, even on my old beat up 4-core.
Reel.Deel is offline   Reply With Quote
Reply

Tags
threading, virtualdub

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 14:43.


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