BabitMF / bmf

Cross-platform, customizable multimedia/video processing framework. With strong GPU acceleration, heterogeneous design, multi-language support, easy to use, multi-framework compatible and high performance, the framework is ideal for transcoding, AI inference, algorithm integration, live video streaming, and more.
https://babitmf.github.io/
Apache License 2.0
733 stars 60 forks source link

请问这个框架可以用来做avif图片编码吗?美学模型可以对图片打分吗? #53

Open wacdev opened 10 months ago

wacdev commented 10 months ago

如题

sfeiwong commented 10 months ago
  1. 需要确保环境中ffmpeg版本是5.1以上,可以做avif图片编码,替换bmf配置参数中,类似: bmf.encode( video['video'], None, { "output_path": “output.avif”, "format": "image2", "video_params": { "codec": "libaom-av1", }, }
  2. 可以,美学模型本身是从图片训练给图片打分