cutting

package
v1.16.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package cutting is how apiv2 reaches the runners for the cut editor: the audio level timeline of a VOD and the cutting of it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cutting

type Cutting struct {
	Manager *runner_manager.Manager
}

Cutting asks the runners to build waveforms and cut VODs. Only a runner can, so Manager being nil means there is nobody to ask.

func (Cutting) Cut

func (c Cutting) Cut(sourceStreamID, targetStreamID uint, source apiv2.CutSource, discard []model.CutRange) error

Cut asks a runner to cut one version.

func (Cutting) RequestWaveform

func (c Cutting) RequestWaveform(streamID uint, sources []apiv2.CutSource) error

RequestWaveform asks a runner for the timeline of the stream and the length of the versions.

func (Cutting) ScanSilences

func (c Cutting) ScanSilences(streamID uint) error

ScanSilences asks a runner to detect the silences of the stream again.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL