UnityPlugin-AVProVideo icon indicating copy to clipboard operation
UnityPlugin-AVProVideo copied to clipboard

[Enhancement][Windows] Add support for using embedded LAVFilters

Open Last8Exile opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

  1. Without LAVFilters video playback using DirectShow api is wery limited. Users need to install them as separate step.
  2. Starting from 0.75.0 LAVFilters is unable to play webm vp9 360 stereo eac-projection videos (BUG).

Embeding specific version of filters in application will solve these issues.

Describe the solution you'd like In platform settings for windows add string property: LAVFiltersPath. If empty - use existing behaviour. Otherwise use filters from specified path. This property should respect changes at runtime (at least before opening first video). Using unregistered filters can be done by instantiating them and instering into graph at c++ side. https://www.gdcl.co.uk/2011/June/UnregisteredFilters.htm MPC-HC somehow doing this. I can swap filters by altering contents of LAVFilters64 folder.

Describe alternatives you've considered Only solutions i found require registering LAVFilters globally with admin privelegies. This may break other software on user's PC.

Last8Exile avatar Dec 20 '23 12:12 Last8Exile