Results 1 to 5 of 5

Thread: How to receive multicast input

  1. #1
    Join Date
    Jan 2012
    Posts
    3

    Question 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 (<multicast IP address>:<port no>) 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.

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Take a look at this guide:

    http://www.wowza.com/forums/content....based-encoder)

    Richard

  3. #3
    Join Date
    Jan 2012
    Posts
    3

    Default

    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

  4. #4

    Default

    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."

  5. #5
    Join Date
    Jan 2012
    Posts
    3

    Default

    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 ?

Similar Threads

  1. Multicast input with BISS encryption
    By larc25 in forum Wowza Transcoder
    Replies: 1
    Last Post: 09-28-2014, 05:32 AM
  2. UDP Multicast input issues
    By edwoodza in forum Live Streaming and Encoders
    Replies: 1
    Last Post: 06-02-2014, 10:39 AM
  3. Receive streaming from an encoder using RTP Multicast
    By livonovo in forum Live Streaming and Encoder Discussion
    Replies: 0
    Last Post: 09-24-2013, 09:15 PM
  4. multicast input from two interfaces
    By sgtring in forum Live Streaming and Encoder Discussion
    Replies: 7
    Last Post: 04-23-2013, 07:46 AM
  5. How i can stream multicast using input video file?
    By hafizradio in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 06-08-2012, 06:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •