PojavLauncher icon indicating copy to clipboard operation
PojavLauncher copied to clipboard

[F-Req] ffmpeg support for replay mod

Open Iarkont opened this issue 3 years ago • 2 comments
trafficstars

Is this request related to a bug?

Replay mod does not see ffmpeg even if it is installed

Describe the request.

ffmpeg support for replay mod

Anything else?

No

Iarkont avatar Jan 17 '22 10:01 Iarkont

Tutorial for exporting videos with Replay Mod (works for both rooted and unrooted users):

  1. Download the ffmpeg binary here. Choose one according to your device’s architecture. https://github.com/Khang-NT/ffmpeg-binary-android/releases/tag/2018-07-31

1.5. (For GitHub builds) Due to the limit of Replay’s command window, you need to rename the executable to a short name, like -> fr. Let’s call it <exec_name>.

  1. Install an APK Editor from Google Play or everywhere else.

  2. Follow the instructions of the app to add the executable to /lib/<device_architecture> folder of the APK. Then build the APK and install it.

3.5. (Required for a clean install) Install everything needed (Forge, Replay Mod).

  1. Now launch Minecraft. We haven’t done yet, so force close it after launching.

  2. Find latestlog.txt (if you didn’t know the directory of it, type +latestlog in #bot-commands). Open it and find this line:

Added custom env: POJAV_NATIVEDIR=<a_directory>

Copy the <a_directory> part.

  1. Launch the game again, go to Replay Viewer and load the record you want to export.

  2. Follow Replay’s instructions to add keyframes, then (press T show mouse cursor and) click at “Render Camera Path”.

  3. Scroll to the bottom, paste the text you copied in step 6 into the first command line window, then write “/<exec_name>” (step 2.5) at the end of the text line.

  4. Tap “Render” and enjoy your video.

Thanks @khanhduytran0 and @NekoIceCream for the initial idea for rooted environments.

ghost avatar Jan 17 '22 11:01 ghost

still show need ffmpeg

west-shell avatar Jan 18 '22 04:01 west-shell

https://github.com/PojavLauncherTeam/FFmpegPlugin

GaucovyAero avatar Aug 20 '23 16:08 GaucovyAero