--enable-libaom

Questions that occur when trying to compile FFmpeg.
hydra3333
Posts: 156
Joined: Sun Apr 28, 2013 1:03 pm
Contact:

Re: --enable-libaom

Post by hydra3333 » Fri Apr 06, 2018 2:56 pm

Thank you.
For me cross-compiling for x64 Win10, that'd be https://aomedia.googlesource.com/aom/+/ ... -gcc.cmake

Code: Select all

##
## Copyright (c) 2017, Alliance for Open Media. All rights reserved
##
## This source code is subject to the terms of the BSD 2 Clause License and
## the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
## was not distributed with this source code in the LICENSE file, you can
## obtain it at www.aomedia.org/license/software. If the Alliance for Open
## Media Patent License 1.0 was not distributed with this source code in the
## PATENTS file, you can obtain it at www.aomedia.org/license/patent.
##
if (NOT AOM_BUILD_CMAKE_TOOLCHAINS_X86_64_MINGW_GCC_CMAKE_)
set(AOM_BUILD_CMAKE_TOOLCHAINS_X86_64_MINGW_GCC_CMAKE_ 1)
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_SYSTEM_NAME "Windows")
if ("${CROSS}" STREQUAL "")
  set(CROSS x86_64-w64-mingw32-)
endif ()
set(CMAKE_C_COMPILER ${CROSS}gcc)
set(CMAKE_CXX_COMPILER ${CROSS}g++)
# Disable the use of the gtest's CMake support.
set(AOM_DISABLE_GTEST_CMAKE 1)
endif ()  # AOM_BUILD_CMAKE_TOOLCHAINS_X86_64_MINGW_GCC_CMAKE_
or by the looks, adding -DCMAKE_SYSTEM_PROCESSOR="x86_64" to the cmake commandline parameters as per deadsix27's build suite https://github.com/DeadSix27/python_cro ... ile_script also for libjpeg-turbo.

edit: fixed brain freeze, changed to -DCMAKE_SYSTEM_PROCESSOR="x86_64"
Last edited by hydra3333 on Sat Apr 07, 2018 12:07 am, edited 1 time in total.

User avatar
Zeranoe
Site Admin
Posts: 684
Joined: Sat May 07, 2011 7:12 pm
Contact:

Re: --enable-libaom

Post by Zeranoe » Fri Apr 06, 2018 3:00 pm

CMAKE_INSTALL_PREFIX is where the library will be installed to, it doesn't deal with the CMAKE_SYSTEM_PROCESSOR option.

hydra3333
Posts: 156
Joined: Sun Apr 28, 2013 1:03 pm
Contact:

Re: --enable-libaom

Post by hydra3333 » Sat Apr 07, 2018 12:08 am

Oops, yes, cut/paste/brain issue late at night, fixed in the post. Thank you.

rhoracio
Posts: 1
Joined: Fri Apr 13, 2018 11:59 am

Re: --enable-libaom

Post by rhoracio » Fri Apr 13, 2018 12:02 pm

hi guys,

would you please share some AOM AV1 FFMPEG encoded files ?


Post Reply