Package: qtfaststart
Quicktime/MP4 Fast StartEnable streaming and pseudo-streaming of Quicktime and MP4 files by
moving metadata and offset information to the front of the file.This program is based on qt-faststart.c from the ffmpeg project, which is
released into the public domain, as well as ISO 14496-12:2005 (the official
spec for MP4), which can be obtained from the ISO or found online.The goals of this project are to run anywhere without compilation (in
particular, many Windows and Mac OS X users have trouble getting
qt-faststart.c compiled), to run about as fast as the C version, to be more
user friendly, and to use less actual lines of code doing so.FeaturesWorks everywhere Python (2.6+) can be installedHandles both 32-bit (stco) and 64-bit (co64) atomsHandles any file where the mdat atom is before the moov atomPreserves the order of other atomsCan replace the original file (if given no output file)Installing from PyPiTo install from PyPi, you may useeasy_installorpip:easy_install qtfaststartInstalling from sourceDownload a copy of the source,cdinto the top-levelqtfaststartdirectory, and run:python setup.py installIf you are installing to your system Python (instead of a virtualenv), you
may need root access (viasudoorsu).UsageSeeqtfaststart--helpfor more info! If outfile is not present then
the infile is overwritten:$ qtfaststart infile [outfile]To run without installing you can use:$ bin/qtfaststart infile [outfile]To see a list of top-level atoms and their order in the file:$ bin/qtfaststart --list infileIf on Windows, the qtfaststart script will not execute, so use:> python -m qtfaststart ...History2013-08-07: Copy input file permissions to output file.2013-08-06: Fix a bug producing 8kb mdat output.2013-07-05: Introduced Python 3 support.2013-07-05: Added launcher via ‘python -m qtfaststart’.2013-07-05: Internal refactoring for clarity and robustness. Functions
now work with named tuples. Backward compatability is maintained. Expect
a future, backward-incompatible release to replace other functions.2013-07-05: Created anAtomnamedtuple to represent a fourcc atom
(name, stream position, and size).2013-01-28: Support strange zero-name, zero-length atoms, re-license
under the MIT license, version bump to 1.72011-11-01: Fix long-standing os.SEEK_CUR bug, version bump to 1.62011-10-11: Packaged and published to PyPi by Greg Taylor
<gtaylor AT duointeractive DOT com>, version bump to 1.5.2010-02-21: Add support for final mdat atom with zero size, patch by
Dmitry Simakov <basilio AT j-vista DOT ru>, version bump to 1.4.2009-11-05: Added –sample option. Version bump to 1.32009-03-13: Update to be more library-friendly by using logging module,
rename fast_start => process, version bump to 1.22008-10-04: Bug fixes, support multiple atoms of the same type,
version bump to 1.12008-09-02: Initial releaseLicenseCopyright (C) 2008 - 2013  Daniel G. Taylor <dan@programmer-art.org>Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.