Posted on July, 2010 by Moderator.Tags: asp.net video,extract frames,jpg to video
You can use the following code through ASP.NET Media Handler Pro
component to extract all frames of video into jpg images.
Extracting Frames:

_mhandler.InputPath = RootPath + "\\contents\\original";
_mhandler.OutputPath = RootPath + "\\contents\\thumbs";
_mhandler.FileName = "xmen-origins-wolverine.mp4";
_mhandler.OutputFileName = "sample_";
_mhandler.OutputExtension = "%010d.jpg";
_mhandler.Force = "image2";
VideoInfo info = _mhandler.Process();

Re Encoding Frames / Images into Video:
Example below will encode all jpg frames into flash flv video, you can
encode it in any format.
[quote]
_mhandler.InputPath = RootPath + "\\contents\\thumbs";
_mhandler.OutputPath = RootPath + "\\contents\\flv";
_mhandler.FileName = &qu.... read more.

No Comments

Post a text comment

No commments posted on video.

Name:
 Remaining character count: 500
©2007 - 2010, MediaSoft Pro Inc  | Site Map