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)

<p>File to play</p>

play (Number:

<i>boolean</i>

)

<p>Start playback</p>

loop (Number:

<i>boolean</i>

)

<p>Loop file when it reaches the end</p>

Audio

Volume (Number)

<p>Audio volume</p>

mute (Number:

<i>boolean</i>

)

<p>mute audio</p>

Texture

Update FPS (Number)
Filter index (Number:

<i>integer</i>

)
 nearest  linear 
Wrap index (Number:

<i>integer</i>

)

flip (Number:

<i>boolean</i>

)

<p>Flip the texture</p>

Timing

speed (Number)

<p>Speed of playback</p>

set time (Number)

<p>Set time to trigger playback from</p>

Rewind (Trigger)
Preload (Number:

<i>boolean</i>

)

<p>Load into memory - useful when loading from a URL</p>

Show Interaction needed Button (Number:

<i>boolean</i>

)

OUTPUT PORTS


Next (Trigger)
texture (Object)

<p>Texture out</p>

duration (Number)

<p>Duration of loaded media</p>

progress (Number)

<p>Playback progress</p>

Interaction Needed (

<i>boolean</i>

Number)

CurrentTime (Number)
Loading (

<i>boolean</i>

Number)

Playing (

<i>boolean</i>

Number)

Can Play Through (

<i>boolean</i>

Number)

Width (Number)

<p>Width of texture</p>

Height (Number)

<p>height of texture</p>

Aspect Ratio (Number)
Has Error (

<i>boolean</i>

Number)

Auto FPS (

<i>boolean</i>

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