|
|
| PHILHVD |
| Posted: Oct 23 2012, 06:29 PM |
 |
|
Newbie

Group: Members
Posts: 9
Member No.: 35602
Joined: 23-October 12

|
Hi Is anyone still writing filters for V D ? If so, may I make a suggestion please.
When appending Clips to make a longer video it would be nice have some sort of Transition between the clips. I know that this is an old topic and that simple transitions e.g. Fade to Black and Back can be achieved at the join points by the use of the FadeFX filter. However when appending lots of clips a lot of FadeFX filters are required to achieve this and defining them is very time consuming. It would be really useful to be able to achieve such Fade-Out/Fade-Ins at all the Join Points with just one Filter. e.g. perhaps with one field to define the number of Frames round the Transition Point ( the same for all joins ) and others to define the Frame Join Points, perhaps specified simply as comma-separated values e.g. 265,760,1029,1464
Does anyone agree that this would be useful and can/will anyone write such a filter.
Phil |
 |
| dloneranger |
| Posted: Oct 23 2012, 07:08 PM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
Well.....
As the filters don't know anything about the clips, or even if the frame number is correct then it's difficult to write a filter that can do what you'd like
The easiest way to do fades is adding a fill filter, using the blend option on it and then just use the curve editor to draw the fades in/out wherever you like If there's multiple appended clips, before appending the next clip, move the timeline to the last frame Then when the next file is appended, you're right at the join (Not so useful if you auto append the clips)
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| PHILHVD |
| Posted: Oct 24 2012, 08:12 AM |
 |
|
Newbie

Group: Members
Posts: 9
Member No.: 35602
Joined: 23-October 12

|
Thanks Moderator - good to see the forum is very actively managed.
I do in fact use AutoAppend to join my clips since there are often as many as 50. Apologies for suggesting my desired transition effects can be achieved by use of a series of FadeFX filters - this is incorrect since with this filter a Fade-Out to Black is permanent. I wish to Fade-Out to Black, approaching a Join, then Fade-In again after the Join. However my desired effect can be achieved with a different filter - "Fader 0.1d" by David Roden. This can be downloaded from http://www.infognition.com/VDFilter/list.html as a .rar and extracted to give the Fader.vdf file. This works by defining the Visibility at a series of points in the video with 3 parameters at each point Visibility ( a number 0 > 256, where 256 is maximum and 0 is minimum i.e. Black ) Frame ( frame number ) Fade ( Step or Fade - from the previous defined point ) The starting Visibility also needs to be set ( usually 256 ) These 3 parameters are input for each point then put in a list. So, for example, with a 3-clip video with clip joins at Frames 500 & 900 and a Fade-Out & Fade-In covering 100 frames at each join, the list would look like 450 256 Fade ( or Step - doesn't matter since initial Visibility is set to 256 ) 500 0 Fade 550 256 Fade 850 256 Fade ( or Step - doesn't matter since previous Visibility is set to 256 ) 900 0 Fade 950 256 Fade A Visibility parameter slightly higher than 0 at the joins possibly gives a better transition. However, all this requires 3 lines of parameters for each Join so is very laborious to enter if there are say 50 clips For my suggested use, in just fading round the Joins with the same Fade-Range and same Minimum-Visibility at the join, only 1 Fade-Range parameter & 1 Minimum-Visibility parameter needs to be entered and then a list of the Frame Values at the Joins. This would be much simpler than entering 150 lines
I guess that if someone has the source code for this filter, then changing the front end to input parameters more easily for this specific purpose would be quite easy - not sure if David Roden is contactable or if someone else has the source code.
Hoping for some suggestions.
|
 |
| dloneranger |
| Posted: Oct 24 2012, 01:20 PM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
The trouble with filters relying on frame numbers now is that the way virtualdub works was rewritten to make use of multithreading When that was done, the you couldn't rely on the frame numbers being correct after edits (cuts and pastes) as the frame number the filter thinks it sees is the source one, not the output one. And they may not even come in the right order....
Which is a bit of a pain for anything that relies on frame numbers So don't mix editing with those kind of filters :-)
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| PHILHVD |
| Posted: Oct 24 2012, 02:01 PM |
 |
|
Newbie

Group: Members
Posts: 9
Member No.: 35602
Joined: 23-October 12

|
I was not aware of that pitfall. Presumably, however, if after editing ( cut & paste ) the video is saved and then reloaded, the Frame Nos will then be correct and could be used to define the center of the Fade-In/Fade-out region in the filter which I am proposing. Is that correct ? |
 |
