@cwizard/rrvideo-fix-ffmpeg

0.3.12 • Public • Published

rrvideo

中文文档

rrvideo is a tool for transforming the session recorded by rrweb into a video.

Install rrvideo

  1. Install ffmpeg
  2. Install Node.JS
  3. Run npm i -g rrvideo to install the rrvideo CLI。

Use rrvideo

Transform a rrweb session(in JSON format) into a video.

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

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.

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.

/@cwizard/rrvideo-fix-ffmpeg/

    Package Sidebar

    Install

    npm i @cwizard/rrvideo-fix-ffmpeg

    Weekly Downloads

    1

    Version

    0.3.12

    License

    MIT

    Unpacked Size

    20 kB

    Total Files

    5

    Last publish

    Collaborators

    • cwizard