lib.img.video.PlayVideo - tooll3/t3 GitHub Wiki

PlayVideo

in lib.img.video


Uses Windows Media Foundation to play a video file. To ensure seek precision while editing, it enforces seeking if timeline playback is paused. If timeline playback is running, it will only seek if the video playback drift exceeds the resync threshold. If this threshold is too small, playback will stutter. If it's excessively large, syncing might be off.

Important: Media Foundation returns textures in BGRA format. This might not work for some draw operators like [Layer2d]. Please insert a [ConvertFormat] operator to convert the format.


Input Parameters

Name (Relevancy & Type) Description
Path (String) -
Volume (Single) -
ResyncThreshold (Single) -
OverrideTimeInSecs (Single) -
Loop (Boolean) -

Outputs

Name Type
Texture SharpDX.Direct3D11.Texture2D
Duration System.Single
HasCompleted System.Boolean
UpdateCount System.Int32

Please help use to improve this documentation. Feel free to improve the description.

⚠ Everything else is automatically generated and will be overwritten regularly.

⚠️ **GitHub.com Fallback** ⚠️