iina/iina

How to make a video filter apply by default

Opened this issue · 1 comments

I’m trying to find a way to make it so all my videos open with a custom video filter I currently use to sharpen videos. I’m able to have other settings like saturation and gamma open at a default level but not saved video filters. So I’m not sure if it’s possible.

For audio/video playback and subtitle rendering support IINA is using a library from the mpv project. Many mpv features not exposed by IINA's UI can still be used.

As an example, follow these instructions:

  • Start IINA
  • Click on Settings… under the IINA menu
  • The settings panel appears
  • On the left side of the panel click on Advanced
  • Slide the Enable advanced settings toggle button to be on (blue)
  • In the Additional mpv options section click on +
  • A new entry appears in the table
  • Double click on name and replace it with vf
  • Double click on value and replace it with vflip
  • Confirm the settings panel looks like the screenshot below
  • Restart IINA to activate the new settings

issue-4866

This uses the mpv vf option:

--vf=<filter1[=parameter1:parameter2:...],filter2,...>
Specify a list of video filters to apply to the video stream. See VIDEO FILTERS for details and descriptions of the available filters.

To apply the vflip video filter.

At the bottom of the Advanced settings tab there is a Use config directory setting. This allows you to use a mpv configuration file. That is another way to apply video filters.

I will label this as a feature request for IINA to provide a way to apply filters by default without having to directly use mpv configuration.