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

MediaRecorder Op

Ops.Gl.MediaRecorder


MediaRecorder
Namespace: Ops.Gl

Op author: pandur

Record the renderer-output to video


summary (oneliner)

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/



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

Recording (boolean /Number)

Filename (String)

Encoding

Mimetype index (integer /Number)

MBit (Number)

FPS (Number)

Inputs

Media index (integer /Number)

Audio In (Object)

Video Canvas Id (String)

Outputs

State (String)

Error (String)

Final Mimetype (String)

Valid Mimetypes (Array)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

Example: MediaRecorder

Open Example In Editor


Youtube Video Tutorial

Patches using MediaRecorder

Changelog


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