Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Input & Output Panes' Behaviour Baffling Me, Trying to get 'before' and 'after' image
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
OldFangle
Posted: Aug 6 2014, 01:35 AM


Newbie


Group: Members
Posts: 2
Member No.: 38192
Joined: 1-August 14



Hi
(I'm running VirtualDub on MSWindows7 64.)

Both the left and right view panel shows the AVI with the filters applied.

I don't fully understand 'stack' but I've been trying to find a way to assign clip1 to the unfiltered AVI and clip2 to the .AVS which loads the same AVI and contains the filters for editing it. I know, that doesn't work, but that's how I keep trying to think about this, and after hours of staring at VirtualDub's settings, and trying to intuit how the 'before' and the 'after' AVIs are to both be loaded so as to be displayed in the Input and the Output Panes, I'm burnt-out.

I only get the filtered AVI in both Panes. I haven't figured what keywords to type to get information about this problem. I've browsed eleven pages into this Newby Forum section and haven't found the same problem being talked about elsewhere. Maybe there's a special term for it and I can't guess it.

However this basic matter is described in VirtualDub's tutorials isn't sinking in for me. What's the pre-kindergarten version?

I want the un-filtered AVI to display in one Pane and the filtered changes displaying in the other Pane, and thus far I've slid-off every description I must have already 'seen' about how to do this.

Thanks
Feeling real OldFangle
 
     Top
dloneranger
Posted: Aug 6 2014, 05:39 AM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



The input pane shows whatever you loaded into virtualdub
The output pane shows the same thing after virtualdubs own filters have been applied

If you haven't used any of virtualdub's own filters then the input and output panes will be the same as virtualdub hasn't done anything to change the video from what you gave it to what's going out at the end

If you give virtualdub an .avs script, then the input will be the output from the script as avisynth has already done it's work before virtualdub gets it (virtualdub is not an avisynth script editor)

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
raffriff42
Posted: Aug 6 2014, 06:53 AM


Advanced Member


Group: Members
Posts: 384
Member No.: 35081
Joined: 25-June 12



As an avisynth+virtualdub user like you, OldFangle, I don't need to see both panes, one is plenty. I have hidden the input pane permanently by going to View, Pane Layout, Output pane only.
 
     Top
OldFangle
Posted: Aug 6 2014, 10:23 PM


Newbie


Group: Members
Posts: 2
Member No.: 38192
Joined: 1-August 14



Hi

...Okay, thanks... I thought the point of the two frames in VirtualDub was for a 'Before' and an 'After' comparison--which, as you say, it is, insofar as VirtualDub itself is concerned. But I'm so accustomed to thinking of VDub and AviSynth as two parts of one machine I could only think of the left Pane as "unfiltered" and the right Pane as "filtered" regardless of whether VirtualDub's doing it internally or with its silent partner contributing.

I suppose then I'll find another little utility that displays the unfiltered AVI and then just juxtapose the two windows on the Desktop, or maybe I can even get two slightly different versions of VirtualDub to open at the same time, since I like how VDub navigates.
I'm still testing tools and building my toolbox--I'm learning 'denoise' at the moment--and I want those clear side-by-side comparisons as I test various .DLLs and settings.

Thank you.
 
     Top
raffriff42
Posted: Aug 6 2014, 11:26 PM


Advanced Member


Group: Members
Posts: 384
Member No.: 35081
Joined: 25-June 12



I compare before and after with special code inserted for testing purposes. Consider this example:
CODE
before = AviSource("rickroll.avi").ConvertToYV12 ## my source video...

after  = before.Tweak(hue=15) ## example processing...

/*
### TEST 1: side by side (un-comment for testing)
return StackHorizontal(before, after)
### END TEST 1
*/

/*
### TEST 2: interleaved - frame step only! (un-comment for testing)
return Interleave(before.ID("before"), after.ID("after"))
### END TEST 2
*/

## return the final processed clip
return after

## helper function: label a clip - needed in Interleave comparisons.
function ID(clip C, string msg) {
   return C.Subtitle(msg, size=C.Height/16, align=5)
}


Interleave is great for seeing tiny changes in color, sharpness etc -- rocking back and forth, in frame step mode, between "before" and "after" -- but not so good for comparing motion artifacts, since you must compare with Interleave in frame step mode only -- it's headache-inducing at real playback speed.

Note both Stack and Interleave require that the clips match as far as size, color depth etc; if they don't, you can easily adjust them as required.
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
4 replies since Aug 6 2014, 01:35 AM Track this topic | Email this topic | Print this topic

<< Back to Newbie Questions