A photo sequence encoder that inherits FrameEncoder. Saves each frame as a photo contained in a ".tar"
archive.
Construction of the encoder class is not required. Refer to DeckAdapter.render for usage. The constructor accepts a FrameEncoderSettings
object.
In addition to the FrameEncoder settings, these settings are available under the png
namespace.
archive
- zip
or tar
. Defaults to tar
.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
extension
- ".png"
mimeType
- "image/png"