On Tue, Oct 9, 2018 at 3:50 AM Landgraph <[email protected]> wrote: > 1. Old logic meaned: everywhere, except Windows, ffmpeg has to use HW > acceleration, but on Windows ffmpeg has to use (unavailable) software > encode by default > 2. Software encode is available only if you provide corresponding > software MediaSDK library, which isn't provided with ffmpeg. More > information could be found in > > https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/samples/readme-encode_linux.pdf > 3. HW encode is available on Windows in the driver by default > --- > libavcodec/qsvenc_hevc.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/libavcodec/qsvenc_hevc.c b/libavcodec/qsvenc_hevc.c > index 4339b316a3..e7ca27d49f 100644 > --- a/libavcodec/qsvenc_hevc.c > +++ b/libavcodec/qsvenc_hevc.c > @@ -217,11 +217,7 @@ static av_cold int qsv_enc_close(AVCodecContext > *avctx) > return ff_qsv_enc_close(avctx, &q->qsv); > } > > -#if defined(_WIN32) > -#define LOAD_PLUGIN_DEFAULT LOAD_PLUGIN_HEVC_SW > -#else > #define LOAD_PLUGIN_DEFAULT LOAD_PLUGIN_HEVC_HW > -#endif > > #define OFFSET(x) offsetof(QSVHEVCEncContext, x) > #define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM > -- > 2.14.1.windows.1 > > > _______________________________________________ > ffmpeg-devel mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
it is good switch for HW configuration per default, agree. LGTM regards Maxym _______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
