Results 1 to 4 of 4

Thread: multibit rate fms streaming problems

  1. #1
    Join Date
    Jul 2012
    Posts
    9

    Default multibit rate fms streaming problems

    I've set up rtmp live stream on a origin / egde environment.

    Via Flash Media Live encoder im sending 3 bitrates to the inpoint(origin) server:

    URL: rtmp://inpoint.xxxx.com/cust_live/
    Stream: live%i

    and if i try to pull the stream via akamais test player, on the egde cluster I can type:

    rtmp://wowza.xxxx.com/cust_live1/live1
    rtmp://wowza.xxxx.com/cust_live1/live2
    rtmp://wowza.xxxx.com/cust_live1/live3

    So far so good, everything works!

    Now want to try to call the manifest file so it can change automaticly:
    http://wowza.xxxx.com:1935/cust_live...l/manifest.f4m

    and i get a 404 file not found.
    This is the log output:

    WARN	server	comment	2012-11-06	16:31:31	-	-	-	-	-	0.04	-	-	-	-	-	-	-	-	HTTPStreamerAdapterSanJoseStreamer.getAppInstance: Stream not found [cust_live1/smil:myStream.smil/manifest.f4m]: myStream.smil
    WARN	server	comment	2012-11-06	16:31:31	-	-	-	-	-	0.04	-	-	-	-	-	-	-	-	HTTPStreamerAdapterSanJoseStreamer.getAppInstance: Stream not found [cust_live1/smil:myStream.smil/manifest.f4m]: myStream.smil
    WARN	server	comment	2012-11-06	16:31:31	-	-	-	-	-	0.04	-	-	-	-	-	-	-	-	HTTPStreamerAdapterSanJoseStreamer.getAppInstance: Stream not found [cust_live1/smil:myStream.smil/manifest.f4m]: myStream.smil

    so it seems like it finds the myStream.smil fil, but just can not start it for some reason?

    If i try to do a mistake in the filename, i get this output instead: (added an extra m)
    WARN	server	comment	2012-11-06	16:31:39	-	-	-	-	-	7.84	-	-	-	-	-	-	-	myStreamm.smil	open: java.io.FileNotFoundException: /storage/cust/smil/myStreamm.smil (No such file or directory)
    WARN	server	comment	2012-11-06	16:31:39	-	-	-	-	-	7.841	-	-	-	-	-	-	-	-	HTTPStreamerSanJoseLiveIndex.indexPlaylist[cust_live1/_definst_/smil:myStreamm.smil]: MediaList is empty.
    This is the smil file:
    /usr/local/WowzaMediaServer/logs# cat /storage/cust/smil/myStream.smil                  
    <smil>
        <head>
        </head>
        <body>
            <switch>
                <video src="live1" system-bitrate="200000"/>
                <video src="live2" system-bitrate="500000"/>
                <video src="live3" system-bitrate="800000"/>
            </switch>
        </body>
    </smil>

    cat Application.xml (on egde)
    <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>default</StreamType> -->
    			<StreamType>liverepeater-edge</StreamType>
                            <StorageDir>/storage/cust/smil</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>
    		<Transcoder>
    			<!-- To turn on transcoder set to: transcoder -->
    			<LiveStreamTranscoder>transcoder</LiveStreamTranscoder>
    			<!-- [templatename].xml or ${SourceStreamName}.xml -->
    			<Templates>${SourceStreamName}.xml,transrate.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>12000</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>
    				<Property>
    					<Name>smoothStreamingUseSMILBitrates</Name>
    					<Value>true</Value>
    					<Type>Boolean</Type>
    				</Property>
    					
    			</Properties>
    		</HTTPStreamer>
    		<Repeater>
    			<OriginURL>rtmp://inpoint.xxxx.com/cust_live1</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>

    Hope you can help me

    Regards,

    Thomas

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

    Default

    It works in a Flash RTMP Player one at a time because Wowza will start the stream between edge and origin, packetizing is not necessary, but for Flash HTTP you have to do this:

    http://www.wowza.com/forums/content....-repeater-edge

    Richard

  3. #3
    Join Date
    Jul 2012
    Posts
    9

    Default

    Hi Richard,

    Thanks for the feedback.

    I've tried to follow the guide you sended to me, but without any luck.
    In fact, now i cant even call the individual streams as i could before.. (Ex: rtmp://wowza.xxxx.com/cust_live1/live1 )

    Log says;
    cust_live1	session	connect-pending	2012-11-08	16:19:25	CET	10.10.10.1	3503	3073	-	-	-	-	0.03	-	-	LNX 11,2,202,243	http://support.akamai.com.edgesuite.net/obj_flash/SupportPlayer.swf	78556718	100	-
    cust_live1	session	connect	2012-11-08	16:19:25	CET	10.10.10.1	3503	3073	-	-	-	-	0.031	-	-	LNX 11,2,202,243	http://support.akamai.com.edgesuite.net/obj_flash/SupportPlayer.swf	78556718	200	-
    cust_live1	stream	create	2012-11-08	16:19:25	CET	10.10.10.1	3575	3413	-	0	-	-	0.001	0	-	LNX 11,2,202,243	http://support.akamai.com.edgesuite.net/obj_flash/SupportPlayer.swf	78556718	200	-
    But nothing happens.

    If i try to call the manifest file, it tells me the same as before

    WARN	server	comment	2012-11-06	16:31:31	-	-	-	-	-	0.04	-	-	-	-	-	-	-	-	HTTPStreamerAdapterSanJoseStreamer.getAppInstance: Stream not found [cust_live1/smil:myStream.smil/manifest.f4m]: myStream.smil
    WARN	server	comment	2012-11-06	16:31:31	-	-	-	-	-	0.04	-	-	-	-	-	-	-	-	HTTPStreamerAdapterSanJoseStreamer.getAppInstance: Stream not found [cust_live1/smil:myStream.smil/manifest.f4m]: myStream.smil
    WARN	server	comment	2012-11-06	16:31:31	-	-	-	-	-	0.04	-	-	-	-	-	-	-	-	HTTPStreamerAdapterSanJoseStreamer.getAppInstance: Stream not found [cust_live1/smil:myStream.smil/manifest.f4m]: myStream.smil

    cat myStream.smil
    <smil>
    <head>
    </head>
    <body>
    <switch>
    <video src="live1.stream" system-bitrate="200000"/>
    <video src="live2.stream" system-bitrate="500000"/>
    <video src="live3.stream" system-bitrate="800000"/>
    </switch>
    </body>
    </smil>


    cat live1.stream
    rtmp://inpoint.xxxx.com/cust_live1/live1

    cat live2.stream
    rtmp://inpoint.xxxx.com/cust_live1/live3

    cat live3.stream
    rtmp://inpoint.xxxx.com/cust_live1/live3

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

    Default

    I assume live1.stream, etc are in the StartUpStreams.xml with MediaCaster type "liverepeater"

    Restart Wowza, try to playback individual stream in Flash examples/LiveVideoStreaming/client/live.html, then try to play the smil in examples/LiveVideoStreaming/clientOSMF/live.htm.

    Then zip up and send /conf and /logs folders to support@wowza.com.

    Include a link to this thread for reference

    Richard

Similar Threads

  1. Replies: 3
    Last Post: 12-05-2013, 05:32 PM
  2. Some problems of WOWZA3 recieve from FMS RTMP stream and use VLC get RTSP
    By Nathan Huang in forum Live Streaming and Encoder Discussion
    Replies: 2
    Last Post: 04-02-2013, 07:51 AM
  3. iOS Adaptive Bit Rate streaming using Smil file problems
    By grantk in forum AddOn: Transcoder
    Replies: 4
    Last Post: 05-23-2012, 01:18 PM

Posting Permissions

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