Roblox UtilitiesDevlHub Roblox Documentation

Class

VideoService

NotCreatableService
Inherits
Instance › Object
Memory category
Instances

An internal service that offers no functionality to developers.

VideoService creates VideoSampler objects used to extract still frames from video content.

Methods 1#

CreateVideoSamplerAsyncCreates a VideoSampler that samples frames from the provided video content.Yields

CreateVideoSamplerAsync(content: Content, options: Dictionary?): VideoSampler#

Yields

Creates a VideoSampler that samples frames from the provided video content.

NameTypeDefaultDescription
contentContentThe video content to sample from.
optionsDictionary?

Options table for creating the VideoSampler:

  • Size – A VideoSampleSize value that determines the resolution of textures produced by the VideoSampler. Defaults to VideoSampleSize.Small. Use the smallest resolution that meets your needs to minimize memory usage and improve sampling performance.
Returns

Inherited members#

Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed