[go: nahoru, domu]

Skip to content

Audio and Video Filters

Chris Varenhorst edited this page Apr 9, 2020 · 3 revisions

Custom Filters

You can add arbitrary video and audio filters in Video > Video filters and Audio > Audio Filters.

Please refer to mpv's documentation for filter format:

Most filters in FFmpeg are available directly through mpv. Run mpv --af=help or mpv --vf=help to list them.

See mpv documentation for filter parameter syntax. If an mpv filter has multiple parameters, then in IINA they all go into the filter's "value" and are separated by :, just like they are on the command line. For example, you might call mpv with the scaletempo audio filter like this:

mpv --af=scaletempo=stride=8:overlap=1:search=10 some-file.mkv

To use that same audio filter in IINA, create a new audio filter with the name scaletempo and the value stride=8:overlap=1:search=10. In this example stride, overlap, and search are all parameters of the scaletempo filter. Here's a screenshot of that for reference:

Internal Filters

Some features in IINA (crop, flip and audio EQ) are achieved using mpv filters. Those filters should have names begin with iina. You are not supposed to change them.

Hardware Decoding and Video Filters

IINA enables hardware decoding by default. However, most video filter based features will not work properly in this situation.

  • Clipping may clip the video from top left corner, instead of center.
  • Flip and mirror will not work.

Some of them will be reflected in UI (ticks remain unchecked), but some won't. To use these features properly, disable hardware decoding in Preference > Codec.