Skip to main content

Grande Unified M ulticast D aemon,


" I've been googling for some time now, and still have yet to find a working example of Python multicast..."

Is what your mom and your sister used to say, before gumd.


  • Requires

    • python3.6 +
  • Install

git clone https://github.com/futzu/gumd

cd gumd

### as root

install gumd.py /usr/local/bin/gumd 
  • Use

    • Supported input mpegts URIs:

      • files gumd -i /home/me/vid.ts

      • http(s) gumd -i https://futzu.com/xaa.ts

      • multicast gumd -i udp://@235.1.2.3:4567

      • reading from stdin cat myvideo.ts | gumd

usage: gumd [-h] [-i INPUT] [-a ADDR] [-t TTL]

options:
  -h, --help            show this help message and exit
  
  -i INPUT, --input INPUT
                        like "/home/a/vid.ts" 
                        or "https://futzu.com/xaa.ts"
                        
                        default: sys.stdin.buffer
                        
  -a ADDR, --addr ADDR  multicast stream address like "235.35.3.5:3535"
        
                        default "235.35.3.5:3535"
  
  -t TTL, --ttl TTL     ttl value for stream, range 1 - 255
  
                        default 1
  • start gumd
gumd -i video.ts
  • play gumd stream with ffplay
ffplay udp://@235.35.3.5:3535
  • segment stream from gumd into hls with x9k3
pypy3 x9k3.py -i udp://@235.35.3.5:3535
  • On Linux, this is how I set up for receiving a multicast stream.
## <dev> is the network device

ip link set <dev> multicast on allmulticast on

ethtool  -G <dev> rx 4096

sysctl -w net.core.rmem_default=50000000

sysctl -w net.core.rmem_max=150000000

image

Metadata

Release files for gumd 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gumd 0.0.5
File Size Uploaded Provenance Actions
gumd-0.0.5.tar.gz 3.4 kB Without provenance Details for gumd-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gumd 0.0.5
File Interpreter ABI Platform Actions
gumd-0.0.5-py3-none-any.whl Python 3 none any Details for gumd-0.0.5-py3-none-any.whl

Total release size: 7.1 kB

Release files / gumd-0.0.5.tar.gz

Download URL gumd-0.0.5.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1415b0ae04bcb752f0ffce75f5f3fd97ab1869499c3bc374b815c66a00250e3f
BLAKE2b-256 checksum
How to use checksums
d9bb936c50fbe5d3b03560d2808cf72c74023cf8752f9413f4cc20029ed28909
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / gumd-0.0.5-py3-none-any.whl

Download URL gumd-0.0.5-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
17b60fb051ce7e2f57c368cadaa9af245e7abc9f83944984d8d1746030587b6e
BLAKE2b-256 checksum
How to use checksums
545f664227dbc9861f9c15001335ece31e68926953d43355c2c6a8bfc7107bc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Security for gumd 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page