Trying to render a replay on OSX 10.14.5. I will see the progress bar for the render, then it will say "Saving World" and crash. Based on other report of that I looked at the crash report and export.log.
export.log
dyld: Library not loaded: /usr/local/opt/libffi/lib/libffi.6.dylib
Referenced from: /usr/local/opt/p11-kit/lib/libp11-kit.0.dylib
Reason: image not found
I tried `brew install libffi` but it already existed. However, it wasn't linked. I tried to link it but got this message as a response.
Warning: Refusing to link macOS-provided software: libffi
For compilers to find libffi you may need to set:
export LDFLAGS="-L/usr/local/opt/libffi/lib"
I tried adding the export statement to no avail. How can I make ffmpeg see this libffi? Crash report below.
---- Minecraft Crash Report ----
// This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~]
Time: 10/17/19 5:32 PM
Description: Exporting video
com.replaymod.render.VideoWriter$FFmpegStartupException
at com.replaymod.render.VideoWriter.getVideoFile(VideoWriter.java:154)
at com.replaymod.render.VideoWriter.consume(VideoWriter.java:119)
at com.replaymod.render.rendering.VideoRenderer$1.consume(VideoRenderer.java:116)
at com.replaymod.render.rendering.VideoRenderer$1.consume(VideoRenderer.java:112)
at com.replaymod.render.rendering.Pipeline$ProcessTask.run(Pipeline.java:113)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Client thread
Stacktrace:
at com.replaymod.render.gui.GuiExportFailed.tryToRecover(GuiExportFailed.java:34)
-- Export details --
Details:
Settings: RenderSettings(renderMethod=Default Rendering, encodingPreset=MP4 - Default Quality, videoWidth=1920, videoHeight=1080, framesPerSecond=60, bitRate=10485760, outputFile=/Users/fakeuser/Library/Application Support/minecraft/./replay_videos/2019_10_17_17_32_47.mp4, renderNameTags=true, stabilizeYaw=false, stabilizePitch=false, stabilizeRoll=false, chromaKeyingColor=null, sphericalFovX=360, sphericalFovY=180, injectSphericalMetadata=false, antiAliasing=None, exportCommand=, exportArguments=-y -f rawvideo -pix_fmt bgra -s %WIDTH%x%HEIGHT% -r %FPS% -i - %FILTERS%-an -c:v libx264 -preset ultrafast -pix_fmt yuv420p "%FILENAME%", highPerformance=false)
FFmpeg log: dyld: Library not loaded: /usr/local/opt/libffi/lib/libffi.6.dylib
Referenced from: /usr/local/opt/p11-kit/lib/libp11-kit.0.dylib
Reason: image not found
Stacktrace:
at com.replaymod.render.gui.GuiExportFailed.tryToRecover(GuiExportFailed.java:34)
at com.replaymod.render.gui.GuiRenderSettings$8.run(GuiRenderSettings.java:253)
at com.replaymod.lib.de.johni0702.minecraft.gui.element.AbstractGuiClickable.onClick(AbstractGuiClickable.java:71)
at com.replaymod.lib.de.johni0702.minecraft.gui.element.AbstractGuiButton.onClick(AbstractGuiButton.java:118)
at com.replaymod.lib.de.johni0702.minecraft.gui.element.AbstractGuiClickable.mouseClick(AbstractGuiClickable.java:53)
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.replaymod.lib.de.johni0702.minecraft.gui.element.AbstractComposedGuiElement$3.invoke(AbstractComposedGuiElement.java:150)
at com.sun.proxy.$Proxy26.mouseClick(Unknown Source)
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.replaymod.lib.de.johni0702.minecraft.gui.element.AbstractComposedGuiElement$3.invoke(AbstractComposedGuiElement.java:147)
at com.sun.proxy.$Proxy26.mouseClick(Unknown Source)
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.replaymod.lib.de.johni0702.minecraft.gui.element.AbstractComposedGuiElement$3.invoke(AbstractComposedGuiElement.java:147)
at com.sun.proxy.$Proxy26.mouseClick(Unknown Source)
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.replaymod.lib.de.johni0702.minecraft.gui.element.AbstractComposedGuiElement$2.invoke(AbstractComposedGuiElement.java:80)
at com.sun.proxy.$Proxy26.mouseClick(Unknown Source)
at com.replaymod.lib.de.johni0702.minecraft.gui.container.AbstractGuiScreen$MinecraftGuiScreen.mouseClicked(AbstractGuiScreen.java:274)
at net.minecraft.class_312.method_1611(class_312.java:86)
at net.minecraft.class_437.wrapScreenError(class_437.java:441)
at net.minecraft.class_312.method_1601(class_312.java:86)
at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36)
at org.lwjgl.system.JNI.invokeV(Native Method)
at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3050)
at net.minecraft.class_1041.method_16001(class_1041.java:408)
at net.minecraft.class_1041.method_15998(class_1041.java:279)
at net.minecraft.class_310.method_15994(class_310.java:1023)
at net.minecraft.class_310.method_1523(class_310.java:976)
at net.minecraft.class_310.method_1514(class_310.java:410)
at net.minecraft.client.main.Main.main(Main.java:155)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:178)
at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:131)
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:26)
-- Gui --
Details:
Method: public abstract boolean com.replaymod.lib.de.johni0702.minecraft.gui.function.Clickable.mouseClick(com.replaymod.lib.de.johni0702.minecraft.gui.utils.lwjgl.ReadablePoint,int)
ComposedElement: com.replaymod.lib.de.johni0702.minecraft.gui.element.GuiButton@User61466b5f
Element: com.replaymod.lib.de.johni0702.minecraft.gui.element.GuiButton@User61466b5f
-- Gui --
Details:
Method: public abstract boolean com.replaymod.lib.de.johni0702.minecraft.gui.function.Clickable.mouseClick(com.replaymod.lib.de.johni0702.minecraft.gui.utils.lwjgl.ReadablePoint,int)
ComposedElement: com.replaymod.lib.de.johni0702.minecraft.gui.container.GuiPanel@User79d15b02
Element: com.replaymod.lib.de.johni0702.minecraft.gui.container.GuiPanel@User79d15b02
-- Gui --
Details:
Method: public abstract boolean com.replaymod.lib.de.johni0702.minecraft.gui.function.Clickable.mouseClick(com.replaymod.lib.de.johni0702.minecraft.gui.utils.lwjgl.ReadablePoint,int)
ComposedElement: com.replaymod.lib.de.johni0702.minecraft.gui.container.GuiPanel@User591e1df7
Element: com.replaymod.lib.de.johni0702.minecraft.gui.container.GuiPanel@User591e1df7
-- Gui --
Details:
Method: public abstract boolean com.replaymod.lib.de.johni0702.minecraft.gui.function.Clickable.mouseClick(com.replaymod.lib.de.johni0702.minecraft.gui.utils.lwjgl.ReadablePoint,int)
ComposedElement: com.replaymod.render.gui.GuiRenderSettings@User70886b0e
Element: com.replaymod.render.gui.GuiRenderSettings@User70886b0e
-- Affected screen --
Details:
Screen name: com.replaymod.lib.de.johni0702.minecraft.gui.container.AbstractGuiScreen.MinecraftGuiScreen
-- Affected level --
Details:
All players: 2 total; [CameraEntity['Heliax11'/-1789435, l='MpServer', x=-746.72, y=26.04, z=82.35], class_745['Heliax11'/686739, l='MpServer', x=-742.43, y=18.00, z=89.27]]
Chunk stats: Client Chunk Cache: 729, 484
Level dimension: minecraft:overworld
Level name: MpServer
Level seed: 0
Level generator: ID 03 - amplified, ver 0. Features enabled: false
Level generator options: {}
Level spawn location: World: (6,14,-19), Chunk: (at 6,0,13 in 0,-2; contains blocks 0,0,-32 to 15,255,-17), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Level time: 83689991 game time, 1596374 day time
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: true), thunder time: 0 (now: false)
Level game mode: Game mode: spectator (ID 3). Hardcore: false. Cheats: false
Server brand: ~~NULL~~
Server type: Non-integrated multiplayer server
-- System Details --
Details:
Minecraft Version: 1.14.4
Minecraft Version ID: 1.14.4
Operating System: Mac OS X (x86_64) version 10.14.5
Java Version: 1.8.0_74, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 887369704 bytes (846 MB) / 1845493760 bytes (1760 MB) up to 2147483648 bytes (2048 MB)
CPUs: 12
JVM Flags: 8 total; -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Fabric Mods:
fabric: Fabric API 0.4.0+build.240-1.14
fabric-api-base: Fabric API Base 0.1.0+2983bc0442
fabric-biomes-v1: Fabric Biomes (v1) 0.1.0+591e97ae42
fabric-commands-v0: Fabric Commands (v0) 0.1.1+591e97ae42
fabric-containers-v0: Fabric Containers (v0) 0.1.2+591e97ae42
fabric-content-registries-v0: Fabric Content Registries (v0) 0.1.1+591e97ae42
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.1+591e97ae42
fabric-dimensions-v1: fabric-dimensions-v1 0.1.0+369ab22e42
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.1.1+591e97ae42
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.1.1+591e97ae42
fabric-item-groups-v0: Fabric Item Groups (v0) 0.1.0+591e97ae42
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.1.1+591e97ae42
fabric-loot-tables-v1: Fabric Loot Tables (v1) 0.1.0+591e97ae42
fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.0+591e97ae42
fabric-models-v0: Fabric Models (v0) 0.1.0+591e97ae42
fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.0+c877038942
fabric-networking-v0: Fabric Networking (v0) 0.1.3+591e97ae42
fabric-object-builders-v0: Fabric Object Builders (v0) 0.1.1+591e97ae42
fabric-particles-v1: fabric-particles-v1 0.1.1+c877038942
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.2.2+591e97ae42
fabric-renderer-api-v1: Fabric Renderer API (v1) 0.1.1+591e97ae42
fabric-renderer-indigo: Fabric Renderer - Indigo 0.1.13+591e97ae42
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.1+c877038942
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.2+36f27aa342
fabric-rendering-v0: Fabric Rendering (v0) 0.1.1+591e97ae42
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.1.3+591e97ae42
fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 0.1.1+591e97ae42
fabric-textures-v0: Fabric Textures (v0) 0.1.4+591e97ae42
fabricloader: Fabric Loader 0.6.3+build.167
minecraft: Minecraft 1.14.4
replaymod: Replay Mod 1.14.4-2.2.0-b7
Launched Version: fabric-loader-0.6.3+build.167-1.14.4
LWJGL: 3.2.1 build 12
OpenGL: AMD Radeon Pro 555X OpenGL Engine GL version 2.1 ATI-2.9.26, ATI Technologies Inc.
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because ARB_framebuffer_object is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fabric'
Type: Client (map_client.txt)
Resource Packs:
Current Language: English (US)
CPU: 12x Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz