mediaforge - v2.2.0
    Preparing search index...

    Function buildHwFilterChain

    • Compose a full upload → GPU work → download chain.

      gpuFilters run with frames resident on the device; everything between the upload and the download therefore has to be a hardware filter.

      Parameters

      • opts: {
            accel: Hwaccel;
            gpuFilters: string[];
            cpuFilters?: string[];
            downloadFormat?: HwPixelFormat;
        }
        • accel: Hwaccel
        • gpuFilters: string[]

          Hardware filters to run on the GPU, e.g. [buildHwScaleFilter(...)]

        • OptionalcpuFilters?: string[]

          Software filters to run after downloading, e.g. ['drawtext=...']

        • OptionaldownloadFormat?: HwPixelFormat

          Format to download to. Default: 'nv12'

      Returns string