---
name: "canplayer"
section: "1"
platform: "linux"
package: "can-utils"
version: "2023.03-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/canplayer"
---

# canplayer(1)

manual page for canplayer 2023.03-1

## NAME

canplayer - manual page for canplayer 2023.03-1

## SYNOPSIS

**canplayer** *\<options\>* \[*interface assignment*\]*\**

## DESCRIPTION

canplayer - replay a compact CAN frame logfile to CAN devices.

## OPTIONS

- **-I** \<infile\>

  (default stdin)

- **-l** \<num\>

  (process input file \<num\> times) (Use 'i' for infinite loop - default: 1)

- **-t**

  (ignore timestamps: send frames immediately)

- **-i**

  (interactive - wait for ENTER key to process next frame)

- **-n** \<count\>

  (terminate after processing \<count\> CAN frames)

- **-g** \<ms\>

  (gap in milli seconds - default: 1 ms)

- **-s** \<s\>

  (skip gaps in timestamps \> 's' seconds)

- **-x**

  (disable local loopback of sent CAN frames)

- **-v**

  (verbose: print sent CAN frames)

### Interface assignment:

-

  0\..n assignments like \<write-if\>=\<log-if\>

- e.g. vcan2=can0

  (send frames received from can0 on vcan2)

- extra hook: stdout=can0

  (print logfile line marked with can0 on stdout)

- No assignments

  \=\> send frames to the interface(s) they had been received from

Lines in the logfile not beginning with '(' (start of timestamp) are ignored.
