beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

MediaRecorder Op

MediaRecorder

Record the renderer-output to video


uses the browser to record the renderer-output to any videocodec supported by your browser

As the MediaRecorder API does not create a video file duration, the video you download from your browser won't have a duration or seekable timeline - giving you some trouble when importing your video into a video editor application or the like. Most online social media services ignore this hiccup so generally it is fine to ignore. However if you need to have a videofile with a seekable timeline and proper duration you'll have to manually reencode/fix the video file generated by MediaRecorder. One simple tool is HandBrake - https://handbrake.fr/


Edit Documentation

Full Name
  • Ops.Gl.MediaRecorder
Visibility
  • Core Op - Official cables op
Author


 

Example Patch Example: MediaRecorder

Open In Editor

Youtube Video Tutorial

INPUT PORTS


Recording (Number:boolean )
Filename (String)
Download Video (Number:boolean )

Encoding

Mimetype index (Number:integer )
MBit (Number)
Max FPS (Number)
Force FPS (Number)

Inputs

Media index (Number:integer )
Audio In (Object:audioNode)
Video Canvas Id (String)

OUTPUT PORTS


State (String)
Error (String)
Final Mimetype (String)
Valid Mimetypes (Array)
Duration (Number)
Finished Recording (Trigger)
Video DataUrl (String)

Usages of MediaRecorder

  • Examples
  • Public
  • My Patches
  • Ops

Changelog


created opuser avatarpandur - 2021-11-12
Ops.User.pandur.MediaRecorder renamed to Ops.Dev.MediaRecorderuser avatarpandur - 2021-11-14
Ops.Dev.MediaRecorder renamed to Ops.Gl.MediaRecorderuser avatarpandur - 2021-11-30
remove autoDownload optionuser avatarstephan - 2022-02-11
bugfixwrite correct error message to output portuser avatarpandur - 2022-12-14
bugfixfix audio-only modeuser avatarstephan - 2023-05-24