Streaming G.711 u-law

About encoding, codec settings, muxers and filter usage
vortech306
New Cone
New Cone
Posts: 1
Joined: 13 Jun 2008 20:48

Streaming G.711 u-law

Postby vortech306 » 13 Jun 2008 21:05

Hello,

I have the need to be able to transcode an audio file and then stream it via G.711 u-law. Searching these forums I found a post stating that starting from version 0.9.0 VLC can stream G.711 over RTP, however I'm unable to determine the correct sequence of commands to do so.

I've downloaded and installed VLC, version vlc-0.9.0-git-20080425-0003-win32.exe, and have tried the following from Windows XP command line:

vlc -vvv test.wav --sout "#transcode{acodec=ulaw,samplerate=8000,channels=1}:duplicate{dst=rtp{,dst=:1234}}"

vlc -vvv test.wav --sout "#transcode{acodec=ulaw,samplerate=8000}:duplicate{dst=rtp{,dst=:1234}}"

vlc -vvv test.wav --sout "#transcode{acodec=ulaw,rate=8000}:duplicate{dst=rtp{,dst=:1234}}"

None result in the transcoding and streaming of the file, VLC just sits idle. Could anyone provide some more information on how correctly configure VLC to stream G-711 u-law? Any help would be appreciated.

Thanks!

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

Re: Streaming G.711 u-law

Postby Rémi Denis-Courmont » 15 Jun 2008 17:50

I believe sample transrating is currently broken in the development tree. Therefore you can only send G.711 if your audio source is natively 8kHz (or if you don't mind using µ-law at a higher frequency and with a dynamic RTP payload).
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

pjain01
New Cone
New Cone
Posts: 8
Joined: 20 Mar 2009 07:55

Re: Streaming G.711 u-law

Postby pjain01 » 23 Mar 2009 07:28

Hi Remi,
Does it mean that in VLC ; PCMU/PCMA is supported with dynamic codec type ?

Regards,
Parveen

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

Re: Streaming G.711 u-law

Postby Rémi Denis-Courmont » 31 Mar 2009 20:08

On the sender side, yes.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

minataur
Blank Cone
Blank Cone
Posts: 19
Joined: 20 Feb 2009 11:53

Re: Streaming G.711 u-law

Postby minataur » 30 Apr 2009 16:44

I believe sample transrating is currently broken in the development tree. Therefore you can only send G.711 if your audio source is natively 8kHz (or if you don't mind using µ-law at a higher frequency and with a dynamic RTP payload).

hey, the soft phone pangolin supports G.711 as an audio codec which matches with VLC as u said.. but when i open the streaming menu and select the audio codec, there is no such option :( pls help me in this.. Can u tell me how to select that option?? cause i can't see it directly even after clicking on RTP
I'm using UBUNTU


Thank u


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 4 guests