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
773 stars 65 forks source link

ffmpeg_encoder 仅支持auto 控制threads数量,即使配置了threads,也没有使用配置值 #94

Closed lxllsl closed 8 months ago

lxllsl commented 8 months ago
    /* ffmpeg_encoder.cpp*/
    /** @addtogroup EncM
     * @{
     * @arg threads: specify the number of threads for encoder, "auto" by default
     * @} */
    if (!video_params_.has_key("threads")) {
        av_dict_set(&enc_opts, "threads", "auto", 0);
    }

    /* not use  threads configure  value */