Results 1 to 9 of 9

Thread: stream name group playing error

  1. #1
    Join Date
    Oct 2009
    Posts
    35

    Default stream name group playing error

    I get the following code in the error log over and over again when trying to play a transrated stream name group from strobe player.
    I can play a specific transcoded stream with transrate and play fine with no errors from strobe player. such as myStream_360p, but when i try ngrp:myStream_all the video starts and then buffers along time and doesnt stop and i get this error.

    Incoming stream: teradek cube

    I have Compresion Profile options on the cube: High, Main or Baseline. They are all level 4.0 and I dont see anywhere to change this, dont know if this affects it?

    When following the troublshooting steps at: http://www.wowza.com/forums/content.php?304
    I search access log for loading libraries, none are found, but the template did load.



    	2012-01-05	19:07:52	-	-	-	-	-	71001.269	-	-	-	-	-	-	-	-	AMFDataObj.deserialize[196:179]: java.nio.BufferUnderflowException
    ERROR	server	comment	2012-01-05	19:07:52	-	-	-	-	-	71001.271	-	-	-	-	-	-	-	-	constructor AMFDataObj(ByteBuffer)[192:196]: java.nio.BufferUnderflowException
    ERROR	server	comment	2012-01-05	19:07:52	-	-	-	-	-	71001.271	-	-	-	-	-	-	-	-	constructor AMFDataObj(ByteBuffer)[193:196]: java.nio.BufferUnderflowException
    ERROR	server	comment	2012-01-05	19:07:52	-	-	-	-	-	71001.272	-	-	-	-	-	-	-	-	constructor AMFDataObj(ByteBuffer)[195:196]: java.nio.BufferUnderflowException
    ERROR	server	comment	2012-01-05	19:07:52	-	-	-	-	-	71001.272	-	-	-	-	-	-	-	-	constructor AMFDataObj(ByteBuffer)[196:196]: java.nio.BufferUnderflowException
    Last edited by beyond; 01-05-2012 at 12:47 PM. Reason: update

  2. #2
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Are you doing Sanjose Streaming? If not, that is what works. RTMP streaming with this named group is not supported

    Richard

  3. #3
    Join Date
    Oct 2009
    Posts
    35

    Default

    yes doing san jose streaming

  4. #4
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Zip up and send conf, logs and transcoder template along with the URL with named group.

    Include a link to this thread for reference

    Richard

  5. #5
    Join Date
    Feb 2012
    Posts
    7

    Default

    Hi,

    I also have a problem with stream name group playing:

    when I try to play this link:

    http://x.x.x.x:1935/live/ngrp:channe...00K.stream_all /Manifest

    I get this:
    WARN server comment 2012-02-28 13:59:35 - - - - - 280.09 - - - - - - - - HTTPStreamerCupertinoIndexPlaylist.indexFile[live/_definst_/ngrp:channel10_320x240_500K.stream_all]: MediaList is empty.
    WARN server comment 2012-02-28 13:59:35 - - - - - 280.09 - - - - - - - - HTTPStreamerAdapterSmoothStreamer.onManifest: Playlist cound not be parsed: live/ngrp:channel10_320x240_500K.stream_all/Manifest


    Itís the first time I use wowza so I think maybe I missed something in the configuration:
    I will really appreciate your help with this.

    Thanks,
    Snabel

  6. #6
    Join Date
    Feb 2012
    Posts
    7

    Default

    Here are the Application.xml and live.xml:
    Application.xml:
    <Root>
    <Application>
    <!-- Uncomment to set application level timeout values
    <ApplicationTimeout>60000</ApplicationTimeout>
    <PingTimeout>12000</PingTimeout>
    <ValidationFrequency>8000</ValidationFrequency>
    <MaximumPendingWriteBytes>0</MaximumPendingWriteBytes>
    <MaximumSetBufferTime>60000</MaximumSetBufferTime>
    <MaximumStorageDirDepth>25</MaximumStorageDirDepth>
    -->
    <Connections>
    <AutoAccept>true</AutoAccept>
    <AllowDomains></AllowDomains>
    </Connections>
    <!--
    StorageDir path variables

    ${com.wowza.wms.AppHome} - Application home directory
    ${com.wowza.wms.ConfigHome} - Configuration home directory
    ${com.wowza.wms.context.VHost} - Virtual host name
    ${com.wowza.wms.context.VHostConfigHome} - Virtual host config directory
    ${com.wowza.wms.context.Application} - Application name
    ${com.wowza.wms.context.ApplicationInstance} - Application instance name

    -->
    <Streams>
    <StreamType>live</StreamType>
    <StorageDir>/usr/local/live</StorageDir>
    <KeyDir>${com.wowza.wms.context.VHostConfigHome}/keys</KeyDir>
    <!-- LiveStreamPacketizers (separate with commas): cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer, cupertinostreamingrepeater, smoothstreamingrepeater, sanjosestreamingrepeater, dvrstreamingpacketizer, dvrstreamingrepeater -->
    <LiveStreamPacketizers>cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer</LiveStreamPacketizers>
    <!-- Properties defined here will override any properties defined in conf/Streams.xml for any streams types loaded by this application -->
    <Properties>
    </Properties>
    </Streams>
    <!-- HTTPStreamers (separate with commas): cupertinostreaming, smoothstreaming, sanjosestreaming -->
    <HTTPStreamers>cupertinostreaming,smoothstreaming,sanjosestreaming</HTTPStreamers>
    <Transcoder>
    <!-- To turn on transcoder set to: transcoder -->
    <LiveStreamTranscoder>transcoder</LiveStreamTranscoder>
    <!-- [templatename].xml or ${SourceStreamName}.xml -->
    <Templates>live.xml</Templates>
    <ProfileDir>${com.wowza.wms.context.VHostConfigHome}/transcoder/profiles</ProfileDir>
    <TemplateDir>${com.wowza.wms.context.VHostConfigHome}/transcoder/templates</TemplateDir>
    <Properties>
    </Properties>
    </Transcoder>

    <DVR>
    <!-- As a single server or as an origin, use dvrstreamingpacketizer in LiveStreamPacketizers above -->
    <!-- Or, in an origin-edge configuration, edges use dvrstreamingrepeater in LiveStreamPacketizers above -->
    <!-- As an origin, also add dvrchunkstreaming to HTTPStreamers below -->

    <!-- To turn on DVR recording set Recorders to dvrrecorder. This works with dvrstreamingpacketizer -->
    <Recorders></Recorders>

    <!-- As a single server or as an origin, set the Store to dvrfilestorage-->
    <!-- edges should have this empty -->
    <Store></Store>

    <!-- Window Duration is length of live DVR window in seconds. 0 means the window is never trimmed. -->
    <WindowDuration>0</WindowDuration>

    <!-- Storage Directory is top level location where dvr is stored. e.g. c:/temp/dvr -->
    <StorageDir>${com.wowza.wms.context.VHostConfigHome}/dvr</StorageDir>

    <!-- valid ArchiveStrategy values are append, version, delete -->
    <ArchiveStrategy>append</ArchiveStrategy>

    <!-- If this is a dvrstreamingrepeater, define ChunkOriginURL to point back to origin -->
    <!-- And define Application/Repeater/OriginURL to point back to the origin -->
    <Repeater>
    <ChunkOriginURL></ChunkOriginURL>
    </Repeater>

    <!-- Properties for DVR -->
    <Properties>
    </Properties>
    </DVR>

    <!-- HTTPStreamers (separate with commas): cupertinostreaming, smoothstreaming, sanjosestreaming, dvrchunkstreaming -->
    <HTTPStreamers>cupertinostreaming,smoothstreaming,sanjosestreaming</HTTPStreamers>
    <SharedObjects>
    <StorageDir></StorageDir>
    </SharedObjects>
    <Client>
    <IdleFrequency>-1</IdleFrequency>
    <Access>
    <StreamReadAccess>*</StreamReadAccess>
    <StreamWriteAccess>*</StreamWriteAccess>
    <StreamAudioSampleAccess></StreamAudioSampleAccess>
    <StreamVideoSampleAccess></StreamVideoSampleAccess>
    <SharedObjectReadAccess>*</SharedObjectReadAccess>
    <SharedObjectWriteAccess>*</SharedObjectWriteAccess>
    </Access>
    </Client>
    <RTP>
    <!-- RTP/Authentication/[type]Methods defined in Authentication.xml. Default setup includes; none, basic, digest -->
    <Authentication>
    <PublishMethod>digest</PublishMethod>
    <PlayMethod>none</PlayMethod>
    </Authentication>
    <!-- RTP/AVSyncMethod. Valid values are: senderreport, systemclock, rtptimecode -->
    <AVSyncMethod>senderreport</AVSyncMethod>
    <MaxRTCPWaitTime>0</MaxRTCPWaitTime>
    <IdleFrequency>75</IdleFrequency>
    <RTSPSessionTimeout>90000</RTSPSessionTimeout>
    <RTSPMaximumPendingWriteBytes>0</RTSPMaximumPendingWriteBytes>
    <RTSPBindIpAddress></RTSPBindIpAddress>
    <RTSPConnectionIpAddress>0.0.0.0</RTSPConnectionIpAddress>
    <RTSPOriginIpAddress>127.0.0.1</RTSPOriginIpAddress>
    <IncomingDatagramPortRanges>*</IncomingDatagramPortRanges>
    <!-- Properties defined here will override any properties defined in conf/RTP.xml for any depacketizers loaded by this application -->
    <Properties>
    </Properties>
    </RTP>
    <MediaCaster>
    <RTP>
    <RTSP>
    <!-- udp, interleave -->
    <RTPTransportMode>interleave</RTPTransportMode>
    </RTSP>
    </RTP>
    <!-- Properties defined here will override any properties defined in conf/MediaCasters.xml for any MediaCasters loaded by this applications -->
    <Properties>
    </Properties>
    </MediaCaster>
    <MediaReader>
    <!-- Properties defined here will override any properties defined in conf/MediaReaders.xml for any MediaReaders loaded by this applications -->
    <Properties>
    </Properties>
    </MediaReader>
    <MediaWriter>
    <!-- Properties defined here will override any properties defined in conf/MediaWriter.xml for any MediaWriter loaded by this applications -->
    <Properties>
    </Properties>
    </MediaWriter>
    <LiveStreamPacketizer>
    <!-- Properties defined here will override any properties defined in conf/LiveStreamPacketizers.xml for any LiveStreamPacketizers loaded by this applications -->
    <Properties>
    </Properties>
    </LiveStreamPacketizer>
    <HTTPStreamer>
    <!-- Properties defined here will override any properties defined in conf/HTTPStreamers.xml for any HTTPStreamer loaded by this applications -->
    <Properties>
    </Properties>
    </HTTPStreamer>
    <Repeater>
    <OriginURL></OriginURL>
    <QueryString><![CDATA[]]></QueryString>
    </Repeater>
    <Modules>
    <Module>
    <Name>base</Name>
    <Description>Base</Description>
    <Class>com.wowza.wms.module.ModuleCore</Class>
    </Module>
    <Module>
    <Name>properties</Name>
    <Description>Properties</Description>
    <Class>com.wowza.wms.module.ModuleProperties</Class>
    </Module>
    <Module>
    <Name>logging</Name>
    <Description>Client Logging</Description>
    <Class>com.wowza.wms.module.ModuleClientLogging</Class>
    </Module>
    <Module>
    <Name>flvplayback</Name>
    <Description>FLVPlayback</Description>
    <Class>com.wowza.wms.module.ModuleFLVPlayback</Class>
    </Module>
    </Modules>
    <!-- Properties defined here will be added to the IApplication.getProperties() and IApplicationInstance.getProperties() collections -->
    <Properties>
    </Properties>
    </Application>
    </Root>


    live.xml:
    <!-- Example template for transcoding, producing four new streams encoded to H.264 video and AAC audio at different bitrates. Resultant streams can be played back individually or as a group. The 360p and 160p encode blocks are enabled through the Enable property, other examples are not enabled. Add additional encode blocks to your template as needed. -->
    <Root>
    <Transcode>
    <Encodes>
    <!-- Setup for 720p, high bandwith, main profile for desktop or set-top box -->
    <Encode>
    <Enable>false</Enable>
    <Name>720p</Name>
    <StreamName>mp4:${SourceStreamName}_720p</StreamName>
    <Video>
    <!-- H.264, PassThru, Disable -->
    <Codec>H.264</Codec>
    <!-- default, CUDA, QuickSync -->
    <Transcoder>default</Transcoder>
    <GPUID>-1</GPUID>
    <FrameSize>
    <!-- letterbox, fit-width, fit-height, crop, stretch, match-source -->
    <FitMode>fit-height</FitMode>
    <Width>1280</Width>
    <Height>720</Height>
    <!-- <Crop>0,0,0,0</Crop> -->
    <!-- <SourceRectangle>0,0,320,240</SourceRectangle> -->
    </FrameSize>
    <Profile>main</Profile>
    <Bitrate>1300000</Bitrate>
    <KeyFrameInterval>
    <FollowSource>false</FollowSource>
    <Interval>60</Interval>
    </KeyFrameInterval>
    <Overlays>
    <Overlay>
    <Enable>false</Enable>
    <Index>0</Index>
    <ImagePath>${com.wowza.wms.context.VHostConfigHome}/content/wowzalogo.png</ImagePath>
    <Opacity>100</Opacity>
    <Location>
    <X>5</X>
    <Y>5</Y>
    <Width>${ImageWidth}</Width>
    <Height>${ImageHeight}</Height>
    <!-- horiz: left, right, hcenter - vert: top, bottom, vcenter -->
    <Align>left,top</Align>
    </Location>
    </Overlay>
    </Overlays>
    <Parameters>
    </Parameters>
    </Video>
    <Audio>
    <!-- AAC, PassThru, Disable -->
    <Codec>AAC</Codec>
    <Bitrate>96000</Bitrate>
    </Audio>
    <Properties>
    </Properties>
    </Encode>
    <!-- Setup for 360p, high bandwith, main profile for desktop -->
    <Encode>
    <Enable>true</Enable>
    <Name>360p</Name>
    <StreamName>mp4:channel10_320x240_500K.stream_360p</StreamName>
    <Video>
    <!-- H.264, PassThru, Disable -->
    <Codec>H.264</Codec>
    <!-- default, CUDA, QuickSync -->
    <Transcoder>default</Transcoder>
    <GPUID>-1</GPUID>
    <FrameSize>
    <!-- letterbox, fit-width, fit-height, crop, stretch, match-source -->
    <FitMode>fit-height</FitMode>
    <Width>640</Width>
    <Height>360</Height>
    <!-- <Crop>0,0,0,0</Crop> -->
    <!-- <SourceRectangle>0,0,320,240</SourceRectangle> -->
    </FrameSize>
    <Profile>main</Profile>
    <Bitrate>850000</Bitrate>
    <KeyFrameInterval>
    <FollowSource>false</FollowSource>
    <Interval>60</Interval>
    </KeyFrameInterval>
    <Overlays>
    <Overlay>
    <Enable>false</Enable>
    <Index>0</Index>
    <ImagePath>${com.wowza.wms.context.VHostConfigHome}/content/wowzalogo.png</ImagePath>
    <Opacity>100</Opacity>
    <Location>
    <X>5</X>
    <Y>5</Y>
    <Width>${ImageWidth}</Width>
    <Height>${ImageHeight}</Height>
    <!-- horiz: left, right, hcenter - vert: top, bottom, vcenter -->
    <Align>left,top</Align>
    </Location>
    </Overlay>
    </Overlays>
    <Parameters>
    </Parameters>
    </Video>
    <Audio>
    <!-- AAC, PassThru, Disable -->
    <Codec>AAC</Codec>
    <Bitrate>96000</Bitrate>
    </Audio>
    <Properties>
    </Properties>
    </Encode>
    <!-- Setup for 240p, medium bandwidth, baseline profile -->
    <Encode>
    <Enable>false</Enable>
    <Name>240p</Name>
    <StreamName>mp4:${SourceStreamName}_240p</StreamName>
    <Video>
    <!-- H.264, PassThru, Disable -->
    <Codec>H.264</Codec>
    <!-- default, CUDA, QuickSync -->
    <Transcoder>default</Transcoder>
    <GPUID>-1</GPUID>
    <FrameSize>
    <!-- letterbox, fit-width, fit-height, crop, stretch, match-source -->
    <FitMode>fit-height</FitMode>
    <Width>360</Width>
    <Height>240</Height>
    <!-- <Crop>0,0,0,0</Crop> -->
    <!-- <SourceRectangle>0,0,320,240</SourceRectangle> -->
    </FrameSize>
    <Profile>baseline</Profile>
    <Bitrate>350000</Bitrate>
    <KeyFrameInterval>
    <FollowSource>false</FollowSource>
    <Interval>60</Interval>
    </KeyFrameInterval>
    <Overlays>
    <Overlay>
    <Enable>false</Enable>
    <Index>0</Index>
    <ImagePath>${com.wowza.wms.context.VHostConfigHome}/content/wowzalogo.png</ImagePath>
    <Opacity>100</Opacity>
    <Location>
    <X>5</X>
    <Y>5</Y>
    <Width>${ImageWidth}</Width>
    <Height>${ImageHeight}</Height>
    <!-- horiz: left, right, hcenter - vert: top, bottom, vcenter -->
    <Align>left,top</Align>
    </Location>
    </Overlay>
    </Overlays>
    <Parameters>
    </Parameters>
    </Video>
    <Audio>
    <!-- AAC, PassThru, Disable -->
    <Codec>AAC</Codec>
    <Bitrate>96000</Bitrate>
    </Audio>
    <Properties>
    </Properties>
    </Encode>
    <!-- Setup for 160p, low bandwith, baseline profile for 3G mobile devices such as iOS, Android, Blackberry. -->
    <Encode>
    <Enable>true</Enable>
    <Name>160p</Name>
    <StreamName>mp4:channel10_320x240_500K.stream_160p</StreamName>
    <Video>
    <!-- H.264, PassThru, Disable -->
    <Codec>H.264</Codec>
    <!-- default, CUDA, QuickSync -->
    <Transcoder>default</Transcoder>
    <GPUID>-1</GPUID>
    <FrameSize>
    <!-- letterbox, fit-width, fit-height, crop, stretch, match-source -->
    <FitMode>fit-height</FitMode>
    <Width>284</Width>
    <Height>160</Height>
    <!-- <Crop>0,0,0,0</Crop> -->
    <!-- <SourceRectangle>0,0,320,240</SourceRectangle> -->
    </FrameSize>
    <Profile>baseline</Profile>
    <Bitrate>200000</Bitrate>
    <KeyFrameInterval>
    <FollowSource>false</FollowSource>
    <Interval>60</Interval>
    </KeyFrameInterval>
    <Overlays>
    <Overlay>
    <Enable>false</Enable>
    <Index>0</Index>
    <ImagePath>${com.wowza.wms.context.VHostConfigHome}/content/wowzalogo.png</ImagePath>
    <Opacity>100</Opacity>
    <Location>
    <X>5</X>
    <Y>5</Y>
    <Width>${ImageWidth}</Width>
    <Height>${ImageHeight}</Height>
    <!-- horiz: left, right, hcenter - vert: top, bottom, vcenter -->
    <Align>left,top</Align>
    </Location>
    </Overlay>
    </Overlays>
    <Parameters>
    </Parameters>
    </Video>
    <Audio>
    <!-- AAC, PassThru, Disable -->
    <Codec>AAC</Codec>
    <Bitrate>96000</Bitrate>
    </Audio>
    <Properties>
    </Properties>
    </Encode>
    </Encodes>
    <Decode>
    <Video>
    <Deinterlace>false</Deinterlace>
    <Overlays>
    <Overlay>
    <Enable>false</Enable>
    <Index>0</Index>
    <ImagePath>${com.wowza.wms.context.VHostConfigHome}/content/wowzalogo.png</ImagePath>
    <Opacity>100</Opacity>
    <Location>
    <X>5</X>
    <Y>5</Y>
    <Width>${ImageWidth}</Width>
    <Height>${ImageHeight}</Height>
    <!-- horiz: left, right, hcenter - vert: top, bottom, vcenter -->
    <Align>left,top</Align>
    </Location>
    </Overlay>
    </Overlays>
    <Parameters>
    </Parameters>
    </Video>
    <Properties>
    </Properties>
    </Decode>
    <StreamNameGroups>
    <!-- Note: Play stream using stream name ngrp:[stream-name]. -->
    <StreamNameGroup>
    <Name>ngrp:channel10_320x240_500K.stream_all</Name>
    <Members>
    <Member>
    <EncodeName>720p</EncodeName>
    </Member>
    <Member>
    <EncodeName>360p</EncodeName>
    </Member>
    <Member>
    <EncodeName>240p</EncodeName>
    </Member>
    <Member>
    <EncodeName>160p</EncodeName>
    </Member>
    </Members>
    </StreamNameGroup>
    <StreamNameGroup>
    <Name>${SourceStreamName}_mobile</Name>
    <Members>
    <Member>
    <EncodeName>240p</EncodeName>
    </Member>
    <Member>
    <EncodeName>160p</EncodeName>
    </Member>
    </Members>
    </StreamNameGroup>
    </StreamNameGroups>
    <Properties>
    </Properties>
    </Transcode>
    </Root>

  7. #7
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Remove the "ngrp:" prefix from the StreamNameGroup /Name.

    Change this:
    <Name>ngrp:channel10_320x240_500K.stream_all</Name>
    To this:
    <Name>channel10_320x240_500K.stream_all</Name>
    The URL that uses the group uses that prefix, as you are doing, but it doesn't belong in the template.

    Richard

  8. #8
    Join Date
    Feb 2012
    Posts
    7

    Default

    Hi Richard,

    Thanks, now it works
    Iíve another question, where can I find the transcoded streams?
    i.e. where I can find this stream:

    ngrp:channel10_320x240_500K.stream_all?


    Thanks,
    Snabel

  9. #9
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    You just use it in your playback URL. For example, m3u8 url for cupertinostreaming to iOS:
    http://[wowza-address]:1935/live/Snabel/ngrp:channel10_320x240_500K.stream_all/playlist.m3u8
    Or sanjosestreaming to Flash HTTP (OSMF) player:

    http://[wowza-address]:1935/live/Snabel/ngrp:channel10_320x240_500K.stream_all/manifest.f4m
    Or smoothstreaming to Silverlight player:
    http://[wowza-address]:1935/live/Snabel/ngrp:channel10_320x240_500K.stream_all/Manifest
    This does not work in Flash RTMP client. If you want to use Flash Dynamic streaming, take a look at JW Player, and these method for utilizing the Transcoder named group:

    http://www.longtailvideo.com/support...amic-streaming

    http://www.wowza.com/forums/content....amic-Streaming

    Richard

Similar Threads

  1. error on DVR not playing
    By tavius in forum Wowza nDVR
    Replies: 1
    Last Post: 10-15-2014, 01:47 PM
  2. Stream Name Group URL on Live Edge Repeater
    By rwpeng in forum AddOn: Transcoder
    Replies: 3
    Last Post: 09-13-2013, 08:13 AM
  3. how to start stream group on edge servers?
    By dirtystar in forum General Forum
    Replies: 1
    Last Post: 05-27-2013, 01:17 PM
  4. Live stream - Check if user is member of an Active directory group
    By mount83 in forum Live Streaming and Encoder Discussion
    Replies: 2
    Last Post: 07-27-2012, 06:54 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
  •