I am using VSTS 2008 + C # + .Net 3.5 on Windows 7. I want to use the expression encoder 3 to create a thumbnail image (wmv format) for video (wmv format) every 30 seconds - for example 5 minutes of video, there will be 10 thumbnails that are video 0 seconds, 30 seconds, 1 minute, 1 Displays in minutes and 30 seconds time.
Any reference code?
You can use the method by using:
Var video = new MediaItem (file path); (Var bitmap = video.MainMediaFile.GetThumbnail (using the new timepines (0, 0, 5), the new system. Drawing size (640, 480))) (do something like // bitmap: bitmap.sev (" Thumb 1 .jpg ");}
Comments
Post a Comment