使用 VSCode 连接并控制 OBS 录像。
OBS 插件依赖: obs-websocket 5.0+
VSC 插件依赖: johnpapa.vscode-peacock codetour
插件安装: 插件市场搜索OBS-DeveloperUtil
This extension contributes the following settings:
OBS-DeveloperUtil.autoConnect
: enable/disable this extension auto connect OBSOBS-DeveloperUtil.address
: set OBS Websocket addressOBS-DeveloperUtil.visualCues
: set OBS Record starter animalOBS-DeveloperUtil.timeSpeed
: time lapse rangeOBS-DeveloperUtil.stopRecordWithTour
: record feat with codetour
Calling out known issues can help limit users opening duplicate issues against your extension.
- 增加 codetour 互动录制,录制完成后会在根目录下生成
tourVideoObject.json
文件 - 增加配置项
stopRecordWithTour
完成教程后自动停止录制
{
"@context": "https://schema.org/",
"@type": "VideoObject",
"name": "codetour video",
"hasPart": [
{ "@type": "Clip", "name": "前言", "offset": "0" },
{
"@type": "Clip",
"name": "0: 介绍",
"offset": "00:00:02.633",
"duration": 2633
},
{
"@type": "Clip",
"name": "1: 安装",
"offset": "00:00:04.999",
"duration": 4999
},
{
"@type": "Clip",
"name": "2: 编码",
"offset": "00:00:07.666",
"duration": 7666
},
{ "@type": "Clip", "name": "结束语", "offset": "-1" }
]
}
- 增加 Zen 模式延迟摄影模式。
Ctrl+K Z
进入 Zen 模式Escape Escape
退出 - getOBS 可用
"extensionDependencies": ["GoooIce.obs-developer-util"]
// yarn add rxjs
const getOBS = extensions.getExtension('GoooIce.obs-developer-util').exports.getOBS;
const obs = getOBS();
obs.fromEvent('SceneItemEnableStateChanged').subscribe((event) => {});
obs._api('StopRecord').subscribe();
- 为终端命令提供了自动暂停/继续录制功能
- 自动切换终端场景与桌面场景
- 添加了新的录制提示动画,可以通过配置项
OBS-DeveloperUtil.visualCues
选择 - 重构了 obs 连接库,预计 0.5.0 推出插件扩展接口
Fix bugs
Initial release of record feature
Enjoy!