Forum

only 1 rtmp outgoing from same address question

peterpan 2015-12-12 17:23:00 UTC in WMSPanel functionality

Hi
I am sending 5 streamings via rtmp from a virtual pc, to another machine in the same network, i have setup interfaces as any and to the ip of the virtual machine, everything goes fine, but when i go to the live streams module, outgoing i noticed only 1 streaming is running, the other streams shows as offline, but the feeds are received by nimble streamer, i have other streamings from different urls and works fine, how can i fixed that?

Thanks

Andrey Goncharov 2015-12-13 08:47:24 UTC 

Hi

Please start new support ticket by sending email to help@wmspanel.com and provide exact stream URLs those you have problems with.

peterpan 2015-12-14 21:06:03 UTC 

I found the problem.
It is because the audio transcode takes a lot of cpu power, with 1 processor, i am only able to do max 2 hls to rtmp transcodes with -audio aac -ar 44100 -ab 64k -ac 2 -strict -2.
I didn't noticed before, because in that machine i used to do 9 hls restreamings with -video copy -audio copy, i expected to get something similar.
Now i am using the server side task control to do the rtmp transmuxe, but still is using processors at 53%, is there any way to do hls restreaming without transmuxe to rtmp?

Thanks

peterpan 2015-12-14 21:07:20 UTC 

I forget to mention i am using the server side task control in the host machine with 8 procs not in the virtual anymore.

Alex Pokotilo 2015-12-15 05:33:23 UTC 

Please try to use rtsp publish. Rtsp doesn't require 44100 audio so you don't have to transcode audio.

ffmpeg command will look like

ffmpeg -re -i htttp://yourhost.com/live/stream/playlist.m3u8 -c copy -f rtsp -rtsp_transport tcp rtsp://127.0.0.1:7554/live/stream

rtsp -rtsp_transport tcp require to force using TCP. TCP is more reliable to should be considered for such cases.

To use RTSP you:
1) need to setup rtsp inteface as described here

http://blog.wmspanel.com/2015/05/rtsp-transmux-hls-rtmp-dash-mpeg2ts.html

2) please do that carefully. and don't switch current production streams. create new stream for tests first

3) recommended ffmpeg versions are 2.8.x. Rtsp works strange with 2.5.* sometimes

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.