Files
ucloud-comfyui-plugin/requirements.txt
T
jason.mei c2d2ec96b2 feat(vidu,wan_ai): add video dimension extraction with av library
- Add `get_dimensions()` method to VideoFromFile fallback class across all vidu and wan_ai modules
- Implement PyAV (av) library integration to extract video width and height from container streams
- Add dimension caching with `_width` and `_height` attributes to avoid redundant parsing
- Implement fallback dimensions (1280x720) when video parsing fails
- Add proper stream seeking to reset file position after dimension extraction
- Update requirements.txt to include av library dependency
- Ensure consistent video dimension handling across vidu_t2v, vidu_i2v, vidu_ref2v, vidu_startend2v, vidu_extend, wan_ai_t2v, and wan_ai_i2v modules
2025-12-29 18:11:04 +08:00

4 lines
67 B
Plaintext

requests >= 2.32.4
pillow >= 11
openai >= 1.107.0
GitPython==3.1.45