Wowza Community

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,

true

live

${com.wowza.wms.context.VHostConfigHome}/content/${com.wowza.wms.context.ApplicationInstance}

${com.wowza.wms.context.VHostConfigHome}/keys

dvrstreamingpacketizer,cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer

smoothBufferTargetDuration

500

Integer

smoothBufferMinFragmentCount

1

Integer

smoothManifestTargetDuration

500

Integer

smoothManifestMinFragmentCount

1

Integer

smoothRepeaterTargetDuration

500

Integer

smoothRepeaterMinFragmentCount

1

Integer

smoothFragmentTargetAudioDuration

500

Integer

${SourceStreamName}.xml,transrate.xml

${com.wowza.wms.context.VHostConfigHome}/transcoder/profiles

${com.wowza.wms.context.VHostConfigHome}/transcoder/templates

dvrrecorder

dvrfilestorage

0

${com.wowza.wms.context.VHostConfigHome}/dvr

delete

vodcaptionprovidermp4_3gpp

cupertinostreaming,smoothstreaming,sanjosestreaming

-1

*

*

*

*

digest

none

senderreport

12000

75

90000

0

0.0.0.0

127.0.0.1

*

interleave

cupertinoCalculateCodecs

false

Boolean

cupertinoCalculateResolution

false

Boolean

base

Base

com.wowza.wms.module.ModuleCore

properties

Properties

com.wowza.wms.module.ModuleProperties

logging

Client Logging

com.wowza.wms.module.ModuleClientLogging

flvplayback

FLVPlayback

com.wowza.wms.module.ModuleFLVPlayback

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

Hi,

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

Jason

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.