Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[win] Reopen and update Avisynth support #134

Open
inkydragon opened this issue May 25, 2021 · 1 comment
Open

[win] Reopen and update Avisynth support #134

inkydragon opened this issue May 25, 2021 · 1 comment

Comments

@inkydragon
Copy link
Contributor

The DLL is packaged but the compilation option is not enabled:

$avsReleases = Invoke-WebRequest "https://api.github.com/repos/AviSynth/AviSynthPlus/releases/latest" -UseBasicParsing | ConvertFrom-Json

Write-Output 'Copying - codecs\Avisynth'
Copy-New-Item $InstallerDepsDir\AvisynthPlus64\x86-64\DevIL.dll $PortableOutputDir
Copy-New-Item $InstallerDepsDir\AvisynthPlus64\x86-64\AviSynth.dll $PortableOutputDir
Copy-New-Item $InstallerDepsDir\AvisynthPlus64\x86-64\plugins\DirectShowSource.dll $PortableOutputDir

option('avisynth', type: 'feature', description: 'AviSynth video source')

We also need to update header files:

enum { AVISYNTH_INTERFACE_VERSION = 3 };

AVISYNTH_INTERFACE_VERSION = 8 —— AviSynthPlus/avisynth.h at master · AviSynth/AviSynthPlus

Maybe add the header files as a dependency.
Headers for AviSynthPlus

@CoffeeFlux
Copy link
Member

I ran into build issues when trying to update them and decided to deprioritize working on the Avisynth provider since ffmpeg is good enough for most people. If you do get it working, it should include an option in the meson_options.txt file to turn it on/off (and maybe be off by default?)

arch1t3cht referenced this issue in arch1t3cht/Aegisub Jul 5, 2022
- Build the latest AviSynth headers using CMake, as proposed in #134
- Add and initialize AVS_Linkage to fix video loading

Video and audio playback now works in most cases, but still crashes for
some files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants