mix phoenix_replay.export (PhoenixReplay v0.6.2)

Copy Markdown View Source

Exports a recording as a video, for a bug report or a ticket.

mix phoenix_replay.export RECORDING_ID [--output replay.mp4] [options]

It starts your application, exports the recording with PhoenixReplay.Export as the player's Export video does, shows the progress, and copies the video to --output, by default replay-RECORDING_ID.mp4 in the current directory. Your endpoint need not be serving: the export browser loads the replay from an endpoint of its own.

Exporting needs the :export configuration; see PhoenixReplay.Export.

Options

The same as the player's export dialog, by default as configured; see PhoenixReplay.Export.Options:

  • --from SECONDS, --to SECONDS — the range of the recording
  • --no-skip-idle — keep stretches without activity whole
  • --no-pointer — leave the pointer out
  • --size recorded|1x|half — the video's size
  • --fps 15|30|60 — the frame rate
  • --quality small|balanced|best — the trade between size and detail