Skip to content

Commit

Permalink
smpte2110 frame payload (#40)
Browse files Browse the repository at this point in the history
* readme cleanup

* make build.sh executable

---------

Co-authored-by: Chris Kennedy <chris.kennedy@ltnglobal.com>
  • Loading branch information
groovybits and ltn-chriskennedy committed Jan 3, 2024
1 parent 6c52ba0 commit 60a6c31
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 42 deletions.
48 changes: 6 additions & 42 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,46 +7,6 @@ keeping the ZeroMQ output clean without any non-legal
TS packets. Store metadata extracted in zeromq json headers.
Share out multicast to many clients for distributed stream processing.

```
RsCap Probe for ZeroMQ output of MPEG-TS and SMPTE 2110 streams from pcap.
Usage: probe [OPTIONS]
Options:
--batch-size <BATCH_SIZE>
Sets the batch size [env: BATCH_SIZE=] [default: 1000]
--payload-offset <PAYLOAD_OFFSET>
Sets the payload offset [env: PAYLOAD_OFFSET=] [default: 42]
--packet-size <PACKET_SIZE>
Sets the packet size [env: PACKET_SIZE=] [default: 188]
--read-time-out <READ_TIME_OUT>
Sets the read timeout [env: READ_TIME_OUT=] [default: 300000]
--target-port <TARGET_PORT>
Sets the target port [env: TARGET_PORT=5556] [default: 5556]
--target-ip <TARGET_IP>
Sets the target IP [env: TARGET_IP=127.0.0.1] [default: 127.0.0.1]
--source-device <SOURCE_DEVICE>
Sets the source device [env: SOURCE_DEVICE=] [default: ]
--source-ip <SOURCE_IP>
Sets the source IP [env: SOURCE_IP=224.0.0.200] [default: 224.0.0.200]
--source-protocol <SOURCE_PROTOCOL>
Sets the source protocol [env: SOURCE_PROTOCOL=] [default: udp]
--source-port <SOURCE_PORT>
Sets the source port [env: SOURCE_PORT=10000] [default: 10000]
--debug-on
Sets the debug mode [env: DEBUG=]
--silent
Sets the silent mode [env: SILENT=]
--use-wireless
Sets if wireless is used [env: USE_WIRELESS=]
--send-json-header
Sets if JSON header should be sent [env: SEND_JSON_HEADER=]
-h, --help
Print help
-V, --version
Print version
```

![rscap](https://storage.googleapis.com/gaib/2/rscap/rscap.png)

## This consists of two programs, a probe and a monitor client.
Expand Down Expand Up @@ -100,8 +60,8 @@ sudo make install
Build and run the pcap stream probe...

```text
# Build release version in target/release/probe
cargo build --release
# Build release,release-with-debug, and release versions in target/ directories.
./build.sh
# Use ENV Variable RUST_LOG= for logging level and cmdline args
sudo RUST_LOG=info target/release/probe \
Expand Down Expand Up @@ -149,6 +109,10 @@ EOF
sudo mv /tmp/oneAPI.repo /etc/yum.repos.d
sudo yum install intel-oneapi-vtune
# Web UI (Best) Read [Intel VTune Documentation](https://www.intel.com/content/www/us/en/docs/vtune-profiler/user-guide/2024-0/web-server-ui.html)
./vtune.sh
# Command line (Optional)
source /opt/intel/oneapi/vtune/latest/vtune-vars.sh
/opt/intel/oneapi/vtune/latest/bin64/vtune \
-collect performance-snapshot \
Expand Down
Empty file modified build.sh
100644 → 100755
Empty file.

0 comments on commit 60a6c31

Please sign in to comment.