# live-record MP4 file corrupt?

**URL:** https://community.wowza.com/t/live-record-mp4-file-corrupt/35653
**Category:** Wowza Streaming Engine
**Created:** [March 15, 2011, 10:17am UTC](https://community.wowza.com/t/live-record-mp4-file-corrupt/35653 "2011-03-15T10:17:46Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Hector\_Herrera](https://avatars.discourse-cdn.com/v4/letter/h/7ab992/32.png) [@Hector\_Herrera](https://community.wowza.com/u/Hector_Herrera)
#### Post date: [March 15, 2011, 10:17am UTC](https://community.wowza.com/t/live-record-mp4-file-corrupt/35653/1 "2011-03-15T10:17:46Z")

</div>

I have configured Wowza to record a live broadcast into an MP4 file. Here is the resulting file:

[http://www.playfullscreen.com/test1.mp4](http://www.playfullscreen.com/test1.mp4)

When I play it using VLC or JWPlayer, the player reports the file length as 9,598+ hours, which, if you download the file will notice is absolutely wrong.

With the time index screwed up like that, it’s impossible to seek in the file.

Thank you,

Hector

P.S. Can you recommend a tool to examine the contents of MP4 files? Something that will show the codec details, number of streams, their metadata, etc.

[edit] P.P.S. yes, I do have all the latest patches of Wowza installed.

---

<div class="post-metadata">

### Author: ![Hector\_Herrera](https://avatars.discourse-cdn.com/v4/letter/h/7ab992/32.png) [@Hector\_Herrera](https://community.wowza.com/u/Hector_Herrera)
#### Post date: [March 15, 2011, 11:28am UTC](https://community.wowza.com/t/live-record-mp4-file-corrupt/35653/2 "2011-03-15T11:28:24Z")

</div>

Using Elecard’s StreamEye to analyze the MP4 file generated by Wowza. It shows:

```auto
video stream type : AVC
resolution : 640x360
profile:level : Baseline:3.0
aspect ratio : 16x9(1:1)
chroma format : 4:2:0
interlaced : no
frames count : 133 743
duration : 9598:38:08.632
frame size max : 38 891
           avg : 931
       avg/max (I) : 18 290 / 38 891
       avg/max (P) : 332 / 20 350
       avg/max (B) : 0 / 0
           min : 44
framerate declared : 25.000
          real : 0.004
bitrate type : VBR
bitrate declared : 699 968
bit allocation max :71 396 272 153 559 040
               avg : 28
               min :71 396 272 153 559 040

```

Notice the discrepancy between the framerate declared and real.

---

<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: [March 15, 2011, 7:50pm UTC](https://community.wowza.com/t/live-record-mp4-file-corrupt/35653/3 "2011-03-15T19:50:29Z")

</div>

I’m not sure what that item in the report means. Does the video play in Flash or other clients, either directly or streamed through Wowza?

Richard

---

<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: [March 15, 2011, 8:07pm UTC](https://community.wowza.com/t/live-record-mp4-file-corrupt/35653/4 "2011-03-15T20:07:40Z")

</div>

There was a fix related to recording in a recent patch. Apply this patch and test again:

[https://www.wowza.com/downloads/WowzaMediaServer-2-2-3/WowzaMediaServer2.2.3-patch11.zip](https://www.wowza.com/downloads/WowzaMediaServer-2-2-3/WowzaMediaServer2.2.3-patch11.zip)

Be sure not to move the file before it is done recording.

Richard

---

<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: [March 15, 2011, 8:08pm UTC](https://community.wowza.com/t/live-record-mp4-file-corrupt/35653/5 "2011-03-15T20:08:21Z")

</div>

Oops, I meant patch 11:

[https://www.wowza.com/downloads/WowzaMediaServer-2-2-3/WowzaMediaServer2.2.3-patch11.zip](https://www.wowza.com/downloads/WowzaMediaServer-2-2-3/WowzaMediaServer2.2.3-patch11.zip)

Richard

---

<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: [March 15, 2011, 9:57pm UTC](https://community.wowza.com/t/live-record-mp4-file-corrupt/35653/6 "2011-03-15T21:57:47Z")

</div>

There is an RSS feed here:

[https://www.wowza.com/wowzamediaserver2-development.xml](https://www.wowza.com/wowzamediaserver2-development.xml)

That patch has not been posted there yet.

Richard

---

<div class="post-metadata">

### Author: ![Hector\_Herrera](https://avatars.discourse-cdn.com/v4/letter/h/7ab992/32.png) [@Hector\_Herrera](https://community.wowza.com/u/Hector_Herrera)
#### Post date: [March 15, 2011, 12:04pm UTC](https://community.wowza.com/t/live-record-mp4-file-corrupt/35653/7 "2011-03-15T12:04:06Z")

</div>

The video plays fine live … in fact you can go ahead and watch it live right now:

[http://www.playfullscreen.com/cokvideodemo/?mediaid=0](http://www.playfullscreen.com/cokvideodemo/?mediaid=0)

The recorded file plays fine in both VLC and Flash, however they are not seekable (Even if I wait until the entire file downloads or if I’m playing from a disk file) due to the corrupt time index.

---

<div class="post-metadata">

### Author: ![Hector\_Herrera](https://avatars.discourse-cdn.com/v4/letter/h/7ab992/32.png) [@Hector\_Herrera](https://community.wowza.com/u/Hector_Herrera)
#### Post date: [March 15, 2011, 12:49pm UTC](https://community.wowza.com/t/live-record-mp4-file-corrupt/35653/8 "2011-03-15T12:49:46Z")

</div>

patch 11 appears to have fixed the issue.

As a paying customer, I would appreciate it if Wowza Media informed its customers whenever an update is released to the software (ie. by email).
