Comments (1)
courtesy of @nto:
- should use rtp insted of udp
- should use @ to indicate listener
- the generic syntax for network i/o is
[<connect addr>[:<connect port>]][@[<bind addr][:<bind port>]][/<options>]
so the example above works as following:
Container1 (172.20.0.50) - starts stream:
#note: only single stream
ffmpeg -re -stream_loop -1 -i /data/a2.mp4 -pix_fmt yuv420p -c:v libx264 -b:v 1000k -r 24 -x264opts keyint=24:no-scenecut -g 24 -keyint_min 24 -profile:v baseline -preset veryfast -an -f rtp rtp://172.20.0.60:5006
Container2 (172.20.0.60) - RIST sender
./rist_tx -d @172.20.0.60:5006 172.20.0.70:5008 1000
Container3 (172.20.0.70) - RIST receiver
./rist_rx -d @172.20.0.70:5008 172.20.0.80:5010 1000
Container4 (172.20.0.80) - listens to the stream
#note: .sdp file contens are printed out by ffmpeg in Container1
ffprobe -protocol_whitelist "file,http,https,tcp,tls,rtp,udp" -i /data/sdp1.sdp
from upipe.
Related Issues (18)
- missing header detection of rtcp HOT 2
- What version of ffmpeg is needed to build HOT 1
- data races in uring HOT 1
- examples/{u,glx}play: incorrect stride on some sources HOT 8
- uplay segfault
- OpenGL function called after context destroyed
- AFD and CEA608 in VANC handling (and others)
- SO_REUSEPORT on UDP input sockets
- Incomplete RTCP parsing in RIST TX example
- compile failed HOT 2
- PSISI burst connecting ts_mux to sink_worker HOT 2
- PCR signalling in TS mux HOT 2
- libupipe_ts.pc doesn't state libtasn and libgcrypt are needed when enabled by configure
- Needs "libgcrypt-dev" on Ubuntu 18.04 Server HOT 1
- upipe_h264_framer: valgrind reports a use of uninitialised value HOT 6
- upipe_avcodec_encode unconditionally uses bitstream HOT 1
- New release? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from upipe.