Replay Mod 文档:
Replay Mod 的文档。本标签页解释了最重要的功能及其用途。
---------------------------------------------------------------------------------------------------------------------------------------
教程视频
关于如何使用 Replay Mod 的基础教程。尽管如此,仍建议阅读此文档以获取更深入的信息。
1. 安装
1.1 安装 Replay Mod
Minecraft 1.14 及以上版本
ReplayMod 在 Minecraft 1.14 及以上版本中需要安装Fabric。
你可以在此处找到 Fabric 及安装说明。
安装 Fabric 后,只需将下载的 ReplayMod .jar 文件放入你的 Minecraft 目录中的/mods文件夹即可。
Minecraft 1.12.2 及以下版本
对于 Minecraft 1.12.2 及以下版本,需要安装Minecraft Forge。
如果你不知道如何安装 Forge,请遵循此教程。
安装 Forge 后,只需将下载的ReplayMod.jar文件放入你的 Minecraft 目录中的/mods文件夹即可。
<mark>注意:Replay Mod 完全基于客户端,无法安装在你所加入的服务端上。</mark>
1.2 安装 FFmpeg
要使用 Replay Mod 渲染你的作品,你需要安装 FFmpeg。
1.2.1 Windows
从 FFmpeg Release Essentials 下载最新的 FFmpeg 发布版本。
将下载的 .zip 文件解压到 .minecraft 文件夹中。
过去,.minecraft 文件夹内的具体位置非常重要,但如今已不再如此。只要 ffmpeg.exe 位于你的 .minecraft 文件夹内的任意位置即可。
替代启动器的注意事项
- Twitch 启动器默认将 Minecraft 实例安装在 C:\Users\用户名\Twitch\Minecraft\Instances\实例名称\
- GD Launcher 默认将 Minecraft 实例安装到 C:\Users\username\AppData\Roaming\gdlauncher_next\instances\instancename\
- MultiMC 默认将 Minecraft 实例安装在 C:\Program Files (x86)\MultiMC\instances\Instancename\.minecraft\
对于这些启动器,请确保在相应文件夹中存在 FFmpeg。
1.2.2 Mac OSX
在 OSX 上,你可以使用 Homebrew 通过运行 brew install ffmpeg 来安装 FFmpeg。
或者,你可以从 FFmpeg 官网 下载最新的静态构建版本,并将 FFmpeg 可执行文件复制到 /usr/local/bin。
1.2.3 Linux
在 Linux 上,你可以使用系统的包管理器安装 FFmpeg,例如运行 apt install ffmpeg。如有疑问,请咨询你所用发行版的文档。
1.3 设置
要从主菜单访问 Replay Mod 设置,请点击 "回放查看器" 按钮,然后点击 设置 按钮。
在游戏中,如果你使用的是 Minecraft 1.12.2 及更低版本,或已安装模组 Mod Menu,你可以在暂停界面点击“模组”按钮以进入 Replay Mod 设置。
在回放中,你可以在 Minecraft 的控制设置中将热键绑定到 Replay Mod 设置,或者通过点击左下角的汉堡菜单按钮来使用热键 GUI。
1.4 账户
在 ReplayMod 的早期版本中,我们曾使用账户向 Replay Center 发送视频。该功能现已停用,相关账户也随之取消。
除了论坛之外,你还可以加入我们的 Discord 服务器 以获取支持和解答。
2. 录制
录制回放的 Replay Mod 的核心功能。
录制回放非常简单:如果在 回放设置 中启用,模组将自动记录你的所有游戏会话。
当录制开始时,你会收到一条 聊天消息 的通知。你可以在 回放设置 中禁用聊天消息。
在录制期间,除非在 回放设置 中将其禁用,否则左上角会显示一个 录制指示器。
在录制过程中,你可以使用 M 键设置 事件标记。
退出你的服务器/单人世界后,系统可能会要求你等待几秒钟,直到回放保存完成。
恭喜!你现在可以通过回放查看器访问该回放!
------------------------------------------------------------------------------------------------------------------------

