# Help with "Atom size is invalid: 0"

**URL:** <https://community.wowza.com/t/help-with-atom-size-is-invalid-0/37492>\
**Category:** Wowza Streaming Engine\
**Created:** [October 25, 2011, 10:40am UTC](https://community.wowza.com/t/help-with-atom-size-is-invalid-0/37492 "2011-10-25T10:40:55Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jon\_Marsh](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@Jon\_Marsh](https://community.wowza.com/u/Jon_Marsh)\
**Post date:** [October 25, 2011, 10:40am UTC](https://community.wowza.com/t/help-with-atom-size-is-invalid-0/37492/1 "2011-10-25T10:40:55Z")

</div>

WARN server comment xxxxxxxx\58654.mov MediaReaderH264.open[2]: java.lang.Exception: QTUtils.parseQTMediaContainer: Atom size is invalid: 0

Our wowza server performs well and provides VOD rtmpe streams

Recently we have had the above error with a particular batch of mov files.

These are files exported directly from AVID

Can anyone help me understand why these wont play?

Thanks

Jon

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [October 25, 2011, 2:45am UTC](https://community.wowza.com/t/help-with-atom-size-is-invalid-0/37492/2 "2011-10-25T02:45:28Z")

</div>

So you’re saying the problem happened one time and has since resolved itself? Maybe you had network problems that produced corrupted files. Or, maybe the device needed to be rebooted.

---

<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:** [October 25, 2011, 1:01pm UTC](https://community.wowza.com/t/help-with-atom-size-is-invalid-0/37492/3 "2011-10-25T13:01:17Z")

</div>

Jon,

Take a look at codec info in GSpot:

[https://www.wowza.com/docs/how-to-view-on-demand-file-details](https://www.wowza.com/docs/how-to-view-on-demand-file-details)

It may not be h.264 video.

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:** [October 26, 2011, 1:37pm UTC](https://community.wowza.com/t/help-with-atom-size-is-invalid-0/37492/4 "2011-10-26T13:37:23Z")

</div>

Can you post it on your web server for download? You can post a link here or send to support@wowza.com. Include a link to this thread for reference.

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:** [October 26, 2011, 8:14pm UTC](https://community.wowza.com/t/help-with-atom-size-is-invalid-0/37492/5 "2011-10-26T20:14:59Z")

</div>

Jon,

I get the same error: “Atom size is invalid: 0”. Your encoding process is going wrong somehow. But I was able to fix it with ffmpeg just by doing this:

ffmpeg -i c:\59418.mov -vcodec copy -acodec copy c:\out.mp4

Can you use Expression 4 instead?

[https://www.wowza.com/docs/how-to-encode-video-on-demand-content](https://www.wowza.com/docs/how-to-encode-video-on-demand-content)

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:** [October 26, 2011, 8:40pm UTC](https://community.wowza.com/t/help-with-atom-size-is-invalid-0/37492/6 "2011-10-26T20:40:51Z")

</div>

Jon,

The video is the problem with that one. The other one also had unsupported audio codec.

I guess you can do ffmpeg post process to fix them.

Richard

---

<div class="post-metadata">

**Author:** ![Jerome\_Preli](https://avatars.discourse-cdn.com/v4/letter/j/ad7895/32.png) [@Jerome\_Preli](https://community.wowza.com/u/Jerome_Preli)\
**Post date:** [December 4, 2013, 8:34am UTC](https://community.wowza.com/t/help-with-atom-size-is-invalid-0/37492/7 "2013-12-04T08:34:45Z")

</div>

Hi,

WE had the same issue and we find out that our video file was wrong because of the following

- the first stream was audio

- the second stream was video

Which is not a correct usage!

We swapped the stream and it worked fine!

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [October 25, 2011, 3:13am UTC](https://community.wowza.com/t/help-with-atom-size-is-invalid-0/37492/8 "2011-10-25T03:13:08Z")

</div>

Info on Atom size here: [http://wiki.multimedia.cx/index.php?title=QuickTime\_container](http://wiki.multimedia.cx/index.php?title=QuickTime_container)

That is just a WARN, not a fatal error. Try playing the file in the Wowza SimpleVideoStreaming example with or without the mp4 prefix: “mp4:filename.mov”.

If it still doesn’t work, describe your setup, your file encoding, and post the output of your Wowza console or your access log from when you try to play the file.

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [October 25, 2011, 3:48am UTC](https://community.wowza.com/t/help-with-atom-size-is-invalid-0/37492/9 "2011-10-25T03:48:28Z")

</div>

narcosi,

Thanks. The lines I’m looking for describe the codec, which would appear right when click play. Please post what the encoding/codec of the file is as Richard said using the GSpot or Mediainfo programs.

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [October 25, 2011, 4:52am UTC](https://community.wowza.com/t/help-with-atom-size-is-invalid-0/37492/10 "2011-10-25T04:52:47Z")

</div>

Jon,

It looks like your audio is encoded in Apple QuickTime IMA4. This is not supported by Wowza and would require transcoding to play on anything other than Quicktime. Take a look at the Quickstart Guide for a list of supported codecs:

[https://www.wowza.com/docs/how-to-install-and-configure-wowza-streaming-engine#supportedMedia](https://www.wowza.com/docs/how-to-install-and-configure-wowza-streaming-engine#supportedMedia)

---

<div class="post-metadata">

**Author:** ![Jon\_Marsh](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@Jon\_Marsh](https://community.wowza.com/u/Jon_Marsh)\
**Post date:** [October 25, 2011, 12:56pm UTC](https://community.wowza.com/t/help-with-atom-size-is-invalid-0/37492/11 "2011-10-25T12:56:14Z")

</div>

> So you’re saying the problem happened one time and has since resolved itself? Maybe you had network problems that produced corrupted files. Or, maybe the device needed to be rebooted.

No the problem is ongoing - with any file made from AVID.

I am trying to understand what the error means.

Jon

---

<div class="post-metadata">

**Author:** ![Jon\_Marsh](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@Jon\_Marsh](https://community.wowza.com/u/Jon_Marsh)\
**Post date:** [October 25, 2011, 1:33pm UTC](https://community.wowza.com/t/help-with-atom-size-is-invalid-0/37492/12 "2011-10-25T13:33:16Z")

</div>

> Info on Atom size here: [http://wiki.multimedia.cx/index.php?title=QuickTime\_container](http://wiki.multimedia.cx/index.php?title=QuickTime_container)
> 
> That is just a WARN, not a fatal error. Try playing the file in the Wowza SimpleVideoStreaming example with or without the mp4 prefix: “mp4:filename.mov”.
> 
> If it still doesn’t work, describe your setup, your file encoding, and post the output of your Wowza console or your access log from when you try to play the file.

Thanks, what happens is that warning just repeats 1000 times down the page, the video does not play:

2011-10-25 14:29:36 BST comment server INFO 200 - Resolve Play Flash: mp4:xxxxxx\58654.mov?mp4Hash=ca8d940acd76e4a76813355d69f90dac-type=29-allowFileId=58654 - - - 2177601.117 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-25 14:29:37 BST comment server WARN 404 xxxxxx\58654.mov MediaReaderH264.open[2]: java.lang.Exception: QTUtils.parseQTMediaContainer: Atom size is invalid: 0 - - - 2177602.07 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-25 14:29:37 BST comment server WARN 404 xxxxxx\58654.mov MediaReaderH264.open[2]: java.lang.Exception: QTUtils.parseQTMediaContainer: Atom size is invalid: 0 - - - 2177602.075 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-25 14:29:37 BST comment server WARN 404 xxxxxx\58654.mov MediaReaderH264.open[2]: java.lang.Exception: QTUtils.parseQTMediaContainer: Atom size is invalid: 0 - - - 2177602.34 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-25 14:29:37 BST comment server WARN 404 xxxxxx\58654.mov MediaReaderH264.open[2]: java.lang.Exception: QTUtils.parseQTMediaContainer: Atom size is invalid: 0 - - - 2177602.591 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-25 14:29:38 BST comment server WARN 404 xxxxxx\58654.mov MediaReaderH264.open[2]: java.lang.Exception: QTUtils.parseQTMediaContainer: Atom size is invalid: 0 - - - 2177602.84 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-25 14:29:38 BST comment server WARN 404 xxxxxx\58654.mov MediaReaderH264.open[2]: java.lang.Exception: QTUtils.parseQTMediaContainer: Atom size is invalid: 0 - - - 2177603.09 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-25 14:29:38 BST comment server WARN 404 xxxxxx\58654.mov MediaReaderH264.open[2]: java.lang.Exception: QTUtils.parseQTMediaContainer: Atom size is invalid: 0 - - - 2177603.34 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-25 14:29:38 BST comment server WARN 404 xxxxxx\58654.mov MediaReaderH264.open[2]: java.lang.Exception: QTUtils.parseQTMediaContainer: Atom size is invalid: 0 - - - 2177603.59 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-10-25 14:29:39 BST comment server WARN 404 xxxxxx\58654.mov MediaReaderH264.open[2]: java.lang.Exception: QTUtils.parseQTMediaContainer: Atom size is invalid: 0 - - - 2177603.84 - - - - - - - - - - - - - - - - - - - - - - - - -

---

<div class="post-metadata">

**Author:** ![Jon\_Marsh](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@Jon\_Marsh](https://community.wowza.com/u/Jon_Marsh)\
**Post date:** [October 25, 2011, 2:44pm UTC](https://community.wowza.com/t/help-with-atom-size-is-invalid-0/37492/13 "2011-10-25T14:44:04Z")

</div>

![](http://www.encodi.com/media/stuff/codec.PNG)

here is the gspot output

Jon

---

<div class="post-metadata">

**Author:** ![Jon\_Marsh](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@Jon\_Marsh](https://community.wowza.com/u/Jon_Marsh)\
**Post date:** [October 25, 2011, 3:08pm UTC](https://community.wowza.com/t/help-with-atom-size-is-invalid-0/37492/14 "2011-10-25T15:08:48Z")

</div>

wow thanks randall, I really appreciate your help. I will go back and see if there are any audio options for export.

I will report back.

---

<div class="post-metadata">

**Author:** ![Jon\_Marsh](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@Jon\_Marsh](https://community.wowza.com/u/Jon_Marsh)\
**Post date:** [October 25, 2011, 4:19pm UTC](https://community.wowza.com/t/help-with-atom-size-is-invalid-0/37492/15 "2011-10-25T16:19:18Z")

</div>

![](http://www.encodi.com/media/stuff/codec2.PNG)

This one did not work either I am trying a third now

Jon

---

<div class="post-metadata">

**Author:** ![Jon\_Marsh](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@Jon\_Marsh](https://community.wowza.com/u/Jon_Marsh)\
**Post date:** [October 26, 2011, 9:57am UTC](https://community.wowza.com/t/help-with-atom-size-is-invalid-0/37492/16 "2011-10-26T09:57:37Z")

</div>

Still no luck!

any more thoughts?

---

<div class="post-metadata">

**Author:** ![Jon\_Marsh](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@Jon\_Marsh](https://community.wowza.com/u/Jon_Marsh)\
**Post date:** [October 26, 2011, 5:31pm UTC](https://community.wowza.com/t/help-with-atom-size-is-invalid-0/37492/17 "2011-10-26T17:31:56Z")

</div>

I have dumped them here for you to see:

[http://encodi.com/media/stuff/58654.mov](http://encodi.com/media/stuff/58654.mov)

[http://encodi.com/media/stuff/59418.mov](http://encodi.com/media/stuff/59418.mov)

Thanks for your help

---

<div class="post-metadata">

**Author:** ![Jon\_Marsh](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@Jon\_Marsh](https://community.wowza.com/u/Jon_Marsh)\
**Post date:** [October 26, 2011, 6:09pm UTC](https://community.wowza.com/t/help-with-atom-size-is-invalid-0/37492/18 "2011-10-26T18:09:58Z")

</div>

> I have dumped them here for you to see:
> 
> [http://encodi.com/media/stuff/58654.mov](http://encodi.com/media/stuff/58654.mov)
> 
> [http://encodi.com/media/stuff/59418.mov](http://encodi.com/media/stuff/59418.mov)
> 
> Thanks for your help

Sorry 58654 has been removed for security reasons but 59418 is still there

Jon

---

<div class="post-metadata">

**Author:** ![Jon\_Marsh](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@Jon\_Marsh](https://community.wowza.com/u/Jon_Marsh)\
**Post date:** [October 26, 2011, 8:25pm UTC](https://community.wowza.com/t/help-with-atom-size-is-invalid-0/37492/19 "2011-10-26T20:25:20Z")

</div>

> Jon,
> 
> I get the same error: “Atom size is invalid: 0”. Your encoding process is going wrong somehow. But I was able to fix it with ffmpeg just by doing this:
> 
> ffmpeg -i c:\59418.mov -vcodec copy -acodec copy c:\out.mp4
> 
> Can you use Expression 4 instead?
> 
> [Encode VOD with FFmpeg](https://www.wowza.com/docs/how-to-encode-video-on-demand-content)
> 
> Richard

Thanks

The problem is that it is AVID creating the files direct from a timeline so we have to use the inbuilt encoder…

Do you have an idea whether it is the video or audio which is the problem?

Does this come down to the fact that I am setting it as MP4: but infact the mov is not mp4 formatted? or is it more subtle than that?

Jon

---

<div class="post-metadata">

**Author:** ![Jon\_Marsh](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@Jon\_Marsh](https://community.wowza.com/u/Jon_Marsh)\
**Post date:** [October 26, 2011, 8:44pm UTC](https://community.wowza.com/t/help-with-atom-size-is-invalid-0/37492/20 "2011-10-26T20:44:35Z")

</div>

Thanks Richard!

I will play with video settings and if not I will have to post process it.

I will report back.

J
