Results 1 to 4 of 4

Thread: Audio not working properly when using wowza dvr application via FMLE

  1. #1
    Join Date
    Jan 2013
    Posts
    27

    Default Audio not working properly when using wowza dvr application via FMLE

    I streamed in FMLE using 'rtmp://[wowza-ip]/dvr/streamname' as the FMS url and the playback url as, http://[wowza-ip]:1935/dvr/streamname/manifest.f4m in Strobe media player
    Initially the audio and video were getting started but after 5 to 10 secs the audio is off only the video is playing. I tried changing the audio settings in the encoder but it doesn't work. Audio format is mp3.
    Am using wowza 3.6.2 and FMLE 3.2. Am I missing anything? Please help me to sort out the issue.
    My application.xml file is,
    <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/${com.wowza.wms.context.ApplicationInstance}</StorageDir>
    <KeyDir>${com.wowza.wms.context.VHostConfigHome}/keys</KeyDir>
    <!-- LiveStreamPacketizers (separate with commas): cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer, mpegdashstreamingpacketizer, cupertinostreamingrepeater, smoothstreamingrepeater, sanjosestreamingrepeater, dvrstreamingpacketizer, dvrstreamingrepeater -->
    <LiveStreamPacketizers>dvrstreamingpacketizer,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>
    <Property>
    <Name>smoothBufferTargetDuration</Name>
    <Value>500</Value>
    <Type>Integer</Type>
    </Property>
    <Property>
    <Name>smoothBufferMinFragmentCount</Name>
    <Value>1</Value>
    <Type>Integer</Type>
    </Property>

    <Property>
    <Name>smoothManifestTargetDuration</Name>
    <Value>500</Value>
    <Type>Integer</Type>
    </Property>
    <Property>
    <Name>smoothManifestMinFragmentCount</Name>
    <Value>1</Value>
    <Type>Integer</Type>
    </Property>

    <Property>
    <Name>smoothRepeaterTargetDuration</Name>
    <Value>500</Value>
    <Type>Integer</Type>
    </Property>
    <Property>
    <Name>smoothRepeaterMinFragmentCount</Name>
    <Value>1</Value>
    <Type>Integer</Type>
    </Property>

    <Property>
    <Name>smoothFragmentTargetAudioDuration</Name>
    <Value>500</Value>
    <Type>Integer</Type>
    </Property>
    </Properties>
    </Streams>
    <Transcoder>
    <!-- To turn on transcoder set to: transcoder -->
    <LiveStreamTranscoder></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 -->

    <!-- If this is a dvrstreamingrepeater, define Application/Repeater/OriginURL to point back to the origin -->

    <!-- To turn on DVR recording set Recorders to dvrrecorder. This works with dvrstreamingpacketizer -->
    <Recorders>dvrrecorder</Recorders>

    <!-- As a single server or as an origin, set the Store to dvrfilestorage-->
    <!-- edges should have this empty -->
    <Store>dvrfilestorage</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>delete</ArchiveStrategy>

    <!-- Properties for DVR -->
    <Properties>
    </Properties>
    </DVR>

    <TimedText>
    <!-- VOD caption providers (separate with commas): vodcaptionprovidermp4_3gpp, vodcaptionproviderttml, vodcaptionproviderwebvtt, vodcaptionprovidersrt, vodcaptionproviderscc -->
    <VODTimedTextProviders>vodcaptionprovidermp4_3gpp</VODTimedTextProviders>

    <!-- Properties for TimedText -->
    <Properties>
    </Properties>
    </TimedText>

    <!-- HTTPStreamers (separate with commas): cupertinostreaming, smoothstreaming, sanjosestreaming, mpegdashstreaming, 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>cupertinoCalculateCodecs</Name>
    <Value>false</Value>
    <Type>Boolean</Type>
    </Property>
    <Property>
    <Name>cupertinoCalculateResolution</Name>
    <Value>false</Value>
    <Type>Boolean</Type>
    </Property>
    </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>
    </Properties>
    </Application>
    </Root>

  2. #2

    Default

    Hi there.

    Curious what version of Strobe player you are using. I found it necessary to tweak some of the buffer settings when using strobe 1.5 and 1.6, but found much less buffering/stuttering with strobe 2.0. So had no need to use those settings.
    Wowza recommends using OSMF version 2.0. Users have reported buffering issues when using earlier versions. The Strobe example player installed with Wowza Media Server 3.5.0 (or later), located in [install-dir]/examples/LiveDVRStreaming/FlashHTTPPlayer/player.html, uses the default values for the buffering parameters.

    If Wowza nDVR detects an invalid chunk, it will try to fix it by recalculating if the clock was reset. Or, if it can't fix it, the chunk will be thrown out. For example, an invalid chunk could be caused by a problematic input stream where the video gets far ahead of the audio. If this occurs, it's reported in the logs with warning messages like the following:
    WARN LiveStreamDvrRecorder.endChunk[live/_definst_/myStream]: Recalculating duration by estimating.  Was -601.  Is now 811.
    WARN  DvrPacketHandler.handleHolder(): Skipping holder that cannot be re-aligned. Holder: {DvrPacketHolder: type:V pt:3332574 utc:1335872445912 dur:1230 (KEY, ) codec:7 numPackets:0 dataLen:18513 enc.n:0 pkt:{{DvrAMFPacket: size:18513, type:9, src:1, seq:0, absTimecode: 3332574, timecode:1230, utcTc:1335872445912}}}
    Are you getting any errors in the logs?
    Input streams with short key frame intervals and aligned audio and video work best. Wowza nDVR expects that the audio and video in an incoming live stream is aligned. When the audio and video are out of alignment beyond the allowable tolerance, you will see the following WARN message in [install-dir]/logs:
    WARN  DvrPacketHandler.handlePacket[live/_definst_/myStream]: Tossing packet with excessive duration: {DvrAMFPacket: size:6785, type:9, src:32185, seq:126, absTimecode: 35557077, timecode:131362, utcTc:1337890914597}
    You can start Wowza in stand-alone mode[install-dir]/bin/startup.bat and view the log output in the console.

    Salvadore

  3. #3
    Join Date
    Jan 2013
    Posts
    27

    Default

    I'm using SMP 1.6 and even tried the player located in [install-dir]/examples/LiveDVRStreaming/FlashHTTPPlayer/player.html
    I tested in wowza 3.6.2 and also with the latest wowza version 4.0.6.
    1. In wowza 3.6.2 dvr application,
    FMLE : Not working.
    There is no errors in the log,
    Access Log:
    2014-09-08 11:20:46 IST comment server INFO 200 - LiveStreamDvrRecorderBase.initProperties[dvr/_definst_/sampleglo] : properties: - - - 2366130.575 - - - - - - - - - - - - - - - - - - - - - - - - -
    2014-09-08 11:20:46 IST comment server INFO 200 - LiveStreamDvrRecorder.init[dvr/_definst_/sampleglo]: audioOnlyChunkTargetDuration: 2000 ms - - - 2366130.595 - - - - - - - - - - - - - - - - - - - - - - - - -
    2014-09-08 11:20:46 IST comment server INFO 200 - LiveStreamDvrRecorder.init[dvr/_definst_/sampleglo]: dvrWaitForCodecTime: 8000 ms - - - 2366130.595 - - - - - - - - - - - - - - - - - - - - - - - - -
    2014-09-08 11:20:46 IST comment server INFO 200 - LiveStreamDvrRecorder.init[dvr/_definst_/sampleglo]: recordAudio: true - - - 2366130.595 - - - - - - - - - - - - - - - - - - - - - - - - -
    2014-09-08 11:20:46 IST comment server INFO 200 - LiveStreamDvrRecorder.init[dvr/_definst_/sampleglo]: recordVideo: true - - - 2366130.595 - - - - - - - - - - - - - - - - - - - - - - - - -
    2014-09-08 11:20:46 IST comment server INFO 200 - LiveStreamDvrRecorder.init[dvr/_definst_/sampleglo]: recordData: true - - - 2366130.596 - - - - - - - - - - - - - - - - - - - - - - - - -
    2014-09-08 11:20:46 IST comment server INFO 200 - LiveStreamDvrRecorder.resetStream[dvr/_definst_/sampleglo] - - - 2366130.6 - - - - - - - - - - - - - - - - - - - - - - - - -
    2014-09-08 11:20:49 IST comment server INFO 200 - LiveStreamDvrRecorder.reportCodecInformation[dvr/_definst_/sampleglo][avc1.66.31]: H.264 Video info: {MediaCodecInfoVideo: codec:H264, profile:Baseline, level:3.1, frameSize:320x240, displaySize:320x240, frameRate:15.000000} - - - 2366133.618 - - - - - - - - - - - - - - - - - - - - - - - - -
    2014-09-08 11:20:49 IST comment server INFO 200 - LiveStreamDvrRecorder.reportCodecInformation[dvr/_definst_/sampleglo][mp4a.40.34]: MP3 Audio info: {MediaCodecInfoAudio: codec:MP3, channels:1, frequency:22050, samplesPerFrame:576, objectType:MPEG1LAYER3} - - - 2366133.618 - - - - - - - - - - - - - - - - - - - - - - - - -
    2014-09-08 11:20:49 IST comment server INFO 200 - DvrStreamStoreBase.storeChunks[dvr/_definst_/sampleglo/sampleglo.0] : Resetting dvr time from dvr:0/pt:0 to dvr:0/pt:0/utc:1410155446405 - - - 2366133.618 - - - - - - - - - - - - - - - - - - - - - - - - -
    2014-09-08 11:20:49 IST comment server INFO 200 - LiveStreamDvrRecorder.endChunk[dvr/_definst_/sampleglo]: Add chunk: ind:0 a/v/k: packets: 123/50/0 durations: 3223/3266/-1 dvrTimes:0/0/-1 pTimes:0/0/-1 - - - 2366133.624 - - - - - - - - - - - - - - - - - - - - - - - - -
    2014-09-08 11:20:55 IST comment server INFO 200 - LiveStreamDvrRecorder.endChunk[dvr/_definst_/sampleglo]: Add chunk: ind:1 a/v/k: packets: 237/92/0 durations: 6190/6133/-1 dvrTimes:3224/3266/-1 pTimes:3224/3266/-1 - - - 2366139.763 - - - - - - - - - - - - - - - - - - - - - - - - -
    2014-09-08 11:21:00 IST comment server INFO 200 - LiveStreamDvrRecorder.endChunk[dvr/_definst_/sampleglo]: Add chunk: ind:2 a/v/k: packets: 186/73/0 durations: 4857/4867/-1 dvrTimes:9415/9399/-1 pTimes:9415/9399/-1 - - - 2366144.853 - - - - - - - - - - - - - - - - - - - - - - - - -
    2014-09-08 11:21:05 IST comment server INFO 200 - LiveStreamDvrRecorder.endChunk[dvr/_definst_/sampleglo]: Add chunk: ind:3 a/v/k: packets: 192/75/0 durations: 5017/5000/-1 dvrTimes:14272/14266/-1 pTimes:14272/14266/-1 - - - 2366149.707 - - - - - - - - - - - - - - - - - - - - - - - - -
    2014-09-08 11:21:07 IST comment server INFO 200 - LiveStreamDvrRecorder.endChunk[dvr/_definst_/sampleglo]: Add chunk: ind:4 a/v/k: packets: 66/27/0 durations: 1734/1800/-1 dvrTimes:19289/19266/-1 pTimes:19289/19266/-1 - - - 2366151.633 - - - - - - - - - - - - - - - - - - - - - - - - -
    2014-09-08 11:21:12 IST comment server INFO 200 - LiveStreamDvrRecorder.endChunk[dvr/_definst_/sampleglo]: Add chunk: ind:5 a/v/k: packets: 192/75/0 durations: 5015/5000/-1 dvrTimes:21023/21066/-1 pTimes:21023/21066/-1 - - - 2366156.734 - - - - - - - - - - - - - - - - - - - - - - - - -
    2014-09-08 11:21:14 IST comment server INFO 200 - LiveStreamDvrRecorder.endChunk[dvr/_definst_/sampleglo]: Add chunk: ind:6 a/v/k: packets: 69/27/0 durations: 1793/1800/-1 dvrTimes:26038/26066/-1 pTimes:26038/26066/-1 - - - 2366158.228 - - - - - - - - - - - - - - - - - - - - - - - - -
    2014-09-08 11:21:19 IST comment server INFO 200 - LiveStreamDvrRecorder.endChunk[dvr/_definst_/sampleglo]: Add chunk: ind:7 a/v/k: packets: 192/75/0 durations: 5024/5000/-1 dvrTimes:27831/27866/-1 pTimes:27831/27866/-1 - - - 2366163.551 - - - - - - - - - - - - - - - - - - - - - - - - -
    2014-09-08 11:21:22 IST comment server INFO 200 - LiveStreamDvrRecorder.endChunk[dvr/_definst_/sampleglo]: Add chunk: ind:8 a/v/k: packets: 120/47/0 durations: 3135/3133/-1 dvrTimes:32855/32866/-1 pTimes:32855/32866/-1 - - - 2366166.656 - - - - - - - - - - - - - - - - - - - - - - - - -
    2014-09-08 11:21:28 IST comment server INFO 200 - LiveStreamDvrRecorder.endChunk[dvr/_definst_/sampleglo]: Add chunk: ind:9 a/v/k: packets: 225/88/0 durations: 5880/5867/-1 dvrTimes:35990/35999/-1 pTimes:35990/35999/-1 - - - 2366172.247 - - - - - - - - - - - - - - - - - - - - - - - - -
    2014-09-08 11:21:33 IST comment server INFO 200 - LiveStreamDvrRecorder.endChunk[dvr/_definst_/sampleglo]: Add chunk: ind:10 a/v/k: packets: 192/75/0 durations: 5005/5000/-1 dvrTimes:41869/41866/-1 pTimes:41869/41866/-1 - - - 2366177.33 - - - - - - - - - - - - - - - - - - - - - - - - -

    2.. In wowza 4.0.6 dvr application,
    FMLE : Working fine.

    I think I'm missing some setting in wowza application xml or in the FMLE encoder. I don't think so the problem is with the strobe player 1.5 or 1.6 because i tested in 2.0 also.

  4. #4
    Join Date
    Sep 2011
    Posts
    1,931

    Default

    Hi,
    This is now being handled as a ticket (102881).

    Jason

Similar Threads

  1. Replies: 1
    Last Post: 11-27-2013, 07:31 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
  •