# MP4 playback stops after about 5 seconds - anywhere in the file.

**URL:** https://community.wowza.com/t/mp4-playback-stops-after-about-5-seconds-anywhere-in-the-file/173
**Category:** Wowza Player
**Created:** [November 29, 2016, 2:00pm UTC](https://community.wowza.com/t/mp4-playback-stops-after-about-5-seconds-anywhere-in-the-file/173 "2016-11-29T14:00:35Z")
**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: [November 29, 2016, 2:00pm UTC](https://community.wowza.com/t/mp4-playback-stops-after-about-5-seconds-anywhere-in-the-file/173/1 "2016-11-29T14:00:35Z")

</div>

Live streams are playing OK.

However for a recording I am trying to play, the player gives this message in chrome: media decoder error (mp4a.40.2, avc1.64001E)

However, it can play any part of the video - but just for about five seconds. So the video seems all right.

Playing OK in iPad.

Firefox says “Unable to play audio codec: mp4a.40.2 Video codec: avc1.64001E”

Now in the same directory with the same code I tried another video, HG\_Class\_\_20180303.mp4 and in chrome it simply gets stream unavailable

However this was certainly recorded within wowza using H.264 and AAC.

However, on my current non-wowza player, it plays properly in flash.

These are serious issues with playback of VOD.

Any suggestions?

ys

Alan Costello

---

<div class="post-metadata">

### Author: ![alan\_costello](https://avatars.discourse-cdn.com/v4/letter/a/c89c15/32.png) [@alan\_costello](https://community.wowza.com/u/alan_costello)
#### Post date: [December 6, 2016, 4:46pm UTC](https://community.wowza.com/t/mp4-playback-stops-after-about-5-seconds-anywhere-in-the-file/173/2 "2016-12-06T16:46:13Z")

</div>

I guess it was the wrong encoding - I am getting files recorded recently playing properly now.

To play older MP4’s, I included “useFlash”:true, when I created my playerElement.

They have a better chance of playing properly in the flash player. That way if flash is not available, the player will also attempt to play them in the non-flash player.

---

<div class="post-metadata">

### Author: ![J\_van\_Marion](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@J\_van\_Marion](https://community.wowza.com/u/J_van_Marion)
#### Post date: [August 14, 2017, 8:00pm UTC](https://community.wowza.com/t/mp4-playback-stops-after-about-5-seconds-anywhere-in-the-file/173/3 "2017-08-14T20:00:34Z")

</div>

Good you have found your own answer. Also thx for sharing it.

---

<div class="post-metadata">

### Author: ![aco\_ece](https://avatars.discourse-cdn.com/v4/letter/a/b4bc9f/32.png) [@aco\_ece](https://community.wowza.com/u/aco_ece)
#### Post date: [August 31, 2019, 8:33pm UTC](https://community.wowza.com/t/mp4-playback-stops-after-about-5-seconds-anywhere-in-the-file/173/4 "2019-08-31T20:33:28Z")

</div>

pemutar videonya
