Aurigma Forums
»
Legacy Products
»
Archive
»
Other Products
»
Grabbing specific frame of a video file
Rank: Member
Groups: Member
Joined: 6/12/2006(UTC) Posts: 12
|
In the description of Media Processor, it says: Quote: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: Code:' 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
|
|
|
|
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.
|
|
|
|
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?
|
|
|
|
Aurigma Forums
»
Legacy Products
»
Archive
»
Other Products
»
Grabbing specific frame of a video file
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.