Replay Mod Forums

Crashing Game When Rendering
    • User
    • 8 forum posts
    User22998
    #1

    Nov 24 15, 01:42 AM

    My game crashes every time I try to render a video and I think this is the export contents:

    ffmpeg version N-76776-g3c110b0 Copyright (c) 2000-2015 the FFmpeg developers
    built with gcc 5.2.0 (GCC)
    configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
    libavutil 55. 8.100 / 55. 8.100
    libavcodec 57. 15.100 / 57. 15.100
    libavformat 57. 18.100 / 57. 18.100
    libavdevice 57. 0.100 / 57. 0.100
    libavfilter 6. 15.100 / 6. 15.100
    libswscale 4. 0.100 / 4. 0.100
    libswresample 2. 0.101 / 2. 0.101
    libpostproc 54. 0.100 / 54. 0.100


    • User
    • 39 forum posts
    User1150
    #2

    Nov 24 15, 02:40 AM

    I'm not an expert on the Replay Mod, but I think this has some problem to do with FFmpeg. I would try reinstalling FFmpeg as a starting point.


    • User
    • 8 forum posts
    User22998
    #3

    Nov 24 15, 03:27 AM

    Re-Installed, nothing doing still wont work


    • User
    • 2 forum posts
    User22790
    #4

    Nov 24 15, 06:28 AM | Last edited: Nov 24 15, 06:31 AM

    I have the same problem but sort of different. The game crashes after a few frames too, but i am on a mac. This is what i get in my export.log:

    ffmpeg version 2.8.2 Copyright (c) 2000-2015 the FFmpeg developers
    built with Apple LLVM version 7.0.0 (clang-700.1.76)
    configuration:
    libavutil 54. 31.100 / 54. 31.100
    libavcodec 56. 60.100 / 56. 60.100
    libavformat 56. 40.101 / 56. 40.101
    libavdevice 56. 4.100 / 56. 4.100
    libavfilter 5. 40.101 / 5. 40.101
    libswscale 3. 1.101 / 3. 1.101
    libswresample 1. 2.101 / 1. 2.101
    Unrecognized option 'preset'.
    Error splitting the argument list: Option not found

    And it says that the -preset in the line command -y -f rawvideo -pix_fmt rgb24 -s %WIDTH%x%HEIGHT% -r %FPS% -i - -an -c:v libx264 -preset ultrafast -qp 1 -pix_fmt yuv420p "%FILENAME%.mp4” has a problem. I think i might need a new line but i can't find one. My problem could be related.


    • Developer
    • 1883 forum posts
    User10
    #5

    Nov 24 15, 11:52 AM

    EnderElemental, where did you get that ffmpeg version from? It seems like it wasn't build with support for the libx264 codec, so you won't be able to use MP4 as a export format (actually it seems like it doesn't support any codecs at all). Try to install ffmpeg from their official site, those builds should have support for libx264.

    Poquito, your log isn't quite complete, the error is missing. Your issue is not the same one as EnderElemental's (your output shows that libx264 was enabled in your build: --enable-libx264).



    • User
    • 2 forum posts
    User22790

    in response to User10

    #6

    Nov 24 15, 03:21 PM | Last edited: Nov 25 15, 06:58 AM


    EnderElemental, where did you get that ffmpeg version from? It seems like it wasn't build with support for the libx264 codec, so you won't be able to use MP4 as a export format (actually it seems like it doesn't support any codecs at all). Try to install ffmpeg from their official site, those builds should have support for libx264.

    Poquito, your log isn't quite complete, the error is missing. Your issue is not the same one as EnderElemental's (your output shows that libx264 was enabled in your build: --enable-libx264).
    I got the static build and it worked, i can now render videos completely! Thanks!


    • User
    • 8 forum posts
    User22998
    #7

    Nov 24 15, 04:17 PM

    I downloaded mine from the official website, how do I fix this?


    • User
    • 8 forum posts
    User22998
    #8

    Nov 24 15, 06:19 PM

    Mine just doesn't come up with an error it just crashes when I try to render, it comes up with the rendering screen and it just breaks!


    • Developer
    • 818 forum posts


    Mine just doesn't come up with an error it just crashes when I try to render, it comes up with the rendering screen and it just breaks!

    Please show us the contents of the export.log file in your .minecraft folder.


    • User
    • 8 forum posts
    User22998
    #10

    Nov 24 15, 10:01 PM

    This is it:

    ffmpeg version N-76776-g3c110b0 Copyright (c) 2000-2015 the FFmpeg developers
    built with gcc 5.2.0 (GCC)
    configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
    libavutil 55. 8.100 / 55. 8.100
    libavcodec 57. 15.100 / 57. 15.100
    libavformat 57. 18.100 / 57. 18.100
    libavdevice 57. 0.100 / 57. 0.100
    libavfilter 6. 15.100 / 6. 15.100
    libswscale 4. 0.100 / 4. 0.100
    libswresample 2. 0.101 / 2. 0.101
    libpostproc 54. 0.100 / 54. 0.100



    • Developer
    • 818 forum posts
    User1
    #11

    Nov 25 15, 12:45 PM

    Isn't there more to it? this looks like the output of ffmpeg -version ...


    • User
    • 8 forum posts
    User22998
    #12

    Nov 25 15, 01:31 PM

    No that is it, theres nothing else in the folder, I'm ripping my hair out because I want to render this and its just annoying me now!


    • User
    • 8 forum posts
    User22998
    #13

    Nov 25 15, 02:41 PM

    I've deleted the export.log file and re-opened it so it crashes but theres still nothing else in the folder, the only other thing I have is the crash report


    • Developer
    • 818 forum posts
    User1
    #14

    Nov 25 15, 05:16 PM

    Okay, do the following:

    1) Try to render a video, wait for the crash
    2) After the crash, directly open the export.log and paste it here

    The export.log is overwritten with every rendering.


    • User
    • 8 forum posts
    User22998
    #15

    Nov 25 15, 06:37 PM

    Yeah that's what I've already done but the contents of the file doesn't change