VideoTexture_v3 Op

VideoTexture

Play a video file and use it as a texture



Full Name
  • Ops.Gl.Textures.VideoTexture_v3
Visibility
  • Core Op - Official cables op
License
  • MIT
Authorgithub


INPUT PORTS


Update (Trigger)
file (String)

File to play

play (Number:boolean )

Start playback

loop (Number:boolean )

Loop file when it reaches the end

Audio

Volume (Number)

Audio volume

mute (Number:boolean )

mute audio

Texture

Update FPS (Number)
Filter index (Number:integer ) nearest  linear 
Wrap index (Number:integer )
flip (Number:boolean )

Flip the texture

Timing

speed (Number)

Speed of playback

set time (Number)

Set time to trigger playback from

Rewind (Trigger)
Preload (Number:boolean )

Load into memory - useful when loading from a URL

Show Interaction needed Button (Number:boolean )

OUTPUT PORTS


Next (Trigger)
texture (Object)

Texture out

duration (Number)

Duration of loaded media

progress (Number)

Playback progress

Interaction Needed (boolean Number)
CurrentTime (Number)
Loading (boolean Number)
Playing (boolean Number)
Can Play Through (boolean Number)
Width (Number)

Width of texture

Height (Number)

height of texture

Aspect Ratio (Number)
Has Error (boolean Number)
Auto FPS (boolean Number)
Error Message (String)

Patches using VideoTexture_v3

  • Examples
  • Public
  • My Patches

Changelog


improvementOps.User.pandur.VideoTexture2 renamed to Ops.Gl.Textures.VideoTexture_v2user avatarpandur - 2020-09-14 15:04
improvementcloned op from Ops.Gl.Textures.VideoTexture_v2user avatarpandur - 2022-11-28 14:10
improvement added core lib: interactionneededbuttonuser avatarpandur - 2022-11-28 15:39
featurenew output port: shows if user interaction is needed to startuser avatarpandur - 2022-12-14 17:13
featurenow needs to be triggered to updateuser avatarpandur - 2022-12-14 17:13
featureshow user interaction button to start like audio output opuser avatarpandur - 2022-12-14 17:14
featureUsing automatic new frame callback if available for faster/smoother updatesuser avatarpandur - 2024-05-07 22:26
improvementcatch and display errors with negative playback rate on some browsersuser avatarstephan - 2024-06-11 12:16