Wowza Community

re-stream from video-capture card machine

I have a server setup for live video capture with many capture cards. The capture card machine can’t run Wowza on it.

I also want to setup a Wowza origin server that can pull the live video from this other machine and re-stream it.

Do I need to write a custom Java program to grab/encode the video and then open server sockets (1 per stream) for Wowza to grab the live streams from? If so, are their any Wowza utilities, helper programs I can use?

tia

You can use vlc for this:

https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts

Richard

This type of streaming uses UDP and not TCP. For this reason each stream must have its own set of ports.

Charlie

If you want to do this all over a single port then the answer is RTSP/RTP over TCP (RTP interleaved). Encoders such as Telestream Wirecast can do this. You just check the “Broadcast over TCP” option in the broadcast settings. I don’t think VLC does RTSP/RTP out but it worth doing some research to see.

Charlie

Thanks Richard. From that link it took ~1 hr and it was up and running! Now, to investigate other capabilities!

Investigating further, it appears that I have to create a different video port on my Wowza host (e.g., m= xxxxx) for each stream I re-stream from my VLC host. Is that correct or have I done something wrong?

My goal was to have a single port opened on remote Wowza host and shove all the streams from the VLC host down this same Wowza Server port since this is how our FMS setup is that I’m trying to replace. I was hoping Wowza knows how to pull off the different streams based on the name (e.g., s= parameter) in the .sdp file.

See different stream name and ports (10010 and 10000) in my settings.

This works, BTW, I need the ports to be same, if possible.

My stream 2A .sdp file looks like this:

v=0

o=- 14922413526121160114 14922413526121160114 IN IP4 tocvid03

s=2A

i=N/A

c=IN IP4 10.88.106.19

t=0 0

a=tool:vlc 1.0.5

a=recvonly

a=type:broadcast

a=charset:UTF-8

m=video 10010 RTP/AVP 96

b=AS:500

a=rtpmap:96 H264/90000

a=fmtp:96 packetization-mode=1;profile-level-id=4d4033;sprop-parameter-sets=Z01AM5JSAUB7YCIACi7GAmJaAB4wYiQ=,aO+8gA==;

My stream 2B .sdp file looks like this:

v=0

o=- 14923484719620267442 14923484719620267442 IN IP4 tocvid03

s=2B

i=N/A

c=IN IP4 10.88.106.19

t=0 0

a=tool:vlc 1.0.5

a=recvonly

a=type:broadcast

a=charset:UTF-8

m=video 10000 RTP/AVP 96

b=AS:500

a=rtpmap:96 H264/90000

a=fmtp:96 packetization-mode=1;profile-level-id=4d4033;sprop-parameter-sets=Z01AM5JSAUB7YCIACi7GAmJaAB4wYiQ=,aO+8gA==;

Charlie,

Do you advise using Java Media Framework (JMF) or another technology to roll-our-own solution for this then? What are other people doing to resolve this? There must be others with same goal.

thanks