Welcome Guest! You need to login or register to make posts.



Go to last post Go to first unread
#1 Posted : Saturday, June 17, 2006 4:32:02 PM(UTC)

Rank: Member

Groups: Member
Joined: 6/12/2006(UTC)
Posts: 12

In the description of Media Processor, it says:

Media Processor™ can grab the necessary frame of a video file

The way that I read this, is that it is possible to create thumbnails of a specific frame of a video file? Am I wrong about this? If not, how do I do it. The code that I use at the moment to get the first non black frame is:

' Create a thumbnail for the video
objMediaProcessor.LoadFromFile Server.MapPath(file_arr(i))
objMediaProcessor.SmoothFactor = 50
objMediaProcessor.OptimizationOn = True
objMediaProcessor.Quality = 100
objMediaProcessor.SaveToFileAsJpeg(Server.MapPath(file_arr(i)) & ".jpeg") ' Save to file

And if this is not a feature in the current version, then it would be a great feature in comming releases.

Edited by user Wednesday, December 19, 2007 4:17:21 PM(UTC)  | Reason: Not specified

#2 Posted : Sunday, June 18, 2006 11:16:40 AM(UTC)

Rank: Advanced Member

Groups: Member, Administration
Joined: 8/2/2003(UTC)
Posts: 876

Thanks: 2 times
Was thanked: 27 time(s) in 27 post(s)
There is a StartTime property that can be set to grab a frame on the necessary time position (specified in seconds). Just set it before LoadFromFile call.
#3 Posted : Monday, June 19, 2006 3:57:21 AM(UTC)

Rank: Member

Groups: Member
Joined: 6/12/2006(UTC)
Posts: 12

Great! And is there a way that I can find out how many frames that are in the video file?

And the parameter send witht the StartTime, is that the frame number?

And are there any other nice features that The Media Processor is capable of, which is not listed in the methods or properties under the Support center help?

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.