Results 1 to 2 of 2

Thread: Transcoder starting, able to play individual streams, not able to play stream groups

  1. #1

    Default Transcoder starting, able to play individual streams, not able to play stream groups

    I can post the entire log if needed, but the following lines are the ones that caught my eye:

    2012-07-19 12:54:55 EDT comment server INFO 200 - TranscoderSessionNative.loadLibrary: Load transcoder list: C:/Program Files (x86)/Wowza Media Systems/Wowza Media Server 3.1.1/lib-native/win64/transcoder.list
    2012-07-19 12:54:55 EDT comment server INFO 200 - LiveStreamTranscoder.init[live/_definst_/livestream.sdp]: Load transcoder template: file:///C:/Program Files (x86)/Wowza Media Systems/Wowza Media Server 3.1.1/transcoder/templates/transcode_working.xml
    2012-07-19 12:54:55 EDT publish stream INFO 200 livestream.sdp_480p

    2012-07-19 12:54:55 EDT publish stream INFO 200 livestream.sdp_360p

    2012-07-19 12:54:55 EDT publish stream INFO 200 livestream.sdp_160p
    2012-07-19 12:54:55 EDT decoder-audio-start transcoder INFO 200 livestream.sdp {codec:MP3, objectType:MPEG1LAYER3, sampleRate:44100, channels:2}
    2012-07-19 12:54:55 EDT comment server INFO 200 - JNI:TranscoderSession.audioEncoderAdd[_defaultVHost_:live/_definst_/livestream.sdp:480p]: Create audio encoder: AAC: default 2012-07-19 12:54:55 EDT comment server INFO 200 - JNI:TranscoderSession.audioEncoderAdd[_defaultVHost_:live/_definst_/livestream.sdp:360p]: Create audio encoder: AAC: default
    2012-07-19 12:54:55 EDT comment server INFO 200 - JNI:TranscoderSession.audioEncoderAdd[_defaultVHost_:live/_definst_/livestream.sdp:160p]: Create audio encoder: AAC: default

    2012-07-19 12:54:57 EDT comment server INFO 200 - TranscoderStreamNameGroup.addInternal[_defaultVHost_:live/_definst_/livestream.sdp]: Add name group: livestream.sdp_all
    2012-07-19 12:54:57 EDT comment server INFO 200 - TranscoderStreamNameGroup.addInternal[_defaultVHost_:live/_definst_/livestream.sdp]: Add name group: livestream.sdp_mobile

    Wowza is starting fine, the transcoder is starting fine and is reading my transcode definition file, and the transcode streams and stream groups I defined in the transcode.xml file are all being created. I'm using the JWPlayer Wizard to do my testing, and I can play streams when I use a "File" value of:
    livestream.sdp
    livestream.sdp_160p
    livestream.sdp_360p
    livestream.sdp_480p

    I get "Stream cannot be found" errors if I use a "File" value of:
    ngrp:livestream.sdp_all
    ngrp:livestream.sdp_mobile

    If I grep for "_mobile" in the log file I get:
    2012-07-19 12:54:38 EDT comment server INFO 200 - TranscoderStreamNameGroup.removeInternal[_defaultVHost_:live/_definst_/livestream.sdp]: Remove name group: livestream.sdp_mobile - - - 142906.889 - - - - - - - - - - - - - - - - - - -- - - - - -
    2012-07-19 12:54:57 EDT comment server INFO 200 - TranscoderStreamNameGroup.addInternal[_defaultVHost_:live/_definst_/livestream.sdp]: Add name group: livestream.sdp_mobile - - - 14.763 - - - - - - - - - - - - - - - - - - - - -- - - -
    2012-07-19 12:59:37 EDT destroy stream INFO 200 livestream.sdp_mobile - _defaultVHost_ live _definst_ 0.286 [any] 1935 rtmp://208.93.223.232/live 173.15.5.238 rtmp http://player.longtailvideo.com/player.swf LNX 10,3,181,34 1143281137 3651 3708 1 - 0 0 livestream.sdp_mobile - - - -- rtmp://208.93.223.232/live/livestream.sdp_mobile rtmp://208.93.223.232/live/livestream.sdp_mobile - rtmp://208.93.223.232/live -
    2012-07-19 13:03:53 EDT destroy stream INFO 200 livestream.sdp_mobile/manifest.f4m - _defaultVHost_ live _definst_ 0.317 [any] 1935 rtmp://208.93.223.232/live 173.15.5.238 rtmp http://www.longtailvideo.com/support/player.swf LNX 10,3,181,34 1850133840 3682 3734 1 - 0 0 livestream.sdp_mobile/manifest.f4m - - - - - rtmp://208.93.223.232/live/livestream.sdp_mobile/manifest.f4m rtmp://208.93.223.232/live/livestream.sdp_mobile/manifest.f4m - rtmp://208.93.223.232/live -
    so it doesn't look like my request is ever reaching the server.


    Am I simply setting up my player request improperly?

    Likewise, if I use the OSMF wizard with a "Video Source" of rtmp://208.93.223.232/live/ngrp:livestream.sdp_mobile, rtmp://208.93.223.232/live/ngrp:livestream.sdp_mobile/manifest.f4m, or http://208.93.223.232/live/ngrp:livestream.sdp_mobile/manifest.f4m I get "We are having problems with playback".

    Might I have misconfigured my stream groups? My "transcode_working.xml" file contains:
    <Root>
    <Transcode>
    <Encodes>
    <Encode>
    <Enable>true</Enable>
    <Name>480p</Name>
    <StreamName>mp4:${SourceStreamName}_480p</StreamName>
    <Video>
    <Codec>H.264</Codec>
    <Transcoder>default</Transcoder>
    <GPUID>-1</GPUID>
    <FrameSize>
    <!-- letterbox, fit-width, fit-height, crop, stretch, match-source -->
    <FitMode>fit-height</FitMode>
    <Width>720</Width>
    <Height>480</Height>
    <!-- <Crop>0,0,0,0</Crop> -->
    <!-- <SourceRectangle>0,0,320,240</SourceRectangle> -->
    </FrameSize>
    <Profile>baseline</Profile>
    <Bitrate>500000</Bitrate>
    <KeyFrameInterval>
    <FollowSource>false</FollowSource>
    <Interval>60</Interval>
    </KeyFrameInterval>
    <Parameters>
    </Parameters>
    </Video>
    <Audio>
    <Codec>AAC</Codec>
    <Bitrate>96000</Bitrate>
    </Audio>
    <Properties>
    </Properties>
    </Encode>
    <Encode>
    <Enable>true</Enable>
    <Name>360p</Name>
    <StreamName>mp4:${SourceStreamName}_360p</StreamName>
    <Video>
    <Codec>H.264</Codec>
    <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>350000</Bitrate>
    <KeyFrameInterval>
    <FollowSource>false</FollowSource>
    <Interval>60</Interval>
    </KeyFrameInterval>
    <Parameters>
    </Parameters>
    </Video>
    <Audio>
    <Codec>AAC</Codec>
    <Bitrate>96000</Bitrate>
    </Audio>
    <Properties>
    </Properties>
    </Encode>
    <Encode>
    <Enable>false</Enable>
    <Name>240p</Name>
    <StreamName>mp4:${SourceStreamName}_240p</StreamName>
    <Video>
    <Codec>H.264</Codec>
    <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>200000</Bitrate>
    <KeyFrameInterval>
    <FollowSource>false</FollowSource>
    <Interval>60</Interval>
    </KeyFrameInterval>
    <Parameters>
    </Parameters>
    </Video>
    <Audio>
    <!-- AAC, PassThru, Disable -->
    <Codec>AAC</Codec>
    <Bitrate>96000</Bitrate>
    </Audio>
    <Properties>
    </Properties>
    </Encode>
    <Encode>
    <Enable>true</Enable>
    <Name>160p</Name>
    <StreamName>mp4:${SourceStreamName}_160p</StreamName>
    <Video>
    <Codec>H.264</Codec>
    <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>150000</Bitrate>
    <KeyFrameInterval>
    <FollowSource>false</FollowSource>
    <Interval>60</Interval>
    </KeyFrameInterval>
    <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>${SourceStreamName}_all</Name>
    <Members>
    <Member>
    <EncodeName>480p</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>360p</EncodeName>
    </Member>
    <Member>
    <EncodeName>240p</EncodeName>
    </Member>
    <Member>
    <EncodeName>160p</EncodeName>
    </Member>
    </Members>
    </StreamNameGroup>
    </StreamNameGroups>
    <Properties>
    </Properties>
    </Transcode>
    </Root>

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

    Default

    The Wowza Transcoder ngrp url doesn't work directly in Flash RTMP clients. A ngrp url returns a MediaList, basically a .smil file, that can be used by Silverlight, Flash HTTP players and iOS devices for multi-bitrate streaming.

    If you are using JW Player RTMP dynamic plugin there is a this bridge to the ngrp MediaList

    Richard

Similar Threads

  1. Replies: 2
    Last Post: 05-01-2014, 10:28 AM
  2. Replies: 0
    Last Post: 10-08-2013, 07:12 AM
  3. Nokia Devices and Blacberry cannot play Live stream but Andriod and Iphone can play
    By ravish in forum Live Streaming and Encoder Discussion
    Replies: 3
    Last Post: 09-11-2012, 06:53 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
  •