MediaRecorder_v2 Op

MediaRecorder

Record the renderer-output to video


<p>uses the browser to record the renderer-output to any videocodec supported by your browser</p> <p>As the MediaRecorder API does not create a video file duration, the video you download from your browser won&#39;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&#39;ll have to manually reencode/fix the video file generated by MediaRecorder. One simple tool is HandBrake - <a href="https://handbrake.fr/">https://handbrake.fr/</a></p>


Full Name
  • Ops.Gl.MediaRecorder_v2
Visibility
  • Core Op - Official cables op
License
  • MIT
Authorgithub








No op example found on this server

INPUT PORTS


Recording (Number:

<i>boolean</i>

)

Filename (String)
Download Video (Number:

<i>boolean</i>

)

Encoding

Mimetype index (Number:

<i>integer</i>

)

MBit (Number)
Max FPS (Number)
Force FPS (Number)

Inputs

Media index (Number:

<i>integer</i>

)
 Video  Audio  Audio+Video 
Audio In (Object:audioNode)

Canvas

Canvas index (Number:

<i>integer</i>

)
 Default  By Id 
Video Canvas Id (String)

OUTPUT PORTS


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

Patches using MediaRecorder_v2

  • Examples
  • Public
  • My Patches

Changelog


newcreated opuser avatarpandur - 2021-11-12 08:19
improvementremove autoDownload optionuser avatarstephan - 2022-02-11 15:01
bugfixwrite correct error message to output portuser avatarpandur - 2022-12-14 17:23
bugfixfix audio-only modeuser avatarstephan - 2023-05-24 15:53
improvementAdd default canvas option to use the current WebGL canvas, which also works better with popout canvasuser avatarpandur - 2024-10-23 15:40