正在录制时显示的录制指示器
--------------------------------------------------------------------------------------------------------------------------
3. 回放
要观看您的某个回放,请从主菜单打开回放查看器并选择所需的回放。然后,按下“加载”按钮。
在回放查看器中,您还可以重命名、删除和上传您的回放文件。
3.1 移动
3.1.1 基本控制
在回放中,你可以自由使用移动键(默认是 WASD、Space、Shift)四处移动。你可以像旁观模式一样穿过方块。
使用鼠标滚轮,你可以调整飞行速度。向上滚动会加快飞行速度,而向下滚动则会减速。
如果你希望摄像机的控制方式类似于原版创造模式,可以在回放设置中进行更改。
3.1.2 相机滚动
在回放过程中,您可以倾斜相机。
默认情况下,按 J 键会使屏幕顺时针倾斜,按 L 键会使屏幕逆时针倾斜。
使用 K 键可以重置摄像机滚转。
在倾斜时按住 Ctrl 键(Mac 上为 Cmd 键),可以实现更慢、更精确的倾斜操作。
<mark>提示: 本文档中提到的大部分按键绑定都可以在 Minecraft 的控制菜单中进行更改。</mark>
3.1.3 旁观实体
在回放中,你可以观察任何活着的实体(包括玩家)。当注视某个实体时,准星将会显示。
右键点击即可开始观察该实体。如果你想停止观察,请使用你的潜行键(Shift)。
3.2 控制时间
3.2.1 回放速度
在屏幕的左上角有一个播放/暂停按钮(快捷键:P),使用它可以完全暂停回放的时间。
所有实体、粒子效果和方块更新都将冻结,直到你恢复播放。你可以在暂停的回放中像往常一样飞行。
在播放/暂停按钮旁边有一个速度滑块。通过速度滑块,你可以控制回放中时间的流逝速度。
最低速度值为正常 Minecraft 刻速度的 0.1 倍,最高速度为正常速度的 8 倍。
3.2.2 时间跳跃
在速度滑块的右侧是回放时间轴。在回放时间轴上,你会看到一个黄色光标指示你在回放中的当前位置。
点击时间轴上的任意位置,你将跳转到指定的时间点。
请注意,进行较大的时间跳跃或向后跳跃需要更长的时间(另见快速模式)。
3.3 摄像机路径
3.3.1 简介
在回放过程中,你可以利用模组的关键帧系统创建受控的摄像机移动。
这些摄像机路径随后可以渲染为视频(参见渲染)。
Replay Mod 关键帧系统类似于许多视频编辑软件的关键帧系统。如果你是关键帧系统的新手,建议阅读这篇维基百科文章。
3.3.2 关键帧时间轴
定义摄像机路径的所有关键帧都放置在关键帧时间线上。关键帧时间线位于回放时间线下方。
关键帧时间轴长度为 10 分钟,这意味着摄像机路径最长可达 10 分钟。你可以使用时间轴旁边的 + 和 - 按钮来缩放关键帧时间轴。
与回放时间轴不同,关键帧时间轴上的时间值不是相对于回放的当前时间点,而是指真实时间。
如果两个关键帧相隔 5 秒,摄像机路径将在这些关键帧之间花费 5 秒进行插值。
你可以通过左键点击关键帧时间轴上的关键帧,按住鼠标并移动鼠标来拖动它们。
<mark>提示:出错了?你可以使用 Ctrl+Z 撤销对关键帧时间轴的更改。改变主意了?按 Ctrl+Y(或 Ctrl+Shift+Z)重做它们。</mark>
3.3.3 位置关键帧
摄像机路径的基本组件是位置关键帧。一个位置关键帧存储了一个摄像机位置(x, y, z, 偏航角, 俯仰角, 翻滚角)。
你可以使用“添加位置关键帧”
按钮来设置一个位置关键帧。
一个位置关键帧最初包含创建该关键帧时摄像机所处的状态。
在关键帧时间轴上,位置关键帧将出现在光标的当前位置。
此关键帧会自动被选中,并且位置关键帧按钮会变红。再次点击位置关键帧按钮,选中的位置关键帧将被移除。
通过在关键帧时间轴上添加多个位置关键帧,你可以创建一个简单的摄像机路径。
使用路径预览,你可以预览你的摄像机路径。
<mark>提示:右键单击关键帧时间轴上的位置关键帧,可以跳转到该关键帧的位置。</mark>
3.3.3.1 路径插值
默认情况下,摄像机路径会穿过所有设置的位置关键帧形成一条平滑曲线。这条曲线是使用三次样条插值生成的。
如果你希望禁用平滑插值,让路径沿直线行进,请在回放设置中更改路径插值设置。
你可以使用 O 键轻松在线性插值和三次插值之间切换。
一个使用摄像机路径
三次插值相同的摄像机路径使用线性插值
3.3.3.2 路径预览
使用 H 键,你可以切换摄像机路径的可视化表示。如果启用,你将看到世界中有一条跟随摄像机路径的红线。
此预览会遵循路径插值设置。
通过移动关键帧时间轴上的光标,你可以在路径预览中看到摄像机的当前位置和视角方向。
3.3.4 时间关键帧
时间关键帧可用于在摄像机路径期间精确控制时间旅行。
<mark>每个时间关键帧都代表回放中的一个时间戳。</mark>
你可以使用“添加时间关键帧”
按钮来设置一个时间关键帧。
一个时间关键帧最初包含创建该关键帧时回放的当前时间点。
播放摄像机路径时,回放的时间将在关键帧间隔内设置的时间关键帧之间进行插值。两个具有相同时间戳的时间关键帧将使回放时间在它们的间隔期间暂停。
<mark>提示: 在关键帧时间线上右键单击时间关键帧,即可跳转到该关键帧的时间戳值。</mark>
<mark>注意: 摄像机路径期间不支持回溯时间。请勿在另一个时间关键帧之后添加包含更早时间点的时间关键帧。</mark>
要播放您的第一个摄像机路径,请单击关键帧时间线旁边的播放按钮。
默认情况下,摄像机路径从关键帧时间线上的光标位置开始。但是,按住 Ctrl 键(Mac 上为 Cmd 键)并单击,可以从头开始播放,而不管光标位置如何。
3.3.4.1 同步时间线
使用 V 键,您可以将关键帧时间线与自上一个时间关键帧时间戳以来经过的时间进行同步。
这意味着按 V 会将关键帧时间线的光标移动到某个位置,在该位置放置一个时间关键帧将使新放置的关键帧与上一个时间关键帧之间的回放速度等于速度滑块当前的值。
如果在同步时按住 Shift 键,它将被同步,就好像速度滑块的值为1.0一样。
3.3.5 旁观者关键帧
当旁观实体时,“添加位置关键帧”按钮会变成“添加旁观者关键帧”
按钮。
要成功旁观一个实体,您始终需要在旁观同一个实体时创建至少两个旁观者关键帧。
在关键帧时间线上,您旁观实体的时间段会用蓝线标记。
要在摄像机路径期间离开被旁观的实体,只需添加一个普通的位置关键帧即可。
3.3.6 编辑关键帧
您可以通过在关键帧时间线上双击任何关键帧来对其进行编辑。这将打开一个新的 GUI 屏幕,允许您修改关键帧的属性。
在屏幕的下部,您可以精确设置关键帧在关键帧时间线上的位置。
在其上方,您可以修改特定于关键帧的设置,例如其位置值。
3.3.7 删除关键帧
使用 DELETE 键,您可以删除当前选定的关键帧。
或者,当一个关键帧被选中时,其连接的按钮会变为红色,单击该按钮也会删除该关键帧。
<mark>注意: 如果您使用的是带有内置键盘的苹果电脑,您可能需要按 FN + DELETE。</mark>
3.3.8 关键帧存储库
使用 X 键,您可以打开关键帧存储库。每个回放文件都有一个单独的关键帧存储库,其中可以包含多个关键帧预设。
要保存时间线上当前的关键帧,请单击“另存为...”按钮。您可以更改预设的名称,从列表中选择它并单击“重命名”按钮。要加载关键帧预设,请从列表中选择预设并单击“加载”按钮。使用“移除”按钮,您可以永久从关键帧存储库中删除关键帧预设。
3.4 渲染
使用Replay Mod,您可以将摄像机路径渲染为视频,无需使用像 Fraps 这样的屏幕录制工具。
要开始操作,首先按照前面的章节所述设置您的摄像机路径。然后,单击左上角的“渲染摄像机路径”按钮。
3.4.1 渲染方法
Replay Mod 不仅允许你渲染像你在 YouTube 上每天看到的那样“普通”的视频,你还可以渲染360度视频、3D视频等。
要更改渲染方法,请使用渲染设置屏幕上半部分的下拉菜单。
3.4.1.1 默认渲染
3.4.1.2 立体渲染
将视频渲染为立体(并排)3D 电影,可用于不同的 3D 技术。一只眼睛的图像宽度是视频宽度的一半。
3.4.1.3 立方体渲染
使用立方体投影渲染具有360度全景视图的视频。这可用于几种 360 度视频播放器(以及Oculus Rift),例如VR Player。
虽然立方体视频不能用于YouTube 360° 视频,但渲染它们所需的时间更少,因此如果你的播放器无论如何都兼容立方体投影,你可以使用此设置。
3.4.1.4 等距柱状投影渲染
使用等距柱状投影渲染具有 360 度全景视图的视频。这可用于 YouTube 新的 360 度视频功能以及几种视频播放器(以及Oculus Rift),例如VR Player。
<mark>注意:为了让YouTube识别 360 度视频,你必须注入一些元数据。请按照此指南获取教程。</mark>
3.4.2 视频设置
选择你想要使用的渲染模式后,你可以进一步自定义渲染后的视频。
3.4.2.1 视频分辨率
在渲染方法下拉菜单下方,你可以输入所需的视频分辨率(宽度 * 高度)。你可以在那里输入任何分辨率,但请确保使用合理的数值。
默认渲染的常见视频分辨率为:
- 720p - 1280 * 720
- 1080p - 1920 * 1080
- 4k - 3840 * 2160
使用立体渲染时,请注意输入的宽度值是最终视频的宽度。因为立体视频有两个并排的帧,所以你因此需要加倍视频宽度,因此如果你想要一个全高清立体视频,你必须输入3840 * 1080。
等距柱状投影中的视频始终需要具有2:1的宽高比。
请注意,通常在导出等距柱状视频时应使用高分辨率,因为视频将被映射到你正在使用的查看器中的球面表面上。为了获得看起来不错的视频,我们建议分辨率为4320 * 2160。
<mark>注意:如果你重新渲染等距柱状素材(例如使用如 Premiere 之类的视频编辑软件),请确保以2:1的宽高比导出它——否则它在 360 度下看起来很奇怪。</mark>
3.4.2.2 视频帧率
3.4.2.3 视频编码和质量
在渲染方法下拉菜单下方,还有另一个用于编码预设的下拉菜单。
<mark>注意:如果你只想渲染一个质量良好的 MP4 视频,请勿更改这些设置。</mark>
你有7 种编码预设可供选择:
- MP4 - 默认画质
渲染使用 x264 编码 的 MP4 视频 ,并采用 默认画质 。这是默认的编码预设,因为它能导出画质良好且文件大小相对较低的视频。
- MP4 - 高画质
渲染使用 x264 编码 的 MP4 视频 ,并采用 高画质 。渲染出的视频文件体积相对较大,但画质几乎无损。这对于需要多次编码(渲染)素材的视频制作者很有用。
- MP4 - 土豆画质
渲染使用 x264 编码 的 MP4 视频 ,并采用 极低画质 。虽然视频本身看起来非常糟糕,但文件体积非常小,因此此预设可用于测试渲染。
- MP4 - 自定义码率
选择此预设后,将启用 码率输入框 ,您可以自行定义视频的码率。渲染出的视频是使用 x264 编码 的 MP4 视频 。
- WEBM - 自定义码率
选择此预设后,将启用 码率输入框 ,您可以自行定义视频的码率。渲染出的视频是使用 vp8 编码 的 webm 视频 。
webm 视频文件 如果您希望直接将素材上传到 YouTube 等流媒体服务,它们非常有用,因为这些平台在处理时通常无需转换 vp8 编码的视频 。
- MKV - 无损
渲染使用 x264 编码 的 MKV 视频 ,并采用 无损画质 。虽然这些视频文件画质完美,但大多数 非基于 FFmpeg 的视频播放器和视频编辑软件 (例如 QuickTime Player、Sony Vegas 和 Adobe Premiere)无法播放这些视频。因此,在大多数情况下,您应该改用 MP4 - 高画质 预设。
- PNG 序列
以 PNG 格式 将序列导出为单独的帧。
图像画质完美。深度图图像是以 BGRA 顺序将 32 位浮点数编码在 8 位组件中的,因此在大多数编辑器中使用时需要进行某种后处理才能发挥作用。
- OpenEXR 序列 (Minecraft 1.14 及以上版本)
将序列导出为OpenEXR 格式的单独帧。图像质量完美,可能包含超出可见范围的额外图像层(例如 深度图)。因此,如果您有充足的磁盘空间,并希望在第三方视频编辑器中对视频进行额外的编辑,这种格式是一个不错的选择。
3.4.3 高级设置
3.4.3.1 渲染名称标签
如果您不想在渲染的视频中看到实体的名称标签,只需取消勾选该复选框。隐藏的名称标签还包括盔甲架和生物的名称标签,而不仅仅是玩家的!
3.4.3.2 稳定摄像机
此设置仅适用于Cubic Rendering和Equirectangular Rendering。
由于您可以在360度查看器中旋转相机,倾斜的相机视角会导致奇怪的用户体验:当用户环顾四周时,由于相机向上或向下看,其视角可能会显得倾斜。因此,建议使用相应的复选框始终稳定相机的 Pitch 和 Roll。
示例 360° 视频未稳定相机俯仰角
示例 360° 视频已稳定相机俯仰角和翻滚角
3.4.3.3 色度键控
这是一项面向视频制作者的实验性设置,允许你将天空颜色更改为固定颜色。使用视频编辑软件(如Adobe After Effects或Sony Vegas),你可以将天空颜色替换为透明,并添加你自己的素材作为天空背景。了解更多关于色度键控(Chroma Keying)请点击此处。
<mark>注意:为了获得最佳效果,在渲染前请禁用云层,因为它们是透明的。</mark>
3.4.3.4 深度图
此设置会记录深度信息并将其包含在支持该功能的视频格式中(目前仅支持 OpenEXR)。
使用支持此功能的视频编辑器(例如 Blender),你可以将任意几何体添加到渲染后的视频中,使得视频中的前景对象仍然能够遮挡背景几何体,仿佛它们真的是世界的一部分一样。(当然还有其他许多效果。)
<mark>注意:为了获得最佳效果,请避免在几何体前方使用半透明方块,因为它们无法在深度图中准确表示。</mark>
<mark>注意:导出深度图时不支持抗锯齿。相反,只需以更高的分辨率渲染并编辑你的视频,然后在最后将其缩小即可。</mark>
使用 Blender 添加到场景中的 "Suzanne" 模型
3.4.4 命令行设置
<mark>注意:这仅适用于高级用户。如果你不知道自己在做什么,请保持这些设置不变。</mark>
Replay Mod 通过命令行运行 FFmpeg 来编码视频。
你可以在渲染设置界面的命令行设置部分自定义执行的命令和命令行参数。
3.4.4.1 自定义命令
如果留空左侧输入框,将使用 ffmpeg 作为命令。如果你没有将PATH 变量设置为链接到你的 FFmpeg 发行版,请输入 FFmpeg 可执行文件的完整路径(例如 C:\ffmpeg\ffmpeg.exe 或 /usr/local/bin/ffmpeg)。
3.4.4.2 命令行参数
在右侧输入框中,你可以输入要在控制台中使用的自定义命令行参数。
每个编码预设基本上代表一组与ffmpeg 命令一起使用的命令行参数。自定义这些命令行参数允许你使用特定的编解码器或质量设置等更多内容。
如果你需要了解ffmpeg 命令行参数的介绍,请阅读 FFmpeg 文档。
在向ffmpeg 命令传递给定的命令行参数之前,Replay Mod 会用你在渲染设置界面中输入的内容替换以下占位符:
- %WIDTH%
视频的宽度
- %HEIGHT%
视频的高度
- %FPS%
视频的帧率
- %FILENAME%
视频的文件名不包含扩展名。文件名可能包含空格,因此应将其用引号 " 括起来。
由于ffmpeg 命令始终从目标文件的父目录执行,%FILENAME% 不包含文件的完整路径。
- %BITRATE%
视频的比特率,单位为千字节每秒 (KB/s)。由于 %BITRATE% 占位符已经包含值标识符 "K",因此你无需关心比特率值的格式。
3.4.5 渲染性能
点击右下角的渲染按钮,你将开始默认性能渲染。通常,这在渲染速度方面已经非常令人满意,但你可以通过高性能渲染略微提高速度。
要使用高性能渲染,请在点击渲染按钮时按住 Ctrl 键(Mac 上为 Cmd 键)。
高性能渲染对渲染速度进行了以下改进:
- 渲染过程、剩余时间估计和按钮点击不会在每渲染一帧后重新计算,而仅在每渲染一秒后重新计算(例如,以 60fps 渲染时,每 60 帧重新计算一次)
- 调整 Minecraft 窗口大小时不会更新渲染 GUI
3.5 环境光
如果您在黑暗环境(例如夜间或洞穴中)回放录像,且亮度:明亮仍不够亮,您可以按 Z 键(部分键盘为 Y)切换环境光。
这可以替代夜视药水效果,且不会出现天空颜色异常的副作用。
3.6 快速模式
首次在游戏中启用快速模式时,系统会缓存特定实体和方块属性的内部参考数据以便快速访问,从而加快回放时间线中的导航速度。作为副作用,预览中将不会渲染粒子效果和二级皮肤层等特性。默认情况下,快速模式通过 Q 键切换。
3.7 玩家概览
使用 B 键可打开玩家概览。在玩家概览中,您可以看到当前回放中所有已加载的玩家列表。
点击玩家的名称或头像,即可旁观该玩家。
每位玩家旁边都有一个复选框,可用于切换该玩家的可见性。这样,您可以隐藏回放中的某些玩家。
在这些单个复选框下方,有两个批量操作按钮——一个用于隐藏所有玩家,另一个用于显示所有玩家。
若要保存玩家可见性设置,请勾选“记住隐藏玩家”复选框。勾选后,关闭回放后不可见的玩家将保持不可见状态(当然可以撤销),否则重新加载回放后将显示所有玩家。
3.8 缩略图
在回放中,您可以按 N 键为当前回放创建缩略图。
缩略图是一张截图,旨在让观众对回放的內容有一个良好的印象。
缩略图有助于使您的回放查看器清晰且有条理。
如果某个回放未设置缩略图,则在回放查看器中将显示默认缩略图。
3.9 事件标记
超长回放很容易变得臃肿且难以操作。因此,事件标记是一种在回放中标记重要事件的简单方法。
在录制回放时,你可以随时按下 M 键来设置一个事件标记。这个事件标记会记住你添加它时的位置,并在稍后观看回放时显示在回放时间轴上。
在查看回放时,你可以通过右键点击回放时间轴上的事件标记,跳转到其对应的位置和时间戳。
你也可以在查看回放时使用 M 键来添加新的事件标记。
你可以通过双击来命名事件标记。当鼠标悬停在事件标记上时,会显示其名称。通过这种方式,你可以更轻松地为回放添加结构。
你可以删除事件标记,方法是单击它进行选中,然后按下DELETE键。
4. 常见问题
录制时长限制是多少?
理论上,一个回放文件最长可达24天20小时30分23秒——这通常是一个你几乎无法达到的时间跨度。
模组会记录我周围多少个区块?
如果你正在单人游戏中游玩,则记录你渲染距离内所有已加载的区块。
如果你在服务器上,这取决于server.properties 文件中的 view-distance(视距)设置,默认值为 11 Chunks。
Replay Mod 当然会记录每一个已加载的区块,而不仅仅是已渲染的区块。因此,你背后的区块也会被记录下来。
为什么我不能在会话中途开始录制?
由于Replay Mod的工作原理,你必须在加入Server或World时开始录制——否则Replay Files所需的部分数据将会缺失。
录制对我的 FPS 有什么影响?
通常情况下,录制 Replay 不会影响你的帧率,也不会导致服务器卡顿。
我们在一台仅配备3GB 内存的低端笔记本上测试了该模组,一切运行正常。
Replay Mod 录制的文件有多大?
录制的.mcpr 文件的大小很大程度上取决于回放中包含的世界数据量。
如果你在回放中四处探索并发现了许多地形,这样的回放文件大小会显著大于在虚空世界中录制的回放。
一个时长为10 分钟的平均回放文件通常大小在2MB 到 10MB之间。在粒子效果和世界变化较多的小游戏服务器上录制的回放可能会更大。
5. 故障排除
<mark>如果你遇到渲染问题,请在 Discord 寻求帮助前先查阅文档。</mark>
5.1 未找到 FFmpeg 安装
如果您尚未安装 FFmpeg,请按照此处提供的步骤操作。
如果您已经安装了 FFmpeg,则必须手动告知 Replay Mod 您的 FFmpeg 可执行文件所在的位置。
首先,获取您的 ffmpeg.exe(Windows)或 ffmpeg 可执行文件(Mac/Linux)的完整路径。
在 Windows 上,此路径可能类似于 C:\ffmpeg\ffmpeg.exe。
然后,打开渲染设置中的 "命令行设置"部分,并将该路径粘贴到 左侧输入框 中,然后重试渲染。
5.2 渲染期间崩溃
如果在渲染几帧后 Minecraft 崩溃,这通常意味着 FFmpeg 对您传递的命令行参数不兼容。如果您是手动自定义了命令行参数,请重新检查它们——问题很可能出在您自己身上。
<mark>提示:在您的 .minecraft 文件夹中,您会找到一个名为 export.log 的文件,其中包含有关 FFmpeg 渲染过程的信息。</mark>
- 如果您没有自定义命令行参数,您可能输入了一些过高(或过低)的值,例如比特率或视频分辨率。尝试使用其他更合理的值再试一次。
- 确保摄像机不会移动到 Y=0 以下或 Y=255 以上
5.3 不受支持的启动器
Future Client 与 ReplayMod 所需的 Mixin 不兼容。
Lunar Client 不支持 ReplayMod。
Badlion Client 提供了另一个不同的 ReplayMod,与此处的版本不同。
5.4 与其他模组的兼容性
5.4.1 一般信息
一般来说,Replay Mod 应该与大多数 Forge 和 Fabric 模组兼容。
5.4.2 Shaders Mod
从 1.9.4 开始,Karyonix' Shaders Mod 不再与 Minecraft Forge 兼容。因此,它也不与 Replay Mod 兼容。
在 Minecraft 1.16 之前,您可以尝试使用 Optifine。请注意,官方支持已经结束,许多版本会导致 ReplayMod 出现问题。
在 Minecraft 1.16.5 及以上版本中,你可以使用 Iris,它已得到完全支持。目前,你需要配合我们下载页面上提供的自定义 Sodium 使用。其所包含的修复程序正在等待官方版本的整合。
Custom Main Menu 模组经常用于整合包中,通过自定义主菜单按钮布局以匹配背景图片、添加网站或错误追踪器链接等。如果你熟悉该模组,Replay Mod 的按钮 ID 为:17890234 (文本:replaymod.gui.replayviewer)。
由于 Custom Main Menu 模组的特性,由第三方模组(如Replay Mod)添加到主菜单中的按钮默认不会显示。
因此,若要访问 Replay Viewer/Editor/Center,你需要手动配置这些按钮的位置。
为此,你需要修改 Custom Main Menu 的配置文件。通常你可以在 .minecraft/config/CustomMainMenu/mainmenu.json 找到它(如果你使用的是整合包启动器,它通常拥有自己独立的 .minecraft 文件夹)。
关于此配置文件的详细说明,请参阅 Custom Main Menu 的页面。
你可以在这里找到已修改的配置文件的列表。
5.4.4 Tickrate Changer
Tickrate Changer 模组可能导致你在尝试使用 Replay Viewer UI 时 Minecraft 卡死。
5.4.5 LabyMod
据报道,LabyMod v3.7.x 版本与 ReplayMod 及其他 Forge 模组兼容。较低版本不兼容。
5.4.6 OldAnimationsMod
如果你在同时使用 ReplayMod 和 OldAnimationsMod 时 Minecraft 崩溃,请尝试移除 OldAnimationsMod。
5.4.7 Orange's 1.7 Animations
如果你在使用 ReplayMod 和 1.7 Animations 光影时看到漂浮的水和玻璃,请移除 1.7 Animations 以解决此问题。
5.4.8 Sk1er Club: Patcher
我们收到过与 Patcher 相关的崩溃报告;如果遇到崩溃,请尝试移除 Patcher。
5.4.9 Baritone
Baritone 模组可能导致在尝试加载回放时崩溃。如果遇到此类问题,请尝试在不使用 Baritone 的情况下运行。
5.4.10 RandomPatches
如果尝试将 RandomPatches 与 ReplayMod 一起使用,Minecraft 可能会崩溃。如果 Minecraft 在启动时崩溃,请尝试移除 RandomPatches。
5.4.11 Sodium
安装 Sodium 后,ReplayMod 可以录制游戏画面,但当前缺乏用于渲染的 FREX Flawless Frames API。可从 ReplayMod 下载页面获取支持此 API 的修改版 Sodium,点击 Click to show compatible Sodium versions 按钮即可查看。
5.4.12 Resource Loader
Resource Loader 模组与 ReplayMod 不兼容。
5.4.13 LiteLoader
由于 LiteLoader 包含的 mixin 版本问题,已知会导致冲突。
你可以使用 MultiMC 来解决此问题。
<mark>MultiMC 的 Edit 功能要求你的计算机已将默认编辑器关联到 json 文件。</mark>
1: 创建实例,然后编辑该实例
2: 点击 Install Forge
3: 点击 Install LiteLoader
4: 点击 Add Empty;名称使用 ReplayMod,uid 使用 com.replaymod
5: 选中新的 ReplayMod 并点击 Edit
6: 将内容替换为以下代码片段之一
7: 保存并关闭文本编辑器
8: 将 ReplayMod 上移,直到其位于 LiteLoader 之上
9: 如果之前已安装,请从 mods 文件夹中移除 ReplayMod jar 包。
1.8.9 的代码片段
{ "formatVersion": 1, "name": "ReplayMod", "uid": "com.replaymod", "version": "1.8.9-2.4.5", "libraries": [{ "name": "com.replaymod:replaymod:1.8.9-2.4.5", "MMC-absoluteUrl": "https://minio.replaymod.com/replaymod/replaymod-1.8.9-2.4.5.jar" }]}
1.12.2 的代码片段
{ "formatVersion": 1, "name": "ReplayMod", "uid": "com.replaymod", "version": "1.12.2-2.4.5", "libraries": [{ "name": "com.replaymod:replaymod:1.12.2-2.4.5", "MMC-absoluteUrl": "https://minio.replaymod.com/replaymod/replaymod-1.12.2-2.4.5.jar" }]}
MultiMC 界面,用于将 ReplayMod 置于 LiteLoader 之上。
感谢 Replay Mod 的
没有他们,这一切都不可能实现。感谢 Replay Mod。
Mod Replay Documentation:
The Mod Replay documentation. The most important features and their uses are explained in this tab.
---------------------------------------------------------------------------------------------------------------------------------------
Tutorial Video
A Basic Tutorial on how to use the Replay Mod. It is nevertheless recommended to read this documentation for in-depth information.
1. Installation
1.1 Installing the Replay Mod
Minecraft 1.14 and above
The ReplayMod for Minecraft 1.14 and above requires Fabric to be installed.
You can find Fabric and the installation instructions here.
After installing Fabric, simply put the downloaded ReplayMod .jar file into the /mods folder of your Minecraft directory.
Minecraft 1.12.2 and below
For Minecraft 1.12.2 and below it requires Minecraft Forge to be installed.
If you don't know how to install Forge, follow this tutorial.
After installing Forge, simply put the downloaded ReplayMod.jar file in the /mods folder of your Minecraft directory.
<mark>Note: The Replay Mod is entirely client side and can not be installed on the servers you play on.</mark>
1.2 Installing FFmpeg
To render your creations with Replay Mod you will need to have FFmpeg installed.
1.2.1 Windows
Download the latest FFmpeg release from fffmpeg release essentials.
Extract the downloaded .zip file into your .minecraft folder.
Historically the exact location inside the .minecraft folder was important, this is no longer the case. It is sufficient for the ffmpeg.exe to be anywhere inside your .minecraft folder.
Notes for alternative launchers
- Twitch launcher by default installs Minecraft instances in C:\Users\username\Twitch\Minecraft\Instances\instancename\
- GD Launcher by default installs Minecraft instances in C:\Users\username\AppData\Roaming\gdlauncher_next\instances\instancename\
- MultiMC by default installs Minecraft instances in C:\Program Files (x86)\MultiMC\instances\Instancename\.minecraft\
For these launchers, make sure FFmpeg exists inside the corresponding folder.
1.2.2 Mac OSX
On OSX, you can install FFmpeg with Homebrew using brew install ffmpeg.
Alternatively, you can download the latest static build from ffmpeg website and copy the FFmpeg executable to /usr/local/bin.
1.2.3 Linux
On Linux, you can install FFmpeg using your system's package manager, for example using apt install ffmpeg. If in doubt, consult the documentation of your distribution.
1.3 Settings
To access the Replay Mod Settings from the Main Menu click the "Replay Viewer" button and click the Settings button.
While playing, you can click the 'Mods' button in the Pause screen to reach Replay Mod Settings if you use Minecraft 1.12.2 and below, or have the mod Mod Menu installed.
When in a Replay, you can either bind a hotkey to the Replay Mod Settings in Minecraft's Control settings or use the hotkey GUI by clicking on the hamburger button in the lower left corner.
1.4 Accounts
In previous versions of ReplayMod we used accounts to deliver videos to the Replay Center. This has since been discontinued and with that, so have the accounts.
Instead of the forum, you can join our Discord server to get support and answers.
2. Recording
Recording Replays is the core feature of the Replay Mod.
Recording a Replay is really simple: If enabled in the Replay Settings, the Mod will automatically record all of your gaming sessions.
You will be notified that the Recording started by a Chat Message. Chat Messages can be disabled in the Replay Settings.
In the upper left corner, a Recording Indicator will be displayed unless disabled in the Replay Settings while you are recording.
While Recording, you can set Event Markers using the M key.
Upon exiting your Server/Singleplayer World, you might be asked to wait a couple of seconds until saving the Replay has been finished.
Congratulations, your Replay is now accessible via the Replay Viewer!
------------------------------------------------------------------------------------------------------------------------

