Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Frame rate of a video media type, in frames per second.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WMFP | 13.2 | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |
Parameter | Description | Example |
---|---|---|
Player | The reference number for the Windows Media Foundation Player object. | $$Player |
Returns value or error.
Query it:
Set Variable [ $num; Value: MBS("WMFP.GetVideoFrameRate"; $$player) ]
Set Variable [ $t; Value: MBS( "Math.BitwiseShiftRight"; $num; 32) ]
Set Variable [ $b; Value: MBS( "Math.BitwiseAND"; $num; 4294967295)]
Set Variable [ $value; Value: $t / $b ]
Example result: 29.97
Created 15th March 2023, last changed 15th March 2023