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

MediaRecorder Op

Namespace: Ops.Gl

Op author: pandur

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 -


Recording (boolean /Number)
Filename (String)


Mimetype index (integer /Number)
MBit (Number)
FPS (Number)


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


State (String)
Error (String)
Final Mimetype (String)
Valid Mimetypes (Array)

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

Example: MediaRecorder

Youtube Video Tutorial

Patches using MediaRecorder

  • Examples (1)
  • Public
  • My Patches


created op
2021-11-12 - pandur
Ops.User.pandur.MediaRecorder renamed to Ops.Dev.MediaRecorder
2021-11-14 - pandur
Ops.Dev.MediaRecorder renamed to Ops.Gl.MediaRecorder
2021-11-30 - pandur
remove autoDownload option
2022-02-11 - stephan
bugfixwrite correct error message to output port
2022-12-14 - pandur
bugfixfix audio-only mode
2023-05-24 - stephan