Deliver SRT and transform to multicast UDP MPEG-TS

Опубликовано: 29 Ноябрь 2024
на канале: Softvelum
7,514
46

In this tutorial we show the following scenario:
1. Get two programs from MPEGTS UDP stream.
2. Generate SRT output with those programs.
3. Deliver SRT from AWS Nimble server to another bare metal instance across the internet.
4. Generate multicast UDP MPEG-TS from SRT on the second server for both programs.

Check out the link to install Nimble Streamer and start your free trial today: https://softvelum.com/nimble/install/

More helpful videos:
~ SRT + Nimble Streamer on Amazon EC2:    • Push SRT to Amazon EC2, transmux it t...  
~ Convert MPEG-TS HTTP into HLS, MPEG-DASH, RTMP and other protocols    • Convert MPEG-TS HTTP into HLS, MPEG-D...  

Click the links below to read the respective pages:
~ Nimble Streamer freeware media server: https://softvelum.com/nimble/
~ MPEG-TS features of Nimble Streamer: https://softvelum.com/nimble/mpeg2ts/
~ MPEG-TS transmuxing to HLS, RTMP, MPEG-DASH: https://blog.wmspanel.com/2015/06/mpe...
~ Constant bitrate and mux rate in UDP streaming: https://blog.wmspanel.com/2019/07/udp...
~ More on MPEG-TS delivery over UDP https://blog.wmspanel.com/2015/07/adv...
~ SRT features of Nimble Streamer: https://softvelum.com/nimble/srt/
~ Setting SRT in Nimble Streamer: https://blog.wmspanel.com/2017/07/set...
~ Troubleshooting MPEGTS processing - Nimble Streamer has several settings to deal with problematic media sources to avoid glitches and artifacts: https://softvelum.com/2024/09/trouble...

This command was used for generating MPEGTS stream with two programs:
ffmpeg -stream_loop -1 -re -i ./bbb_720p_h264_aac.mp4 -stream_loop -1 -re -i ./TOS_720p_aac.mp4 -map 0:0 -map 0:1 -map 1:0 -map 1:1 -program title=BBB:st=0:st=1 -program title=TOS:st=2:st=3 -codec copy -f mpegts udp://127.0.0.1:49000?pkt_size=1316

Tell us more in the comments below about your typical usage of Nimble Streamer.

Nimble Streamer is a product made by Softvelum team.

Follow us in social media:
~ Twitter:   / softvelum  
~ Facebook:   / softvelum  
~ LinkedIn:   / softvelum  
~ Reddit:   / softvelum  
~ Telegram: https://t.me/softvelum

Timecodes:
0:00 About the use case
0:57 SRT package is required
1:13 Set up MPEGTS reception on first server
1:34 Publish MPEGTS UDP stream from FFmpeg to first server
2:34 Set up SRT output from first server
3:15 Set up SRT reception on second server
3:37 Define output streams from SRT source and test them
4:10 Generate UDP multicast output
4:48 Test multicast with VLC

Tv icons image designed by vectorstock at VectorStock.com
https://www.vectorstock.com/royalty-f...
12 server icons image designed by vectorstock at VectorStock.com
https://www.vectorstock.com/royalty-f...

#mpegts #udp #srt #nimblestreamer #multicast #Softvelum