Chevron DownOverview
Chevron Down@hubble.gl/core

JPEGSequenceEncoder

A photo sequence encoder that inherits FrameEncoder. Saves each frame as a photo contained in a ".tar" 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 jpeg namespace.

  • quality - See member note. Defaults to 1.0.

  • archive - zip or tar. Defaults to tar.

Members

Source

modules/core/src/encoders/video/jpeg-sequence-encoder.js