diff --git a/README.md b/README.md index 97aea31..ea4ae40 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,15 @@ ## 计划支持 我们持续扩展支持的模型列表,欢迎贡献! +## 环境依赖 +1. ffmpeg: +* ubuntu/WSL +```bash +sudo apt-get update +sudo apt-get install -y pkg-config ffmpeg libavutil-dev libavcodec-dev libavformat-dev libavfilter-dev libavdevice-dev libswresample-dev libswscale-dev +``` +* windows参考: https://github.com/zmwangx/rust-ffmpeg/wiki/Notes-on-building + ## 安装 ### 作为库使用 * cargo add aha diff --git a/tests/test_qwen3vl.rs b/tests/test_qwen3vl.rs index 1186bd0..ee8414a 100644 --- a/tests/test_qwen3vl.rs +++ b/tests/test_qwen3vl.rs @@ -24,17 +24,10 @@ fn qwen3vl_generate() -> Result<()> { { "url": "./assets/video/video_test.mp4" } - }, - { - "type": "image", - "image_url": - { - "url": "file://./assets/img/voxcpm.png" - } - }, + }, { "type": "text", - "text": "描述视频和图片内容" + "text": "视频中发生了什么" } ] }