Replay Mod Forums

Render crash
    • User
    • 3 forum posts
    User111178
    #1

    Jun 24 18, 06:17 AM

    Whenever I try to export a video it crashes after rendering the first few frames.

    This is the error I get:
    The game crashed whilst exporting video
    Error: com.replaymod.render.VideoWriter$FFmpegStartupException

    Here is my export.log:
    ffmpeg version N-91330-ga990184007 Copyright (c) 2000-2018 the FFmpeg developers
    built with gcc 7.3.0 (GCC)
    configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
    libavutil 56. 18.102 / 56. 18.102
    libavcodec 58. 20.103 / 58. 20.103
    libavformat 58. 17.100 / 58. 17.100
    libavdevice 58. 4.101 / 58. 4.101
    libavfilter 7. 25.100 / 7. 25.100
    libswscale 5. 2.100 / 5. 2.100
    libswresample 3. 2.100 / 3. 2.100
    libpostproc 55. 2.100 / 55. 2.100
    Input #0, rawvideo, from 'pipe:':
    Duration: N/A, start: 0.000000, bitrate: 4478976 kb/s
    Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 4320x2160, 4478976 kb/s, 20 tbr, 20 tbn, 20 tbc
    2018_06_24_12_01_37.mp4: Permission denied

    When I click view crash report nothing happens.
    Sorry if this is vague but can anyone help?


    • User
    • 16 forum posts
    User49206
    #2

    Jun 27 18, 08:42 PM

    Do you have ffmpeg installed?


    • Developer
    • 1883 forum posts
    User10
    #3

    Jun 27 18, 09:11 PM

    The ffmpeg installation seems fine (otherwise the export.log file would be empty/non-existent).
    Where are you saving your video to? It looks like you don't have permission to write files there: 2018_06_24_12_01_37.mp4: Permission denied


    • User
    • 3 forum posts
    User111178
    #4

    Jul 02 18, 01:21 PM

    I see what might be happening. Though no matter what file directory I specify or what name I give it I still get the same error.
    Is there somewhere where I'm meant to give permission for Minecraft to save videos?
    Does the replay have to be from the replay centre or can I just use a local replay?

    Hopefully that isn't too much to ask for. Thanks for the help so far anyway.


    • Developer
    • 1883 forum posts
    User10
    #5

    Jul 04 18, 12:58 PM

    No, anywhere you can manually create files should be good enough.
    Any replay should work.
    Which Operating System are you using?



    • User
    • 3 forum posts


    No, anywhere you can manually create files should be good enough.
    Any replay should work.
    Which Operating System are you using?

    I'm on Windows 10 but I'm playing Java Edition


    • Developer
    • 1883 forum posts
    User10
    #7

    Jul 08 18, 12:46 PM

    Getting "Permission denied" errors in folders where you can manually create files is very bizzare. The only thing I could think of which might cause such a thing on Windows are Anti-Virus programs. If you use one of those, try disabling it. Other than that, I've got no idea.