feat: 扩展TVAI高级参数并修复编译错误

主要功能:
- 将TVAI可控参数从5个扩展到34个 (+29个新参数)
- 支持完整的FFmpeg编码参数控制
- 添加高级TVAI AI增强参数 (preblur, noise, details, halo, blur等)
- 支持输出尺寸控制和音频处理模式

 技术改进:
- 重新设计VideoUpscaleParams结构体
- 添加智能默认值和预设系统
- 优化参数验证和错误处理
- 改进FFmpeg滤镜构建逻辑

 修复编译错误:
- 修复E0063结构体字段缺失错误 (6处)
- 修复E0597生命周期错误 (3处)
- 消除未使用代码警告 (2处)
- 确保向后兼容性

 文档:
- 详细的高级参数使用指南
- 完整的编译错误修复总结
- 34个参数的分类和说明
This commit is contained in:
imeepos
2025-08-11 19:06:49 +08:00
parent f3c06cc777
commit 0a742f1e6b
9 changed files with 966 additions and 33 deletions

View File

@@ -180,6 +180,7 @@ pub struct ViewMetadata {
}
/// Custom deserializer that can handle both string and number types
#[allow(dead_code)]
fn deserialize_string_or_number<'de, D>(deserializer: D) -> Result<String, D::Error>
where
D: serde::Deserializer<'de>,