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.

 
Curse Editor Offset Problem When Deleting Frames
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
JayWalt
Posted: Jul 14 2013, 04:01 AM


Newbie


Group: Members
Posts: 2
Member No.: 36789
Joined: 14-July 13



So I discovered the curve editor today!! And it;s going to be awesome for editing but I have a problem. If I delete frames from the video, the curve editor becomes offset from the frame maker. So if I delete 35 frames, the curve editor's min is now 35 frames (because I cannot select any frame under 35 with the frame marker because they have been deleted). When I delete frames, How do I re synch the curve editor? Am I going to have to go and delete all frames I need to in the video first, then go back through and apply the filters with the frame editor? That sounds like a PITA?

Also when you select a filter from View>filters and hit blend it adds a b in brackets after the filter, but one of my filters has a C next to it as well. what does that mean?

Thanks guys and girls!
 
     Top
JayWalt
Posted: Jul 14 2013, 04:03 AM


Newbie


Group: Members
Posts: 2
Member No.: 36789
Joined: 14-July 13



UPDATE:

Doing a 2 pass approach still won;t work, because the curve editor is still messed up? am I going to have to delete the frames, save the file with direct stream copy, then re-open it?
 
     Top
dloneranger
Posted: Jul 14 2013, 07:25 AM


Moderator


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



The curve editor is tied to the source video(s)
Just do all the editing (deletes/inserting frames etc) first, and do curve editing last
And then save

--

[c] means virtualdub had to covert the format of the video for the filter to accept it
Some filters will only work with rgb, some may only work with yuv
The 'show image formats' checkbox on the filter page will show all the formats for each filter

--

If you know what frames you've deleted then you could use the file menu->save processing settings to save the current settings, edit them in notepad, and reload them in virtualdub with the file menus->load settings
eg here are the settings from a sample fade in from black over the first 30 frames
CODE
VirtualDub.audio.SetSource(1);
VirtualDub.audio.SetMode(1);
VirtualDub.audio.SetInterleave(1,500,1,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(-1,2,2,0,1);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
VirtualDub.audio.EnableFilterGraph(0);
VirtualDub.video.SetInputFormat(2048);
VirtualDub.video.SetOutputFormat(15);
VirtualDub.video.SetMode(3);
VirtualDub.video.SetSmartRendering(0);
VirtualDub.video.SetPreserveEmptyFrames(1);
VirtualDub.video.SetFrameRate2(0,0,1);
VirtualDub.video.SetIVTC(0, 0, 0, 0);
VirtualDub.video.SetCompression(0x34363278,0,10000,0);
VirtualDub.video.SetCompData(4720,"blahblahblah");
VirtualDub.video.filters.Clear();
VirtualDub.video.filters.Add("fill");
VirtualDub.video.filters.instance[0].Config(0,0,0,0,0x000000,1);
declare curve = VirtualDub.video.filters.instance[0].AddOpacityCurve();
curve.AddPoint(-1.95, 1, 0);
curve.AddPoint(3.95, 1, 0);
curve.AddPoint(29.95, 0, 0);
VirtualDub.audio.filters.Clear();

these are the 3 points of the curve
curve.AddPoint(-1.95, 1, 0);
curve.AddPoint(3.95, 1, 0);
curve.AddPoint(29.95, 0, 0);
If I deleted the first 35 frames, all I'd have to do is add 35 to the first numbers (the frame number)
curve.AddPoint(-1.95, 1, 0);
curve.AddPoint(38.95, 1, 0);
curve.AddPoint(64.95, 0, 0);

--------------------
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: Jul 14 2013, 04:32 PM


Advanced Member


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



> So if I delete 35 frames, the curve editor's min is now 35 frames
This is by design. The curve points track the underlying video. If I program an effect to cover a certain scene ("burned in," not an edit) running (for example) from 0:20-0:25, then make an edit prior to this point, moving the scene to 0:18-0:23, the effect remains on the scene - where it should be.

Do you want something to happen at a certain frame number, no matter what edits you do? (for example, fade out at frame 300) Certain filters are frame-number aware, like FadeFx and Motion (pan & zoom). (Anyone know of others like this?)

EDIT - this won't work either - filters seem to track source frame number, same as curve points.

This post has been edited by raffriff42 on Jul 17 2013, 08:09 PM
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
3 replies since Jul 14 2013, 04:01 AM Track this topic | Email this topic | Print this topic

<< Back to General Discussion