Forum

How may i stream with udp out multicast from Mpeg2-TS source (MPEGTS in)

Lorenzo 2019-01-23 22:01:51 UTC in Nimble Streamer

Hi
i have a steam URL http://xxxxx in MPEGTS in and i would like output flow with udp multicast output
How may i do ?
Regards

Denis Slobodskoy 2019-01-24 02:54:24 UTC 

You need to add MPEGTS Out, set some application/stream name and select source from MPEGTS In, then On UDP streaming settings specify destination IP/Port and in Source application/stream set name you have set in MpegTS out.
Please read these articles for MpegTs and UDP setup:
https://blog.wmspanel.com/2015/06/mpegts-transmux-hls-rtmp-dash-nimble-streamer.html
https://blog.wmspanel.com/2015/07/advanced-mpegts-delivery-udp-nimble-streamer.html

Lorenzo 2019-01-24 22:25:14 UTC 

Hi Denis,
Thanks for your reply
I have done and I have on my pc video on udp://@239.0.3.1:1234 but there is a new problem
There is many freezz image because with udp flow in the statistic of the video on VLC , the bitrate video incoming is variable and there many videos lost frames

Is there a solution to solve he issue?
Is there RTP multicast proocol on nimble?
Regards Lorenzo

Denis Slobodskoy 2019-01-25 02:55:23 UTC 

Nimble send UDP stream with same rate as data comes in, I suppose your source MpegTS stream also has bitrate fluctuations. Unfortunately, there are no options to normalize bitrate, I could only recommend to translate stream by ffmpeg with -re parameter.
Sorry, RTP is not supported.

lorenzo 2019-01-25 09:21:59 UTC 

Hi Denis,
but when I am connected on the MPEGTS out flow , I have no issue
How may i test with translate stream by ffmpeg?
regards

lorenzo 2019-01-26 14:04:01 UTC 

Hi Denis,
i have lauch this
ffmpeg -re -stream_loop -1 -i http:/xxxxxxxx -c copy -f mpegts rtmp://192.168.1.96:1935/nimble_live/test

On the nimble serve its ready but no bandwith anf after few minutes

Press [q] to stop, [?] for help
av_interleaved_write_frame(): Unknown errortime=00:00:16.75 bitrate=8850.5kbits/s speed= 1x
Error writing trailer of rtmp://192.168.1.96:1935/nimble_live/test: Error number -10054 occurred
frame= 425 fps= 25 q=-1.0 Lsize= 18385kB time=00:00:16.95 bitrate=8880.7kbits/s speed=0.99x
video:16754kB audio:271kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 7.992247%
Conversion failed!

lorenzo 2019-01-26 14:04:01 UTC 

Hi Denis,
i have lauch this
ffmpeg -re -stream_loop -1 -i http:/xxxxxxxx -c copy -f mpegts rtmp://192.168.1.96:1935/nimble_live/test

On the nimble serve its ready but no bandwith anf after few minutes

Press [q] to stop, [?] for help
av_interleaved_write_frame(): Unknown errortime=00:00:16.75 bitrate=8850.5kbits/s speed= 1x
Error writing trailer of rtmp://192.168.1.96:1935/nimble_live/test: Error number -10054 occurred
frame= 425 fps= 25 q=-1.0 Lsize= 18385kB time=00:00:16.95 bitrate=8880.7kbits/s speed=0.99x
video:16754kB audio:271kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 7.992247%
Conversion failed!

Denis Slobodskoy 2019-01-28 00:57:12 UTC 

Try to remove "-stream_loop -1" parameter - it needed when you want to send some file repeatedly, it will not work for input live streams.

lorenzo 2019-01-28 09:54:44 UTC 

Hi Denis,
thanks for your help.
1/ Ok i may test... this but i think -f mpegts with rtmp , you think it s possible?
2/ If i use
ffmpeg -re -i http:/xxxxxxxx -c copy -f mpegts udp://239.0.0.1:1234

I see normally i may put this source in MPEG-TS UDP setting ,
- in the line -f mpeg-ts udp.... May i specify a multicast adress ( or the nimble server or loopback because , i may read with VLC Locally but on other PC on the LAN i see the packet with wireshark but i cannot read Video

On th enimble server in MPEG-TS i have put 239.0.0.1 1234 but it not see the flow

Post a reply


Post a new question

Categories:

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the Privacy Policy. If you want to know more or withdraw your consent to all or some of the cookies, please refer to the Privacy Policy.
By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies.