How to receive multicast input

I am new to this technology. I have a task of streaming live TV channels (about 10) on the web. I have set up the server and am able to play the test stream.

All the 10 channels have unique multicast ip address and port. i have gone through the documentation and found that the streams have to be pushed to port 10000 (please correct me if i am wrong) but since my input feed is from multicast source, i am not sure how to achieve this. I am able to play the stream on udp protocol and the multicast ip using vlc player.

Would like to know the following :

  1. How to make wowza server to take feed from multicast source (:) or multicast group

  2. Do i require any addon package to achieve this

My version is 3.0.4. Any help from anybody will be highly appreciated. Thankyou in advance.

Take a look at this guide:

https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-based-encoder

Richard

Hi Shyjur,

Let’s see if I can help get to the bottom of this. Do you know what the model/manufacturer is of the encoder that is streaming to Wowza? If so, you can look to the documentation/settings to determine exactly what the stream codec and parameters are. That is the key piece of information here.

Wowza is saying it can’t play the stream:

“[mp4a.40.33]: MP3 Audio: Audio is not MPEG1 Layer 3. May not be playable by Flash player.”

Many thanks for the quick reply Richard!!

I have gone through the article and have setup the media server as per the document. Now i can see something being received but am not able to play the same in the browser. The following is the logs for your reference.

INFO application app-start definst live/definst

INFO session connect-pending 106.51.3.233 -

INFO session connect 106.51.3.233 -

INFO stream create - -

INFO server comment - RTPMediaCaster.create[69003307]

INFO server comment - RTPMediaCaster.init[69003307]

INFO server comment - RTPMediaCaster.Reconnector[69003307:live/definst:mpegts.stream]: start: 1

INFO server comment - HTTPStreamManager.onHTTPRequest: Publish stream successfully started [live/definst]: flv:mpegts.stream

INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/definst]: URI: udp://227.1.1.10:1010

INFO stream create - -

INFO stream publish mpegts.stream -

INFO server comment - MulticastTransport.bind[live/definst]: 227.1.1.10/1010

INFO server comment - RTPMediaCaster.Reconnector[69003307:live/definst:mpegts.stream]: done: 1

INFO server comment - MulticastTransport.firstPacket: 227.1.1.10/1010

INFO server comment - RTPDePacketizerMPEGTS.handleRTPPacket: IMPORT: programID[prg:0x1,filter:none]

INFO server comment - RTPDePacketizerMPEGTS.handleRTPPacket: IMPORT: videoPID[prg:0x1,pid:0x7d0,filter:none]: streamType:MPEG2:2

INFO server comment - RTPDePacketizerMPEGTS.handleRTPPacket: IMPORT: audioPID[prg:0x1,pid:0xbb8,filter:none]: streamType:MP3:4 audioLanguage:uknown

INFO server comment - LiveStreamPacketizerSanJose.init[live/definst/mpegts.stream]: chunkDurationTarget: 10000

INFO server comment - LiveStreamPacketizerSanJose.init[live/definst/mpegts.stream]: chunkDurationTolerance: 500

INFO server comment - LiveStreamPacketizerSanJose.init[live/definst/mpegts.stream]: playlistChunkCount:4

INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: sanjosestreamingpacketizer:mpegts.stream

INFO server comment - SanJosePacketHandler.startStream[live/definst/mpegts.stream]

INFO server comment - LiveStreamPacketizerSanJose.handlePacket[live/definst/mpegts.stream]: Video codec: MPEG2

INFO server comment - LiveStreamPacketizerSanJose.handlePacket[live/definst/mpegts.stream]: Audio codec: MP3

INFO server comment - LiveStreamPacketizerCupertino.init[live/definst/mpegts.stream]: chunkDurationTarget: 10000

INFO server comment - LiveStreamPacketizerCupertino.init[live/definst/mpegts.stream]: chunkDurationTolerance: 500

INFO server comment - LiveStreamPacketizerCupertino.init[live/definst/mpegts.stream]: audioGroupCount: 3

INFO server comment - LiveStreamPacketizerCupertino.init[live/definst/mpegts.stream]: playlistChunkCount:3

INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: cupertinostreamingpacketizer:mpegts.stream

INFO server comment - CupertinoPacketHandler.startStream[live/definst/mpegts.stream]

INFO server comment - LiveStreamPacketizerCupertino.handlePacket[live/definst/mpegts.stream]: Video codec:MPEG2 isCompatible:false

INFO server comment - LiveStreamPacketizerCupertino.handlePacket[live/definst/mpegts.stream]: Audio codec:MP3 isCompatible:true

WARN server comment - CupertinoPacketHandler.handleHolder[live/definst/mpegts.stream]: Invalid video codec for iPhone/iPod: MPEG2

INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: smoothstreamingpacketizer:mpegts.stream

WARN server comment - LiveStreamPacketizerSanJose.handlePacket[live/definst/mpegts.stream][mp4a.40.33]: MP3 Audio: Audio is not MPEG1 Layer 3. May not be playable by Flash player.

