Help on sndid-stream

main 0.0.2
Jeff Moe 2023-09-21 19:58:11 -06:00
parent 5ba5ad9ac3
commit 6f8fc074b0
2 changed files with 24 additions and 1 deletions

View File

@ -280,6 +280,28 @@ Recording WAVE 'stdin' : Float 32 bit Little Endian, Rate 48000 Hz, Mono
Exit with `CTRL-C`.
## Stream
`sndid-stream` streams *from* a URL to the `sndid-server`.
Input URL can be anything ffmpeg can read (everything).
Help:
```
$ ./sndid-stream -h
usage: sndid-stream [-h] [-i IP] [-p PORT] [-t TIME] -u URL
Run sndid-stream
options:
-h, --help show this help message and exit
-i IP, --ip IP Server IP address (default 127.0.0.1)
-p PORT, --port PORT Server network port (default 9988)
-t TIME, --time TIME Length of segments in seconds (default 60)
-u URL, --url URL Input url
```
Exit with `CTRL-Z` and `kill %1` :) por ahora.
# Development
To "develop", install the requirements:
@ -336,6 +358,7 @@ https://github.com/joeweiss/birdnetlib
# Status
Alpha, initial development.
Works, but taped together with duct tape.
# Copyright

View File

@ -21,7 +21,7 @@ limitations under the License.
import argparse
import os
parser = argparse.ArgumentParser(description="Run sndid-client")
parser = argparse.ArgumentParser(description="Run sndid-stream")
parser.add_argument(
"-i",
"--ip",