mixvideo-v2/cargos/tvai/src
imeepos 522c6ed5eb Fix Topaz Video AI FFmpeg filter parameter errors (complete fix)
- Fix tvai_stb filter parameter names in all locations:
  * method -> full (0=auto crop, 1=full frame)
  * smooth -> smoothness (convert 0-100 to 0-16 range)

- Fix tvai_fi filter fps parameter in all three locations:
  * Always add explicit fps parameter to avoid default '0' value
  * Use fps=24 as default when target_fps is None or 0
  * Fixed in generate_filters_from_template (2 locations) and generate_complex_filter_chain

- Add debug logging in web_api.rs to track target_fps values

- Resolve all FFmpeg execution errors:
  * 'Unable to parse option value 0 as video rate'
  * 'Error applying option method to filter tvai_stb: Option not found'

Files modified:
- cargos/tvai/src/config/topaz_templates.rs (3 tvai_fi locations + tvai_stb fixes)
- cargos/tvai/src/web_api.rs (debug logging + target_fps handling)
- cargos/tvai-v2/src/ffmpeg.rs (additional fixes)
2025-08-18 14:18:35 +08:00
..
config Fix Topaz Video AI FFmpeg filter parameter errors (complete fix) 2025-08-18 14:18:35 +08:00
core feat: 修复tvai调用问题 2025-08-14 13:01:43 +08:00
filters fix: build error 2025-08-13 14:28:34 +08:00
image feat: 完成 tvai 库图片处理功能 (阶段四) 2025-08-11 15:51:03 +08:00
utils feat: 修复tvai调用问题 2025-08-14 13:01:43 +08:00
video feat: 修复tvai调用问题 2025-08-14 13:01:43 +08:00
lib.rs feat: 修复tvai调用问题 2025-08-14 13:01:43 +08:00
web_api.rs Fix Topaz Video AI FFmpeg filter parameter errors (complete fix) 2025-08-18 14:18:35 +08:00