PY-Movie Player
Programmatic Videoplayback.
This component offers a super simple API via Extensionmethods for programmatic videoplayback.
Inputs:
None
Outputs:
Videooutput.
Resampled audiooutput.
Playback Info
Parameter:
Loop: The movie will loop indefnitly.
Unload on Finnish: The movie will be unloaded after the file finishes playback.
Autostart: Starts the movie file automaticaly when it finishes loading.
Audio Sample Rate: Resamples the Audio to this specific rate. Super helpful when mixing with other audiosources to kill krackling noises.
Hardware Decode: Enables Hardwaredecode for H264/5 on NVIDIA cards. Check docs.dericative.ca for more Info.
Interpolate Frames: Fade between frames when FPS of movie is lower then projectrate.
Methods:
Load( filepath ) : Starts the loading of the movie. If Autostart is enabled playback starts.
Unload() : Unloads the movie and frees ressources.
Start() : Starts/Resumes the playback.
Stop( unload = True ) : Stops the playback. If unload is True, the movie get unloaded after stopping.
Pause() : Pauses the playback. Resume via Start() method.
Execute_Trigger() : Recalls the corrosponding Callback.
Callbacks:
OnTrigger() : Gets executed when the remaining time reaches a threshhold.
OnPlayStart() : When the player actually starts playing,
OnLoadFinish() : Gets executed when the movie is ready for playback.
OnMovieFinish() : Gets executed when the movie hits the end. This will not execute when Loopparameter is set to On.
OnLoadError(): Gets executed when the file could not be loaded.
AlphaMoonbase
Downloads: 576
Created at: 5.1.2021
1.4
Uploaded: 3.5.2022
Removed Audio.
Optimisation for Trigger. No more cooking without realy needed.
Use op("video_Player").Player to pass in to audioMovie.
Download