Av1an icon indicating copy to clipboard operation
Av1an copied to clipboard

The program closes immediately after launch

Open Niotferdi opened this issue 1 year ago • 4 comments

I downloaded the av1an binary and put the FFmpeg, VapourSynth and SvtAv1EncApp binaries in the same folder. I type av1an.exe while in its folder, but I don't get any output, the program quits after a second. What am I doing wrong?

Niotferdi avatar Oct 02 '23 19:10 Niotferdi

Are you in PowerShell? Just had the same problem. Even ".\av1an.exe --help" did not give any output. So I ran it from a regular old shell and little windows would pop up showing me info about all the DLLs that could not be found.

michaelbub avatar Oct 30 '23 12:10 michaelbub

You can run from within powershell. Your problem indicates a problem with paths or binaries. FFMPEG needs shared build not static.

menditsa avatar Oct 30 '23 17:10 menditsa

You can run from within powershell. Your problem indicates a problem with paths or binaries. FFMPEG needs shared build not static.

Yes, but when a DLL is missing and you run via PowerShell there is no pop-up informing you which DLL is missing (Windows 11). So if you indeed have a problem with DLLs you will never learn what it is. Only via regular shell do the pop-ups show. No idea what the problem is with these pop-ups, but that is what I experienced.

michaelbub avatar Oct 30 '23 18:10 michaelbub

The program builds fine then insta-crashes here in vsscript_createScript with access violation. I'm not sure it's in a state where it can reproducibly build on Windows right now, I'm using the HEAD from here, plus VapourSynth R58 (since it's linked in the compilation document and I was experiencing the same error with R65), plus an ffmpeg 6.1.

https://github.com/Hishiro64/av1an-win-script gives a hint as to what exact dlls are required to make it work.

foxmsft avatar Dec 18 '23 11:12 foxmsft