Wowza Community

H.264 stream from GANZ camera not working

Hello,

I have been trying all I was able to do in order to get one of my stream to work.

The camera stream works fine via VLC player but on Wowza I keep getting these errors and the stream never starts:

WARN	server	comment	2011-12-29	15:28:22	1211770152	127.0.0.1	-	0	0	857150.234	-	-	-	-	-	-	-	-	Failed to find an appropriate depacketizer for this track (VND.ONVIF.METADATA)
WARN	server	comment	2011-12-29	15:28:22	1211770152	127.0.0.1	-	0	0	857150.234	-	-	-	-	-	-	-	-	Failed to find an appropriate depacketizer for this track (H264)
WARN	server	comment	2011-12-29	15:28:35	1008078872	127.0.0.1	-	0	0	857162.911	-	-	-	-	-	-	-	-	Failed to find an appropriate depacketizer for this track (VND.ONVIF.METADATA)
WARN	server	comment	2011-12-29	15:28:35	1008078872	127.0.0.1	-	0	0	857162.911	-	-	-	-	-	-	-	-	Failed to find an appropriate depacketizer for this track (H264)

Codec info from VLC: H264 - MPEG-4 AVC (part10) (h264)

Camera setup: codec: h264 (640x480), FPS: 10, GOP:20, Const. bit rate (512), RTP unicast (UDP) (I also tried ‘RTP over RTSP (TCP)’ without luck)

The camera was added by placing its rtsp URL (including credentials) in a .stream file in the content folder just like all my other cams.

The application.xml file, within application ‘live’ was modified as shown below (I added a few things suggest in this forum trying to get the stream to work)

<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>${com.wowza.wms.context.VHostConfigHome}/content</StorageDir>
			<KeyDir>${com.wowza.wms.context.VHostConfigHome}/keys</KeyDir>
			<!-- LiveStreamPacketizers (separate with commas): cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer, cupertinostreamingrepeater, smoothstreamingrepeater, sanjosestreamingrepeater -->
			<LiveStreamPacketizers>smoothstreamingpacketizer,cupertinostreamingpacketizer,sanjosestreamingpacketizer</LiveStreamPacketizers>			
			<Properties>
			<Property>
				<Name>sortPackets</Name>
				<Value>true</Value>
				<Type>Boolean</Type>
			</Property>
			<Property>
				<Name>sortBufferSize</Name>
				<Value>500</Value>
				<Type>Integer</Type>
			</Property>
			<!--Some IP cameras send proprietary data as part of the H.264 stream that will cause problems with playback
			 in Flash (pauses or glitches during playback). You can filter out these extensions by adding the following property
				<Property>
			 	   <Name>nalUnitFilter</Name>
				    <Value>13</Value>
				    <Type>Integer</Type>
				</Property>  
			-->
			</Properties>
		</Streams>
		<!-- HTTPStreamers (separate with commas): cupertinostreaming, smoothstreaming, sanjosestreaming -->
		<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>rtptimecode</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>
				<!-- <Property>
  				  <Name>rtpIgnoreProfileLevelId</Name>
 				  <Value>true</Value>
  				  <Type>Boolean</Type>
				</Property>-->
			</Properties>
		</RTP>
		<MediaCaster>
			<Properties>
     			 	 <Property>
          		 	  <Name>forceInterleaved</Name>
            			  <Value>true</Value>
             			  <Type>Boolean</Type>
      				 </Property>
				<Property>
					<Name>callFCSubscribe</Name>
					<Value>true</Value>
					<Type>Boolean</Type>
				</Property>
				 <Property>
    				  <Name>debugRTSPSession</Name>
				  <Value>true</Value>
				  <Type>Boolean</Type>
				 </Property>
			</Properties>
		</MediaCaster>
		<MediaReader>
			<Properties>
			</Properties>
		</MediaReader>
		<MediaWriter>
			<Properties>
			</Properties>
		</MediaWriter>
		<LiveStreamPacketizer>
			<Properties>
			</Properties>
		</LiveStreamPacketizer>
		<HTTPStreamer>
			<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>
		</Properties>
	</Application>
</Root>

Streams are played using Flowplayer 3.2.7 pointing to stream URL: ‘rtmp:///rtplive/.stream’

With the chance I would like to ask if it is possible in any way to support iOS when streams occur upon viewing like in my case (rtp-live) and not using Streammanager.

I can provide camera RTSP url if necessary.

Thanks for any help you can give

DD

DD,

I think the audio track is the problem. Similar message here:

http://www.wowza.com/forums/showthread.php?9477-no-audio-from-AAC-source

Richard

Hi,

I did read that and tested it on a wowza 2.2 instance unsuccessfully. I now did it on a Wowza 3 instance and it worked!

Guess I may have done something wrong on the 2.2 instance, or there was a combination of problems, either-ways now I am fine. Thanks

DD