Multicast G.711 uLaw / 8kHz mono

About encoding, codec settings, muxers and filter usage
knowram
New Cone
New Cone
Posts: 4
Joined: 06 Oct 2019 21:49

Multicast G.711 uLaw / 8kHz mono

Postby knowram » 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.

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
Which is giving me the following output sections with errors. Any assistance would be much appreciated.

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)

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Multicast G.711 uLaw / 8kHz mono

Postby Rémi Denis-Courmont » 07 Oct 2019 16:45

Cannot stream G.711 in MPEG-TS.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

knowram
New Cone
New Cone
Posts: 4
Joined: 06 Oct 2019 21:49

Re: Multicast G.711 uLaw / 8kHz mono

Postby knowram » 07 Oct 2019 18:55

Cannot stream G.711 in MPEG-TS.
Does that mean that VLC can't support this or that I have a setting wrong?

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Multicast G.711 uLaw / 8kHz mono

Postby Rémi Denis-Courmont » 07 Oct 2019 19:10

You're requesting an impossible combination.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

knowram
New Cone
New Cone
Posts: 4
Joined: 06 Oct 2019 21:49

Re: Multicast G.711 uLaw / 8kHz mono

Postby knowram » 07 Oct 2019 20:01

You're requesting an impossible combination.
your saying Multicast at G.711 uLaw /8kHz mono is impossible? I know there are other hardware products out there that can do it.

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Multicast G.711 uLaw / 8kHz mono

Postby Rémi Denis-Courmont » 08 Oct 2019 18:44

No. You can see what I wrote by scrolling up.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

knowram
New Cone
New Cone
Posts: 4
Joined: 06 Oct 2019 21:49

Re: Multicast G.711 uLaw / 8kHz mono

Postby knowram » 08 Oct 2019 23:19

No. You can see what I wrote by scrolling up.
I'm really sorry Remi as I am not understanding what you're saying. Maybe I am not technical enough but if what I am trying to do is possible can you please point me in the right direction or let me know what I need to do.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 37 guests