Page 1 of 1

Video working but simple G.711 not?

Posted: 13 Aug 2008 12:07
by apohero
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

Re: Video working but simple G.711 not?

Posted: 13 Aug 2008 17:49
by Rémi Denis-Courmont
I assume you did not read the Important notes in the 0.9.0 news.

Re: Video working but simple G.711 not?

Posted: 14 Aug 2008 09:45
by apohero
I've got 0.8.6c. Isn't g.711 supported in this version?

Re: Video working but simple G.711 not?

Posted: 14 Aug 2008 10:23
by apohero
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

Re: Video working but simple G.711 not?

Posted: 14 Aug 2008 14:56
by apohero
ok i installed it and it is running. But the stream still doesnt work.

Re: Video working but simple G.711 not?

Posted: 14 Aug 2008 16:40
by Rémi Denis-Courmont
I assume you are not trying to open an RTP stream with the raw UDP receiver...

Re: Video working but simple G.711 not?

Posted: 15 Aug 2008 09:43
by apohero
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?

Re: Video working but simple G.711 not?

Posted: 13 Jul 2012 14:46
by hackeron
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?

Re: Video working but simple G.711 not?

Posted: 14 Jul 2012 08:44
by Rémi Denis-Courmont
You cannot do G.711 over TS. No big news here.