The Recording Indicator which is displayed while recording
--------------------------------------------------------------------------------------------------------------------------
3. Replaying
To watch one of your Replays, open up the Replay Viewer from the Main Menu and select the desired Replay. Then, press the "Load" button.
In the Replay Viewer, you can also rename, delete and upload your Replay Files.
The Replay Viewer with several recorded Replays
3.1 Movement
3.1.1 Basic Controls
While in the Replay, you can freely move around using the movement keys (WASD, Space, Shift by default). You can move through block similar to Spectator Mode.
Using the Mouse Wheel, you can modify your flying speed. Scrolling up causes you to fly faster, while scrolling down slows you down.
If you prefer the camera to be controlled similar to vanilla Creative Mode, you can change that in the Replay Settings.
3.1.2 Camera Roll
While in a Replay, you can tilt the Camera.
By default, pressing J will tilt the screen clockwise, and pressing L will tilt the screen counterclockwise.
Using K, you can reset the Camera Roll.
When holding the Ctrl key (Cmd key on Mac) while tilting, you can tilt slower and more precisely.
<mark>Hint: Most of the Keybindings mentioned in this documentation can be changed in Minecraft's Control Menu.</mark>
A Screenshot taken with a tilted camera
3.1.3 Spectating Entities
You can spectate any living entitiy (including players) while in a Replay. When looking at an entity, a crosshair will be visible.
By right-clicking, you will start spectating the entity. If you want to stop spectating the entity, use your Sneak Key (Shift).
3.2 Controlling Time
3.2.1 Replay Speed
In the upper left corner of you screen, there is a Play/Pause button (Shortcut: P), using which you can entirely pause the time of the Replay.
All Entities, Particles and Block Updates will be frozen until you resume. You can fly through a paused Replay as usual.
Next to the Play/Pause Button, there is a Speed Slider. Using the Speed Slider, you can control how fast the time in your Replay passes.
The minimum Speed value is 0.1 times the normal Minecraft Tick Speed, and the maximum Speed is 8 times as fast.
The Play/Pause button, Speed Slider and Replay Timeline hightlighted
3.2.2 Jumping in Time
To the right of the Speed Slider, there is the Replay Timeline. On the Replay Timeline, you see a yellow cursor indicating your current position in the Replay.
By clicking somewhere on this Timeline, you will travel in time towards the specified point in time.
Please note that it takes longer to do larger steps in time or to jump backwards in time (see also Quick Mode).
3.3 Camera Paths
3.3.1 Introduction
While in a Replay, you can create controlled Camera Movements using the Mods's Keyframe System.
Those Camera Paths can be rendered to a video later (see Rendering).
The Replay Mod Keyframe System is similar to many Video Editing Software's Keyframe Systems. If you're new to Keyframe Systems, try reading this Wikipedia article.
3.3.2 Keyframe Timeline
All of the Keyframes which define a Camera Path are placed on the Keyframe Timeline. The Keyframe Timeline is below the Replay Timeline.
The Keyframe Timeline is 10 Minutes long, meaning a Camera Path can take up to 10 Minutes. You can zoom in and out on the Keyframe Timeline using the + and - buttons next to it.
Other than the Replay Timeline, the Keyframe Timeline's time values are not relative to the Replay's point of time, but refer to real time.
If two Keyframes are 5 seconds apart, the Camera Path will take 5 seconds to interpolate between those Keyframes.
You can drag Keyframes on the Keyframe Timeline by left-clicking them, holding the mouse button and moving your mouse.
<mark>Hint: Made a mistake? You can use Ctrl+Z to undo your changes to the keyframe timeline. Changed you mind? Press Ctrl+Y (or Ctrl+Shift+Z) to redo them.</mark>
The Keyframe Timeline highlighted
3.3.3 Position Keyframes
The basic components of a Camera Path are Position Keyframes. A Position Keyframe stores a Camera Position (x, y, z, yaw, pitch, roll).
You can set a Position Keyframe using the "Add Position Keyframe"
button.
A Position Keyframe initially contains the state the Camera was in when creating the Keyframe.
On the Keyframe Timeline, a Position Keyframe will appear at the cursors's current position.
This Keyframe is selected automatically, and the Position Keyframe Button will turn red. By clicking the Position Keyframe Button again, the selected Position Keyframe will be removed.
By adding multiple Position Keyframes on the Keyframe Timeline, you can create a simple Camera Path.
Using the Path Preview, you can preview your Camera Path.
<mark>Hint: By right-clicking a Position Keyframe on the Keyframe Timeline, you can jump to this Keyframe's Position.</mark>
3.3.3.1 Path Interpolation
By default, Camera Paths follow a smooth curve through all of the set Position Keyframes. This curve is generated using Cubic Spline Interpolation.
If you wish to disable smooth interpolation and want to make the Path follow straight lines instead, change the Path Interpolation Setting in the Replay Settings.
You can easily toggle between Linear and Cubic Interpolation using the O key.
A Camera Path using
Cubic InterpolationThe same Camera Path using Linear Interpolation
3.3.3.2 Path Preview
Using the H key, you can toggle a visual representation of your Camera Path. If enabled, you will see a Red Line in the World following the Camrea Path.
The Path Interpolation Setting is respected in this preview.
By moving the cursor on the Keyframe Timeline, you can see the Camera's current positon and view direction on the Path Preview.
3.3.4 Time Keyframes
Time Keyframes can be used to precisely control time travelling during a Camera Path.
<mark>Every Time Keyframe represents a timestamp in the Replay itself.</mark>
You can set a Time Keyframe using the "Add Time Keyframe"
button.
A Time Keyframe initially contains the Replay's point in time when creating the Keyframe.
When playing the Camera Path, the Replay's time will interpolate between the set Time Keyframes in the Keyframes' intervals. Two Time Keyframes with the same Timestamp will freeze the Replay time for the duration of their interval.
<mark>Hint: By right-clicking a Time Keyframe on the Keyframe Timeline, you can jump to this Keyframe's Timestamp Value.</mark>
<mark>Note: Travelling backwards in time is not supported during Camera Paths. Do not add a Time Keyframe containing an earlier point in time after another Time Keyframe.</mark>
To play your first Camera Path, click the Play Button next to the Keyframe Timeline.
By default, the Camera Path starts from the Cursor Position on the Keyframe Timeline. By clicking while holding the Ctrl key (Cmd key on Mac), you can however start from the beginning regardless of the Cursor Position.
3.3.4.1 Synchronizing Timelines
Using the V key, you can synchronize the Keyframe Timeline with the time that passed since the last Time Keyframe's timestamp.
This means that pressing V moves the Keyframe Timeline's cursor to the position where placing a Time Keyframe would result in a Replay Speed of the Speed Slider's current value between the newly placed and the last Time Keyframe.
If holding Shift while synchronizing, it will be synchronized as if the Speed Slider's value was 1.0.
3.3.5 Spectator Keyframes
While spectating an entity, the "Add Position Keyframe" button becomes an "Add Spectator Keyframe"
button.
To sucessfully spectate an entity, you always need at least two Spectator Keyframes created while spectating the same entity.
On the Keyframe Timeline, the periods during which you are spectating an entity are marked with a blue line.
To leave a spectated entity during a camera path, simply add a normal Position Keyframe.
A Path Preview with Spectator Keyframes
3.3.6 Editing Keyframes
You can edit any Keyframe by double-clicking it on the Keyframe Timeline. A new GUI Screen will open which allows you to modify the Keyframe's properties.
On the lower part of the screen, you can precisely set the Keyframe's position on the Keyframe Timeline.
Above that, you can modify Keyframe specific settings, for example its Position value.
The Keyframe Editor for a Position Keyframe
3.3.7 Removing Keyframes
Using the DELETE key, you can remove the currently selected Keyframe.
Alternatively, while a Keyframe is selected, its connected Button turns red, and clicking it removes the Keyframe as well.
<mark>Note: If you use an Apple Computer with a built-in keyboard, you may need to press FN + DELETE instead.</mark>
3.3.8 Keyframe Repository
Using the X key, you can open the Keyframe Repository. Every Replay File has a separate Keyframe Repository which can contain several Keyframe Presets.
To save the Keyframes currently on your Timeline, click the "Save as..." button. You can change a Preset's name, select it from the list and click the "Rename" button. To load a Keyframe Preset, select a Preset from the list and click the "Load" button. Using the "Remove" button, you can permanently delete a Keyframe Preset from the Keyframe Repository.
The Keyframe Repository with two Path Presets
3.4 Rendering
With the Replay Mod, you can render Camera Paths to videos without using a screen recording tool like Fraps.
To get started, first set up your Camera Path as described in the previous chapters. Then, press the "Render Camera Path" button in the upper left corner.
3.4.1 Rendering Method
The Replay Mod does not only allow you to render "normal" vidoes as you see them on YouTube everyday, you can also render 360 degree videos, 3D videos and more.
To change the rendering method, use the dropdown on the upper half of the Render Settings Screen.
3.4.1.1 Default Rendering
Renders the video in the specified resolution. Fastest Rendering Option.
A frame exported using Default Rendering
3.4.1.2 Stereoscopic Rendering
Renders the video as a stereoscopic (side-by-side) 3D move, usable by different 3D technologies. The image for one eye is half the width of the video.
A frame exported using Stereoscopic Rendering
3.4.1.3 Cubic Rendering
Renders the video with a 360 degree panoramic view, using Cubic Projection. This is usable by several 360 degree video players (and the Oculus Rift), for example VR Player.
While Cubic Videos can't be used for YouTube 360° Videos, it takes less time to render them, so if your player is compatible with Cubic Projection anyway, you can use this setting.
A frame exported using Cubic Rendering
3.4.1.4 Equirectangular Rendering
Renders the video with a 360 degree panoramic view, using Equirectangular Projection. This is usable by YouTube's new 360 degree video function, and several video players (and the Oculus Rift), for example VR Player.
<mark>Note: In order for YouTube to recognize 360 Degree Videos, you have to inject some Metadata. Follow this guide for a tutorial.</mark>
A frame exported using Equirectangular Rendering
3.4.2 Video Settings
After you chose the Rendering Mode you want to use, you can further customize the rendered video.
The Video Render Settings Screen
3.4.2.1 Video Resolution
Below the Render Method Dropdown, you can enter the desired Video Resolution (Width * Height). You can enter any resolution there, but make sure to use reasonable values.
Common Video Resolutions for Default Rendering are:
- 720p - 1280 * 720
- 1080p - 1920 * 1080
- 4k - 3840 * 2160
When using Stereoscopic Rendering, please note that the entered Width value is the final video's width. Because Stereoscopic Videos have two frames next to each other, you therefore need to double the video width, so if you want a Full HD Stereoscopic Video, you have to enter 3840 * 1080.
Videos in Equirectangular Projection always need to have an Aspect Ratio of 2:1.
Please note that you should generally use a high resolution when exporting Equirectangular Videos, as the Video will be mapped onto a spherical surface in the Viewer you're using. To get a decent looking video, we recommend a resolution of 4320 * 2160.
<mark>Note: If you're re-rendering Equirectangular footage (e.g. using a video editing software like Premiere), make sure to export it at a 2:1 aspect ratio - otherwise it will look strange in 360 degrees.</mark>
3.4.2.2 Video Framerate
3.4.2.3 Video Encoding and Quality
Below the Render Method Dropdown, there is another Dropdown Menu for Encoding Presets.
<mark>Note: If you simply want to render an MP4 video in good quality, don't change these settings.</mark>
There are 7 Encoding Presets you can choose from:
- MP4 - Default Quality
Renders an MP4 video encoded with the x264 codec in Default Quality. This is default Encoding Preset, as it exports a video with good quality and a relativly low file size.
- MP4 - High Quality
Renders an MP4 video encoded with the x264 codec in High Quality. Rendered videos have a relatively high file size, but their quality is almost lossless. This is useful for video producers who have to encode (render) their footage several times.
- MP4 - Potato Quality
Renders an MP4 video encoded with the x264 codec in Very Low Quality. While the video itself looks really bad, the file size is tiny and therefore this preset can be used for test renders.
- MP4 - Custom Bitrate
If this Preset is chosen, the Bitrate Input Field gets enabled and you can define the video's bitrate yourself. The rendered video is an MP4 video encoded with the x264 codec.
- WEBM - Custom Bitrate
If this Preset is chosen, the Bitrate Input Field gets enabled and you can define the video's bitrate yourself. The rendered video is a webm video encoded with the vp8 codec.
webm video files are useful if you want to upload footage directly to streaming services like YouTube, as they usually don't have to convert vp8-encoded videos when processing them.
- MKV - Lossless
Renders an MKV video encoded with the x264 codec in Lossless Quality. While these video files are of perfect quality, most non-FFmpeg-based video players and video editing software (e.g. QuickTime Player, Sony Vegas and Adobe Premiere) can't play these videos. Therefore, you should instead use the MP4 - High Quality preset in most cases.
- PNG Sequence
Exports the sequence as individual frames in the PNG Format.
The images are of perfect quality. Depth map images are 32-bit float encoded in the 8-bit components in BGRA order and will need some kind of post-processing to be useful in most editors.
- OpenEXR Sequence (Minecraft 1.14 and above)
Exports the sequence as individual frames in the OpenEXR Format. The images are of perfect quality and may contain additional image layers beyond the visible one (e.g. depth). As such, this format is a good choice if you have plenty of disk space to spare and want to perform additional editing on the video in a third-party video editor.
A comparison between the quality of the MP4 Hight, Default and Potato Quality Presets.
3.4.3 Advanced Settings
The Advanced Render Settings
3.4.3.1 Render Nametags
If you don't want to see Entity's Nametags in the rendered video, simply un-tick the checkbox. Hidden Nametags also include Nametags of Armor Stands and Mobs, not only Players!
3.4.3.2 Stabilize Camera
This setting is only applicable for Cubic Rendering and Equirectangular Rendering.
Because you can rotate the camera in 360 degree viewers, a tilted camera persepctive leads to a strange user experience: If the user looks around, his view might appear to be tilted because the camera looked up or down. Therefore, it is recommended to always stabilize the camera's Pitch and Roll using the repsective checkboxes.
Example 360° video without stabilized Camera Pitch
Example 360° video with stabilized Camera Pitch and Roll
3.4.3.3 Chroma Keying
This is an experimental setting for video producers which allows you to change the sky color to a fixed color. Using a Video Editing Software like Adobe After Effects or Sony Vegas, you can change the sky color to transparency and add your own footage as sky. Read more about Chroma Keyinghere.
<mark>Note: For best results, you should disable clouds before rendering, as they are transparent.</mark>
A screenshot of a video rendered with a Red Chroma Key Setting
3.4.3.4 Depth Map
This setting causes depth information to be recorded and included in video formats which support it (currently only OpenEXR).
Using a video editor which supports it (e.g. Blender), you can then for example (among many other effects) add arbitrary geometry onto your rendered video in such a way that foreground objects in the video will still occlude background geometry as if it actually was part of the world.
<mark>Note: For best results, avoid semi-transparent blocks in front of your geometry, as they cannot be accurately represented in the depth map.</mark>
<mark>Note: Anti-aliasing is not supported when exporting depth. Instead simply render and edit your video at a higher resolution and scale it down at the very end.</mark>
"Suzanne" model added into a scene using Blender
3.4.4 Command Line Settings
<mark>Note: This is for advanced users only. If you do not know what your're doing, leave these settings as they are.</mark>
The Replay Mod runs FFmpeg via the Command Line to encode videos.
You can customize both the executed Command and the Command Line Arguments in the Command Line Settings part of the Render Settings Screen.
The Command Line Render Settings
3.4.4.1 Custom Command
If you leave the left input field blank, ffmpeg will be used as command. If you haven't set your PATH variable to link to your FFmpeg distribution, simply enter the full path to your FFmpeg executable (e.g. C:\ffmpeg\ffmpeg.exe or /usr/local/bin/ffmpeg).
3.4.4.2 Command Line Arguments
In the right input field, you can input custom Command Line Arguments to be used in the console.
Each of the Encoding Presets basically represents a set of Command Line Arugments which are used with the ffmpeg Command. Customizing these Command Line Arguments allows you to use a specific codec or quality setting and much more.
If you need an introduction to ffmpeg Command Line Arguments, read the FFmpeg documentation.
Before passing the given Command Line Arguments to the ffmpeg Command, the Replay Mod replaces the following placeholders with your inputs in the Render Settings Screen:
- %WIDTH%
The video's width
- %HEIGHT%
The video's height
- %FPS%
The video's framerate
- %FILENAME%
The video's filename without the extension. This should be surrounded with quotation marks ", as the filename might contain spaces.
As the ffmpeg Command is always executed from the target file's parent directory, %FILENAME% does not contain the file's full path.
- %BITRATE%
The video's bitrate in kilobytes per second. As the %BITRATE% placeholder already contains the value identifier "K", you don't have to take care of the bitrate value's format.
3.4.5 Rendering Performance
By clicking the Render Button in the lower right corner, you start Default Performance Rendering. Usually, this is perfectly satisfying regarding rendering speed, but you can increase it slightly using High Performance Rendering.
To use High Performance Rendering, hold down the Ctrl key (Cmd key on Mac) while clicking the Render Button.
High Performance Rendering has the following changes to improve rendering speed:
- Rendering Process, Estimated Time Left and Button Clicks are not recalculated after every rendered frame, but only after one rendered seconds (e.g. every 60 frames when rendering with 60fps)
- Resizing the Minecraft Window does not update the Rendering Gui
The Screen which is displayed while a video is being rendered
3.5 Ambient Lighting
If you have a Replay in a dark setting (for example at nighttime, or in a cave) and Brightness: Bright just isn't bright enough for you, you can toogle Ambient Lighting using the Z key (Y on some keyboards).
This works as a replacement for the Night Vision Potion Effect, without the side effect of a weird sky color.
The same setting, onace with Ambient Lighting enabled, once with Ambient Lighting disabled
While Ambient Lighting is enabled, this eye symbol is displayed in the lower right corner of the screen.
3.6 Quick Mode
When you first enable Quick Mode in a replay, an internal reference of certain entity and block properties is stored for quick access, allowing for faster navigation in the Replay Timeline. As a side effect, certain features like particles and second skin layers will not be rendered in the preview. By default, Quick Mode is toggled with Q.
In Quick Mode, this clock symbol is displayed in the lower right corner of the screen.
3.7 Player Overview
Using the B key, you can open the Player Overview. In the Player Overview, you see a list of all currently loaded Players in the Replay.
By clicking on a player's Name or Head, you can spectate this player.
Next to each player, there's a checkbox using which you can toggle the player's visibility. This way, you can hide certain players from the Replay.
Below the individual checkboxes, there are two checkbox buttons - one to hide all players and one to show all players.
If you want to save the player visibility settings, check "Remember Hidden Players" checkbox. If checked, invisible players will stay invisible after closing the Replay (this can of course be reverted), otherwise all of the players are visible again after reloading the Replay.
The Player Overview Screen
3.8 Thumbnails
While in a Replay, you can use the N key to create a Thumbnail of the current Replay.
A Thumbnail is a Screenshot which should give the viewer a good impression of your Replay's content.
Thumbnails help keeping your Replay Viewer clear and structured.
If no Thumbnail is set for a Replay, the Default Thumbnail will be displayed in the Replay Viewer.
The Default Thumbnail which is used if no Thumbnail was created
3.9 Event Markers
Long Replays easily get really clunky and difficult to handle. Therefore, Event Markers are a simple way to mark important events in your Replay.
While recording a Replay, you can press the M key anytime to set an Event Marker. This Event Marker remembers the Position where you've added it and will later, while watching a Replay, be displayed on the Replay Timeline.
While viewing a Replay, you can jump to an Event Marker's Position and Timestamp by right-clicking it on the Replay Timeline.
You can also add new Event Markers while viewing a Replay using the M key as well.
You can name Event Markers by double-clicking them. When hovering over the Event Marker, its name is displayed. This way, it's even simpler to add structure to your Replays.
You can delete an Event Marker by clicking it once to select it and then pressing the DELETE key.
The Replay Timeline with several Event Markers
4. Frequently Asked Questions
For how long can I record?
Theoretically, a Replay File can be up to 24 days, 20 hours, 30 minutes and 23 seconds long - which is a timespan you'll probably never reach.
How many chunks around me does the Mod record?
If you're playing in Singleplayer, all of the loaded chunks within your Render Distance are recorded.
If you're on a server, this depends on the view-distance setting in the server.properties file, which is set to 11 Chunks by default.
The Replay Mod of course records every loaded, not only the rendered chunks. Therefore, chunks behind your back are recorded as well.
Why can't I start recording in the middle of a session?
Due to the way the Replay Mod works, you need to start recording when joining a Server or World - otherwise some data which the Replay Files need is missing.
How does recording affect my FPS?
Usually, recording a Replay does not affect your framerate, and it also doesn't lead to lag on servers.
We've tested the Mod on a low-end notebook with only 3GB of ram, and everything worked fine.
How big are the files the Replay Mod records?
The file size of the recorded .mcpr files greatly depends on the amount of world data the replay contains.
A Replay in which you travelled around and discovered a lot of terrain is significantly larger than a Replay which was recorded in a void world.
An average Replay File of 10 Minutes duration usually is between 2MB and 10MB large. Replays recorded on Minigame Servers with lots of particle effects and world changes might be larger.
5. Troubleshooting
<mark>If you have trouble with rendering, please first consult the Documentation before asking for help in the Discord.</mark>
5.1 No FFmpeg installation found
If you have not installed FFmpeg, please follow the steps provided here
If already have installed FFmpeg, you have to manually tell the Replay Mod where your FFmpeg executable is located.
First, get the full path to your ffmpeg.exe (on Windows) or ffmpeg executable (on Mac/Linux).
On Windows, this path might look like C:\ffmpeg\ffmpeg.exe.
Then, open the "Command Line Settings" Section in the Render Settings and paste this path into the left input field and retry rendering.
The error screen that is displayed when no FFmpeg installation could be found
5.2 Crash while rendering
If Minecraft crashes after a few frames of rendering, it most likely means the FFmpeg didn't like the Command Line Arguments you passed. If you customized the Command Line Arguments manually, re-check them - it's probably your own fault.
<mark>Hint: In your .minecraft folder, you'll find a file called export.log which contains information about FFmpeg's rendering process.</mark>
- If you did not customize the Command Line Arguments, you might have entered some insanely high (or low) values e.g. for Bitrate or Video Resolution. Try again with other, more reasonable values.
- Make sure the camera doesn't move below Y=0 or above Y=255
5.3 Unsupported Launchers
Future Client is not compatible with the Mixin required by ReplayMod.
Lunar Client does not support ReplayMod.
Badlion Client offers a different ReplayMod that is not the same as this one.
5.4 Compatibility with other Mods
5.4.1 General information
In General, the Replay Mod should be compatible with most Forge and Fabric Mods.
5.4.2 Shaders Mod
Karyonix' Shaders Mod is no longer compatible with Minecraft Forge starting with 1.9.4. As such it is not compatible with the Replay Mod either.
Below Minecraft 1.16 you can try Optifine instead. Note however, that official support has ended and many versions break ReplayMod.
On Minecraft 1.16.5 and up you can use Iris, which is fully supported. For the time being, you will have to use it with the custom Sodium provided on our download page. The fix it includes is pending for the official version.
5.4.3 Custom Main Menu
The Custom Main Menu mod is often used in mod packs to customize their Main Menu with a button layout fitting the background image, links to their website / bug tracker and similar. If you are familiar with it, the button id for the Replay Mod is: 17890234 (text: replaymod.gui.replayviewer).
Due to the nature of this Custom Main Menu mod, buttons added to the Main Menu by 3rd party mods like the Replay Mod will not show up by default.
Thus, to access the Replay Viewer/Editor/Center, you need to manually configure the position for those buttons.
To do so, you need to modify the Custom Main Menu configuration file. Usually, you can find it at .minecraft/config/CustomMainMenu/mainmenu.json (if you're using a mod pack launcher, it normally has its own .minecraft folder).
For an explanation of this config file, have a look at Custom Main Menu's page.
You can find a list of already modified config files here.
5.4.4 Tickrate Changer
The Tickrate Changer mod may cause minecraft to freeze when you try to use the Replay Viewer UI.
5.4.5 LabyMod
LabyMod v3.7.x has been reported to be compatible with ReplayMod and other Forge mods. Lower versions are not compatible.
5.4.6 OldAnimationsMod
In case your Minecraft crashes when you are using both ReplayMod and OldAnimationsMod, try removing OldAnimationsMod.
5.4.7 Orange's 1.7 Animations
If you use ReplayMod with shaders and 1.7 Animations you may see floating water and glass. Remove 1.7 Animations to resolve this.
5.4.8 Sk1er Club: Patcher
We have seen reports of crashes that were related to Patcher; in case of crashes try removing Patcher.
5.4.9 Baritone
The Baritone mod can cause a crash when you're trying to load a replay. If you experience such problems, try running without Baritone.
5.4.10 RandomPatches
Minecraft may crash if you try to use RandomPatches together with ReplayMod. Try removing RandomPatches if Minecraft crashes on startup.
5.4.11 Sodium
ReplayMod can record when Sodium is installed, but currently lacks the FREX Flawless Frames API to render. A modified build of Sodium, that supports this API, is available from the ReplayMod downloads, by clicking the Click to show compatible Sodium versions button.
5.4.12 Resource Loader
The Resource Loader mod is not compatible with ReplayMod.
5.4.13 LiteLoader
LiteLoader is known to cause issues due to the mixin version it contains.
You can use MultiMC to workaround this problem.
<mark>The MultiMC Edit function requires that your computer has a default editor for json files associated.</mark>
1: Create your instance then edit the instance
2: Click Install Forge
3: Click Install LiteLoader
4: Click Add Empty; use ReplayMod as name and com.replaymod as uid
5: Select the new ReplayMod and click Edit
6: Replace the contents with one of the below snippets
7: Save and close the text editor
8: Move ReplayMod up until it is aboveLiteLoader
9: Remove the ReplayMod jar from the mods folder if you installed it previously.
Snippet for 1.8.9
{ "formatVersion": 1, "name": "ReplayMod", "uid": "com.replaymod", "version": "1.8.9-2.4.5", "libraries": [{ "name": "com.replaymod:replaymod:1.8.9-2.4.5", "MMC-absoluteUrl": "https://minio.replaymod.com/replaymod/replaymod-1.8.9-2.4.5.jar" }]}
Snippet for 1.12.2
{ "formatVersion": 1, "name": "ReplayMod", "uid": "com.replaymod", "version": "1.12.2-2.4.5", "libraries": [{ "name": "com.replaymod:replaymod:1.12.2-2.4.5", "MMC-absoluteUrl": "https://minio.replaymod.com/replaymod/replaymod-1.12.2-2.4.5.jar" }]}
The MultiMC interface to place ReplayMod above LiteLoader.
The properties for the new Empty.
Credits for replay mod
Without them nothing would be possible Thanks Replay Mod.
评论 0
登录后参与评分
还没有评论,来抢沙发吧