Page 1 of 1

VLM not able to broadcast more then one RTMP source simultan

Posted: 01 Mar 2013 19:07
by dicr
VLM not able to broadcast more then one RTMP source simultaneously.
Example config with two channels with rtmp sources.

----- Config

Code: Select all

new ch3 broadcast enabled loop setup ch3 input "rtmp://xxx.xxx.xxx.xxx:6001/file/stream" setup ch3 output #rtp{mux=ts,dst=224.80.0.1,port=5004,proto=udp,ttl=2} control ch3 play new ch4 broadcast enabled loop setup ch4 input "rtmp://xxx.xxx.xxx.xxx:6002/file/stream" setup ch4 output #rtp{mux=ts,dst=224.80.0.2,port=5004,proto=udp,ttl=2} control ch4 play
In result only one of channels start broadcasting, but other not.

------- Errors in log output

Code: Select all

[0x7fb110000c58] [Media: ch4] access_avio access error: Module aready in use [0x7fb11c000e18] [Media: ch4] main input error: open of `rtmp://xxx.xxx.xxx.xxx:6002/file/stream' failed [0x7fb11c000e18] [Media: ch4] main input error: Your input can't be opened [0x7fb11c000e18] [Media: ch4] main input error: VLC is unable to open the MRL 'rtmp://xxx.xxx.xxx.xxx:6002/file/stream'. Check the log for details.
Changing one of channel from rtmp to http, makes other channel start working.
ACCESS_AVIO module error "Module already in use" seems say then no more then only one rtmp input can be configured.
But I need above 50 RTMP channel to stream to UDP :((

Re: VLM not able to broadcast more then one RTMP source simu

Posted: 17 Mar 2013 07:39
by Jean-Baptiste Kempf
It should say that only with older versions of libavcodec. What version of libavcodec is it?