Skip to content

Latest commit

 

History

History
33 lines (18 loc) · 1.1 KB

File metadata and controls

33 lines (18 loc) · 1.1 KB

PNGSequenceEncoder

A photo sequence encoder that inherits FrameEncoder. Saves each frame as a photo contained in a ".zip" archive.

Constructor

Construction of the encoder class is not required. Refer to DeckAdapter.render for usage. The constructor accepts a FrameEncoderSettings object.

FrameEncoderSettings

In addition to the FrameEncoder settings, these settings are available under the png namespace.

  • archive - zip.

Notes:

PNG supports alpha channel and will produce the highest quality encoding.

Convert PNGs to a video with ffmpeg or a proprietary encoder, like Adobe Media Encoder.

ffmpeg -pattern_type glob -framerate 30 -pix_fmt yuv420p -i "*.png" -tune animation -crf 1 -preset slow video.mp4

Members

  • extension - ".png"

  • mimeType - "image/png"

Source

modules/core/src/encoders/video/png-sequence-encoder.ts