php qt faststart,Python qtfaststart包_程序模块 - PyPI - Python中文网

QuickTime/MP4快速启动

通过以下方式启用QuickTime和MP4文件的流和伪流

将元数据和偏移量信息移动到文件的前面。

这个程序基于ffmpeg项目中的qt faststart.c,它是

发布到公共领域,以及ISO 14496-12:2005(官方

MP4规范),可从ISO获得或在线找到。

这个项目的目标是在没有编译的情况下运行(在

特别是,许多windows和mac os x用户在获取

qt faststart.c compiled),运行速度与c版本一样快

用户友好,并使用较少的实际代码行这样做。

功能Works everywhere Python (2.6+) can be installed

Handles both 32-bit (stco) and 64-bit (co64) atoms

Handles any file where the mdat atom is before the moov atom

Preserves the order of other atoms

Can replace the original file (if given no output file)

从pypi安装

要从pypi安装,可以使用easy_install或pip:easy_install qtfaststart

从源安装

将源cd的副本下载到顶层

qtfaststart目录,并运行:python setup.py install

如果要安装到系统python(而不是virtualenv),则

可能需要根访问(通过sudo或su)。

用法

有关详细信息,请参见qtfaststart --help!如果文件不存在,则

填充被覆盖:$ qtfaststart infile [outfile]

要在不安装的情况下运行,您可以使用:$ bin/qtfaststart infile [outfile]

要查看文件中顶级原子及其顺序的列表:$ bin/qtfaststart --list infile

如果在Windows上,则不会执行qtfaststart脚本,因此请使用:> python -m qtfaststart ...

历史记录2013-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 an ^{tt8}$ namedtuple 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.7

2011-11-01: Fix long-standing os.SEEK_CUR bug, version bump to 1.6

2011-10-11: Packaged and published to PyPi by Greg Taylor

, version bump to 1.5.

2010-02-21: Add support for final mdat atom with zero size, patch by

Dmitry Simakov , version bump to 1.4.

2009-11-05: Added –sample option. Version bump to 1.3

2009-03-13: Update to be more library-friendly by using logging module,

rename fast_start => process, version bump to 1.2

2008-10-04: Bug fixes, support multiple atoms of the same type,

version bump to 1.1

2008-09-02: Initial release

许可证

版权所有(C)2008-2013丹尼尔G.泰勒(Daniel G.Taylor)dan@programmer-art.org>

兹免费准许任何人取得副本

本软件和相关文档文件(“软件”)的

在软件中不受限制,包括但不限于

使用、复制、修改、合并、发布、分发、再授权和/或出售

软件的副本,并允许软件的用户

在满足以下条件的情况下,可以这样做:

上述版权公告及本许可公告须包括在

软件的拷贝或大部分。

本软件按“原样”提供,无任何形式的保证,明示或

默示的,包括但不限于适销性保证,

适合特定目的和不侵权。在任何情况下

作者或版权所有者应对任何索赔、损害或其他

责任,无论是在合同诉讼、侵权诉讼或其他诉讼中,

不属于或与软件、使用或其他交易有关

软件。

欢迎加入QQ群-->: 979659372

9ddc589a9bae9dd81334056da3504a2c.png

推荐PyPI第三方库

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值