Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Streaming Axis Cameras

  1. #1
    Join Date
    Jun 2011
    Posts
    13

    Default Streaming Axis Cameras

    I'm at my wits' end and I'm not sure what to do.

    We've had Wowza Media Server 2 for a while now and it's worked great with flash clients and rtsp streams. Recently I was convinced that I needed to upgrade to Wowza Media Server 3 and enable the transcoder plugin to support IOS devices. So I bought them both.

    We have many physical videos (vod) and some webcams (AXIS Q1755 Network Cameras) all which I'm trying to bring to the iPhone.

    Most of our media works on the iPad, but NOT on the iPhone. Ideally, I'd like to get adaptive bitrate/transcoding working for all our media but right now I'm just trying to get a single webcam working (without transcoding). I have explicitly set the stream profile to iphone and you can tell by the quality of the video. Here's the url:

    http://video.truesarasota.com:1935/l.../playlist.m3u8

    If I stick this url into a html5 video element it will play fine on the iPad, but it won't work with the iPhone. Here's my Application.xml for the "live" app.

    PHP Code:
    <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): cupertinostreamingpacketizersmoothstreamingpacketizercupertinostreamingrepeatersmoothstreamingrepeater -->
          <
    LiveStreamPacketizers>cupertinostreamingpacketizer,smoothstreamingpacketizer</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 totranscoder -->
            <
    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>
        <!-- 
    HTTPStreamers (separate with commas): cupertinostreamingsmoothstreaming -->
        <
    HTTPStreamers>cupertinostreaming,smoothstreaming</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 includesnonebasicdigest -->
          <
    Authentication>
        <
    PublishMethod>none</PublishMethod>
        <
    PlayMethod>none</PlayMethod>
          </
    Authentication>
          <!-- 
    RTP/AVSyncMethodValid values aresenderreportsystemclockrtptimecode -->
          <
    AVSyncMethod>senderreport</AVSyncMethod>
          <
    MaxRTCPWaitTime>12000</MaxRTCPWaitTime>
          <!-- 
    Properties defined here will override any properties defined in conf/RTP.xml for any depacketizers loaded by this application -->
          <
    Properties>
          </
    Properties>
        </
    RTP>
        <
    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>
        <
    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>
          <
    Property>
        <
    Name>smoothStreamingMediaMajorVersion</Name>
        <
    Value>2</Value>
        <
    Type>Integer</Type>
          </
    Property>
        </
    Properties>
      </
    Application>
    </
    Root
    I really don't have much in the logs that would clue me into what's wrong. Can you please help?

    Also is there a private support form or ticketing system where I could reveal more information?

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

    Default

    It doesn't work in my test on my IPhone 3gs with iOS 5.1.1.

    Wowza reports it is Baseline 4.1, Resolution 480x270. Try making it Baseline 3 and Resolution 320x240 or less.

    The chunklist, which shows 3 chunks, shows10 second, then 1 second, then 10 second chunks. Which is unusual. What are the settiings on that camera? Try setting a 2 second key frame frequency. You might have to set GOP (or key frame interval) = FPS * 2 if there is not a way to set key frame frequency.

    Richard

  3. #3
    Join Date
    Jun 2011
    Posts
    13

    Default

    Quote Originally Posted by rrlanham View Post
    It doesn't work in my test on my IPhone 3gs with iOS 5.1.1.

    Wowza reports it is Baseline 4.1, Resolution 480x270. Try making it Baseline 3 and Resolution 320x240 or less.

    The chunklist, which shows 3 chunks, shows10 second, then 1 second, then 10 second chunks. Which is unusual. What are the settiings on that camera? Try setting a 2 second key frame frequency. You might have to set GOP (or key frame interval) = FPS * 2 if there is not a way to set key frame frequency.

    Richard

    Stream Profile Settings:

    Resolution 48x270 (16:9)
    Compression: 30
    Maximum frame rate: 24
    Audio Stream: no

    H264 Settings

    GOV Settings:
    Length: 6 []1...]

    Bit Rate Control
    variable bit rate (selected)
    constant bit rate

    That's all the options I have on the camera. I'll try enabling audio. I'm not sure.
    If I could get the transcoding add-on working properly, might it fix this?

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

    Default

    Try constant bit rate. The GOV settings in Axis is gop I think, so you just need that to be twice the fps setting to get a 2 second key frame frequency. You might get more options when you select constant bitrate.

    Also, take a look at this guide:
    http://www.wowza.com/forums/content....rameters-(iOS)

    But I would suggest working with encoder settings first, before making any change to the segmenter properties.

    Richard

  5. #5
    Join Date
    Jun 2011
    Posts
    13

    Default

    gov didn't work. What do you recommend as a target/constant bit rate?
    Last edited by nitrosmd; 06-28-2012 at 03:45 PM.

  6. #6
    Join Date
    Jun 2011
    Posts
    13

    Default

    I attempted to change GOV (gop) to 48 (24 * 2) and that didn't work either.

  7. #7
    Join Date
    Jun 2011
    Posts
    13

    Default

    Where do I purchase phone support wowza or is the forums only place to come? What else can I do to get our web camera working?

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

    Default

    Have you tried setting the stream to constant bitrate yet? Is the camera on a public IP?

    You can also open a ticket at support@wowza.com. Please include a link to thread for reference. Also send test playback url, and camera source IP if public.

    For other support options you can write to sales@wowza.com.

    Richard

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

    Default

    Also, I am still see every 3rd chunk is 1 second and the other 2 are 10 seconds. Do you know how to look at that? Take a look at this guide.

    http://www.wowza.com/forums/content....AES-Encryption

    Take a look at steps 1 - 3 of the above guide. Then look at lines like this: "#EXTINF:10,"

    Try constant bitrate and see if that changes this.

    Richard

  10. #10
    Join Date
    Jun 2011
    Posts
    13

    Default

    I did set it to constant bitrate, but I wasn't sure what to set it to. I tried 1 and 4.

    Also I found this:
    GOV Settings
    Length - The GOV structure describes the composition of the H.264 video stream which consists of 2 image forms, I-images and P-images. An I-image is a complete image, whereas a P-image is only the differences in the image as compared with the previous image.

    The GOV length determines how many P-images are sent before the next complete I-image is sent.

    Setting the GOV-length to a higher value saves considerably on bandwidth but if there is congestion on the network, there may be noticeable decay in the video quality. Setting the GOV-length to a lower value increases the video quality, in this case.

Page 1 of 2 12 LastLast

Similar Threads

  1. Help re-streaming Axis IP cameras
    By alpexdigital in forum Live Streaming and Encoder Discussion
    Replies: 4
    Last Post: 03-21-2016, 01:00 PM
  2. Some Axis Cameras not working with wowza3
    By novazion in forum Live Streaming and Encoder Discussion
    Replies: 3
    Last Post: 01-26-2012, 05:59 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
  •