Closed april83c closed 9 months ago
Just tested that mod here, and recording/replaying seems to work just fine.
Can you please recheck with Prism 7.0?
My tests were based on:
Just tested that mod here, and recording/replaying seems to work just fine.
Can you please recheck with Prism 7.0?
My tests were based on:
* MC 1.19.2 * Fabric 0.76.0+1.19.2 * Replay Mod 1.19.2+2.6.11
Same issue on 7.0. I'm talking about specifically rendering to a video file (enter a replay, set at least 2 position and time keyframes, then click the Save icon to render, and press render), recording/replaying in-game work fine.
Thank you for the reproduction steps. I can confirm it now.
Apparently, the ffmpeg build included in the 22.08 Freedesktop runtime is very limited (formats-wise).
An easy solution would be bundling our own ffmpeg build with the app with all formats enabled, but given that this is the only known use-case for having a custom ffmpeg build (so far), I'm not sure that's even worth it. Especially because:
An immediate workaround for you, would be using one of those third-party, static ffmpeg builds instead.
Here are some rough, command-line based instructions for that:
mkdir -p ~/.var/app/org.prismlauncher.PrismLauncher/ffmpeg-static
curl https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-5.1.1-amd64-static.tar.xz -o- | tar --strip-components 1 -xJC ~/.var/app/org.prismlauncher.PrismLauncher/ffmpeg-static
PATH
variable for Prism, so that ReplayMod discovers the static ffmpeg build first:
flatpak override --user --env=PATH=/app/bin:$HOME/.var/app/org.prismlauncher.PrismLauncher/ffmpeg-static:/usr/bin org.prismlauncher.PrismLauncher
Restart Prism and ReplayMod should work now.
Steps to revert the changes above:
rm -r ~/.var/app/org.prismlauncher.PrismLauncher/ffmpeg-static
PATH
(NOTE: This will also remove every other override you might have added for Prism previously):
flatpak override --user --reset org.prismlauncher.PrismLauncher
The runtime was just updated to version 23.08, which in theory should fix this.
@april83c Can you retest?
The runtime was just updated to version 23.08, which in theory should fix this.
@april83c Can you retest?
@guihkx Sorry, I don't use Linux anymore (at least temporarily), so can't test :(
No problem. :)
This is actually easily verifiable (Ctrl+F, search for rawvideo
):
@Scrumplex This can be closed now.
I forgot
In the Prism Launcher flatpak, it seems like ffmpeg doesn't support format
rawvideo
:And so trying to render something in ReplayMod crashes with
I don't really know how flatpaks work, so I don't know if this is the right place to open the issue, so, sorry if this is the wrong place