Wowza Community

Using VLC with Wowza Pro (native RTP)

Hey Richard

I checkd the last post.

I did try to do whatever changes tht were mentioned in tht link.

But im still not able to provide audio for long time.

The problem is tht i see the video as well as im able to listen to the audio.

But in between after sometime i can only see the video but cant hear a thing.

I hope u’ll have a solution on ths problem.

Please reply soon.

Hi Richard

Thnx 4 the reply.

Can u tell me other encoder than VLC which might be free or at a lower cost and also easy to implement.

And also doesnt have these issues.

Thnx

Hey Richard

But i thnk its not a VLC issue…

Its definitely an Wowza issue because i get back the audio when i stop and play the stream in the webpage again…

Hey and im using Windows so please tell me any windows option???

I have a server where VLC is running and also wowza is running.

I capture the live stream through VLC create an SDP file.

I use wowza to give a live stream through tht file.

Thn i have a website which is used to display the video using JW player.

The problem is, i do see the video properly but i do hear the audio for sometime and after that i dont hear any audio bt the video is still going on.

If i stop and play the video again, i see same thng happens again i see as well as hear, but after sometime again i can hear bt im able to see.

Please help me…:(:frowning:

I really need to fix ths ASAP.

i posted this elsewhere but i’ll post it here since this seems to be the go to place on the internet for vlc/wowza…

We’re trying to switch our mac quicktime encoders over to pc VLC encoders to work with wowza. is there anything specific we need to do on the wowza end to get it to process the files from vlc encoder? right now we’re testing with an .mp4 file. here is the current string we’re using in VLC, is this right? it seems to be encoding alright…

:sout=#transcode{vcodec=h264,vb=800,scale=1,acodec =mp4a,ab=128,channels=2,samplerate=44100}

:rtp{dst=stream.companyname.org,sdp=streams/test.sdp,user=XYXY,pwd=XYXY,port=1935,mux=ts}

thanks in advance for any help…

-tim

Edit/Delete Message

How can i run VLC command on my server in background mode like service? If i run it over the console it closed when i’m exiting console. Thank you

Hi guys,

I would love to hear from you if it’s possible to stream from within NAT network. I’m either stupid or RTP protocol does not allow this.

If I stream to Wowza instance installed on localhost, it works great.

I have forwarded ports from router to localhost, also altered SDP file to point to router and tried using this, but I still get errors, for example when trying to use another VLC to connect from outside local network I get:

live555 demuxer error: no data received in 10s, aborting

Wowza also can’t do that. Am I correct to say that it’s not allowed with NAT?

I am not surprised. It is tricky to get the AAC timecode right. There is a good chance that VLC is not doing this correctly. There is no way for us to fix this on our end. It needs to be fixed in the encoder.

Charlie

Hi,

I don’t have issues with livestream from vlc (linux) via wowza (1.7.2, in linux) on lipsync. So I don’t believe it’s really vlc issue and more on that wowza packetizer for iphone.

Also atleast apple packetizer likes aud-option in x264-encoder with vlc. And you really shouldn’t fiddle with qcomp there (as it’s default to 0.6 anyway).

I would like to mention, that currently h264 from x264 encoder quality is subpar in windows, due the compiler that was used to compile that library for vlc release. So quality is hugely improved if you stream from linux with vlc (with same settings).

Using VLC 1.0.3

vlc -vvv -I rc mms://xxxxxxxx/xxxxx “#transcode{venc=x264{keyint=60},vcodec=x264,vb=500,scale=1,acodec=mp4a,ab=32,channels=2,samplerate=22050}:rtp{dst=wowzamsIP,port-video=10000,port-audio=10002,sdp=file:“C:\vlc.sdp”}”

will not output me an sdp file. also with C:/vlc.sdp

Any Ideas?

vcodec should be h264, and your missing --sout= there fully (it’s --sout="#transcode…)

Hello to all,

I am trying to connect remote vlc to wowza but with no sucess. When i try vlc on wowza server all working perfectly, but when trying to use vlc remote i have a problem.

vlc -I rc http://193.47.74.41/BTV --sout "#transcode{width=320,height=240,venc=x264{keyint=50},vcodec=x264,vb=1000,scale=0.5,acodec=mp4a,ab=32,channels=2,samplerate=22050}:rtp{dst=192.168.13.246,port-video=10000,port-audio=10002,sdp="http://192.168.13.20:9000/test/test.sdp"}"

That is the command line that i execute on vlc, I try different option for rtp settings but with no success. especially i set dst to 192.168.13.246 that is my wowza server, and sdp to file:/// c:/test.sdp, to ///sms/content/test.sdp and many other options. In all case when player trying to open the stream, in wowza console i see that file is missing.

How exactly should be set this parameter, and is there are some special taht i should hve on wowza server. On that moment i share the content folder but that don’t help me.

Hello,

so i may set sdp=file:///c:/test.sdp and copy this test.sdo file in content folder and thats all ?

I will try this, thank you for that information.

when I use a vlc to output a stream to wowza,transcode setting is 25fps,but I get 50 fps in media information ,why?

Hello Richard.

When I do what I say I can not publish the Wowza streaming server.

Thanks.

Hello.

I need capture video of webcam (it´s a client) and publish to server (amazon wowza)

The publish video is h264, for this I will used VLC but I have error to generate sdp file.

Thanks Richard.

I already which tells me I can not see any connection with the Wowza server, I need something else? :confused:

Pablo.

Hello Richard.

Now I have this error.

WARN server comment 2010-10-07 16:52:06 - - - - - 3473.525 - - - - - - - - RTPSessionDescriptionDataProviderBasic.getStreamInfo: SDP file missing: C:/Program Files (x86)/Wowza Media Systems/Wowza Media Server 2/content/vlc.sdp

VLC Command

vlc -vvv dshow:// :dshow-vdev=“Logitech QuickCam Pro 9000” :dshow-adev=“Micrófono (Pro 9000)” :dshow-size=“320x240” --sout “#transcode{venc=x264{keyint=60,profile=baseline,level=3.0,nocabac,qpmax=36,qpmin=10,me=hex,merange=24,subme=9,qcomp=0.6},vcodec=x264,vb=500,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=48000}:rtp{dst=10.254.32.48,port-video=10000,port-audio=10002,sdp= file:///%WMSCONFIG_HOME%/content/vlc.sdp}”

The wowza server ip is: 10.254.2.48

And VLC is other PC: 10.254.32.111

Thanks.

Hello Richard.

This wowk only when vlc is in the same PC of wowza.

But I have vlc in one PC and Wowza Server in Other PC.

Thanks Richard

This works, I have another question now I can generate the SDP in a shared path.

vlc -vvv Extremists.m4v --sout “#transcode{venc=x264{keyint=60,profile=baseline,level=3.0,nocabac,qpmax=36,qpmin=10,me=hex,merange=24,subme=9,qcomp=0.6},vcodec=x264,vb=500,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=48000}:rtp{dst=10.254.2.48,sdp= \srv48\content/vlc.sdp}”

Thanks Ricard for your Help.

Solution.

vlc -vvv “file:///\srv48\C$\Program Files (x86)\Wowza Media Systems\Wowza Media Server 2\content\Extremists.m4v” --sout “#transcode{venc=x264{keyint=60,profile=baseline,level=3.0,nocabac,qpmax=36,qpmin=10,me=hex,merange=24,subme=9,qcomp=0.6},vcodec=x264,vb=500,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=48000}:rtp{dst=10.254.2.48,sdp=file://///srv48/content/vlc.sdp}”