Metadata-Version: 2.4
Name: rtsp-ndi
Version: 0.2.0
Summary: Bridge an RTSP stream to an NDI source
Author-email: Matthew Meekins <matthewmeekins@gmail.com>
License: MIT License
        
        Copyright (c) 2026 Matthew Meekins
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/matthewmeekins/rtsp-ndi
Project-URL: Repository, https://github.com/matthewmeekins/rtsp-ndi
Keywords: ndi,rtsp,video,streaming,broadcast
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Multimedia :: Video
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: av>=13.0.0
Requires-Dist: numpy>=1.24.0
Requires-Dist: ndi-python>=6.0.0
Dynamic: license-file

# rtsp-ndi

Bridge an RTSP stream to an NDI source on your local network.

This was built mostly using Claude. Use at your own risk

## Install

### macOS (recommended)

```bash
curl -fsSL https://raw.githubusercontent.com/matthewmeekins/rtsp-ndi/main/install.sh | bash
```

Requires [Homebrew](https://brew.sh). The script handles FFmpeg, Python, and the package automatically.

### Other platforms

```bash
pip install rtsp-ndi
```

Also requires **FFmpeg** on your `PATH`:
- Windows: https://ffmpeg.org/download.html
- Linux: `sudo apt install ffmpeg`

## Usage

```bash
rtsp-to-ndi --url rtsp://YOUR_CAMERA_IP/stream --name "Camera 1"
```

The source will appear in any NDI-aware application (OBS, vMix, NDI Monitor) on your local network.

## Options

```
--url      RTSP source URL (required)
--name     NDI source name shown on the network (default: "RTSP Source")
--latency  low or normal (default: low)
```

## Notes

- The NDI runtime is bundled automatically via the `ndi-python` dependency — no manual SDK download needed.
- To use a custom NDI SDK install, set `NDI_SDK_LIB=/path/to/libndi`.
