|
|
| RedTheHunter |
| Posted: Jan 26 2012, 05:13 PM |
 |
|
Newbie

Group: Members
Posts: 2
Member No.: 34125
Joined: 26-January 12

|
Hello everybody,
First at all, let me explain the situation. I'm working on a project involving video recording. Once the record is done, the result seems twice laggy than the normal. Looking deeper in this video, I figured out that duplicate frames (or dropped) are present in the .avi. Each keyframe involve a [D] frame right after it. During the time I'm looking for the error, I use VirtualDub. I can resolve the problem by double the frame rate and decimate the frames by 2.
The question is : How could I do the same, using the vdub.exe (console application) and a script? I'm looking on the Internet and the UserGuide and I can't find my solution.
Thanks you, RedTheHunter |
 |
| RedTheHunter |
Posted: Mar 29 2012, 08:17 AM |
 |
|
Newbie

Group: Members
Posts: 2
Member No.: 34125
Joined: 26-January 12

|
While I was looking for something else, I finally found out how to do that. Everything is easier with DubMan 
| CODE | VirtualDub.Open(sInput,0,0); VirtualDub.video.SetFrameRate2(60,1,2); VirtualDub.SaveAVI(sOutput); VirtualDub.Close(); |
The 60 value correspond to the double framerate, 1 the index and 2 the decimate factor.
At least, if someone is in trouble, he could read that.
Thanks you for the software & thanks Dubman RedTheHunter
P.S. : The scripting tutorial is quite a mess. I think it would be efficient to add examples in it. |
 |
|