Replay Mod Forums

This Thread is locked - no new replies are allowed.

Locked Still not able to Render :/ (Solved)
    • User
    • 132 forum posts
    User738
    #1

    Aug 25 15, 10:47 AM | Last edited: Aug 25 15, 10:49 AM

    Despite many attempts, trying to read all guides, looking up writing permissions and everything, I still get this crash 1 second after I press render:
    Any Solutions? (And yes, I did read the document, forums, pretty much everything)

    ---- Minecraft Crash Report ----
    // This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~]

    Time: 25/08/15 6:44 PM
    Description: Exporting frame

    java.io.IOException: Stream closed
    at java.lang.ProcessBuilder$NullOutputStream.write(ProcessBuilder.java:433)
    at java.io.OutputStream.write(OutputStream.java:116)
    at java.io.BufferedOutputStream.write(BufferedOutputStream.java:122)
    at java.nio.channels.Channels$WritableByteChannelImpl.write(Channels.java:458)
    at eu.crushedpixel.replaymod.video.VideoWriter.consume(VideoWriter.java:91)
    at eu.crushedpixel.replaymod.video.VideoRenderer$1.consume(VideoRenderer.java:65)
    at eu.crushedpixel.replaymod.video.VideoRenderer$1.consume(VideoRenderer.java:61)
    at eu.crushedpixel.replaymod.video.rendering.Pipeline$ProcessTask.run(Pipeline.java:102)
    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 --
    Stacktrace:
    at java.lang.ProcessBuilder$NullOutputStream.write(ProcessBuilder.java:433)
    at java.io.OutputStream.write(OutputStream.java:116)
    at java.io.BufferedOutputStream.write(BufferedOutputStream.java:122)
    at java.nio.channels.Channels$WritableByteChannelImpl.write(Channels.java:458)

    -- Export details --
    Details:
    Export command: /usr/local/Cellar/ffmpeg/2.7.2_1/bin/ffmpeg
    Export args: -y -f rawvideo -pix_fmt rgb24 -s 1920x1080 -r 60 -i - -an -c:v libx264 -preset ultrafast -pix_fmt yuv420p "MB.mp4"
    Stacktrace:
    at eu.crushedpixel.replaymod.video.VideoWriter.consume(VideoWriter.java:91)
    at eu.crushedpixel.replaymod.video.VideoRenderer$1.consume(VideoRenderer.java:65)
    at eu.crushedpixel.replaymod.video.VideoRenderer$1.consume(VideoRenderer.java:61)
    at eu.crushedpixel.replaymod.video.rendering.Pipeline$ProcessTask.run(Pipeline.java:102)
    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)

    -- System Details --
    Details:
    Minecraft Version: 1.8
    Operating System: Mac OS X (x86_64) version 10.10.4
    Java Version: 1.8.0_31, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 6079374216 bytes (5797 MB) / 8160477184 bytes (7782 MB) up to 8160477184 bytes (7782 MB)
    JVM Flags: 13 total; -Xmn4G -Xss8M -Xms8G -Xmx8G -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -XX:+OptimizeStringConcat -XX:+UseBiasedLocking -Xincgc -XX:MaxGCPauseMillis=10 -XX:+CMSParallelRemarkEnabled -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:ParallelGCThreads=10
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v9.10 FML v8.0.99.99 Minecraft Forge 11.14.3.1502 4 mods loaded, 4 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCHIJA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
    UCHIJA FML{8.0.99.99} [Forge Mod Loader] (forge-1.8-11.14.3.1502.jar)
    UCHIJA Forge{11.14.3.1502} [Minecraft Forge] (forge-1.8-11.14.3.1502.jar)
    UCHIJA replaymod{1.0.3-bef4e7e} [Replay Mod] (ReplayMod_v1.0.3.jar)
    Loaded coremods (and transformers):
    LoadingPlugin (ReplayMod_v1.0.3.jar)
    eu.crushedpixel.replaymod.coremod.ForceChunkLoadingCT
    GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.


    • Moderator
    • Beta Tester
    • 357 forum posts
    User13

    in response to User738

    #2

    Aug 25 15, 10:55 AM | Last edited: Aug 25 15, 10:55 AM

    Spoiler: Quote



    Are you sure, there is enough space?
    If you type in " /usr/local/Cellar/ffmpeg/2.7.2_1/bin/ffmpeg -version" to the Terminal, and hit enter, what is the output?


    • User
    • 132 forum posts
    User738
    #3

    Aug 25 15, 10:56 AM

    /usr/local/Cellar/ffmpeg/2.7.2_1/bin/ffmpeg -versionLast login: Tue Aug 25 17:25:10 on console

    (name)-iMac:~ iTrebor$ /usr/local/Cellar/ffmpeg/2.7.2_1/bin/ffmpeg -version
    dyld: Library not loaded: /usr/local/lib/libx264.146.dylib
    Referenced from: /usr/local/Cellar/ffmpeg/2.7.2_1/bin/ffmpeg
    Reason: no suitable image found. Did find:
    /usr/local/lib/libx264.146.dylib: stat() failed with errno=13
    /usr/local/lib/libx264.146.dylib: stat() failed with errno=13
    Trace/BPT trap: 5


    • Moderator
    • Beta Tester
    • 357 forum posts
    User13

    in response to User738

    #4

    Aug 25 15, 11:03 AM

    Spoiler: quote



    This.. This really doesn't look right...


    • User
    • 132 forum posts
    User738
    #5

    Aug 25 15, 11:04 AM

    Yeah, that is what I have thought myself for awhile :/



    • Moderator
    • Beta Tester
    • 357 forum posts
    User13

    in response to User738

    #6

    Aug 25 15, 11:13 AM


    Yeah, that is what I have thought myself for awhile :/


    Try this command: "brew missing"


    • User
    • 132 forum posts
    User738
    #7

    Aug 25 15, 11:14 AM

    (name)-iMac:~ iTrebor$ brew missing
    (name)-iMac:~ iTrebor$


    • Moderator
    • Beta Tester
    • 357 forum posts
    User13

    in response to User738

    #8

    Aug 25 15, 11:14 AM


    (name)-iMac:~ iTrebor$ brew missing
    (name)-iMac:~ iTrebor$


    That was fast...
    Try rendering now


    • User
    • 132 forum posts
    User738
    #9

    Aug 25 15, 11:17 AM | Last edited: Aug 25 15, 11:20 AM

    Still crashes like before :c

    Also I have notifications set on for this website, so it notifies when I get a reply/message etc.


    • Moderator
    • Beta Tester
    • 357 forum posts

    Well.. I have no idea how to help, because I don't have a Mac...



    • User
    • 132 forum posts


    Well.. I have no idea how to help, because I don't have a Mac...
    Would I be able to contact someone to help me, with a mac, in regard to my issue?


    • Moderator
    • Beta Tester
    • 357 forum posts



    Well.. I have no idea how to help, because I don't have a Mac...
    Would I be able to contact someone to help me, with a mac, in regard to my issue?


    @User1 ...


    • User
    • 132 forum posts

    Well, would you be able to message him to try to find a solution, or should I message him about it?


    • Developer
    • 818 forum posts
    User1
    #14

    Aug 25 15, 11:41 AM

    A wild CrushedPixel appeared


    • User
    • 132 forum posts
    User738

    in response to User1

    #15

    Aug 25 15, 11:42 AM


    A wild CrushedPixel appeared
    O'nice! Well, reading the thread, can you come up with a reason for this cause and a solution?



    • Developer
    • 818 forum posts
    User1
    #16

    Aug 25 15, 11:42 AM

    I suggest completely uninstalling ffmpeg using brew rm ffmpeg, and then reinstalling it manually by putting the ffmpeg file into /usr/local/bin


    • User
    • 132 forum posts
    User738
    #17

    Aug 25 15, 11:44 AM

    Error: Permission denied - /usr/local/Library/LinkedKegs/ffmpeg
    (name)-iMac:~ iTrebor$


    • Moderator
    • Beta Tester
    • 357 forum posts
    User13

    in response to User738

    #18

    Aug 25 15, 11:45 AM | Last edited: Aug 25 15, 11:46 AM

    sudo brew rm ffmpeg ?


    • User
    • 132 forum posts
    User738
    #19

    Aug 25 15, 11:46 AM | Last edited: Aug 25 15, 11:46 AM

    sudo: brem: command not found
    Roberts-iMac:~ iTrebor$
    Should we move to some chatting platform just so we don't spam the forums? :P


    • Moderator
    • Beta Tester
    • 357 forum posts

    sudo brew rm ffmpeg



    • User
    • 132 forum posts
    User738
    #21

    Aug 25 15, 11:48 AM | Last edited: Aug 25 15, 11:51 AM

    Worked.

    Roberts-iMac:~ iTrebor$ sudo brew rm ffmpeg
    Uninstalling /usr/local/Cellar/ffmpeg/2.7.2_1... (207 files, 43M)

    What do I need to do to reinstall it?

    So now I am back to an issue I was ages ago:

    Error: The `brew link` step did not complete successfully
    The formula built, but is not symlinked into /usr/local
    Could not symlink lib/libavcodec.56.41.100.dylib
    /usr/local/lib is not writable.

    And when I do brew doctor:

    Roberts-iMac:~ iTrebor$ brew doctor
    Please note that these warnings are just used to help the Homebrew maintainers
    with debugging if you file an issue. If everything you use Homebrew for is
    working fine: please don't worry and just ignore them. Thanks!

    Warning: /usr/local/lib isn't writable.

    This can happen if you "sudo make install" software that isn't managed by
    by Homebrew. If a formula tries to write a file to this directory, the
    install will fail during the link step.

    You should probably `chown` /usr/local/lib

    Warning: Your XQuartz (2.7.4) is outdated
    Please install XQuartz 2.7.7:
    https://xquartz.macosforge.org
    Error: Permission denied - /usr/local/lib


    • User
    • 132 forum posts
    User738
    #22

    Aug 25 15, 11:53 AM | Last edited: Aug 25 15, 11:55 AM

    Should I attempt to do "sudo chmod g+w /usr/local/lib"?
    As far as I am aware, it allows me to read and write on files.

    here is the Installing process if you need it:

    Spoiler: Installing Process


    • Developer
    • 818 forum posts
    User1

    in response to User738

    #23

    Aug 25 15, 12:33 PM


    Should I attempt to do "sudo chmod g+w /usr/local/lib"?
    As far as I am aware, it allows me to read and write on files.

    here is the Installing process if you need it:
    Spoiler: Installing Process


    As I said, do not install ffmpeg using Homebrew, but download the file from the ffmpeg website, unzip it and manually put it in /usr/local/bin, that should work


    • User
    • 132 forum posts
    User738
    #24

    Aug 25 15, 12:33 PM

    Should I uninstall ffmped first?


    • Developer
    • 818 forum posts
    User1

    in response to User738

    #25

    Aug 25 15, 12:37 PM


    Should I uninstall ffmped first?

    Yes.



    • User
    • 132 forum posts
    User738
    #26

    Aug 25 15, 12:41 PM

    I will try to render it, however in the meantime, can you tell me if this is what is suppose to be in my /usr/local/bin folder?


    • Developer
    • 818 forum posts
    User1

    in response to User738

    #27

    Aug 25 15, 12:47 PM


    I will try to render it, however in the meantime, can you tell me if this is what is suppose to be in my /usr/local/bin folder?


    no.

    I suggest completely uninstalling ffmpeg using brew rm ffmpeg, and then reinstalling it manually by putting the ffmpeg file into /usr/local/bin


    • User
    • 132 forum posts
    User738
    #28

    Aug 25 15, 12:52 PM | Last edited: Aug 25 15, 12:54 PM

    I did those steps, however those files are what appear after I did the command, and put the ffmpeg manually.
    So should I trash and remove all files but or the ffmpeg-2.7.2 folder?

    Also when I tried to render, it told me the usual "you do not have ffmped installed.
    Therefore is there a specific line of location I need to put in the left box for the "Command Line Settings"?
    This is what I have it set as currently "/usr/local/Cellar/ffmpeg/2.7.2_1/bin/ffmpeg".

    Why must things be complicated :C


    • Developer
    • 818 forum posts
    User1

    in response to User738

    #29

    Aug 25 15, 02:08 PM


    I did those steps, however those files are what appear after I did the command, and put the ffmpeg manually.
    So should I trash and remove all files but or the ffmpeg-2.7.2 folder?

    Also when I tried to render, it told me the usual "you do not have ffmped installed.
    Therefore is there a specific line of location I need to put in the left box for the "Command Line Settings"?
    This is what I have it set as currently "/usr/local/Cellar/ffmpeg/2.7.2_1/bin/ffmpeg".

    Why must things be complicated :C

    Simply put the executable in /usr/local/bin, so its path is /usr/local/bin/ffmpeg.
    Not too hard.


    • User
    • 132 forum posts
    User738
    #30

    Aug 25 15, 02:15 PM | Last edited: Aug 25 15, 02:15 PM

    So I need to link it up with a folder? Because it still tells me the location is wrong.

    Also if you need, here is the path to my usr/local/bin/ffmpeg. Is this how it looks like for you?



    • Developer
    • 818 forum posts
    User1

    in response to User738

    #31

    Aug 25 15, 03:11 PM


    So I need to link it up with a folder? Because it still tells me the location is wrong.

    Also if you need, here is the path to my usr/local/bin/ffmpeg. Is this how it looks like for you?


    What have you downloaded? The zip I downloaded just contains a single executable file called "ffmpeg".
    I have it from here. (Careful, direct download link)


    • User
    • 132 forum posts
    User738
    #32

    Aug 25 15, 04:06 PM | Last edited: Aug 25 15, 04:06 PM

    YESSSS!!!! IT WORKS!!! Thank you CrushedPixel for helping me out :D Finally glad to have it working C:

    Oh my god I am almost as excited as that time when the ReplayMod was released!!
    (I spent way too many hours trying to get it work, cut me some slack and let me be happy :P)


    • Developer
    • 818 forum posts
    User1
    #33

    Aug 25 15, 04:26 PM

    No problem, always happy to help :)