Video working but simple G.711 not?

About encoding, codec settings, muxers and filter usage
apohero
New Cone
New Cone
Posts: 9
Joined: 13 Aug 2008 11:57

Video working but simple G.711 not?

Postby apohero » 13 Aug 2008 12:07

Hi everyone,
I've got a Problem using VLC. I have a Windows Machine and a Linux machine. The Linux machine is for VLC Server using the Command Line only. The Windows machine is listening at udp://@ . So I've already made a successful stream with mpeg and wmv (with picture and sound). Now I just want to make a simple wav only stream heaving G.711 a. But I didin't get it to work. I tried many codes like:
vlc -vvv sample.wav --sout '#transcode{acodec=alaw,samplerate=8000,channels=1}:duplicate{dst=rtp{dst=linuxmachine:1234}}'

but without success. Is there anyone who could help. I didn't find any in the wiki or in Forum.

Do I have to change something on the windows machine?

thanks

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

Re: Video working but simple G.711 not?

Postby Rémi Denis-Courmont » 13 Aug 2008 17:49

I assume you did not read the Important notes in the 0.9.0 news.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

apohero
New Cone
New Cone
Posts: 9
Joined: 13 Aug 2008 11:57

Re: Video working but simple G.711 not?

Postby apohero » 14 Aug 2008 09:45

I've got 0.8.6c. Isn't g.711 supported in this version?

apohero
New Cone
New Cone
Posts: 9
Joined: 13 Aug 2008 11:57

Re: Video working but simple G.711 not?

Postby apohero » 14 Aug 2008 10:23

Seems not. So I've downloaded the vlc 0.9.0 test3 package, but I dind't get it installed. I'm working on Ubuntu 7.10 in vmware. Has anyone a step by step turtorial to install this new vlc version?thanks

apohero
New Cone
New Cone
Posts: 9
Joined: 13 Aug 2008 11:57

Re: Video working but simple G.711 not?

Postby apohero » 14 Aug 2008 14:56

ok i installed it and it is running. But the stream still doesnt work.

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

Re: Video working but simple G.711 not?

Postby Rémi Denis-Courmont » 14 Aug 2008 16:40

I assume you are not trying to open an RTP stream with the raw UDP receiver...
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

apohero
New Cone
New Cone
Posts: 9
Joined: 13 Aug 2008 11:57

Re: Video working but simple G.711 not?

Postby apohero » 15 Aug 2008 09:43

I'am getting an earlier Error. Like this one:

I was starting the Streaming Server from the assistant and not from console.

Code: Select all

[00000001] main libvlc debug: translation test: code is "de" [00000001] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. config_ChainCreate: invalid options (empty) [00000401] stream_out_rtp stream out error: cannot add this stream (unsupported codec:s16l) [00000422] main packetizer error: cannot create packetizer output (alaw) [00000395] main stream output error: object is not attached [00000356] main playlist: saving Medienbibliothek to file /home/jars/.local/share/vlc/ml.xspf jars@jars-desktop:~$ vlc VLC media player 0.9.0-test3 Grishenko [00000001] main libvlc debug: VLC media player - version 0.9.0-test3 Grishenko - (c) 1996-2008 the VideoLAN team [00000001] main libvlc debug: libvlc was configured with ./configure '--enable-x11' '--enable-xvideo' '--disable-gtk' '--enable-sdl' '--enable-ffmpeg' '--with-ffmpeg-mp3lame' '--enable-mad' '--enable-libdvbpsi' '--enable-a52' '--enable-libmpeg2' '--enable-dvdnav' '--enable-faad' '--enable-vorbis' '--enable-ogg' '--enable-theora' '--enable-faac' '--enable-mkv' '--enable-freetype' '--enable-fribidi' '--enable-speex' '--enable-flac' '--enable-live555' '--enable-caca' '--enable-skins' '--enable-skins2' '--enable-alsa' '--disable-kde' '--enable-qt' '--enable-wxwindows' '--enable-ncurses' '--enable-release' '--with-live555-tree=../live/' [00000001] main libvlc debug: translation test: code is "de" [00000001] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. config_ChainCreate: invalid options (empty) [00000401] stream_out_rtp stream out error: cannot add this stream (unsupported codec:s16l) [00000422] main packetizer error: cannot create packetizer output (mlaw) [00000395] main stream output error: object is not attached [00000356] main playlist: saving Medienbibliothek to file /home/jars/.local/share/vlc/ml.xspf
both alaw and ulaw doesn't seem to be supported in vlc 0.9.0. But I thought they were?

hackeron
Blank Cone
Blank Cone
Posts: 24
Joined: 18 Jul 2008 13:30

Re: Video working but simple G.711 not?

Postby hackeron » 13 Jul 2012 14:46

I'm having the same problem:

Code: Select all

[0x7f41d0005ba8] main mux error: cannot add this stream [0x7f41d0001338] stream_out_rtp stream out error: cannot add this stream to the muxer [0x7f41d00376c8] [Media: cam1] main decoder error: cannot create packetizer output (alaw) MultiFramedRTPSource::doGetNextFrame1(): The total received frame size exceeds the client's buffer size (65536). 6097 bytes of trailing data will be dropped!
Same with Ulaw:

Code: Select all

[0x7fea340372a8] [Media: cam1] main decoder error: cannot create packetizer output (mlaw)
And G.726:

Code: Select all

[0x7f78400376e8] [Media: cam1] main decoder error: cannot create packetizer output (g726)
This is my vlm.conf

Code: Select all

new cam1 broadcast enabled setup cam1 input rtsp://admin:admin@192.168.0.164/0 setup cam1 output #rtp{mux=ts,dst=localhost,port=1234,sdp=sap://,name="ch1"} control cam1 play
Any ideas?

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

Re: Video working but simple G.711 not?

Postby Rémi Denis-Courmont » 14 Jul 2012 08:44

You cannot do G.711 over TS. No big news here.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 26 guests