OBS filter for stablizing Rotaeno game capture / 稳定Rotaeno画面的OBS插件
There are also Python-based and browser-based (including Chrome on Android) tools that can stablize recorded videos.
如果是要稳定录屏视频的话,可以考虑使用基于Python或者运行在浏览器中(包括Android上的Chrome浏览器)的工具。
中文说明往下翻
This plugin depends on the four color squares in the corners when Streaming Mode is enabled in game. The rotation data from the game is "transmitted" by varying the color of these squares.
This version of plugin needs Stream Encoding V2 to be enabled. If it's infeasible to use Encoding V2, for example, due to incompatibility with other tools still expecting Encoding V1, please use the rv1 branch.
The filter samples 4 to 5 pixels from the border of the capture image. If the squares are farther in, for example because you're using a 21:9 phone and capturing at a 16:9 resolution, you need to add a Crop/Pad filter before this plugin to position the squares correctly.
-
Download this repository (above the file list, to the right, select Code >> Download ZIP)
-
Extract the zip somewhere
-
Open OBS, in the menu bar select Tools >> Scripts
-
Click the add button
-
Go to where the zip file was extracted to, open the Lua file
-
Close the Scripts dialog
A new filter Rotaeno Stablizer will be available in the usual place.
Add it to the filter stack of the capture device, and resize the output on the canvas as needed.
本滤镜依赖Rotaeno在 直播模式 下在画面四角显示的方块。这四个方块的颜色表示当前的旋转角度。
当前版本需要勾选 使用V2直播编码 方可正常使用。若需要兼容旧工具请使用 rv1 分支。
滤镜的采样点固定在视频边界内4~5像素处,如果方块不在这个位置上(比如用16:9的分辨率采集21:9的手机), 请在本滤镜之上增加一个 裁剪/填充 滤镜,将多出来的黑边裁掉。
-
下载压缩包(文件列表右上方 Code >> Download ZIP )
-
找个地方解压
-
打开OBS,在菜单栏选 工具 >> 脚本
-
点击添加按钮(加号)
-
找到解压的地方,打开Lua文件
-
关闭脚本对话框
然后滤镜里会多一个 Rotaeno Stablizer ,把它加到采集输入的滤镜列表里,然后在场景里调整大小。