1 import { EncoderOptions } from '@shared/models'
3 export type StreamType = 'audio' | 'video'
5 export function buildStreamSuffix (base: string, streamNum?: number) {
6 if (streamNum !== undefined) {
7 return `${base}:${streamNum}`
13 export function getScaleFilter (options: EncoderOptions): string {
14 if (options.scaleFilter) return options.scaleFilter.name