Settings

Settings can be modified at any time via the Settings Iconsettings block.

Settings affect all subsequent media operations, like cutting clips for views.

It is possible to associate settings to specific annotations by placing the block after a selection.

Video Settings

  • video-codec string = copy The codec for exported video clips encoding.
  • video-resolution string Resolution (ie. 640x480) of exported video clips
  • video-frame-rate int Frame rate of exported video clips
  • video-format string Format (ie. mp4) of exported video clips
  • video-filter string FFmpeg complex filter to apply on each exported video clip
  • video-poster string = snap (snap,details,waveform) Script for video poster generation
  • video-input int = 1 Which video input to choose from when multiple are available
  • video-inputs int = 1 Number of video inputs from a corpus file, to use when building clips
  • video-stack-mode string = hstack (hstack,vstack) The stacking mode to combine multiple inputs
  • poster-resolution string Resolution of exported poster (ie. 640x480)
  • snap-offset string = 0% Offset to capture snapshot (in milliseconds, or percentage with %)
  • snap-from-clip bool = false Capture snapshot from the final exported clip

Note: the snap-from-clip setting only works when the clip is also generated.

Audio Settings

  • audio-codec string Codec for audio encoding (aac, mp3...)
  • audio-channels int Number of audio channels (mono 1, stereo 2)
  • audio-sample-rate int Sample rate in Hz
  • audio-bit-rate int Bit rate in bit/s
  • audio-filter string FFmpeg audio filter to apply on each exported video clip
  • audio-poster string = details (details,waveform) Script for audio poster generation

Other Settings

  • disable-cache bool = false Force all assets (clips, posters) to be regenerated during conversion
  • processor-pipeline-input string (corpus,section-assets,all-assets) The initial media to populate the pipeline

Usage

The following table shows the same annotation clipped with different settings:

Such table makes use of Extra blocks with specific Settings to display custom clips.

Second Camera

To clip the second camera, choose video-input = 2.

We also want the snapshot poster to match the video input, so snap-input = 2 too.

Horizontal Stack

Here we combine 2 video inputs and stack them horizontally.

Snapshots do not support stacking, so to get the correct snapshot from the resulting video clip, we can simply use snap-from-clip.

Vertical Stack

The same but with vertical stacking, and grayscale filter on the video.

Waveform

Here we just want a poster that shows the waveform of the audio content.