I have used Microsoft Expression Encoder to append two videos and this thing works Fine The problem is that when i tried to append videos other than 'wmv' ,it gives exception of FileNot Supported
I searched on google but i was unable to find the solution.
private void button1_Click(object sender, EventArgs e)
{
MediaItem mediaItem1 = null;
Job job = new Job();
job.EncodeProgress += new EventHandler<EncodeProgressEventArgs>(job_EncodeProgress);
int count = 0;
//video url contains all urls of videos
foreach (string x in VideosUrls)
{
if (count == 0)
{
mediaItem1 = new MediaItem(x);
job.MediaItems.Add(mediaItem1);
}
else
{
mediaItem1.Sources.Add(new Source(x));
}
count++;
}
job.OutputDirectory = @"C://videoOutput";
job.Encode();
}
Is there any way using AForge.NET or Microsoft Expression Encoder so i can convert any 'mp4' video to 'wmv' programmatically before appending it with no Audio or quality Loss.
Thanks a lot for reading all Question :)