I would like to join two or more videos in c# Application.So I'm using Splicer library.But I am using following but i throws exception "An invalid media type was specified".How to solve this I have tried a lot to solve it.
using (ITimeline timeLine = new DefaultTimeline())
{
IGroup group = timeLine.AddVideoGroup(32, Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
var c1=group.AddTrack().AddVideo("m1.mp4");
var c2 = group.AddTrack().AddVideo("m2.mp4",c1.Duration);
using (AviFileRenderer render = new AviFileRenderer(timeLine, "m.avi"))
{
render.Render();
}
}
Console.Write("Have Performed!!!");