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

av1an: builds but has no console output #2775

Open
LigH-de opened this issue Oct 3, 2024 · 8 comments
Open

av1an: builds but has no console output #2775

LigH-de opened this issue Oct 3, 2024 · 8 comments

Comments

@LigH-de
Copy link
Contributor

LigH-de commented Oct 3, 2024

I built a static Win64 EXE and tried to run it. But there is no console output. I also tested av1an.exe --help but there is no console output either. Does it require additional DLLs in the same directory to start at all? Or how may I proceed to search for a reason?

Also mentioned upstream in Av1an issue #883

@1480c1
Copy link
Member

1480c1 commented Oct 3, 2024

Did you try double clicking from file explorer to see if it gives a dll not found error window?

@LigH-de
Copy link
Contributor Author

LigH-de commented Oct 4, 2024

When I double-click it in the Explorer, a console windows opens and closes.

Originally I tested it in a console emulation in the "Far manager".

@Uranite told me in the upstream issue:

you need ffmpeg shared and vapoursynth

So I am not sure whether there are basic issues with a static build. I'll test the shared build as well...

@LigH-de
Copy link
Contributor Author

LigH-de commented Oct 4, 2024

Despite selecting av1an=2 it is still built as static EXE, judging by its exactly same size of ~18 MB in both cases.

@Uranite
Copy link

Uranite commented Oct 4, 2024

I think you just need to install vapoursynth so that you're able to run av1an, I would've said that you need the dlls of ffmpeg shared in your PATH or in the same directory as av1an.exe, but it doesn't seem to be necessary with av1an that is built via media-autobuild_suite, but worth trying nonetheless

@LigH-de
Copy link
Contributor Author

LigH-de commented Oct 4, 2024

I put all the shared FFmpeg DLLs (and more probably unnecessary files) and the Vapoursynth DLLs in the same directory:

04.10.2024  08:27        18.918.912 av1an.exe
04.10.2024  08:39        95.208.960 avcodec-61.dll
04.10.2024  08:39           137.180 avcodec.lib
04.10.2024  08:39         7.354.880 avdevice-61.dll
04.10.2024  08:39            14.120 avdevice.lib
04.10.2024  08:39        54.161.408 avfilter-10.dll
04.10.2024  08:39            55.422 avfilter.lib
04.10.2024  08:39        18.725.376 avformat-61.dll
04.10.2024  08:39           127.900 avformat.lib
04.10.2024  08:39         2.650.624 avutil-59.dll
04.10.2024  08:39           477.114 avutil.lib
04.10.2024  08:39           432.128 ffmpeg.exe
04.10.2024  08:39        29.302.784 ffplay.exe
04.10.2024  08:39           223.232 ffprobe.exe
04.10.2024  08:39            88.064 postproc-58.dll
04.10.2024  08:39             9.548 postproc.lib
04.10.2024  08:39           459.776 swresample-5.dll
04.10.2024  08:39            19.876 swresample.lib
04.10.2024  08:39           707.584 swscale-8.dll
04.10.2024  08:39            26.238 swscale.lib
16.09.2024  15:27         2.233.856 vapoursynth.dll
16.09.2024  17:26            48.640 VSScript.dll

Still, no console output. It seems to close already before it is able to print messages about anything missing.

@L4cache
Copy link
Contributor

L4cache commented Oct 5, 2024

Rust is not automatic installed

update: below is probably just some weird bug, I can't reproduce it now
and FFmpeg.exe is gone after building static linked av1an, and this will not trigger "missing files" next time (if ffmpeg git is not updated)

@L4cache
Copy link
Contributor

L4cache commented Oct 11, 2024

master-of-zen/Av1an#885

Currently the newer code of FFmpeg will cause this strange bug, originally tested with av1an latest release (exe upload date 2024-10-03) + FFmpeg 7.1 dlls download from gyan.dev but also apply to the latest git version built by m-ab-s.
(I didn't have this no console output problem...)

@woot000
Copy link
Contributor

woot000 commented Oct 25, 2024

Av1an not outputting anything to the console is due to Python and Vapoursynth not being installed. I was under the assumption that they weren't required for runtime, so I hadn't included a disclaimer saying so -- that's my bad

Still, av1an could stand to include an error message like Python not found or Vapoursynth not installed instead of displaying nothing

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

5 participants