Hi,
Before grabbing thumbs reset all media handler pro settings if used
for other purposes e.g encoding video. Sample code for grabbing single
thumbs shown below.
_mhandler.FileName = "sample.mp4";
_mhandler.ImageName = "sample.jpg";
_mhandler.Frame_Time = "10";
////OR
_mhandler.Thumb_Start_Position = 10;
_mhandler.Image_Format = "jpg";
_mhandler.VCodec = "image2"; // optional but recommended
_mhandler.Width = 160;
_mhandler.Height = 120;
VideoInfo info = _mhandler.Grab_Thumb();
if (info.ErrorCode > 0)
{
Response.Write("Error occured while grabbing thumbs from
video");
}
Check sample and post your result.