Results 1 to 6 of 6

Thread: mpeg-ts stream

  1. #1

    Default mpeg-ts stream

    Hi

    I have this issue .. I am using mpeg-ts stream

    (multicas stream) -- vlc-- (mpeg-ts) --- wowza -- jwplayer

    everything works fine but video in player randomly stops.

    And here is log on server


    NFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:video id:2 count:227 duration:9080
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:5 a/v/k:516/300/2 duration:11960
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:video id:3 count:185 duration:7400
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:5 a/v/k:172/299/2 duration:11960
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:video id:4 count:172 duration:6880
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:6 a/v/k:434/252/2 duration:10039
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:video id:5 count:127 duration:5080
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:6 a/v/k:144/251/2 duration:10039
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:video id:6 count:127 duration:5080
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:7 a/v/k:567/330/2 duration:13161
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:7 a/v/k:189/329/2 duration:13161
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:video id:7 count:124 duration:4959
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:8 a/v/k:432/251/1 duration:10000
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:8 a/v/k:144/250/1 duration:10000
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:video id:8 count:151 duration:6041
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:9 a/v/k:432/251/1 duration:9999
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:video id:9 count:178 duration:7120
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:9 a/v/k:143/250/1 duration:9999
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:10 a/v/k:432/251/1 duration:10000
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:10 a/v/k:144/250/1 duration:10000
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:video id:10 count:250 duration:10000
    INFO stream stop mpegts.stream -
    INFO stream destroy mpegts.stream -
    INFO session disconnect 2147111122 -


    Thanks

  2. #2
    Join Date
    Sep 2011
    Posts
    1,934

    Default

    Hi
    Sounds like a network issue, Wowza drops the mpeg-ts stream from VLC.
    Hard to say with such little info...

    Try lowering the bitrate to see if the stream is dropped in the same consistency.
    If the stream runs longer and is dropped less when the lower bitrate is applied this points to a network issue.

    Jason

  3. #3

    Default

    thanks for answer

    I set bitrate to 128 but it's the same , stream runs (10s, 45s, 2 min, 10s)

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

    Default

    These two things might help.

    On the Wowza side enable the ModuleMediaCasterStreamMonitorAdvanced to better monitor and reset MediaCaster streams:
    http://www.wowza.com/forums/content....onitorAdvanced

    On the player side, take a look at the JW Player Live Stream Reconnector plugin:
    http://www.longtailvideo.com/addons/.../97/Livestream

    So if there is network problems the monitor will reconnect to the source asap, and the player will reconnect to the Wowza live stream when it comes back up

    Richard

  5. #5

    Default

    So
    I added ModuleMediaCasterStreamMonitorAdvanced

    and here is the log from server


    INFO server comment - Wowza Media Server is started!
    INFO server comment - ModuleMediaCasterStreamMonitorAdvanced.onAppStart[live/_definst_]
    INFO application app-start _definst_ live/_definst_
    WARN server comment - HTTPStreamManager.onHTTPRequest: Publish stream not found[live/_definst_]: mpegts.stream
    INFO server comment - RTPMediaCaster.create[2972067]
    INFO server comment - RTPMediaCaster.init[2972067]
    INFO server comment - RTPMediaCaster.Reconnector[2972067: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://0.0.0.0:10000
    INFO stream create - -
    INFO stream publish mpegts.stream -
    INFO server comment - RTPUDPTransport.bind[live/_definst_]: /0.0.0.0:10000
    INFO server comment - RTPMediaCaster.Reconnector[2972067:live/_definst_:mpegts.stream]: done: 1
    INFO server comment - UDPTransport.firstPacket: bind:/0.0.0.0:10000 msg:/80.94.52.145:56999
    INFO server comment - RTPDePacketizerMPEGTS.handleRTPPacket: audioPID[AAC]: 0x46
    INFO server comment - RTPDePacketizerMPEGTS.handleRTPPacket: videoPID[H264]: 0x47
    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: Video codec: H264
    INFO server comment - LiveStreamPacketizerSanJose.handlePacket: Audio codec: AAC
    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:H264 isCompatible:true
    INFO server comment - LiveStreamPacketizerCupertino.handlePacket[live/_definst_/mpegts.stream]: Audio codec:AAC isCompatible:true
    INFO server comment - LiveStreamPacketizerCupertino.handlePacket[live/_definst_/mpegts.stream][mp4a.40.2]: AAC Audio info: {AACFrame: size: 0, rate: 44100, channels: 2, samples: 1024, errorBitsAbsent: true, profileObjectType: "LC"}
    INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: smoothstreamingpacketizer:mpegts.stream
    INFO server comment - LiveStreamPacketizerSmoothStreaming.startStream[live/_definst_/mpegts.stream]
    INFO server comment - ModuleMediaCasterStreamMonitorAdvanced.getMonitor[live/_definst_] create:mpegts.stream
    INFO server comment - LiveStreamPacketizerCupertino.handlePacket[live/_definst_/mpegts.stream][avc1.77.51]: H.264 (Video may not be playable on older iPhone and iPod touch devices where Baseline/Level 3.0 or lower is required) Video info: {H264CodecConfigInfo: profile: "Main", level: 5.1, frameSize: 720x576, displaySize: 768x576, PAR: 16:15, frameRate: 25.0}
    INFO server comment - LiveStreamPacketizerSmoothStreaming.flushPendingAudio: Bitrate[live/_definst_/mpegts.stream]: 127346
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:audio id:0 count:87 duration:2020
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:audio id:1 count:87 duration:2020
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:audio id:2 count:87 duration:2021
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:audio id:3 count:87 duration:2020
    INFO session connect-pending 80.94.49.126 -
    INFO session connect 80.94.49.126 -
    INFO stream create - -
    INFO server comment - LivePlayer.play[live/_definst_/mpegts.stream]: Dynamic Stream Markers are on.
    INFO stream play mpegts.stream -
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:1 a/v/k:605/251/1 duration:13993
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:1 a/v/k:201/250/1 duration:13993
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:audio id:4 count:87 duration:2020
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:audio id:5 count:87 duration:2020
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:audio id:6 count:87 duration:2020
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:audio id:7 count:87 duration:2020
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:audio id:8 count:87 duration:2020
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:2 a/v/k:432/251/1 duration:10000
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:2 a/v/k:144/250/1 duration:10000
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:audio id:9 count:87 duration:2020
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:audio id:10 count:87 duration:2020
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:3 a/v/k:431/251/1 duration:10000
    WARN server comment - LiveStreamPacketizerSmoothStreaming.handlePacket[live/_definst_/mpegts.stream]: Fragment duration greater than suggested range of 1-4 seconds. Adjust keyframe interval accordingly: Fragment durations: [9.9,10.0,10.0]
    INFO server comment - LiveStreamPacketizerSmoothStreaming.flushPendingVideo: Bitrate[live/_definst_/mpegts.stream]: 595576
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:video id:0 count:250 duration:9999
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:3 a/v/k:143/250/1 duration:10000
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:4 a/v/k:269/156/1 duration:6199
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:video id:1 count:250 duration:10000
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:4 a/v/k:89/155/1 duration:6199
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:5 a/v/k:431/251/1 duration:10000
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:5 a/v/k:144/250/1 duration:10000
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:video id:2 count:250 duration:10000
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:6 a/v/k:432/251/1 duration:10001
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:video id:3 count:155 duration:6199
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:6 a/v/k:143/250/1 duration:10001
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:7 a/v/k:431/251/1 duration:9997
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:7 a/v/k:144/250/1 duration:9997
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:video id:4 count:250 duration:10000
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:8 a/v/k:413/240/1 duration:9562
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/mpegts.stream]: Add chunk: type:video id:5 count:250 duration:10001
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/mpegts.stream]: Add chunk: id:8 a/v/k:137/239/1 duration:9562
    INFO stream stop mpegts.stream -
    INFO stream destroy mpegts.stream -
    INFO session disconnect 1382836123 -


    thanks

  6. #6
    Join Date
    May 2011
    Posts
    456

    Default

    In this log, I do not see the streams being identified as unhealthy and being reset. Rather, it looks like the connection to Wowza Server was dropped. Also for live playback with Silverlight, you'll want to change the key frame frequency (which can be set directly in some encoders or is gop/fps), needs to be between 1 4 seconds. 2 seconds is recommended. Anything greater than 4 seconds can cause playback to freeze.

    -Lisa

Posting Permissions

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