Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
Returns an image for the asset at or near a specified time.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
AVAsset | 5.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
Asset | The reference number of the asset. Please use AVAsset.OpenContainer, AVAsset.OpenFile or AVAsset.OpenURL function to get asset reference. | $asset | |
Time | The position in the video in seconds. | 5.2 | |
ImageType | The type of image to return. Either JPEG, PNG, GIF or BMP. Default is JPEG. |
"JPEG" | Optional |
FileName | The filename to use for the picture. Default is "image" with the extension matching the image type. |
"test.jpg" | Optional |
Width | The maximum width to use. | 500 | Optional |
Height | The maximum height to use. | 500 | Optional |
Returns container value with image or error.
Queries image at 5 seconds:
MBS( "AVAsset.Image"; $asset; 5; "jpeg"; "preview.jpg")
Created 19th June 2015, last changed 1st March 2021
AVAsset.HasProtectedContent - AVAsset.ImageActualTime
Feedback: Report problem or ask question.