Clone wiki

transcode / Filter Plugins


# Introduction

Transcode supports filter plugins to do additional processing of video frames and audio.

See Transcode internals/Processing Order for information about the processing order of filter plugins and Transcodes internal processing functions.

# Filter capabilities

This is an example of a capabilities table used in the filter descriptions below

VideoAudioRGBYUVYUV422multiple instancesprocessing typeframes needed
Video This filter handles video frames
This filter can process video frames.
Audio This filter handles audio
This filter can process audio.
RGB Works with video frames in the RGB colorspace
To use RGB as internal colorspace for transcode append --use_rgb to your transcode commandline.
YUV Works with video frames in the YUV colorspace
YUV is the default internal colorspace of transcode.
YUV422 Works with video frames in the YUV422 colorspace
To use YUV422 as internal colorspace for transcode append --uyvy to your transcode commandline.
multiple instances One can start several independent instances of the filter
Some filters can be called more than one time and do it's processing indepentent from each other (e.g. the logoaway filter). For other filters, like deinterlacing, this makes no sense.
processing type A filter can be a PRE, POST, or PRE/POST filter
Transcode has a defined processing order (see below). PRE filters are processed in the (B) or (C) slot, whereas POST filters are processed not until the (E) or (F) slots. If both PRE and POST is supported, then there is mostly a parameter to choose which one should actually be used.
frames needed The minimum amount of frames a filter needs to work
Most filters only need one frame to work. But some filters look ahead to make a prediction or use information from previous frames. This has to be taken into account when choosing the processing boundaries (e.g. with -c parameter).

# Development

# Available Filter

# Audio Filter

# Audio and Video Filter

# Video Filter




Frame Rate Conversion