tracerrvideo
v0.0.2
Published
基于rrvideo改造的转化视频工具
Downloads
4
Readme
tracerrvideo
tracerrvideo 是用于将 rrweb 录制的数据转为视频格式的工具,基于rrvideo改造。
安装 tracerrvideo
使用 tracerrvideo
将一份 rrweb 录制的数据(JSON 格式)转换为视频。
tracerrvideo --input PATH_TO_YOUR_RRWEB_EVENTS_FILE
运行以上命令会在执行文件夹中生成一个 rrvideo-output.mp4
文件。
指定输出路径
tracerrvideo --input PATH_TO_YOUR_RRWEB_EVENTS_FILE --output OUTPUT_PATH
对回放进行配置
通过编写一个 tracerrvideo 配置文件再传入 tracerrvideo CLI 的方式可以对回放进行一定的配置。
tracerrvideo --input PATH_TO_YOUR_RRWEB_EVENTS_JSON_FILE --config PATH_TO_YOUR_RRVIDEO_CONFIG_FILE
tracerrvideo 配置文件可参考示例。