Movie Maker Timeline SDK Control

Movie Maker Timeline SDK Control

Platform : Windows 10, Windows 8, Vista, Windows 7, XP

Video Editor SDK that allows users Drag & Drop to arrange clip orders, edit movies, apply effects & transitions with C++ , C#, , VB, Delphi, VFP, MS Access. 

Popular Solution Go   Back

C# - How to add the video, audio clips on Movie Maker Timeline Control?

Step 1: To install the Movie Maker Timeline Control SDK, begin by launching the setup file ( Select the desired installation folder for the Movie Maker TImeline Control and continue with the installation on your development computer.

Step 2: Create New Visual C# Project, select Windows Forms Application.

Step 3: In Solution Explorer, select References ,right click mouse to select Add Reference... 
Select COM tab, select  Movie Maker Timeline Control SDK

 Step 4: Now you will see the Movie Maker Timeline Control on Toolbox,  Drag the Movie Maker Timeline Control from Toolbox to form.

 Step 5: Add two button and picturebox on form. button1 caption is Play, button2 caption is Save.

 Step 6: Add following code in Button1 click event. It will add video clip and audio clip on timeline control.

 private void button1_Click(object sender, EventArgs e)

string strVideo1="c:\\yourfolder\\yourfile.mpg";

float iVideo1Duration= axTimelineControl1.GetMediaDuration(strVideo1);

axTimelineControl1.AddVideoClip(axTimelineControl1.GetVideo1TrackIndex(), strVideo1, 0, iVideo1Duration, 0);

axTimelineControl1.AddAudioClip(axTimelineControl1.GetAudio1TrackIndex(), strVideo1, 0, iVideo1Duration, 0, 1);




  Step 7: Add following code in Button2 click event. It will save to Mp4 video. Assume source video resolution is 720,480, frame rate is 25.

private void button2_Click(object sender, EventArgs e)




axTimelineControl1.OutputType = 2;

axTimelineControl1.MP4AspectRatio = 0;

axTimelineControl1.MP4AudioBitrate = 96000;

axTimelineControl1.MP4AudioChannels = 2;

axTimelineControl1.MP4AudioSampleRate =44100;

axTimelineControl1.MP4Framerate = 25;

axTimelineControl1.MP4H264Preset = 0;

axTimelineControl1.MP4Height = 480;

axTimelineControl1.MP4Width = 720;

axTimelineControl1.MP4VideoBitrate = 5000000;



 Step 8: When conversion completed, it will fired OnConvertCompleted event, Add following code in in OnConvertCompleted.

private void axTimelineControl1_OnConvertCompleted(object sender, EventArgs e)


MessageBox.Show("Save Completed");


Step 9:Now run the project, click Play button, then click Save button, you will see the video added to timeline, preview the video and converting the video in same time.