this repo has no description

readme

+30 -6
+30 -6
README.md
··· 27 27 ./scripts/fetch-sidecars.sh 28 28 ``` 29 29 30 - PowerShell: 31 - 32 - ```powershell 33 - ./scripts/fetch-sidecars.ps1 34 - ``` 35 - 36 30 2. Build: 37 31 38 32 ```bash ··· 67 61 docker build --target slim -t browser-stream:slim . 68 62 docker build --target full -t browser-stream:full . 69 63 ``` 64 + 65 + ## CLI arguments 66 + 67 + `browser-stream` supports the following flags: 68 + 69 + | Flag | Type | Default | Required | Notes | 70 + | --- | --- | --- | --- | --- | 71 + | `--url` | string | none | yes | Website URL. Must be `http` or `https`. | 72 + | `--width` | u32 | `1920` | no | Frame width. Min `16`. | 73 + | `--height` | u32 | `1080` | no | Frame height. Min `16`. | 74 + | `--fps` | u32 | `30` | no | Frame rate. Range `1..=120`. | 75 + | `--bitrate-kbps` | u32 | `4500` | no | Video bitrate in kbps. Min `100`. | 76 + | `--keyint-sec` | u32 | `1` | no | GOP/keyframe interval in seconds. Range `1..=60`. | 77 + | `--x264-opts` | string | `bframes=0` | no | Passed to x264 options. | 78 + | `--rtmp-url` | string | none | conditional | Use with `--stream-key` if `--output` is not set. | 79 + | `--stream-key` | string | none | conditional | Use with `--rtmp-url` if `--output` is not set. | 80 + | `--output` | string | none | conditional | Full output URL (for example `rtmp://.../app/key`). Alternative to `--rtmp-url` + `--stream-key`. | 81 + | `--retries` | u32 | `5` | no | Number of retry attempts after failure. | 82 + | `--retry-backoff-ms` | u64 | `1000` | no | Delay between retries (milliseconds). | 83 + | `--startup-delay-ms` | u64 | `2000` | no | Delay before starting frame capture (milliseconds). | 84 + | `--frame-timeout-ms` | u64 | `30000` | no | Frame read timeout (milliseconds). Min `1000`. | 85 + | `--no-audio` | bool flag | `false` | no | Disable silent audio track. | 86 + | `--ffmpeg-path` | path | auto | no | Override ffmpeg binary path. | 87 + | `--chromium-path` | path | auto | no | Override chromium/headless shell binary path. | 88 + | `--verbose` | bool flag | `false` | no | Enable verbose logging. | 89 + 90 + Output selection rules: 91 + 92 + - Provide `--output`, or 93 + - Provide both `--rtmp-url` and `--stream-key`.