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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
AVAsset.Framerate
Looks for first video track and reports the nominal frame rate.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| AVAsset | 5.2 | Yes | No | No | Yes, macOS only | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| Asset | The reference number of the asset. Please use AVAsset.OpenContainer, AVAsset.OpenFile or AVAsset.OpenURL function to get asset reference. | $asset |
Result
Returns number or error.
Description
Looks for first video track and reports the nominal frame rate.Actual frame rate may be variable.
Examples
Queries framerate for file:
Set Variable [$Asset; Value:MBS( "AVAsset.OpenFile"; "/Users/cs/Desktop/test.mp4" )]
Set Variable [$Framerate; Value:MBS( "AVAsset.Framerate"; $Asset )]
Set Variable [$r; Value:MBS( "AVAsset.Release"; $Asset )]
Show Custom Dialog ["Framerate"; $Framerate]
See also
Created 1st August 2015, last changed 24th February 2016
AVAsset.Duration - AVAsset.HasProtectedContent
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins