# Error on DVR recording

**URL:** https://community.wowza.com/t/error-on-dvr-recording/694
**Category:** Wowza Streaming Engine
**Created:** [June 4, 2014, 9:42am UTC](https://community.wowza.com/t/error-on-dvr-recording/694 "2014-06-04T09:42:22Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)
#### Post date: [June 4, 2014, 9:42am UTC](https://community.wowza.com/t/error-on-dvr-recording/694/1 "2014-06-04T09:42:22Z")

</div>

Hi there … I’ve nDVR working on 24 hours basis, with 24hours windows

Once in a while, I get following error and I need to reset streams for recovering

“VideoDuration=-33 is not positive. Skipping chunks.”

Is this due to loss of A/V alignment? Any way to force a reset of streams when this happens?

Thanks in advance

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [June 5, 2014, 1:57am UTC](https://community.wowza.com/t/error-on-dvr-recording/694/2 "2014-06-05T01:57:28Z")

</div>

Tavius,

What is the source, an RTMP encoder or MediaCaster stream? I think this error in nDVR indicates either A/V sync problem, or timecodes problem in the source stream. You can configure the tolerance for A/V sync with the dvrAllowableAVPacketDelta Property, the usage is explained in the [advanced dvr article](https://www.wowza.com/docs/how-to-do-advanced-configuration-for-wowza-ndvr). Also look at the dvrPacketSortTime Property in that article.

If it is timecode problems, you should see log messages for the live source.

Richard

---

<div class="post-metadata">

### Author: ![Gustavo\_Villegas](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@Gustavo\_Villegas](https://community.wowza.com/u/Gustavo_Villegas)
#### Post date: [June 5, 2014, 2:35pm UTC](https://community.wowza.com/t/error-on-dvr-recording/694/3 "2014-06-05T14:35:37Z")

</div>

It is a MediaCaster stream … Third Party Encoder --\> Third Party Wowza --\> My Wowza 1 pulling and pushing out to Wowza2 --\> Wowza2 Recording

I will try these settings

Thanks

---

<div class="post-metadata">

### Author: ![Gustavo\_Villegas](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@Gustavo\_Villegas](https://community.wowza.com/u/Gustavo_Villegas)
#### Post date: [June 5, 2014, 3:46pm UTC](https://community.wowza.com/t/error-on-dvr-recording/694/4 "2014-06-05T15:46:54Z")

</div>

Hi Richard … a comment in case it has something to do. We have been doing this for 2 years and the problem started to happen once I migrated Wowza1 from 3.6.x to 4.0.3, while Wowza2 which is doing the recording is still a 3.6.x version

Could that change in the chain cause any potential issue?

Thanks
