# VOD: File is missing 'moov' atom Module

**URL:** <https://community.wowza.com/t/vod-file-is-missing-moov-atom-module/40411>\
**Category:** Wowza Streaming Engine\
**Created:** [May 23, 2013, 10:27pm UTC](https://community.wowza.com/t/vod-file-is-missing-moov-atom-module/40411 "2013-05-23T22:27:30Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Birendra\_Dhami](https://avatars.discourse-cdn.com/v4/letter/b/919ad9/32.png) [@Birendra\_Dhami](https://community.wowza.com/u/Birendra_Dhami)\
**Post date:** [May 23, 2013, 10:27pm UTC](https://community.wowza.com/t/vod-file-is-missing-moov-atom-module/40411/1 "2013-05-23T22:27:30Z")

</div>

Hi All

My wowza instance is trans-rating an incoming stream into 3 mutliple(H.264) bit rates . I am able to play them live using FlashRTMPPlayer.

I am also recording the transrated stream and moving the recorded file, in 10 minutes schdule, using ModuleMediaWriterFileMover to my s3. But when I try to play them for vod, it is not playing and error is thrown as “java.lang.Exception: QTUtils.parseQTMediaContainer: File is missing ‘moov’ atom ModuleMediaWriterFileMover” in error log.

Note: Only the first recorded video is being played

Thanks in Advance

Birendra

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [May 23, 2013, 11:35am UTC](https://community.wowza.com/t/vod-file-is-missing-moov-atom-module/40411/2 "2013-05-23T11:35:24Z")

</div>

Hello there,

Here is what the Wowza documentation says about this issue, take a look and see if this might fix it:

**Code:**

```auto
server WARN 404 [path-to-video-file] MediaReaderH264.open[2]: java.lang.Exception: QTUtils.parseQTMediaContainer: File is missing 'moov' atom.

```

**Cause:** Attempt to stream a file while it’s being recorded. When the stream is unpublished, Wowza Media Server will write the moov atom data to the end of the file. You can use the [IMediaWriterActionNotify](https://www.wowza.com/docs/how-to-use-imediawriteractionnotify-to-programmatically-move-and-rename-recordings-of-live-streams) listener to listen for files to be completed. If you use the nDVR AddOn, then you can record while playing back a live stream.

You may also get this error if you try to playback a file that has H.264 content but isn’t an mp4 file and you use the mp4 prefix. Example, you have published H.264 video from your encoder and Wowza Media Server has recorded it as an FLV file. If you use the mp4 prefix in this case, you’ll get this error. The correct way is to treat the file as a standard FLV file.

Salvadore

---

<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:** [May 23, 2013, 5:46pm UTC](https://community.wowza.com/t/vod-file-is-missing-moov-atom-module/40411/3 "2013-05-23T17:46:30Z")

</div>

What version of Wowza are you using?

Are you using the HTTPLiveStreamRecord to record 10 minute segments?

Are there any streamname.tmp files in the content folder where the videos are recorded?

Can you try disabling ModuleMediaWriterFileMover and test?

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:** [May 24, 2013, 12:36pm UTC](https://community.wowza.com/t/vod-file-is-missing-moov-atom-module/40411/4 "2013-05-24T12:36:26Z")

</div>

Birendra,

Use the “Custom Output and Filename” feature of HTTPLivestreamRecord instead.

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:** [May 24, 2013, 9:49pm UTC](https://community.wowza.com/t/vod-file-is-missing-moov-atom-module/40411/5 "2013-05-24T21:49:12Z")

</div>

Let me see how that works, if recorded then moved or recorded direct to.

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:** [May 25, 2013, 1:08pm UTC](https://community.wowza.com/t/vod-file-is-missing-moov-atom-module/40411/6 "2013-05-25T13:08:49Z")

</div>

That feature writes directly to the outputPath, unfortunately in this case.

I will test ModuleWriteFileMover with HTTPLiveStreamRecord with 3.5.2.08. This might have been fixed. Something similar did come up before.

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:** [May 25, 2013, 2:03pm UTC](https://community.wowza.com/t/vod-file-is-missing-moov-atom-module/40411/7 "2013-05-25T14:03:47Z")

</div>

Try this: Re-enable the ModuleMediaWriterFileMover with Property settings like this:

```auto
		<Property>
			<Name>fileMoverDestinationPath</Name>
			<Value>[FuseS3FS_mount]</Value>
		</Property>
		<Property>
			<Name>fileMoverDeleteOriginal</Name>
			<Value>false</Value>
			<Type>Boolean</Type>
		</Property>
		<Property>
			<Name>fileMoverVersionFile</Name>
			<Value>true</Value>
			<Type>Boolean</Type>
		</Property>
		<!-- Value should be: mp4 or flv -->
		
		<Property>
			<Name>fileMoverFileExtension</Name>
			<Value>mp4</Value>
			<Type>String</Type>
		</Property>

```

And HTTPLiveStreamRecord options like this:

![](https://www.wowza.com/community/uploads/wowza1/original/1X/cb519e4b1f5bb1679a56516a1b2458cf524a991b.png)

Notice that the Custom Output is enabled, but only to check the Stream Format “mp4”, the location is the default content location. Then the module moves the file, versions, it and preserves mp4 container.

My test was with Wowza 3.5.2.08, but I think this will work in 3.5.2.00. You can patch up to same version here;

[https://www.wowza.com/docs/wowza-streaming-engine-software-updates](https://www.wowza.com/docs/wowza-streaming-engine-software-updates)

And my test was moving to local drive not to s3fs mount, but that shouldn’t matter. Let me know if that works.

Richard

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [May 24, 2013, 10:57am UTC](https://community.wowza.com/t/vod-file-is-missing-moov-atom-module/40411/8 "2013-05-24T10:57:22Z")

</div>

Hi Birendra,

You can use the “Custom Output and Filename” feature to save the recorded files to your desired location instead of the ModuleMediaWriterFileMover.

Salvadore

---

<div class="post-metadata">

**Author:** ![Birendra\_Dhami](https://avatars.discourse-cdn.com/v4/letter/b/919ad9/32.png) [@Birendra\_Dhami](https://community.wowza.com/u/Birendra_Dhami)\
**Post date:** [May 24, 2013, 7:07am UTC](https://community.wowza.com/t/vod-file-is-missing-moov-atom-module/40411/9 "2013-05-24T07:07:00Z")

</div>

> What version of Wowza are you using?
> 
> Are you using the HTTPLiveStreamRecord to record 10 minute segments?
> 
> Are there any streamname.tmp files in the content folder where the videos are recorded?
> 
> Can you try disabling ModuleMediaWriterFileMover and test?
> 
> Richard

I am using 3.5.2 build3747.

Yes I am using HTTPLiveStreamRecord for recording.

Yes there are streamname.tmp in the content folder, but I am using ModuleMediaWriterFileMover to move the recorder video and I am doing the vod from the moved location.

I tried it by disabling ModuleMediaWriterFileMover, and it is working fine.

Thanks in advance

Birendra

---

<div class="post-metadata">

**Author:** ![Birendra\_Dhami](https://avatars.discourse-cdn.com/v4/letter/b/919ad9/32.png) [@Birendra\_Dhami](https://community.wowza.com/u/Birendra_Dhami)\
**Post date:** [May 24, 2013, 7:14am UTC](https://community.wowza.com/t/vod-file-is-missing-moov-atom-module/40411/10 "2013-05-24T07:14:45Z")

</div>

In Reply to Salvadore

Hi,

I have gone through the about article also and the video is in mp4 format.

Thanks in Advance

Birendra

---

<div class="post-metadata">

**Author:** ![Birendra\_Dhami](https://avatars.discourse-cdn.com/v4/letter/b/919ad9/32.png) [@Birendra\_Dhami](https://community.wowza.com/u/Birendra_Dhami)\
**Post date:** [May 24, 2013, 10:22pm UTC](https://community.wowza.com/t/vod-file-is-missing-moov-atom-module/40411/11 "2013-05-24T22:22:30Z")

</div>

Hi,

“Custom Output and Filename” , I am already using that, I am using it for renaming the Filename whereas the stream format is mp4.

Thanks,

Birendra

---

<div class="post-metadata">

**Author:** ![Birendra\_Dhami](https://avatars.discourse-cdn.com/v4/letter/b/919ad9/32.png) [@Birendra\_Dhami](https://community.wowza.com/u/Birendra_Dhami)\
**Post date:** [May 24, 2013, 11:25pm UTC](https://community.wowza.com/t/vod-file-is-missing-moov-atom-module/40411/12 "2013-05-24T23:25:21Z")

</div>

> Hi Birendra,
> 
> You can use the “Custom Output and Filename” feature to save the recorded files to your desired location instead of the ModuleMediaWriterFileMover.
> 
> Salvadore

Hi Salvadore,

I am running the wowza in EC2 and I want to save the recorded files in s3 for vod. Isn’t it better to save the videos locally in EC2 and then move them to s3?

Thanks,

Birendra

---

<div class="post-metadata">

**Author:** ![Birendra\_Dhami](https://avatars.discourse-cdn.com/v4/letter/b/919ad9/32.png) [@Birendra\_Dhami](https://community.wowza.com/u/Birendra_Dhami)\
**Post date:** [May 25, 2013, 10:52am UTC](https://community.wowza.com/t/vod-file-is-missing-moov-atom-module/40411/13 "2013-05-25T10:52:18Z")

</div>

> Let me see how that works, if recorded then moved or recorded direct to.
> 
> Richard

First it is recorded at local EC2 then moved to s3… Help me out…

Thanks,

Birendra
