I'm developing on using VS2010 with ffmpeg and tried the code from here. But VS says that it cannot find
CODEC_FLAG2_BPYRAMID+CODEC_FLAG2_MIXED_REFS+CODEC_FLAG2_WPRED+CODEC_FLAG2_8X8DCT+CODEC_FLAG2_FASTPSKIP; // flags2=+bpyramid+mixed_refs+wpred+dct8x8+fastpskip
X264_PART_I8X8+X264_PART_I4X4+X264_PART_P8X8+X264_PART_B8X8
avCodecContext.crf
Where are they located?
As @RomanR said, some flags and params were deprecated. But, we can still set them using av_opt_set
function. For example, to set crf=23
we use av_opt_set(outStream->codec->priv_data, "crf", "23", 0);