<!--
{
  "documentType" : "article",
  "framework" : "quicktime-file-format",
  "identifier" : "/documentation/QuickTime-File-Format/Optimizing_QuickTime_VR_movies_for_web_playback",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Optimizing QuickTime VR movies for web playback"
}
-->

# Optimizing QuickTime VR movies for web playback

Prevent having to download an entire movie before starting playback.

## Overview

Originally, both QuickTime movies and QuickTime VR movies had to be completely downloaded to the user’s local hard disk before they could be viewed. Starting with QuickTime 2.5, if the movie data is properly laid out in the file, standard linear QuickTime movies can be viewed almost immediately. The frames that have been downloaded so far are shown while subsequent frames continue to be downloaded.

The important change that took place to allow this to happen was for QuickTime to place global movie information at the beginning of the file. Originally, this information was at the end of the file. After that, the frame data simply needs to be in order in the file. Similarly, QuickTime VR files also need to be laid out in a certain manner in order to get some sort of quick feedback when viewing on the web. Roughly speaking this involves writing out all of the media samples in the file in a particular order. Apple now provides a movie export component that does this for you: the QTVR Flattener.

## Topics

### Optimizations

[The QTVR flattener](/documentation/QuickTime-File-Format/The_QTVR_flattener)

Optimize a movie for delivery over the web.

[Sample atom container for the QTVR flattener](/documentation/QuickTime-File-Format/Sample_atom_container_for_the_QTVR_flattener)

Specify an import preview file for the flattener with atoms.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)