Question

I'm developing on using VS2010 with ffmpeg and tried the code from here. But VS says that it cannot find

  1. CODEC_FLAG2_BPYRAMID+CODEC_FLAG2_MIXED_REFS+CODEC_FLAG2_WPRED+CODEC_FLAG2_8X8DCT+CODEC_FLAG2_FASTPSKIP; // flags2=+bpyramid+mixed_refs+wpred+dct8x8+fastpskip
  2. X264_PART_I8X8+X264_PART_I4X4+X264_PART_P8X8+X264_PART_B8X8
  3. avCodecContext.crf

Where are they located?

Was it helpful?

Solution

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);

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top