WARN server comment - LiveStreamPacketizerCupertino.handlePacket[live/definst/mpegts.stream][mp4a.40.33]: MP3 Audio: Audio is not MPEG1 Layer 3. May not be playable on iOS devices.

INFO server comment - LiveStreamPacketizerSmoothStreaming.startStream[live/definst/mpegts.stream]

WARN server comment - LiveStreamPacketizerSmoothStreaming.handlePacket[live/definst/mpegts.stream][mp4a.40.33]: MP3 Audio: Audio is not MPEG1 Layer 3. May not be playable by Silverlight player.

INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/definst/mpegts.stream]: Add chunk: id:1 a/v/k:95/51/4 duration:2279

INFO stream play mpegts.stream -

INFO server comment - LiveStreamPacketizerSmoothStreaming.flushPendingAudio: Bitrate[live/definst/mpegts.stream]: 192000

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/definst/mpegts.stream]: Add chunk: type:audio id:0 count:84 duration:2016

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/definst/mpegts.stream]: Add chunk: type:audio id:1 count:84 duration:2016

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/definst/mpegts.stream]: Add chunk: type:audio id:2 count:84 duration:2016

INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/definst/mpegts.stream]: Add chunk: id:1 a/v/k:140/0/0 duration:10080

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/definst/mpegts.stream]: Add chunk: type:audio id:3 count:84 duration:2016

INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/definst/mpegts.stream]: Add chunk: id:2 a/v/k:435/261/15 duration:10440

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/definst/mpegts.stream]: Add chunk: type:audio id:4 count:84 duration:2016

INFO stream stop mpegts.stream -

INFO stream destroy mpegts.stream -

INFO session disconnect 501670348 -

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/definst/mpegts.stream]: Add chunk: type:audio id:5 count:84 duration:2016

INFO session connect-pending 106.51.3.233 -

INFO session connect 106.51.3.233 -

INFO stream create - -

INFO stream play mpegts.stream -

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/definst/mpegts.stream]: Add chunk: type:audio id:6 count:84 duration:2016

INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/definst/mpegts.stream]: Add chunk: id:2 a/v/k:140/0/0 duration:10080

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/definst/mpegts.stream]: Add chunk: type:audio id:7 count:84 duration:2016

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/definst/mpegts.stream]: Add chunk: type:audio id:8 count:84 duration:2016

INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/definst/mpegts.stream]: Add chunk: id:3 a/v/k:405/243/11 duration:9720

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/definst/mpegts.stream]: Add chunk: type:audio id:9 count:84 duration:2016

INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/definst/mpegts.stream]: Add chunk: type:audio id:10 count:84 duration:2016

INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/definst/mpegts.stream]: Add chunk: id:3 a/v/k:140/0/0 duration:10080

INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/definst/mpegts.stream]: Add chunk: id:4 a/v/k:425/255/13 duration:10200

INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/definst/mpegts.stream]: Add chunk: id:4 a/v/k:140/0/0 duration:10080

INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/definst/mpegts.stream]: Add chunk: id:5 a/v/k:400/240/12 duration:9600

INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/definst/mpegts.stream]: Add chunk: id:5 a/v/k:140/0/0 duration:10080

INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/definst/mpegts.stream]: Add chunk: id:6 a/v/k:425/255/15 duration:10200

INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/definst/mpegts.stream]: Add chunk: id:6 a/v/k:140/0/0 duration:10080

INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/definst/mpegts.stream]: Add chunk: id:7 a/v/k:395/237/11 duration:9480

INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/definst/mpegts.stream]: Add chunk: id:7 a/v/k:140/0/0 duration:10080

INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/definst/mpegts.stream]: Add chunk: id:8 a/v/k:430/258/13 duration:10320

INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/definst/mpegts.stream]: Add chunk: id:8 a/v/k:140/0/0 duration:10080

INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/definst/mpegts.stream]: Add chunk: id:9 a/v/k:405/243/11 duration:9720

INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/definst/mpegts.stream]: Add chunk: id:9 a/v/k:140/0/0 duration:10080

INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/definst/mpegts.stream]: Add chunk: id:10 a/v/k:415/249/12 duration:9960

INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/definst/mpegts.stream]: Add chunk: id:10 a/v/k:140/0/0 duration:10080

I get the following when i try to play the stream using LiveVideoStreaming client :

INFO session connect-pending 106.51.3.233 -

INFO session connect 106.51.3.233 -

INFO stream create - -

INFO stream play mpegts.stream -

Please let me know if there is any configuration missed out.

Thanks in advance.

Regards,

Shyju

PS : Am able to add the live stream and receive stream using streammanager

Hi Randall,

I have got some info on the incoming stream. The video is mp2 and audio is AAC and not MP3. This being the case, do i need to transcode this for wowza to recognise the stream ?