Error: libavcodec/libx264.c:282:9: error: ‘x264_bit_depth’ undeclared
Solution: Open the x264 header file x264_config.h
Found in.
#define X264_BIT_DEPTH 8
#define X264_GPL 1
#define X264_INTERLACED 1
#define X264_CHROMA_FORMAT 0
#define X264_VERSION ""
#define X264_POINTVER "0.148.x"
Then it is found that there is a case problem
and open the ffmpeg source code to replace x264_bit_Depth is x264_ BIT_ Depth 0 was compiled and passed