Results 1 to 6 of 6

Thread: Transcoder Template Not Loading

  1. #1

    Default Transcoder Template Not Loading

    I'm trying to configure transcoder on liverepeater-origin application so that it transrates a stream from a .stream file started with MediaCaster. I've already verified that the non-transrated .stream can be accessed, but the transrated streams are not being created.

    In the logs, I see that it loads transcoder.list for Linux and warns me that the Intel and Nvidia transcoders are unavailable for Linux. Nothing else is logged.

    My Application.xml has transrate.xml as its Templates value and I'm still using the stock transrate.xml. I'm sure I placed the XML node in the right place because the app logs a NullPointer if I omit the Templates node. However, when it's set to transrate.xml or even some nonexistent filename, I get the logs described above.

  2. #2

    Default

    Hi,

    You can follow the troubleshooting steps in the Transcoder Tutorial and post your analysis here. Be sure to restart Wowza after changing configuration files.

    Other info that will help to debug this:
    1. Application.xml
    2. Transcoder template
    3. Wowza log output (including the beginning)
    4. Description of source stream encoding

  3. #3

    Default

    I've already gone through the troubleshooting tests, that's why I mentioned that the transcoder template hasn't loaded. It's step 3b in Test #2.

    I've redid my test, attached the files you asked for and a few things popped out for me:

    -StreamType is "liverepeater-origin" instead of "live" as specified in the transcoder setup guide.
    -I've got no values for LiveStreamPacketizers or HTTPStreamers since I'm using only RTMP to stream to clients.

    -I cleared the logs then started Wowza afresh.
    -The access log says the stream "flv:live_broadcast.stream" was started, not sure if the flv prefix affects anything.
    -There's a MediaCache error in the error log, but MediaCache isn't set up for the application.

    -Transrate.xml is the same one that came with the Wowza installation. Just included it here for completeness.
    -I'm not sure what you meant by the "source stream encoding description", but the contents of live_broadcast.stream, the dynamically generated .stream file which I start up using MediaCaster, is just "udp://0.0.0.0:55000".

    <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>liverepeater-origin</StreamType>
    			<StorageDir>${com.wowza.wms.context.VHostConfigHome}/applications/broadcast_origin/content</StorageDir>
    			<KeyDir>${com.wowza.wms.context.VHostConfigHome}/keys</KeyDir>
    			<!-- LiveStreamPacketizers (separate with commas): cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer, cupertinostreamingrepeater, smoothstreamingrepeater, sanjosestreamingrepeater -->
    			<LiveStreamPacketizers></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></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>none</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>
    		<Transcoder>
          <LiveStreamTranscoder>transcoder</LiveStreamTranscoder>
          <Templates>transrate.xml</Templates>
    		</Transcoder>
    		<MediaCaster>
    			<!-- 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> 
    
    			<Module>
    				<Name>LiveStreamController</Name>
    				<Description>Internal Project Module. This just handles RTMP method calls from the client.</Description>
    				<Class>[removed]</Class>
    			</Module> 
    
    		</Modules>
    		<!-- Properties defined here will be added to the IApplication.getProperties() and IApplicationInstance.getProperties() collections -->
    		<Properties>
          <Property>
            <Name>requireSecureConnection</Name>
            <Value>true</Value>
            <Type>Boolean</Type>
          </Property>
    		</Properties>
    	</Application>
    </Root>
    #Version: 1.0
    #Start-Date: 2012-08-31 08:19:31 PHT
    #Software: Wowza Media Server 3.1.2 build1624
    #Date: 2012-08-31
    #Fields: date	time	tz	x-event	x-category	x-severity	x-status	x-ctx	x-comment	x-vhost	x-app	x-appinst	x-duration	s-ip	s-port	s-uri	c-ip	c-proto	c-referrer	c-user-agent	c-client-id	cs-bytes	sc-bytes	x-stream-id	x-spos	cs-stream-bytes	sc-stream-bytes	x-sname	x-sname-query	x-file-name	x-file-ext	x-file-size	x-file-length	x-suri	x-suri-stem	x-suri-query	cs-uri-stem	cs-uri-query
    2012-08-31	08:19:32	PHT	comment	server	ERROR	500	-	ServerUtils.loadServerListener: Error creating <ServerListener> (com.wowza.wms.plugin.mediacache.impl.MediaCacheServerListener): java.lang.ClassNotFoundException: com.wowza.wms.plugin.mediacache.impl.MediaCacheServerListener	-	-	-	0.421	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	server-start	server	INFO	200	Wowza Media Server 3 Developer Edition (Expires: Nov 29, 2012) 3.1.2 build1624	-	-	-	-	0.69	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Server License Key: SVRB3-XXXXX-XXXXX-XXXXX-XXXXX-HdmdK	-	-	-	0.691	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Maximum Connections: 10	-	-	-	0.691	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Transcoder Streams Available: 1	-	-	-	0.697	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Transcoder Watermark: Yes	-	-	-	0.698	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	nDVR Available: Yes	-	-	-	0.709	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	DRM Available: Yes	-	-	-	0.71	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Hardware Available Processors: 2	-	-	-	0.711	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Hardware Physical Memory: 658MB/1940MB	-	-	-	0.712	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Hardware Swap Space: 4094MB/4094MB	-	-	-	0.713	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Max File Descriptor Count: 20000	-	-	-	0.714	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Open File Descriptor Count: 53	-	-	-	0.715	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	OS Name: Linux	-	-	-	0.715	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	OS Version: 2.6.32-71.el6.x86_64	-	-	-	0.715	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	OS Architecture: amd64	-	-	-	0.716	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Java Name: Java HotSpot(TM) 64-Bit Server VM	-	-	-	0.726	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Java Vendor: Oracle Corporation	-	-	-	0.727	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Java Version: 1.7.0_02	-	-	-	0.727	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Java VM Version: 22.0-b10	-	-	-	0.728	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Java Spec Version: 1.7	-	-	-	0.728	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Java Home: /usr/java/jdk1.7.0_02/jre	-	-	-	0.729	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Java Max Heap Size: 1066MB	-	-	-	0.731	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Java Architecture: 64	-	-	-	0.731	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Java Locale[user.language]: en	-	-	-	0.732	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Java Locale[user.country]: US	-	-	-	0.733	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Java Locale[file.encoding]: UTF-8	-	-	-	0.734	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Java Timezone[user.timezone]: Asia/Manila	-	-	-	0.734	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Java Args[0]: -Xmx1200M	-	-	-	0.743	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Java Args[1]: -Djava.net.preferIPv4Stack=true	-	-	-	0.743	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Java Args[2]: -Dcom.sun.management.jmxremote=true	-	-	-	0.744	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Java Args[3]: -Dcom.wowza.wms.runmode=standalone	-	-	-	0.744	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Java Args[4]: -Dcom.wowza.wms.native.base=linux	-	-	-	0.744	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Java Args[5]: -Dcom.wowza.wms.AppHome=/usr/local/WowzaMediaServer	-	-	-	0.745	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Java Args[6]: -Dcom.wowza.wms.ConfigURL=	-	-	-	0.745	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Java Args[7]: -Dcom.wowza.wms.ConfigHome=/usr/local/WowzaMediaServer	-	-	-	0.746	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Server runmode: standalone	-	-	-	0.746	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Server native.platform: linux	-	-	-	0.747	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:19:32	PHT	comment	server	INFO	200	-	Server threads[h/t]: 10/10	-	-	-	0.749	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:20:05	PHT	comment	server	INFO	200	-	CMDInterface now listening: [any]:8083	-	-	-	33.744	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:20:06	PHT	vhost-start	vhost	INFO	200	_defaultVHost_	-	-	-	-	34.401	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:20:06	PHT	comment	server	INFO	200	-	_defaultVHost_ threads[h/t]:120/80 home:/usr/local/WowzaMediaServer	-	-	-	34.479	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:20:06	PHT	comment	vhost	INFO	200	_defaultVHost_	Bind attempt ([any]:1935:4)	-	-	-	34.484	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:20:06	PHT	comment	vhost	INFO	200	_defaultVHost_	Bind successful ([any]:1935)	-	-	-	34.5	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:20:06	PHT	comment	vhost	INFO	200	_defaultVHost_	Bind attempt ([any]:8086:1)	-	-	-	34.504	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:20:06	PHT	comment	vhost	INFO	200	_defaultVHost_	Bind successful ([any]:8086)	-	-	-	34.521	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:20:06	PHT	comment	server	INFO	200	-	Server.startShutdownHook: Start server shutdown hook	-	-	-	34.537	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:20:06	PHT	comment	server	INFO	200	-	ServerListenerLoadBalancerSender.onServerInit	-	-	-	34.539	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:20:06	PHT	comment	server	INFO	200	-	LoadBalancerEdge.parseEdgeList: /usr/local/WowzaMediaServer/conf/loadbalancertargets.txt	-	-	-	34.544	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:20:06	PHT	comment	server	INFO	200	-	LoadBalancerEdge.parseEdgeList: target:192.168.5.52:1934	-	-	-	34.546	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:20:06	PHT	comment	server	INFO	200	-	Wowza Media Server is started!	-	-	-	34.703	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:25:05	PHT	app-start	application	INFO	200	_definst_	broadcast_origin/_definst_	-	-	-	334.153	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:25:05	PHT	comment	server	INFO	200	-	RTPMediaCaster.create[758112266]	-	-	-	334.168	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:25:05	PHT	comment	server	INFO	200	-	RTPMediaCaster.init[758112266]	-	-	-	334.168	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:25:05	PHT	comment	server	INFO	200	-	RTPMediaCaster.Reconnector[758112266:broadcast_origin/_definst_:live_broadcast.stream]: start: 1	-	-	-	334.173	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:25:05	PHT	comment	server	INFO	200	-	ApplicationInstance.startMediaCasterStream[broadcast_origin/_definst_]: Stream started: flv:live_broadcast.stream	-	-	-	334.173	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:25:06	PHT	comment	server	INFO	200	-	RTPSessionDescriptionDataProviderBasic.getStreamInfo[broadcast_origin/_definst_]: URI: udp://0.0.0.0:55000	-	-	-	334.275	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:25:06	PHT	app-start	application	INFO	200	_definst_	broadcast_origin/_definst_	-	-	-	334.463	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:25:06	PHT	create	stream	INFO	200	-	-	_defaultVHost_	broadcast_origin	_definst_	0.032	-	80	null	127.0.0.1	rtsp	-	known	916824246	0	0	1	0	0	0	live_broadcast.stream	-	-	-	-	-	null	null	-	null	-
    2012-08-31	08:25:06	PHT	comment	server	INFO	200	-	RTPUDPTransport.bind[broadcast_origin/_definst_]: /0.0.0.0:55000	_defaultVHost_	broadcast_origin	_definst_	334.57	-	80	null	127.0.0.1	rtsp	-	known	916824246	0	0	-	-	-	-	-	-	-	-	-	-	-	-	-	null	-
    2012-08-31	08:25:06	PHT	publish	stream	INFO	200	live_broadcast.stream	-	_defaultVHost_	broadcast_origin	_definst_	0.098	-	80	null	127.0.0.1	rtsp	-	known	916824246	0	0	1	0	0	0	live_broadcast.stream	-	-	-	-	-	null	null	-	null	-
    2012-08-31	08:25:06	PHT	comment	server	INFO	200	-	RTPMediaCaster.Reconnector[758112266:broadcast_origin/_definst_:live_broadcast.stream]: done: 1	-	-	-	334.592	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:25:06	PHT	comment	server	INFO	200	-	RTPDePacketizerMPEGTS.handleRTPPacket: MPEG-TS over RTP	-	-	-	334.72	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:25:06	PHT	comment	server	INFO	200	-	RTPDePacketizerMPEGTS.handleRTPPacket: IMPORT: programID[prg:0x1,filter:none]	-	-	-	334.721	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:25:06	PHT	comment	server	INFO	200	-	RTPDePacketizerMPEGTS.handleRTPPacket: IMPORT: audioPID[prg:0x1,pid:0x44,filter:none]: streamType:AAC:15 audioLanguage:jpn	-	-	-	334.735	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:25:06	PHT	comment	server	INFO	200	-	RTPDePacketizerMPEGTS.handleRTPPacket: IMPORT: videoPID[prg:0x1,pid:0x45,filter:none]: streamType:H264:27	-	-	-	334.737	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:25:06	PHT	comment	server	INFO	200	-	UDPTransport.firstPacket: bind:/0.0.0.0:55000 msg:/192.168.5.52:1143	-	-	-	334.738	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:25:06	PHT	comment	server	INFO	200	-	TranscoderSessionNative.loadLibrary: Load transcoder list: /usr/local/WowzaMediaServer/lib-native/linux64/transcoder.list	-	-	-	334.765	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:25:06	PHT	comment	server	INFO	200	-	JNI:TranscoderSession.isCUDAAvailable[_defaultVHost_:broadcast_origin/_definst_/live_broadcast.stream]: NVidia CUDA hardware acceleration is NOT available on Linux	-	-	-	334.78	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:25:06	PHT	comment	server	INFO	200	-	JNI:TranscoderSession.isQuickSyncAvailable[_defaultVHost_:broadcast_origin/_definst_/live_broadcast.stream]: Intel Quick Sync hardware acceleration is NOT available on Linux	-	-	-	334.781	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:25:24	PHT	comment	server	INFO	200	-	ServerShutdownHook.run[shutdown]	-	-	-	352.476	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:25:24	PHT	comment	server	INFO	200	-	ServerListenerLoadBalancerSender.onServerShutdownStart	-	-	-	352.477	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:25:24	PHT	vhost-stop	vhost	INFO	200	_defaultVHost_	-	-	-	-	352.483	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:25:24	PHT	app-stop	application	INFO	200	_definst_	broadcast_origin/_definst_	-	-	-	352.486	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-08-31	08:25:24	PHT	server-stop	server	INFO	200	-	-	-	-	-	352.532	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    #Version: 1.0
    #Start-Date: 2012-08-31 08:19:32 PHT
    #Software: Wowza Media Server 3.1.2 build1624
    #Date: 2012-08-31
    #Fields: x-severity	x-category	x-event	date	time	c-client-id	c-ip	c-port	cs-bytes	sc-bytes	x-duration	x-sname	x-stream-id	x-spos	sc-stream-bytes	cs-stream-bytes	x-file-size	x-file-length	x-ctx	x-comment
    ERROR	server	comment	2012-08-31	08:19:32	-	-	-	-	-	0.421	-	-	-	-	-	-	-	-	ServerUtils.loadServerListener: Error creating <ServerListener> (com.wowza.wms.plugin.mediacache.impl.MediaCacheServerListener): java.lang.ClassNotFoundException: com.wowza.wms.plugin.mediacache.impl.MediaCacheServerListener
    <!-- Example template for transrate, producing four new streams at different bitrates. Resultant streams can be played back individually or as a group. source, 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>
    			<!-- Example Encode block for source, not required unless Member of StreamNameGroup. --> 
    			<Encode>
    				<Enable>true</Enable>
    				<Name>source</Name>
    				<StreamName>mp4:${SourceStreamName}_source</StreamName>
    				<Video>
    					<!-- H.264, PassThru, Disable -->
    					<Codec>PassThru</Codec>
    					<Bitrate>${SourceVideoBitrate}</Bitrate>
    					<Parameters>
    					</Parameters>
    				</Video>
    				<Audio>
    					<!-- AAC, PassThru, Disable -->
    					<Codec>PassThru</Codec>
    					<Bitrate>${SourceAudioBitrate}</Bitrate>
    					<Parameters>
    					</Parameters>
    				</Audio>
    				<Properties>
    				</Properties>
    			</Encode>
    			<!-- 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>true</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>PassThru</Codec>
    					<Bitrate>${SourceAudioBitrate}</Bitrate>
    					<Parameters>
    					</Parameters>
    				</Audio>
    				<Properties>
    				</Properties>
    			</Encode>
    			<!-- Setup for 360p, high bandwith, main profile for desktop -->
    			<Encode>
    				<Enable>true</Enable>
    				<Name>360p</Name>
    				<StreamName>mp4:${SourceStreamName}_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>true</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>PassThru</Codec>
    					<Bitrate>${SourceAudioBitrate}</Bitrate>
    					<Parameters>
    					</Parameters>
    				</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>true</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>PassThru</Codec>
    					<Bitrate>${SourceAudioBitrate}</Bitrate>
    					<Parameters>
    					</Parameters>
    				</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:${SourceStreamName}_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>true</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>PassThru</Codec>
    					<Bitrate>${SourceAudioBitrate}</Bitrate>
    					<Parameters>
    					</Parameters>
    				</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>source</EncodeName>
    					</Member>
    					<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>

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

    Default

    First, the MediaCache error is because you have added MediaCache ServerListener to /conf/Server.xml but do not have the MediaCache .jar file in the /lib folder.

    I'm not sure why Transcoder is not starting. The MediaCache error is not directly relevant, but I wonder where that came from. Have you mixed configuration file? Is it possible to start over with a fresh install, then test Transcoder without the custom module, "LiveStreamController"

    Richard

  5. #5

    Default

    The fresh install put me on the right track. It turns out that the stock Application.xml file contains the settings Transcoder/ProfileDir and Transcoder/TemplateDir. When I specified these properties in the Application.xml file from my previous post, transcoding worked. My Application.xml file didn't have them since it was based on an Application.xml from Wowza 2. The transcoder guide could use updating so other people won't fall into this gotcha.

    Thanks for the support!

  6. #6
    Join Date
    May 2011
    Posts
    456

    Default

    This is why we recommend that you start with a fresh version 3 Application.xml in [install-dir]/conf/Application.xml and then use your Wowza Media Server 2 configuration files to re-configure the Application.xml. Wowza Media Server 3 has new features, such as Transcoder AddOn, as well as some new defaults, that will not be part of a Wowza Media Server 2 Application.xml. If you do not use any of the new features, a version 2 Application.xml file will work for version 3 basic functionality. I have passed on your feedback to our Documentation team.

    -Lisa

Similar Threads

  1. Modifying Cloudfront Template to Add Module, Stop, Then Restart Wowza Server
    By nath2099 in forum Wowza Media Server 3 for Amazon EC2 Discussion
    Replies: 3
    Last Post: 10-05-2013, 04:15 PM
  2. Replies: 1
    Last Post: 11-23-2012, 07:23 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
  •