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

RenderAnim_v2 Op

Ops.Gl.RenderAnim_v2


RenderAnim
Namespace: Ops.Gl

Op author: cables

Uses spanbrary: Whammy (A real time javascript webm encoder)Uses spanbrary: jszip (js zip archive library)

record, render an animation and save as webm video file or png image sequence


summary (oneliner)

good ffmpeg settings to create a mp4 from image sequence and music file:

ffmpeg -framerate 30 -i fertile.png_%d.png -i fertile.mp3 -vcodec libx264 -crf 15 -acodec copy fertilesound9.mp4

how to make a video work also on ios devices:

ffmpeg -framerate 30 -i loopDfast.png_%d.png -vcodec libx264 -profile:v main -crf 15 -pix_fmt yuv420p -x264-params ref=4 loopDfastIos.mp4
How to download all images at once :

Make sure to go to site settings and "allow" automatic downloads. This will allow you to download all of the image files in one go. Otherwise you'll be asked to confirm each files location :(



doc

issues

youtube id

caniuse query

collections

related ops

Inputs

Render (Trigger)

File Type index (integer /Number)

File

ZIP multiple files (boolean /Number)

Download Files (boolean /Number)

Filename (String)

Quality (Number)

Duration Type index (integer /Number)

Timing

Duration (integer /Number)

FPS (integer /Number)

Frames per second for render.


Transparency (boolean /Number)

Size

Use Canvas Size (boolean /Number)

texture width (integer /Number)

texture height (integer /Number)

Start (Trigger)

Outputs

Next (Trigger)

Progress (Number)

Frame (Number)

Status (String)

Started (boolean Number)

Data URL (String)

Finished (Trigger)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

Changelog


created op
2019-11-16 - cables

Ops.User.cables.Renderanim2 renamed to Ops.Gl.Renderanim2
2019-11-17 - cables

Ops.Gl.Renderanim2 renamed to Ops.Gl.Renderanim_v2
2020-04-20 - pandur

Ops.Gl.Renderanim_v2 renamed to Ops.Gl.RenderAnim_v2
2020-04-20 - pandur

added lib: jszip.js
2020-12-14 - cables

Examples using RenderAnim_v2 ()

Public Patches using RenderAnim_v2 ()