Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dusty-nv committed May 30, 2023
1 parent 7be035d commit 2d1fd5e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/aux-streaming.md
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,8 @@ input = videoSource("/dev/video0", options={'width': 1280, 'height': 720, 'frame
output = videoOutput("my_video.mp4", options={'codec': 'h264', 'bitrate': 4000000})
```

These settings will try to match the closest resolution/framerate available, but it's recommend to check your [camera formats](#v4l2-formats) first.

### C++
```c++
#include <jetson-utils/videoSource.h>
Expand Down Expand Up @@ -495,6 +497,8 @@ options.flipMethod = videoOptions::FLIP_ROTATE_180;
videoSource* input = videoSource::Create("/dev/video0", options);
```

These settings will try to match the closest resolution/framerate available, but it's recommend to check your [camera formats](#v4l2-formats) first.

<p align="right">Next | <b><a href="aux-image.md">Image Manipulation with CUDA</a></b>
<p align="center"><sup>© 2016-2020 NVIDIA | </sup><a href="../README.md#hello-ai-world"><sup>Table of Contents</sup></a></p>

0 comments on commit 2d1fd5e

Please sign in to comment.