| dloneranger |
| Posted: Oct 24 2012, 03:11 PM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
Yeah, it's ok as long as you don't do any editing (cutting out parts or adding parts)
Filiters don't know anything about individual clips or how long each one is
However, the curve editor works fine with editing.....
So....... If you feel like trying out a program I quickly knocked up, you can give this a try [edit] See a few posts further down for latest version
It's a really simple program Start it Set the fade in/out lengths Drag all the files that you want to join into the centre box and drop them there (They've got to be avi's that virtualdub can append normally though)
It'll sort the files into order and generate a .vdscript file with a fill and fades for the fill (the file has the same name as the first video file)
Start Virtualdub On the file menu, select 'load processing settings' and pick that new file
Then you should have all the clips, with fades (you can open the curve editor to see them all, and move about any if you want)
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| PHILHVD |
| Posted: Oct 24 2012, 06:15 PM |
 |
|
Newbie

Group: Members
Posts: 9
Member No.: 35602
Joined: 23-October 12

|
Wow !!!
Thanks ever so much - that works a treat.
Whats more, its made me aware of the power of the Curve Editor in VD, which I had never been aware of before, even though I have been a fan of the program for several years. Playing around I see that you can fade-in & out logos as well and I guess other effects too. Obviously quite a lot I've been missing.
Looks like I'll be spending some time now enhancing some of my previous videos. Sorry garden !
Cheers Phil
|
 |
| dloneranger |
| Posted: Oct 24 2012, 06:37 PM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
And here's the updated version https://dl.dropbox.com/u/17024916/MyUploade...bFadeScript.zip
Fade in/out values are saved You can drag the files around to reorder them
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| PHILHVD |
| Posted: Oct 25 2012, 10:09 AM |
 |
|
Newbie

Group: Members
Posts: 9
Member No.: 35602
Joined: 23-October 12

|
Another big Thanks - very kind of you. I have really learned a lot from this exchange. |
 |
| dloneranger |
| Posted: Oct 25 2012, 12:58 PM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
No problem, it'd be nice to be able to do it as a filter But with all the restrictions filters have, this is probably the easiest way
Btw updated the program to have checkboxes for the fades at beginning, middle and end https://dl.dropbox.com/u/17024916/MyUploade...bFadeScript.zip
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| PHILHVD |
| Posted: Oct 27 2012, 09:41 AM |
 |
|
Newbie

Group: Members
Posts: 9
Member No.: 35602
Joined: 23-October 12

|
Further Thanks
I have found, by playing around with the Curve Editor & Fill Filter(Blend Mode), that I get a slightly better effect by making the Opacity at the Join ca 30%, rather than 0% and using lines rather than curves - this reduces the blackout time round the join. It is however very much a personal preference.
Maybe the vdscript can be edited to make these changes for all joins rather than do them all individually, although from a quick look at a guide to VD Scripts it appears that variables can only be True or False, so maybe not. However, this is something for me to investigate over the Winter and hopefully eventually I shall have acquired some expertise in handling such scripts.
This really is a new ball park for me and really will change the way I edit with VD in the future. Thanks for the programs and for opening my eyes to the Curve Editor.
Cheers Phil |
 |
| dloneranger |
| Posted: Oct 27 2012, 10:41 AM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
I'll have a look and see what can be done :-)
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| dloneranger |
| Posted: Oct 27 2012, 11:45 AM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
Change log
Now has lines instead of curves Configurable %'s for start, middle and end fades - 100=fully faded, 0=no fade
https://dl.dropbox.com/u/17024916/MyUploade...bFadeScript.zip
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| PHILHVD |
| Posted: Oct 28 2012, 01:56 PM |
 |
|
Newbie

Group: Members
Posts: 9
Member No.: 35602
Joined: 23-October 12

|
My thanks once more.
I see from the script how it is done so another step in understanding these scripts.
This script can very useful, even if you do not wish to insert Fades, since it will order clips correctly ( or changed if required ) even if the file names are not strictly sequential, e.g. there are gaps in the sequence. The VD built-in Auto-Append feature require strictly sequential numbers if it is to auto-append correctly. |
 |
| PHILHVD |
| Posted: Nov 26 2012, 03:35 PM |
 |
|
Newbie

Group: Members
Posts: 9
Member No.: 35602
Joined: 23-October 12

|
I have found the scripts kindly written by the moderator very useful over the last few weeks so thanks again
May a suggest a tweak to the last one he wrote. i.e. to incorporate and extra field to define whether the connections between points are lines or curves. I know the penultimate version he wrote in fact uses curves but the latest version uses lines, which I know is what I requested.
However, to have the line/curve choice in the last version would be useful,l since this version has several refinements over the previous version.
If he is too busy then I quite understand. It is not too difficult to use the final version, which by default draws lines, then use a text editor to do a quick global replace of "1)" to "0)" so that the script draws curves. The option in the script would however be neater and useful for anyone else using the script.
If he is too busy then that is fine - I am very grateful for what he has done already. |
 |