---
name: "xwd2raw"
section: "1"
platform: "linux"
package: "smilutils"
version: "0.3.2+cvs20070731-4.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/xwd2raw"
---

# xwd2raw(1)

Use an X Window as a source for Raw DV images.

## NAME

xwd2raw - Use an X Window as a source for Raw DV images.

## SYNOPSIS

**xwd2raw** \[ **options** \]

## DESCRIPTION

**xwd2raw** captures an X Windows as a Raw DV stream

## OPTIONS

- **-n**

  NTSC output required (default: PAL).

- **-w** *window*

  Specify window to capture (default is whole screen).

- **-i** *id*

  X Window id to capture.

- **-s**

  Interactively select the X Window to capture.

- **-m**

  Use Image Magick tools to convert the xwd image (this may be a better option from a performance point of view and seems to work better than the xwdtopnm utility which is used by default).

## HELP OPTIONS

- **--help**

  Show help message.

## EXAMPLES

Interactively select a window, and send to your cam:

xwd2raw -s \| \
 dvconnect -s --

Interactively select a window, and play the stream:

xwd2raw -s \| \
 playdv --

## SEE ALSO

[**smilutils**(1)](/smilutils/1.md)

## AVAILABILITY

See http://kino.schirmacher.de/ for the latest version.

## AUTHORS

**xwd2raw** was written by Charles Yates \<charles.yates@pandora.be\>.
