Instantly share code, notes, and snippets.

Embed
What would you like to do?
// VirtualDub project (Sylia script format)
// This is a program generated file -- edit at your own risk.
// $job ""
// $data ""
// $script
VirtualDub.Open("$(PROJECT)\\turtle-GOPR1170.MP4","",0);
VirtualDub.audio.SetSource(1);
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,500,1,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetEditMode(1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
VirtualDub.audio.EnableFilterGraph(0);
VirtualDub.video.SetInputFormat(0);
VirtualDub.video.SetOutputFormat(0);
VirtualDub.video.SetMode(3);
VirtualDub.video.SetSmartRendering(0);
VirtualDub.video.SetPreserveEmptyFrames(0);
VirtualDub.video.SetFrameRate2(0,0,1);
VirtualDub.video.SetIVTC(0, 0, 0, 0);
VirtualDub.video.SetCompression();
VirtualDub.SaveFormatAVI();
VirtualDub.video.filters.BeginUpdate();
VirtualDub.video.filters.Clear();
VirtualDub.video.filters.Add("convert format");
VirtualDub.video.filters.instance[0].Config(60);
VirtualDub.video.filters.Add("convert format");
VirtualDub.video.filters.instance[1].Config(57);
VirtualDub.video.filters.Add("gamma correct");
VirtualDub.video.filters.instance[2].Config(1);
VirtualDub.video.filters.Add("6-axis color correction");
VirtualDub.video.filters.instance[3].Config(0.073,0.768,0.551, -0.339,-0.358, 2, 0.5,1, 0.5,1, 0.5,1, 0.5,1, 0.5,1, 0.5,1);
VirtualDub.video.filters.Add("Unsharp mask");
VirtualDub.video.filters.instance[4].Config(400,217,0);
VirtualDub.video.filters.EndUpdate();
VirtualDub.audio.filters.Clear();
VirtualDub.subset.Clear();
VirtualDub.subset.AddRange(0,240);
VirtualDub.video.SetRange();
VirtualDub.video.AddMarker(194);
VirtualDub.project.ClearTextInfo();
// $endjob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment