Skip to main content

Cxalio Studio Tools

语言 / Languages: 中文 | English

包含 6 个命令行工具和一个通用的 CLI 应用框架。

工具

Media Killer

Media Killer 通过解析 TOML 预设文件,为媒体文件创建批量转码任务,并调用 ffmpeg 执行。

通过 -g|--generate 参数可以生成预设文件模板:

mediakiller -g "新的预设.toml"

使用时,在命令之后指定多个预设文件和需要转码的文件(或文件夹):

mediakiller "预设1.toml" "预设2.toml" "媒体文件1.mp4" "媒体文件2.mov" "媒体文件夹/" ...

mediakiller 会自动识别预设文件并对源文件路径进行展开和递归搜索。

详细信息参见 Media Killer 帮助文档。

Media Scout

Media Scout 分析常见的影视后期工程文件,从中提取原始素材路径。输出到 stdout,方便重定向。

目前支持解析的格式:

  • 经典 XML 项目文件(Final Cut Pro 7 XML).xml
  • FCPXML 项目文件(Final Cut Pro X / 11 XML).fcpxml / .fcpxmld
  • 剪辑决定表(EDL).edl
  • DaVinci Resolve 元数据表格 .csv
  • 纯文本文件列表 .txt
mediascout "project.fcpxml" > sources.txt

输入 mediascout -h 查看详细选项。详细信息参见 Media Scout 帮助文档。

Media Killer 依赖于 Media Scout 中的工程文件探测功能。

FFpretty

FFpretty 是一个简单的 ffmpeg 包装。它直接透传所有参数给 ffmpeg,并提供 Rich 进度条显示。

ffpretty -i input.mp4 -c:v libx264 output.mp4

FFpretty 屏蔽了所有来自 ffmpeg 的输出;出错时需手动检查 ffmpeg 的错误信息。

Jpegger

Jpegger 是一个批量图片处理工具。支持色彩空间转换、按比例缩放、多格式输出(JPEG / PNG / WebP 等)。

jpegger input_dir/ output_dir/ --format webp --scale 50%

HostsKeeper

HostsKeeper 是一个 hosts 文件管理工具。它从多个来源获取 hosts 内容(本地文件、远程 URL),合并去重后写入系统 hosts 文件。支持按规则筛选内容与自动更新,并自动刷新 DNS 缓存(Windows / macOS)。

HostsKeeper 需要管理员权限才能修改 hosts 文件。

详细信息参见 HostsKeeper 帮助文档。

CxNote

CxNote 是终端里的快速便签工具。所有条目存在一个 JSON 文件里,按域组织;日常操作只有一个动词加一个参数:

cxnote add "买牛奶"      # 记一条
cxnote                   # 看当前域
cxnote finish 牛奶       # 做完划掉

除 list 外的所有动词执行成功后会回显当前域条目列表。详细信息参见 CxNote 帮助文档。

应用框架

所有工具均构建在 cx_tools.app 应用框架之上,提供统一的 CLI 应用生命周期管理、Rich 输出与中断处理。

安装

pip install cxalio-studio-tools
# 建议使用 pipx 独立安装
pipx install cxalio-studio-tools

要求 Python >= 3.12, < 3.15。

链接

返回项目首页:cx-studio-tk

Metadata

Release files for cxalio-studio-tools 1.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cxalio-studio-tools 1.4.2
File Size Uploaded Provenance Actions
cxalio_studio_tools-1.4.2.tar.gz 218.8 kB Without provenance Details for cxalio_studio_tools-1.4.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cxalio-studio-tools 1.4.2
File Interpreter ABI Platform Actions
cxalio_studio_tools-1.4.2-py3-none-any.whl Python 3 none any Details for cxalio_studio_tools-1.4.2-py3-none-any.whl

Total release size: 554.4 kB

Release files / cxalio_studio_tools-1.4.2.tar.gz

Download URL cxalio_studio_tools-1.4.2.tar.gz
Size 218.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b285fad9187c7d9d960025798c369212c36f11bb183a620e05a2683852347f25
BLAKE2b-256 checksum
How to use checksums
3efeb06805688f3617f20765ec8d9a810930961e403ed43f071f5287897981fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / cxalio_studio_tools-1.4.2-py3-none-any.whl

Download URL cxalio_studio_tools-1.4.2-py3-none-any.whl
Size 335.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa089fcda6ce41bd594241c6deebacfbe7142ee86effb97c652f5f2eafe92a24
BLAKE2b-256 checksum
How to use checksums
58c12d571072a04349a9ee5b77004024c2dcf3bb45b2fc52a2606f375c1e492d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for cxalio-studio-tools 1.4.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.4.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page