Multicast G.711 uLaw / 8kHz mono
Posted: 06 Oct 2019 22:01
I am trying to set up an ubuntu server that can multicast an audio file in G.711 uLaw /8kHz mono however I am having some difficulty finding the correct commands. After some google searching, I have come up with the following command to try and start the stream.
Which is giving me the following output sections with errors. Any assistance would be much appreciated.
Code: Select all
vlc -vvv /var/www/cmadweb/moh/MY_BAYLOR_LOC.wav --sout '#transcode{acodec=ulaw,samplerate=8000}:rtp{proto=udp,mux=ts,name=big,dst=239.1.1.101,port=5004}' --sout-keep --ttl 5 --loop
Code: Select all
[00000000008883e8] core interface error: no suitable interface module
[0000000000779148] core libvlc error: interface "globalhotkeys,none" initialization failed
[00000000008883e8] core interface debug: looking for interface module matching "dbus,none": 19 candidates
[00000000008883e8] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[00000000008883e8] core interface debug: no interface modules matched
[00000000008883e8] core interface error: no suitable interface module
[0000000000779148] core libvlc error: interface "dbus,none" initialization failed
[0000000000779148] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00000000008883e8] core interface debug: looking for interface module matching "any": 19 candidates
[00007f3800000958] core input debug: Creating an input for 'MY_BAYLOR_LOC.wav'
[00000000008883e8] qt4 interface error: Could not connect to X server
[00000000008623d8] core playlist debug: meta ok for (null), need to fetch art
[00000000008883e8] skins2 interface debug: Cannot open X display
[00000000008883e8] skins2 interface error: cannot initialize OSFactory
Code: Select all
[00007f37f4004098] mux_ts mux warning: rejecting stream with unsupported codec mlaw
[00007f37f4004098] core mux error: cannot add this stream
[00007f37f4001238] stream_out_rtp stream out error: cannot add this stream to the muxer
[00007f37f8001168] core generic debug: removing module "araw"
[00007f37f80015c8] core encoder debug: removing module "g711"
[00007f37f8006458] core audio resampler debug: removing module "ugly_resampler"
[00007f37f4c0c088] core decoder error: cannot create packetizer output (s16l)