# rrvideo **Repository Path**: qinqinqi/rrvideo ## Basic Information - **Project Name**: rrvideo - **Description**: rrvideo 是用于将 rrweb 录制的数据转为视频格式的工具。 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 0 - **Created**: 2023-10-27 - **Last Updated**: 2025-10-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README **⚠️The rrvideo project has been merged to [rrweb's main repo](https://github.com/rrweb-io/rrweb/blob/master/packages/rrvideo/README.md), this repo will be archived in the future.⚠️** # rrvideo [中文文档](./README.zh_CN.md) rrvideo is a tool for transforming the session recorded by [rrweb](https://github.com/rrweb-io/rrweb) into a video. ## Install rrvideo 1. Install [ffmpeg](https://ffmpeg.org/download.html)。 2. Install [Node.JS](https://nodejs.org/en/download/)。 3. Run `npm i -g rrvideo` to install the rrvideo CLI。 ## Use rrvideo ### Transform a rrweb session(in JSON format) into a video. ```shell rrvideo --input PATH_TO_YOUR_RRWEB_EVENTS_FILE ``` Running this command will output a `rrvideo-output.mp4` file in the current working directory. ### Config the output path ```shell rrvideo --input PATH_TO_YOUR_RRWEB_EVENTS_FILE --output OUTPUT_PATH ``` ### Config the replay You can prepare a rrvideo config file and pass it to CLI. ```shell rrvideo --input PATH_TO_YOUR_RRWEB_EVENTS_JSON_FILE --config PATH_TO_YOUR_RRVIDEO_CONFIG_FILE ``` You can find an example of the rrvideo config file [here](./rrvideo.config.example.json).