Replay Mod Forums

Render error, please help me fix this
    • User
    • 1 forum post
    User83647
    #1

    Jun 02 18, 09:21 PM

    Log

    ---- Minecraft Crash Report ----
    // On the bright side, I bought you a teddy bear!

    Time: 6/2/18 2:20 PM
    Description: Rendering video

    java.lang.IllegalArgumentException: Unbalanced quotes in -y -f rawvideo -pix_fmt rgb24 -s 1280x720 -r 73 -i - -an -c:v libx264 -preset ultrafast -pix_fmt yuv420p "2018_06_02_14_20_19.mp4
    at com.replaymod.lib.org.apache.commons.exec.CommandLine.translateCommandline(CommandLine.java:396)
    at com.replaymod.lib.org.apache.commons.exec.CommandLine.addArguments(CommandLine.java:212)
    at com.replaymod.lib.org.apache.commons.exec.CommandLine.addArguments(CommandLine.java:198)
    at com.replaymod.render.VideoWriter.(VideoWriter.java:64)
    at com.replaymod.render.rendering.VideoRenderer$1.(VideoRenderer.java:91)
    at com.replaymod.render.rendering.VideoRenderer.(VideoRenderer.java:91)
    at com.replaymod.render.gui.GuiRenderSettings$7.run(GuiRenderSettings.java:202)
    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:112)
    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:483)
    at com.replaymod.lib.de.johni0702.minecraft.gui.element.AbstractComposedGuiElement$3.invoke(AbstractComposedGuiElement.java:152)
    at com.sun.proxy.$Proxy36.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:483)
    at com.replaymod.lib.de.johni0702.minecraft.gui.element.AbstractComposedGuiElement$3.invoke(AbstractComposedGuiElement.java:149)
    at com.sun.proxy.$Proxy36.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:483)
    at com.replaymod.lib.de.johni0702.minecraft.gui.element.AbstractComposedGuiElement$3.invoke(AbstractComposedGuiElement.java:149)
    at com.sun.proxy.$Proxy36.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:483)
    at com.replaymod.lib.de.johni0702.minecraft.gui.element.AbstractComposedGuiElement$2.invoke(AbstractComposedGuiElement.java:82)
    at com.sun.proxy.$Proxy36.mouseClick(Unknown Source)
    at com.replaymod.lib.de.johni0702.minecraft.gui.container.AbstractGuiScreen$MinecraftGuiScreen.func_73864_a(AbstractGuiScreen.java:181)
    at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:533)
    at com.replaymod.lib.de.johni0702.minecraft.gui.container.AbstractGuiScreen$MinecraftGuiScreen.func_146274_d(AbstractGuiScreen.java:201)
    at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:501)
    at com.replaymod.replay.InputReplayTimer.func_74275_a(InputReplayTimer.java:49)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1079)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    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:483)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------

    -- System Details --
    Details:
    Minecraft Version: 1.12.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_25, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 415099888 bytes (395 MB) / 1073741824 bytes (1024 MB) up to 1073741824 bytes (1024 MB)
    JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP 9.42 Powered by Forge 14.23.4.2707 13 mods loaded, 13 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

    | State | ID | Version | Source | Signature |
    |:------ |:----------------------- |:------------ |:------------------------------ |:---------------------------------------- |
    | UCHIJA | minecraft | 1.12.2 | minecraft.jar | None |
    | UCHIJA | mcp | 9.42 | minecraft.jar | None |
    | UCHIJA | FML | 8.0.99.99 | forge-1.12.2-14.23.4.2707.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | UCHIJA | forge | 14.23.4.2707 | forge-1.12.2-14.23.4.2707.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | UCHIJA | replaymod-compat | 1.12.2-2.1.2 | replaymod-1.12.2-2.1.2 (1).jar | None |
    | UCHIJA | replaymod | 1.12.2-2.1.2 | replaymod-1.12.2-2.1.2 (1).jar | None |
    | UCHIJA | replaymod-editor | 1.12.2-2.1.2 | replaymod-1.12.2-2.1.2 (1).jar | None |
    | UCHIJA | replaymod-extras | 1.12.2-2.1.2 | replaymod-1.12.2-2.1.2 (1).jar | None |
    | UCHIJA | replaymod-online | 1.12.2-2.1.2 | replaymod-1.12.2-2.1.2 (1).jar | None |
    | UCHIJA | replaymod-recording | 1.12.2-2.1.2 | replaymod-1.12.2-2.1.2 (1).jar | None |
    | UCHIJA | replaymod-render | 1.12.2-2.1.2 | replaymod-1.12.2-2.1.2 (1).jar | None |
    | UCHIJA | replaymod-replay | 1.12.2-2.1.2 | replaymod-1.12.2-2.1.2 (1).jar | None |
    | UCHIJA | replaymod-simplepathing | 1.12.2-2.1.2 | replaymod-1.12.2-2.1.2 (1).jar | None |

    Loaded coremods (and transformers):
    LoadingPlugin (replaymod-1.12.2-2.1.2 (1).jar)

    GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13456 Compatibility Profile Context 21.19.144.32768' Renderer: 'AMD Radeon(TM) R7 250'


    • Developer
    • 1883 forum posts
    User10
    #2

    Jun 02 18, 09:26 PM

    Looks like you accidentally changed the ffmpeg command line arguments (bottom right text box in the render settings). Since that happens quite frequently, we added some code to warn people and ask them if they wish to undo their changes instead of crashing.
    Unfortunately, that code isn't executed when there are unbalanced quotes in the arguments.
    So, to get the original arguments back, just completely empty that text box and try to render. The mod will then ask you whether you want to reset them (because completely empty is invalid) and after affirming that, it should work.