Skip to content

Commit

Permalink
Adding information about mjpeg based v4l2 devices
Browse files Browse the repository at this point in the history
  • Loading branch information
mithro committed Oct 29, 2015
1 parent 8605ea6 commit 678131d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Expand Up @@ -9,6 +9,15 @@ dvswitch --host=localhost --port=2000 &
./dvsource-v4l2-other --device=/dev/video0 --host=localhost --port=2000
```

#### Quick Start with MJPEG Devices (such as HDMI2USB.tv)

Due to limited USB2.0 bandwidth, many Video4Linux devices support both a low frame rate "raw mode" and a high frame rate "mjpeg mode". By default dvsource-v4l2-other will pick the raw mode, to force it to use the mjpeg mode you need to use the `--caps` command line as follows;

```
dvswitch --host=localhost --port=2000 &
./dvsource-v4l2-other --device=/dev/video0 --host=localhost --port=2000 --caps="image/jpeg,width=1280,height=720"
```

## Dependencies

* gstreamer-1.2.4 (including, base, good and libav plugins)
Expand Down

0 comments on commit 678131d

Please sign in to comment.