Repository navigation
Releases
Releases · danielyaa5/qtfaststart2
2.2.0
- Fix: running on an already optimised file with no output filename replaced the file with an empty one.
See #1 - Fix: passing the same file as input and output destroyed it. This is now an error.
- Fix: an mdat atom with size 0 (running to the end of the file) was written out as nothing.
- Fix: chunk offsets were wrong when the moov or a free atom sat between two mdat atoms.
- Fail with a clear error instead of crashing when moving moov would push stco offsets past 4 GiB.
- Invalid atom sizes now raise MalformedFileError instead of looping forever.
process()now returns True when it wrote a file and False when the file was already optimised.- Replacing a file in place now writes the temporary file next to it, and never leaves it behind.
- Files are closed properly, and
log.warnis replaced bylog.warning. - Add tests:
python -m unittest discover tests - The
qtfaststart2command is now a console script entry point, so it works on Windows too. - Requires Python 3.7 or newer. Python 2 users stay on 2.1.1.
- Rewrote the README, with the full option list and the Python API.
- Releases are published to PyPI from GitHub Actions.
Readme updates, skipped a few versions here because of an accidental mess-up with PyPi publishing
2.1.1 Readme updates, skipped a few versions here because of an accidental …
Fix import errors by renaming everything from qtfaststart to qtfaststart2
2.0.3 Fix import errors by renaming everything from qtfaststart to qtfastst…