You've already forked FrameTour-RenderWorker
- 删除 biz/ffmpeg.py 和 biz/task.py 旧版业务模块 - 删除 entity/ffmpeg.py FFmpeg 任务实体类 - 删除 config/__init__.py 旧版配置初始化 - 更新 constant/__init__.py 常量定义,从 v1/v2 版本改为统一版本 - 修改 handlers/base.py 基础处理器,替换 OSS 相关导入为存储服务 - 添加 subprocess_args 工具函数支持跨平台进程参数配置 - 新增 probe_video_info 函数用于视频信息探测 - 新增 probe_duration_json 函数用于媒体时长探测
16 lines
284 B
Python
16 lines
284 B
Python
# -*- coding: utf-8 -*-
|
|
"""
|
|
工具模块
|
|
|
|
提供系统信息采集等工具函数。
|
|
"""
|
|
|
|
from util.system import get_sys_info, get_capabilities, get_gpu_info, get_ffmpeg_version
|
|
|
|
__all__ = [
|
|
'get_sys_info',
|
|
'get_capabilities',
|
|
'get_gpu_info',
|
|
'get_ffmpeg_version',
|
|
]
|