Wowza Community

Help with "Atom size is invalid: 0"

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

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.

Jon,

Take a look at codec info in GSpot:

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

It may not be h.264 video.

Richard

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

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

Richard

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

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!

Info on Atom size here: 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.

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.

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

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

Info on Atom size here: 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 - - - - - - - - - - - - - - - - - - - - - - - - -

here is the gspot output

Jon

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.

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

Jon

Still no luck!

any more thoughts?

I have dumped them here for you to see:

http://encodi.com/media/stuff/58654.mov

http://encodi.com/media/stuff/59418.mov

Thanks for your help

I have dumped them here for you to see:

http://encodi.com/media/stuff/58654.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

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

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

Thanks Richard!

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

I will report back.

J