Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Some ffmpeg DLLs aren't included in the windows release? (avfilter-9.dll + postproc-57.dll) #274

Open
1 task done
DimitriPilot3 opened this issue Oct 11, 2024 · 2 comments

Comments

@DimitriPilot3
Copy link
Contributor

DimitriPilot3 commented Oct 11, 2024

Issue

  • I have searched the existing issues

Affected Build(s)

r608383e (msvc and msys2)

Description of the issue

The release builds provided for citra-windows-msvc and citra-windows-msys2 appear to be missing some shared DLLs that are needed for the video dumping feature:

Reproduction Steps

  1. Download the affected build(s) from the release page
  2. Run citra-qt
  3. Menu > Tools > Dump video

Expected: A dialog appears, you can decide the format, video, and audio encode options

Actual: FFmpeg could not be loaded

Log file

[2161.556650] Common common/dynamic_library/ffmpeg.cpp:LoadAVUtil:132: Could not dynamically load libavutil: The specified module cannot be found.

(If avfilter-9.dll exists but postproc-57.dll is missing, the log output is the same.)

System configuration

OS: Windows 10 22H2

Workaround

  1. Download ffmpeg 6 shared libraries from gyan.dev (6.1.1) or BtbN (latest 6.1)
  2. Extract the bin directory somewhere
  3. Open Citra, Menu > Tools > Dump video. Select the bin directory when prompted. If it failed to install (likely because it can't overwrite DLLs that are in use by Citra), close Citra, and copy all .dll files from the bin directory into the Citra directory, overwriting existing files.
  4. Open Citra, Menu > Tools > Dump video
  5. ???
  6. Profit?

After doing this, it seems to load and record successfully but not everything works. The best I got was an output file that only contained audio but no video. (EDIT: that was with Vulkan—OpenGL works fine!) but occasionally I get a deadlock when emulation stops.

@rtiangha
Copy link
Contributor

Are you using Vulkan? The video dumping only seems to work with OpenGL (unless I'm doing something wrong); Vulkan gets you audio but a black screen.

@DimitriPilot3
Copy link
Contributor Author

Oh, you're right! I was using Vulkan and only got audio, but with OpenGL it records audio and video successfully.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants