Replay Mod (Fabric & Forge)

Replay Mod (Fabric & Forge)

1M Downloads

Replay Mod crashing as it attemps to render video

TyTubeRoblox opened this issue · 5 comments

commented

I was trying to render a short clip, but Replay Mod kept crashing for some reason. I was exporting in MP4 format at 720P with a bitrate of 3000kbps.

OS I'm using

Zorin OS 16.3 (Linux (amd64) version 5.15.0-82-generic)

Java version

Java Version: 17.0.7, Flathub

How to recreate

  1. open MC 1.20.1 on Prism Launcher
  2. Load replay file
  3. Start rendering

Memory (allocated)

512MB min 4GB max (DDR3)

CPU

AMD E1-1500 APU with Radeon(tm) HD Graphics
2 cores
2 threads
1.48 GHZ

GPU

Radeon HD 7310

Crash logs

crash-2023-09-10_16.06.58-client.txt First crash.
crash-2023-09-10_16.19.45-client.txt Lowered bitrate from 3000bkps to 2500kbps.
crash-2023-09-10_16.32.57-client.txt Disabled Sodium and related mods, got to 3 frames before the crash.
crash-2023-09-10_16.40.27-client.txt Disabled all mods except Replay Mod.

commented

Hey, I'm having this exact same issue.

(Ubuntu 22.04.3 LTS)

commented

This is likely a problem with the Flatpak sandbox. Install Flatseal and allow Prism access to all files. If that doesn't work, you may need to install it using a different method (AppImage or PPA)

commented
commented

The Stacktrace and the log looks like ffmpeg could not be started.
It also contains the output of ffmpeg saying: Unknown input format: 'rawvideo' It seems your ffmpeg install is not compatible. So replay mod does not know what to do an crashes. So your best option is to install another (older) version of ffmpeg.
I have version 4.4.2 and it has the rawvideo format.
You can test it with this command:

ffmpeg -formats | grep rawvideo

if it looks like this:

 DE rawvideo        raw video

you have rawvideo. If it returns an empty line it does not.

You can check your ffmpeg version with the command:

ffmpeg -version

I have checked the current master of ffmpeg and it looks like it still contains the rawvideo format. I dont know how the version you got has it not.

In the long term i think replaymod should capture this exception and display a helpful message. Or maybe implement a check to render a few frames of test video to check if ffmpeg is available and working. Or at least check the ffmpeg version and list of codeces / formats

commented