markus-perl / ffmpeg-build-script

The FFmpeg build script provides an easy way to build a static FFmpeg on OSX and Linux with non-free codecs included.
MIT License
1.05k stars 333 forks source link

AV1 codec #23

Closed Shatatel closed 5 years ago

Shatatel commented 5 years ago

I know it's a bit early but AV1 codec option will be a nice option to get.

EwoutH commented 5 years ago

AV1 support would be really nice indeed.

markus-perl commented 5 years ago

AV1 support was added with the latest commit. AV1 is still experimental and very slow.

DaRealestUK commented 5 years ago

I get a failed build from av1, when building inside an alpine linux docker. Is there anyway to exclude this part?

Sample from logs:

building` pkg-config

=======================

pkg-config already built. Remove /config/ffmpeg-build/packages/pkg-config.done lockfile to rebuild it.

building cmake

=======================

cmake already built. Remove /config/ffmpeg-build/packages/cmake.done lockfile to rebuild it.

building vid_stab

=======================

vid_stab already built. Remove /config/ffmpeg-build/packages/vid_stab.done lockfile to rebuild it.

building x265

=======================

x265 already built. Remove /config/ffmpeg-build/packages/x265.done lockfile to rebuild it.

building fdk_aac

=======================

fdk_aac already built. Remove /config/ffmpeg-build/packages/fdk_aac.done lockfile to rebuild it.


building av1

=======================

$ cmake -DCMAKE_INSTALL_PREFIX:PATH=/config/ffmpeg-build/workspace /config/ffmpeg-build/packages/av1

$ make -j 8

[  1%] Updating version info if necessary.

[  2%] Built target aom_encoder_app_util

[  3%] Built target webm

[  3%] Built target aom_gtest

[  4%] Built target aom_common_app_util

[  8%] Built target yuv

[  8%] Built target aom_version_check

Scanning dependencies of target aom_version

[  8%] Building C object CMakeFiles/aom_version.dir/gen_src/aom_version_dummy.c.o

[  8%] Linking C static library libaom_version.a

[  8%] Built target aom_version

Scanning dependencies of target aom_pc

Scanning dependencies of target aom_rtcd

[  8%] Building C object CMakeFiles/aom_pc.dir/gen_src/aom_pc_dummy.c.o

[  8%] Building C object CMakeFiles/aom_rtcd.dir/aom_dsp/aom_dsp_rtcd.c.o

[  8%] Building C object CMakeFiles/aom_rtcd.dir/aom_scale/aom_scale_rtcd.c.o

[  9%] Building C object CMakeFiles/aom_rtcd.dir/av1/common/av1_rtcd.c.o

[  9%] Linking C static library libaom_pc.a

[ 10%] Built target aom_pc

[ 11%] Built target aom_rtcd

Scanning dependencies of target aom_dsp_encoder_ssse3_intrinsics

Scanning dependencies of target aom_av1_common_sse2_intrinsics

Scanning dependencies of target aom_av1_common_ssse3_intrinsics

Scanning dependencies of target aom_av1_decoder

Scanning dependencies of target aom_av1_encoder_sse4_intrinsics

Scanning dependencies of target aom_av1_encoder_avx2_intrinsics

Scanning dependencies of target aom_av1_common_sse4_intrinsics

[ 11%] Building C object CMakeFiles/aom_dsp_encoder_ssse3_intrinsics.dir/aom_dsp/x86/masked_sad_intrin_ssse3.c.o

[ 11%] Building C object CMakeFiles/aom_av1_common_sse2_intrinsics.dir/av1/common/cdef_block_sse2.c.o

Scanning dependencies of target aom_av1_encoder

[ 11%] Building C object CMakeFiles/aom_av1_common_ssse3_intrinsics.dir/av1/common/cdef_block_ssse3.c.o

[ 11%] Building C object CMakeFiles/aom_av1_encoder_sse4_intrinsics.dir/av1/encoder/x86/av1_fwd_txfm2d_sse4.c.o

[ 12%] Building C object CMakeFiles/aom_av1_encoder_avx2_intrinsics.dir/av1/encoder/x86/av1_quantize_avx2.c.o

[ 12%] Building C object CMakeFiles/aom_av1_decoder.dir/av1/av1_dx_iface.c.o

Failed to Execute make -j 8

[ 12%] Building C object CMakeFiles/aom_av1_common_sse4_intrinsics.dir/av1/common/cdef_block_sse4.c.o

[ 13%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/av1_cx_iface.c.o

[ 13%] Building C object CMakeFiles/aom_av1_encoder_avx2_intrinsics.dir/av1/encoder/x86/av1_highbd_quantize_avx2.c.o

[ 13%] Building C object CMakeFiles/aom_av1_decoder.dir/av1/decoder/decodeframe.c.o

[ 13%] Building C object CMakeFiles/aom_av1_encoder_avx2_intrinsics.dir/av1/encoder/x86/corner_match_avx2.c.o

[ 14%] Building C object CMakeFiles/aom_av1_encoder_sse4_intrinsics.dir/av1/encoder/x86/av1_highbd_quantize_sse4.c.o

[ 14%] Building C object CMakeFiles/aom_av1_common_ssse3_intrinsics.dir/av1/common/x86/av1_inv_txfm_ssse3.c.o

[ 14%] Building C object CMakeFiles/aom_av1_common_sse4_intrinsics.dir/av1/common/x86/av1_convolve_horiz_rs_sse4.c.o

[ 14%] Building C object CMakeFiles/aom_av1_common_sse2_intrinsics.dir/av1/common/x86/cfl_sse2.c.o

[ 14%] Building C object CMakeFiles/aom_av1_encoder_avx2_intrinsics.dir/av1/encoder/x86/error_intrin_avx2.c.o

[ 14%] Building C object CMakeFiles/aom_av1_encoder_sse4_intrinsics.dir/av1/encoder/x86/corner_match_sse4.c.o

[ 14%] Building C object CMakeFiles/aom_av1_encoder_sse4_intrinsics.dir/av1/encoder/x86/encodetxb_sse4.c.o

[ 14%] Building C object CMakeFiles/aom_av1_common_sse2_intrinsics.dir/av1/common/x86/convolve_2d_sse2.c.o

[ 14%] Building C object CMakeFiles/aom_av1_common_sse4_intrinsics.dir/av1/common/x86/av1_convolve_scale_sse4.c.o

[ 14%] Building C object CMakeFiles/aom_dsp_encoder_ssse3_intrinsics.dir/aom_dsp/x86/masked_variance_intrin_ssse3.c.o

[ 14%] Building C object CMakeFiles/aom_av1_encoder_avx2_intrinsics.dir/av1/encoder/x86/av1_fwd_txfm2d_avx2.c.o

[ 14%] Building C object CMakeFiles/aom_av1_common_sse2_intrinsics.dir/av1/common/x86/convolve_sse2.c.o

[ 14%] Building C object CMakeFiles/aom_av1_encoder_sse4_intrinsics.dir/av1/encoder/x86/highbd_fwd_txfm_sse4.c.o

[ 14%] Building C object CMakeFiles/aom_av1_common_sse2_intrinsics.dir/av1/common/x86/highbd_convolve_2d_sse2.c.o

[ 15%] Building C object CMakeFiles/aom_av1_common_sse2_intrinsics.dir/av1/common/x86/jnt_convolve_sse2.c.o

[ 16%] Building C object CMakeFiles/aom_av1_common_sse4_intrinsics.dir/av1/common/x86/av1_highbd_convolve_sse4.c.o

[ 16%] Building C object CMakeFiles/aom_av1_common_sse4_intrinsics.dir/av1/common/x86/av1_txfm_sse4.c.o

[ 16%] Building C object CMakeFiles/aom_av1_common_sse4_intrinsics.dir/av1/common/x86/filterintra_sse4.c.o

[ 16%] Building C object CMakeFiles/aom_av1_common_sse2_intrinsics.dir/av1/common/x86/wiener_convolve_sse2.c.o

[ 16%] Built target aom_av1_common_sse2_intrinsics

[ 17%] Built target aom_util

Scanning dependencies of target aom_scale

[ 17%] Building C object CMakeFiles/aom_scale.dir/aom_scale/generic/aom_scale.c.o

[ 17%] Building C object CMakeFiles/aom_av1_common_sse4_intrinsics.dir/av1/common/x86/highbd_convolve_2d_sse4.c.o

[ 17%] Building C object CMakeFiles/aom_scale.dir/aom_scale/generic/gen_scalers.c.o

[ 17%] Building C object CMakeFiles/aom_scale.dir/aom_scale/generic/yv12extend.c.o

[ 17%] Building C object CMakeFiles/aom_av1_common_sse4_intrinsics.dir/av1/common/x86/highbd_inv_txfm_sse4.c.o

[ 17%] Built target aom_scale

Scanning dependencies of target aom_dsp_encoder_sse2_intrinsics

[ 18%] Building C object CMakeFiles/aom_dsp_encoder_sse2_intrinsics.dir/aom_dsp/x86/fwd_txfm_sse2.c.o

[ 18%] Building C object CMakeFiles/aom_dsp_encoder_sse2_intrinsics.dir/aom_dsp/x86/highbd_subtract_sse2.c.o

[ 18%] Building C object CMakeFiles/aom_av1_common_ssse3_intrinsics.dir/av1/common/x86/cfl_ssse3.c.o

[ 18%] Building C object CMakeFiles/aom_dsp_encoder_sse2_intrinsics.dir/aom_dsp/x86/highbd_variance_sse2.c.o

[ 18%] Building C object CMakeFiles/aom_av1_encoder_sse4_intrinsics.dir/av1/encoder/x86/rdopt_sse4.c.o

[ 19%] Building C object CMakeFiles/aom_av1_decoder.dir/av1/decoder/decodemv.c.o

[ 20%] Building C object CMakeFiles/aom_dsp_encoder_ssse3_intrinsics.dir/aom_dsp/x86/quantize_ssse3.c.o

[ 21%] Building C object CMakeFiles/aom_av1_encoder_sse4_intrinsics.dir/av1/encoder/x86/pickrst_sse4.c.o

[ 21%] Building C object CMakeFiles/aom_dsp_encoder_ssse3_intrinsics.dir/aom_dsp/x86/variance_impl_ssse3.c.o

[ 21%] Building C object CMakeFiles/aom_av1_encoder_avx2_intrinsics.dir/av1/encoder/x86/highbd_fwd_txfm_avx2.c.o

[ 21%] Building C object CMakeFiles/aom_av1_common_ssse3_intrinsics.dir/av1/common/x86/highbd_convolve_2d_ssse3.c.o

[ 21%] Building C object CMakeFiles/aom_dsp_encoder_ssse3_intrinsics.dir/aom_dsp/x86/jnt_variance_ssse3.c.o

[ 22%] Building C object CMakeFiles/aom_av1_common_ssse3_intrinsics.dir/av1/common/x86/highbd_wiener_convolve_ssse3.c.o

[ 22%] Building C object CMakeFiles/aom_av1_common_ssse3_intrinsics.dir/av1/common/x86/jnt_convolve_ssse3.c.o

[ 22%] Building C object CMakeFiles/aom_av1_common_ssse3_intrinsics.dir/av1/common/x86/reconinter_ssse3.c.o

[ 22%] Building C object CMakeFiles/aom_dsp_encoder_ssse3_intrinsics.dir/aom_dsp/x86/jnt_sad_ssse3.c.o

[ 22%] Built target aom_av1_common_ssse3_intrinsics

[ 23%] Building C object CMakeFiles/aom_av1_encoder_avx2_intrinsics.dir/av1/encoder/x86/wedge_utils_avx2.c.o

[ 23%] Building C object CMakeFiles/aom_dsp_encoder_sse2_intrinsics.dir/aom_dsp/x86/quantize_sse2.c.o

[ 24%] Building C object CMakeFiles/aom_dsp_encoder_sse2_intrinsics.dir/aom_dsp/x86/sum_squares_sse2.c.o

[ 24%] Built target aom_av1_encoder_sse4_intrinsics

[ 24%] Building C object CMakeFiles/aom_dsp_encoder_sse2_intrinsics.dir/aom_dsp/x86/variance_sse2.c.o

[ 24%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/aq_complexity.c.o

[ 24%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/aq_cyclicrefresh.c.o

[ 24%] Built target aom_dsp_encoder_ssse3_intrinsics

[ 24%] Building C object CMakeFiles/aom_av1_decoder.dir/av1/decoder/decoder.c.o

[ 24%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/aq_variance.c.o

[ 25%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/av1_fwd_txfm2d.c.o

[ 25%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/av1_multi_thread.c.o

[ 25%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/av1_quantize.c.o

[ 25%] Building C object CMakeFiles/aom_av1_decoder.dir/av1/decoder/decodetxb.c.o

[ 25%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/bitstream.c.o

[ 26%] Building C object CMakeFiles/aom_av1_common_sse4_intrinsics.dir/av1/common/x86/highbd_jnt_convolve_sse4.c.o

[ 26%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/context_tree.c.o

[ 26%] Building C object CMakeFiles/aom_av1_decoder.dir/av1/decoder/detokenize.c.o

[ 26%] Building C object CMakeFiles/aom_av1_decoder.dir/av1/decoder/obu.c.o

[ 26%] Building C object CMakeFiles/aom_av1_common_sse4_intrinsics.dir/av1/common/x86/highbd_warp_plane_sse4.c.o

[ 26%] Building C object CMakeFiles/aom_av1_common_sse4_intrinsics.dir/av1/common/x86/intra_edge_sse4.c.o

[ 26%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/corner_match.c.o

[ 26%] Built target aom_dsp_encoder_sse2_intrinsics

Scanning dependencies of target aom_av1_encoder_sse3_intrinsics

[ 26%] Building C object CMakeFiles/aom_av1_encoder_sse3_intrinsics.dir/av1/encoder/x86/ml_sse3.c.o

[ 26%] Building C object CMakeFiles/aom_av1_common_sse4_intrinsics.dir/av1/common/x86/selfguided_sse4.c.o

[ 26%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/encodeframe.c.o

[ 26%] Built target aom_av1_decoder

Scanning dependencies of target aom_dsp_encoder

[ 26%] Built target aom_av1_encoder_sse3_intrinsics

Scanning dependencies of target aom_dsp_common_sse2_intrinsics

[ 26%] Building C object CMakeFiles/aom_dsp_encoder.dir/aom_dsp/fwd_txfm.c.o

[ 26%] Building C object CMakeFiles/aom_av1_encoder_avx2_intrinsics.dir/av1/encoder/x86/encodetxb_avx2.c.o

[ 26%] Building C object CMakeFiles/aom_dsp_common_sse2_intrinsics.dir/aom_dsp/x86/aom_subpixel_8t_intrin_sse2.c.o

[ 26%] Building C object CMakeFiles/aom_dsp_encoder.dir/aom_dsp/noise_util.c.o

[ 27%] Building C object CMakeFiles/aom_dsp_encoder.dir/aom_dsp/psnr.c.o

[ 27%] Building C object CMakeFiles/aom_dsp_common_sse2_intrinsics.dir/aom_dsp/x86/aom_asm_stubs.c.o

[ 27%] Building C object CMakeFiles/aom_dsp_encoder.dir/aom_dsp/sad.c.o

[ 27%] Building C object CMakeFiles/aom_av1_encoder_avx2_intrinsics.dir/av1/encoder/x86/rdopt_avx2.c.o

[ 28%] Building C object CMakeFiles/aom_av1_common_sse4_intrinsics.dir/av1/common/x86/warp_plane_sse4.c.o

[ 29%] Building C object CMakeFiles/aom_dsp_common_sse2_intrinsics.dir/aom_dsp/x86/fft_sse2.c.o

[ 29%] Building C object CMakeFiles/aom_dsp_encoder.dir/aom_dsp/sse.c.o

[ 29%] Building C object CMakeFiles/aom_dsp_encoder.dir/aom_dsp/sad_av1.c.o

[ 29%] Building C object CMakeFiles/aom_av1_encoder_avx2_intrinsics.dir/av1/encoder/x86/pickrst_avx2.c.o

[ 29%] Building C object CMakeFiles/aom_dsp_common_sse2_intrinsics.dir/aom_dsp/x86/highbd_convolve_sse2.c.o

[ 29%] Built target aom_av1_common_sse4_intrinsics

Scanning dependencies of target aom_dsp_encoder_avx2_intrinsics

[ 29%] Building C object CMakeFiles/aom_dsp_encoder_avx2_intrinsics.dir/aom_dsp/x86/masked_sad_intrin_avx2.c.o

[ 29%] Building C object CMakeFiles/aom_dsp_common_sse2_intrinsics.dir/aom_dsp/x86/highbd_intrapred_sse2.c.o

[ 29%] Building C object CMakeFiles/aom_dsp_common_sse2_intrinsics.dir/aom_dsp/x86/highbd_loopfilter_sse2.c.o

[ 30%] Building C object CMakeFiles/aom_dsp_encoder_avx2_intrinsics.dir/aom_dsp/x86/subtract_avx2.c.o

[ 30%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/encodemb.c.o

[ 30%] Building C object CMakeFiles/aom_dsp_encoder_avx2_intrinsics.dir/aom_dsp/x86/highbd_quantize_intrin_avx2.c.o

[ 30%] Building C object CMakeFiles/aom_dsp_encoder_avx2_intrinsics.dir/aom_dsp/x86/sad4d_avx2.c.o

[ 30%] Built target aom_av1_encoder_avx2_intrinsics

Scanning dependencies of target aom_dsp_common_sse4_1_intrinsics

[ 30%] Building C object CMakeFiles/aom_dsp_common_sse4_1_intrinsics.dir/aom_dsp/x86/blend_a64_hmask_sse4.c.o

[ 30%] Building C object CMakeFiles/aom_dsp_common_sse4_1_intrinsics.dir/aom_dsp/x86/blend_a64_mask_sse4.c.o

[ 30%] Building C object CMakeFiles/aom_dsp_common_sse4_1_intrinsics.dir/aom_dsp/x86/blend_a64_vmask_sse4.c.o

[ 30%] Building C object CMakeFiles/aom_dsp_common_sse2_intrinsics.dir/aom_dsp/x86/intrapred_sse2.c.o

[ 30%] Building C object CMakeFiles/aom_dsp_encoder_avx2_intrinsics.dir/aom_dsp/x86/sad_avx2.c.o

[ 31%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/encodemv.c.o

[ 31%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/encode_strategy.c.o

[ 31%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/encoder.c.o

[ 31%] Building C object CMakeFiles/aom_dsp_encoder_avx2_intrinsics.dir/aom_dsp/x86/sad_highbd_avx2.c.o

[ 31%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/encodetxb.c.o

[ 32%] Building C object CMakeFiles/aom_dsp_common_sse2_intrinsics.dir/aom_dsp/x86/loopfilter_sse2.c.o

[ 32%] Built target aom_dsp_common_sse4_1_intrinsics

[ 32%] Building C object CMakeFiles/aom_dsp_common_sse2_intrinsics.dir/aom_dsp/x86/avg_intrin_sse2.c.o

[ 33%] Building C object CMakeFiles/aom_dsp_encoder_avx2_intrinsics.dir/aom_dsp/x86/sad_impl_avx2.c.o

[ 33%] Building C object CMakeFiles/aom_dsp_encoder_avx2_intrinsics.dir/aom_dsp/x86/variance_avx2.c.o

[ 33%] Building C object CMakeFiles/aom_dsp_encoder_avx2_intrinsics.dir/aom_dsp/x86/highbd_variance_avx2.c.o

[ 33%] Built target aom_dsp_common_sse2_intrinsics

[ 33%] Building C object CMakeFiles/aom_dsp_encoder_avx2_intrinsics.dir/aom_dsp/x86/sse_avx2.c.o

[ 33%] Building C object CMakeFiles/aom_dsp_encoder_avx2_intrinsics.dir/aom_dsp/x86/variance_impl_avx2.c.o

[ 33%] Building C object CMakeFiles/aom_dsp_encoder_avx2_intrinsics.dir/aom_dsp/x86/sum_squares_avx2.c.o

[ 33%] Built target aom_mem

[ 33%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/ethread.c.o

[ 33%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/firstpass.c.o

[ 34%] Built target aom_dsp_encoder_avx2_intrinsics

[ 34%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/global_motion.c.o

Scanning dependencies of target aom_dsp

[ 35%] Building C object CMakeFiles/aom_dsp.dir/gen_src/aom_av1_dummy.c.o

[ 35%] Building C object CMakeFiles/aom_dsp.dir/gen_src/aom_dsp_dummy.c.o

[ 35%] Built target aom_dsp

[ 35%] Built target aom_av1_encoder_sse42_intrinsics

[ 35%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/hash_motion.c.o

[ 36%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/hybrid_fwd_txfm.c.o

[ 36%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/lookahead.c.o

[ 36%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/mbgraph.c.o

[ 36%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/mcomp.c.o

Scanning dependencies of target aom_dsp_encoder_sse4_1_intrinsics

[ 36%] Building C object CMakeFiles/aom_dsp_encoder_sse4_1_intrinsics.dir/aom_dsp/x86/highbd_variance_sse4.c.o

[ 36%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/ml.c.o

[ 36%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/pickcdef.c.o

[ 37%] Building C object CMakeFiles/aom_dsp_encoder_sse4_1_intrinsics.dir/aom_dsp/x86/obmc_variance_sse4.c.o

[ 37%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/picklpf.c.o

[ 37%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/pickrst.c.o

[ 38%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/ratectrl.c.o

Scanning dependencies of target aom_av1_common_avx2_intrinsics

[ 38%] Building C object CMakeFiles/aom_av1_common_avx2_intrinsics.dir/av1/common/cdef_block_avx2.c.o

[ 38%] Building C object CMakeFiles/aom_av1_common_avx2_intrinsics.dir/av1/common/x86/av1_inv_txfm_avx2.c.o

[ 38%] Built target aom_dsp_encoder_sse4_1_intrinsics

Scanning dependencies of target aom_dsp_common_avx2_intrinsics

[ 39%] Building C object CMakeFiles/aom_av1_common_avx2_intrinsics.dir/av1/common/x86/cfl_avx2.c.o

[ 39%] Building C object CMakeFiles/aom_dsp_common_avx2_intrinsics.dir/aom_dsp/x86/aom_subpixel_8t_intrin_avx2.c.o

[ 40%] Building C object CMakeFiles/aom_dsp_common_avx2_intrinsics.dir/aom_dsp/x86/fft_avx2.c.o

[ 40%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/rd.c.o

[ 40%] Building C object CMakeFiles/aom_dsp_common_avx2_intrinsics.dir/aom_dsp/x86/highbd_convolve_avx2.c.o

[ 40%] Building C object CMakeFiles/aom_dsp_common_avx2_intrinsics.dir/aom_dsp/x86/highbd_loopfilter_avx2.c.o

[ 40%] Building C object CMakeFiles/aom_dsp_common_avx2_intrinsics.dir/aom_dsp/x86/intrapred_avx2.c.o

[ 40%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/rdopt.c.o

[ 40%] Building C object CMakeFiles/aom_dsp_common_avx2_intrinsics.dir/aom_dsp/x86/blend_a64_mask_avx2.c.o

[ 40%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/reconinter_enc.c.o

[ 41%] Building C object CMakeFiles/aom_dsp_encoder.dir/aom_dsp/sum_squares.c.o

[ 41%] Building C object CMakeFiles/aom_dsp_encoder.dir/aom_dsp/variance.c.o

[ 41%] Building C object CMakeFiles/aom_av1_common_avx2_intrinsics.dir/av1/common/x86/convolve_2d_avx2.c.o

[ 41%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/segmentation.c.o

[ 41%] Building C object CMakeFiles/aom_av1_common_avx2_intrinsics.dir/av1/common/x86/convolve_avx2.c.o

[ 42%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/speed_features.c.o

[ 42%] Building C object CMakeFiles/aom_av1_common_avx2_intrinsics.dir/av1/common/x86/highbd_convolve_2d_avx2.c.o

[ 43%] Building C object CMakeFiles/aom_dsp_common_avx2_intrinsics.dir/aom_dsp/x86/avg_intrin_avx2.c.o

[ 43%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/temporal_filter.c.o

[ 43%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/tokenize.c.o

[ 43%] Building C object CMakeFiles/aom_av1_common_avx2_intrinsics.dir/av1/common/x86/highbd_inv_txfm_avx2.c.o

[ 43%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/tpl_model.c.o

[ 43%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/wedge_utils.c.o

[ 43%] Building C object CMakeFiles/aom_av1_encoder.dir/av1/encoder/dwt.c.o

Scanning dependencies of target aom_av1_encoder_sse2_intrinsics

[ 43%] Built target aom_dsp_common_avx2_intrinsics

Scanning dependencies of target aom_dsp_common

[ 43%] Building C object CMakeFiles/aom_av1_encoder_sse2_intrinsics.dir/av1/encoder/x86/av1_fwd_txfm_sse2.c.o

[ 43%] Building C object CMakeFiles/aom_dsp_common.dir/aom_dsp/aom_convolve.c.o

[ 43%] Building C object CMakeFiles/aom_av1_encoder_sse2_intrinsics.dir/av1/encoder/x86/av1_quantize_sse2.c.o

[ 44%] Building C object CMakeFiles/aom_dsp_common.dir/aom_dsp/blend_a64_hmask.c.o

[ 45%] Building C object CMakeFiles/aom_av1_common_avx2_intrinsics.dir/av1/common/x86/highbd_jnt_convolve_avx2.c.o

[ 45%] Building C object CMakeFiles/aom_dsp_common.dir/aom_dsp/blend_a64_mask.c.o

[ 45%] Building C object CMakeFiles/aom_dsp_common.dir/aom_dsp/blend_a64_vmask.c.o

[ 45%] Building C object CMakeFiles/aom_av1_common_avx2_intrinsics.dir/av1/common/x86/highbd_wiener_convolve_avx2.c.o

[ 46%] Building C object CMakeFiles/aom_dsp_common.dir/aom_dsp/intrapred.c.o

[ 46%] Building C object CMakeFiles/aom_dsp_common.dir/aom_dsp/loopfilter.c.o

[ 46%] Building C object CMakeFiles/aom_av1_common_avx2_intrinsics.dir/av1/common/x86/jnt_convolve_avx2.c.o

[ 46%] Building C object CMakeFiles/aom_av1_common_avx2_intrinsics.dir/av1/common/x86/reconinter_avx2.c.o

[ 46%] Building C object CMakeFiles/aom_av1_common_avx2_intrinsics.dir/av1/common/x86/selfguided_avx2.c.o

[ 46%] Building C object CMakeFiles/aom_dsp_common.dir/aom_dsp/subtract.c.o

[ 47%] Building C object CMakeFiles/aom_av1_common_avx2_intrinsics.dir/av1/common/x86/wiener_convolve_avx2.c.o

[ 47%] Building C object CMakeFiles/aom_av1_encoder_sse2_intrinsics.dir/av1/encoder/x86/encodetxb_sse2.c.o

[ 47%] Building C object CMakeFiles/aom_dsp_common.dir/aom_dsp/avg.c.o

[ 47%] Built target aom_av1_common_avx2_intrinsics

[ 48%] Building C object CMakeFiles/aom_av1_encoder_sse2_intrinsics.dir/av1/encoder/x86/wedge_utils_sse2.c.o

[ 49%] Built target aom_dsp_decoder

Scanning dependencies of target aom_dsp_common_ssse3_intrinsics

Scanning dependencies of target aom_av1_common

[ 49%] Building C object CMakeFiles/aom_dsp_common_ssse3_intrinsics.dir/aom_dsp/x86/aom_subpixel_8t_intrin_ssse3.c.o

[ 50%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/alloccommon.c.o

[ 50%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/av1_inv_txfm2d.c.o

[ 50%] Building C object CMakeFiles/aom_dsp_common_ssse3_intrinsics.dir/aom_dsp/x86/highbd_convolve_ssse3.c.o

[ 50%] Building C object CMakeFiles/aom_dsp_common_ssse3_intrinsics.dir/aom_dsp/x86/intrapred_ssse3.c.o

[ 50%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/av1_loopfilter.c.o

[ 50%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/av1_txfm.c.o

[ 51%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/blockd.c.o

[ 51%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/cdef.c.o

[ 51%] Built target aom_av1_encoder_sse2_intrinsics

[ 51%] Built target aom_dsp_common_ssse3_intrinsics

Scanning dependencies of target aom_av1_encoder_sse2

[ 51%] Built target aom_decoder_app_util

[ 51%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/cdef_block.c.o

Scanning dependencies of target aom_dsp_encoder_avx

[ 51%] Building C object CMakeFiles/aom_dsp_encoder_avx.dir/gen_src/aom_dsp_encoder_avx_dummy.c.o

[ 51%] Building C object CMakeFiles/aom_av1_encoder_sse2.dir/gen_src/aom_av1_encoder_sse2_dummy.c.o

[ 52%] Linking C static library libaom_av1_encoder_sse2.a

[ 52%] Linking C static library libaom_dsp_encoder_avx.a

[ 52%] Built target aom_av1_encoder_sse2

Scanning dependencies of target aom_av1

[ 52%] Building C object CMakeFiles/aom_av1.dir/gen_src/aom_av1_dummy.c.o

[ 52%] Built target aom_dsp_encoder_avx

[ 53%] Built target aom_encoder_stats

[ 53%] Built target aom_av1

Scanning dependencies of target aom_dsp_common_ssse3

Scanning dependencies of target aom_dsp_encoder_sse2

[ 54%] Building C object CMakeFiles/aom_dsp_common_ssse3.dir/gen_src/aom_dsp_common_ssse3_dummy.c.o

[ 54%] Building C object CMakeFiles/aom_dsp_encoder_sse2.dir/gen_src/aom_dsp_encoder_sse2_dummy.c.o

[ 54%] Linking C static library libaom_dsp_encoder_sse2.a

[ 54%] Linking C static library libaom_dsp_common_ssse3.a

[ 54%] Built target aom_dsp_encoder_sse2

[ 54%] Built target aom_dsp_common_ssse3

Scanning dependencies of target aom_dsp_common_sse2

[ 54%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/cfl.c.o

[ 54%] Building C object CMakeFiles/aom_dsp_common_sse2.dir/gen_src/aom_dsp_common_sse2_dummy.c.o

[ 54%] Linking C static library libaom_dsp_common_sse2.a

[ 54%] Built target aom_dsp_common_sse2

Scanning dependencies of target aom_av1_encoder_ssse3

[ 54%] Building C object CMakeFiles/aom_av1_encoder_ssse3.dir/gen_src/aom_av1_encoder_ssse3_dummy.c.o

[ 54%] Linking C static library libaom_av1_encoder_ssse3.a

[ 54%] Built target aom_av1_encoder_ssse3

Scanning dependencies of target aom_ports

[ 54%] Building C object CMakeFiles/aom_ports.dir/gen_src/aom_ports_dummy.c.o

[ 54%] Linking C static library libaom_ports.a

[ 54%] Built target aom_ports

Scanning dependencies of target aom_dsp_encoder_ssse3

[ 54%] Building C object CMakeFiles/aom_dsp_encoder_ssse3.dir/gen_src/aom_dsp_encoder_ssse3_dummy.c.o

[ 54%] Linking C static library libaom_dsp_encoder_ssse3.a

[ 54%] Built target aom_dsp_encoder_ssse3

[ 54%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/convolve.c.o

[ 55%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/debugmodes.c.o

[ 55%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/entropy.c.o

[ 59%] Built target aom_av1_encoder

[ 59%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/entropymode.c.o

[ 59%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/entropymv.c.o

[ 60%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/idct.c.o

[ 60%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/mvref_common.c.o

[ 60%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/pred_common.c.o

[ 61%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/quant_common.c.o

[ 61%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/reconinter.c.o

[ 61%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/reconintra.c.o

[ 61%] Built target aom_dsp_common

[ 61%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/resize.c.o

[ 61%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/restoration.c.o

[ 62%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/scale.c.o

[ 62%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/scan.c.o

[ 62%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/thread_common.c.o

[ 62%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/tile_common.c.o

[ 62%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/txb_common.c.o

[ 62%] Building C object CMakeFiles/aom_av1_common.dir/av1/common/warped_motion.c.o

[ 63%] Built target aom_av1_common

[ 64%] Built target aom_dsp_encoder

Scanning dependencies of target aom

[ 64%] Building C object CMakeFiles/aom.dir/aom/src/aom_codec.c.o

[ 64%] Linking C static library libaom.a

[ 70%] Built target aom

Scanning dependencies of target resize_util

[ 70%] Linking CXX executable examples/twopass_encoder

[ 70%] Linking CXX executable examples/lightfield_bitstream_parsing

[ 71%] Linking CXX executable examples/decode_to_md5

[ 71%] Linking CXX executable examples/set_maps

[ 71%] Linking CXX executable aomenc

[ 71%] Building C object CMakeFiles/resize_util.dir/examples/resize_util.c.o

[ 72%] Linking CXX executable examples/aom_cx_set_ref

Scanning dependencies of target test_aom_encoder

[ 72%] Built target twopass_encoder

[ 72%] Built target decode_to_md5

[ 72%] Built target aom_cx_set_ref

[ 72%] Built target lightfield_bitstream_parsing

[ 73%] Linking CXX executable examples/lightfield_decoder

[ 74%] Built target set_maps

[ 74%] Built target test_aom_decoder

[ 74%] Linking CXX executable examples/noise_model

[ 75%] Linking CXX executable resize_util

[ 75%] Built target aomenc

Scanning dependencies of target dump_obu

[ 75%] Linking CXX executable examples/scalable_encoder

[ 75%] Linking CXX executable examples/lightfield_tile_list_decoder

[ 75%] Linking CXX executable aomdec

[ 75%] Building CXX object CMakeFiles/dump_obu.dir/gen_src/usage_exit.cc.o

[ 75%] Linking CXX executable tools/dump_obu

[ 75%] Built target lightfield_decoder

[ 75%] Linking CXX executable examples/simple_decoder

[ 75%] Built target noise_model

[ 75%] Built target resize_util

[ 75%] Building CXX object CMakeFiles/test_aom_encoder.dir/test/horz_superres_test.cc.o

[ 75%] Built target scalable_encoder

[ 75%] Linking CXX executable examples/scalable_decoder

[ 75%] Linking CXX executable examples/lightfield_encoder

Scanning dependencies of target test_aom_common

[ 75%] Built target aomdec

[ 75%] Built target lightfield_tile_list_decoder

[ 75%] Building CXX object CMakeFiles/test_aom_encoder.dir/test/arf_freq_test.cc.o

[ 76%] Linking CXX executable examples/simple_encoder

[ 77%] Built target dump_obu

[ 77%] Built target simple_decoder

Scanning dependencies of target test_intra_pred_speed

[ 77%] Linking CXX executable examples/decode_with_drops

[ 77%] Built target scalable_decoder

[ 77%] Built target lightfield_encoder

[ 77%] Linking CXX executable examples/lossless_encoder

[ 77%] Building CXX object CMakeFiles/test_aom_encoder.dir/test/av1_convolve_2d_test.cc.o

[ 77%] Building C object CMakeFiles/test_intra_pred_speed.dir/gen_src/usage_exit.c.o

[ 77%] Building CXX object CMakeFiles/test_intra_pred_speed.dir/test/test_intra_pred_speed.cc.o

[ 77%] Built target simple_encoder

[ 77%] Building CXX object CMakeFiles/test_aom_encoder.dir/test/av1_convolve_2d_test_util.cc.o

[ 77%] Building CXX object CMakeFiles/test_aom_common.dir/test/cdef_test.cc.o

[ 77%] Built target decode_with_drops

[ 77%] Building CXX object CMakeFiles/test_aom_common.dir/test/cfl_test.cc.o

[ 78%] Built target lossless_encoder

[ 78%] Building CXX object CMakeFiles/test_aom_common.dir/test/convolve_test.cc.o

[ 79%] Building CXX object CMakeFiles/test_aom_encoder.dir/test/av1_fwd_txfm1d_test.cc.o

[ 79%] Building CXX object CMakeFiles/test_aom_encoder.dir/test/av1_fwd_txfm2d_test.cc.o

[ 80%] Building CXX object CMakeFiles/test_aom_common.dir/test/hiprec_convolve_test.cc.o

[ 80%] Building CXX object CMakeFiles/test_aom_common.dir/test/hiprec_convolve_test_util.cc.o

[ 80%] Building CXX object CMakeFiles/test_aom_common.dir/test/intrabc_test.cc.o

[ 80%] Building CXX object CMakeFiles/test_aom_encoder.dir/test/av1_inv_txfm1d_test.cc.o

[ 80%] Linking CXX executable test_intra_pred_speed

[ 80%] Building CXX object CMakeFiles/test_aom_encoder.dir/test/av1_inv_txfm2d_test.cc.o

[ 80%] Built target test_intra_pred_speed

[ 80%] Building CXX object CMakeFiles/test_aom_encoder.dir/test/av1_nn_predict_test.cc.o

[ 80%] Building CXX object CMakeFiles/test_aom_common.dir/test/intrapred_test.cc.o

[ 81%] Building CXX object CMakeFiles/test_aom_encoder.dir/test/av1_round_shift_array_test.cc.o

[ 81%] Building CXX object CMakeFiles/test_aom_encoder.dir/test/av1_txfm_test.cc.o

[ 81%] Building CXX object CMakeFiles/test_aom_common.dir/test/lpf_test.cc.o

[ 82%] Building CXX object CMakeFiles/test_aom_common.dir/test/onyxc_int_test.cc.o

[ 82%] Building CXX object CMakeFiles/test_aom_encoder.dir/test/av1_wedge_utils_test.cc.o

[ 82%] Building CXX object CMakeFiles/test_aom_encoder.dir/test/blend_a64_mask_1d_test.cc.o

[ 82%] Building CXX object CMakeFiles/test_aom_common.dir/test/scan_test.cc.o

[ 82%] Building CXX object CMakeFiles/test_aom_encoder.dir/test/blend_a64_mask_test.cc.o

[ 83%] Building CXX object CMakeFiles/test_aom_encoder.dir/test/comp_avg_pred_test.cc.o

[ 83%] Building CXX object CMakeFiles/test_aom_encoder.dir/test/comp_mask_variance_test.cc.o

[ 83%] Building CXX object CMakeFiles/test_aom_common.dir/test/selfguided_filter_test.cc.o

[ 83%] Building CXX object CMakeFiles/test_aom_encoder.dir/test/edge_detect_test.cc.o

[ 83%] Building CXX object CMakeFiles/test_aom_encoder.dir/test/encodetxb_test.cc.o

[ 83%] Building CXX object CMakeFiles/test_aom_encoder.dir/test/error_block_test.cc.o

[ 84%] Building CXX object CMakeFiles/test_aom_encoder.dir/test/fft_test.cc.o

In file included from /config/ffmpeg-build/packages/av1/test/fft_test.cc:19:0:

/config/ffmpeg-build/packages/av1/aom_mem/aom_mem.h:67:1: error: expected unqualified-id before '}' token

 }

 ^

[ 84%] Building CXX object CMakeFiles/test_aom_common.dir/test/av1_encoder_parms_get_to_decoder.cc.o

[ 84%] Building CXX object CMakeFiles/test_aom_encoder.dir/test/fwht4x4_test.cc.o

[ 84%] Building CXX object CMakeFiles/test_aom_encoder.dir/test/horver_correlation_test.cc.o

make[2]: *** [CMakeFiles/test_aom_encoder.dir/build.make:531: CMakeFiles/test_aom_encoder.dir/test/fft_test.cc.o] Error 1

make[2]: *** Waiting for unfinished jobs....

[ 84%] Building CXX object CMakeFiles/test_aom_common.dir/test/decode_multithreaded_test.cc.o

[ 85%] Building CXX object CMakeFiles/test_aom_common.dir/test/dr_prediction_test.cc.o

[ 85%] Building CXX object CMakeFiles/test_aom_common.dir/test/ethread_test.cc.o

In file included from /config/ffmpeg-build/packages/av1/test/decode_multithreaded_test.cc:16:0:

/config/ffmpeg-build/packages/av1/aom_mem/aom_mem.h:67:1: error: expected unqualified-id before '}' token

 }

 ^

[ 85%] Building CXX object CMakeFiles/test_aom_common.dir/test/film_grain_table_test.cc.o

make[2]: *** [CMakeFiles/test_aom_common.dir/build.make:349: CMakeFiles/test_aom_common.dir/test/decode_multithreaded_test.cc.o] Error 1

make[2]: *** Waiting for unfinished jobs....

make[1]: *** [CMakeFiles/Makefile2:8637: CMakeFiles/test_aom_encoder.dir/all] Error 2

make[1]: *** Waiting for unfinished jobs....

make[1]: *** [CMakeFiles/Makefile2:12923: CMakeFiles/test_aom_common.dir/all] Error 2

make: *** [Makefile:130: all] Error 2
markus-perl commented 5 years ago

Alpine is not supported, you can use ubuntu:18.10 with the latest version 1.2 of the build script. See https://github.com/markus-perl/ffmpeg-build-script/blob/master/Dockerfile