[FFmpeg-devel] can't build the ffmpeg for iOS using the newest gas-preprocessor.pl

zhuhb zhuhongbo at qiyi.com
Tue Dec 22 13:38:29 CET 2015


I download the newest gas-preprocessor.pl from https://github.com/ffmpeg/gas-preprocessor and install it to the path.

Then I try to build the ffmpeg v2.7.1 and failed.

 

The build .sh is as follows:

SDKVERSION=""

MIN_IPHONE_VERSION="5.1"

 

ARCHS="armv7 arm64"

 

DEVELOPER=`xcode-select -print-path`

 

REPOROOT=$(pwd)

 

BUILDDIR="${REPOROOT}/build"

mkdir -p $BUILDDIR

 

# where we will store intermediary builds

INTERDIR="${BUILDDIR}/ios-all"

mkdir -p $INTERDIR

 

source ./ffmpeg-config-macro-all

FFMPEG_FLAGS="$FFMPEG_FLAGS_IOS"

for ARCH in ${ARCHS}

do

    if [ "${ARCH}" == "i386" ];

    then

        PLATFORM="iPhoneSimulator"

        EXTRA_CONFIG=" --arch=i386 --enable-cross-compile --target-os=darwin --cpu=i386 "

        EXTRA_CFLAGS=" -arch i386 "

        EXTRA_LDFLAGS="-arch i386 "

    elif [ "${ARCH}" == "arm64" ];

    then

        PLATFORM="iPhoneOS"

        EXTRA_CONFIG="--arch=arm64 --target-os=darwin --enable-cross-compile --disable-armv5te"

        EXTRA_CFLAGS="-w -arch ${ARCH} -mfpu=neon"

        EXTRA_LDFLAGS="-mfpu=neon"

    else

        PLATFORM="iPhoneOS"

        EXTRA_CONFIG="--arch=arm --target-os=darwin --enable-cross-compile --cpu=cortex-a9 --disable-armv5te"

        EXTRA_CFLAGS="-w -arch ${ARCH} -mfpu=neon"

        EXTRA_LDFLAGS="-mfpu=neon"

    fi

 

    mkdir -p "${INTERDIR}/${ARCH}"

 

  if [ "${ARCH}" == "i386" ];

  then

    ./configure $FFMPEG_FLAGS --prefix="${INTERDIR}/${ARCH}" --disable-armv6 --disable-armv6t2 --extra-cflags="${EXTRA_CFLAGS} -I $SOURCE/include/ios" --extra-ldflags="${EXTRA_LDFLAGS} -L $SOURCE/lib/ios" ${EXTRA_CONFIG} --enable-pic --extra-cflags="-I/Users/iqiyi/local/opencore-amr/ios/${ARCH}/include" --extra-ldflags="-L/Users/iqiyi/local/opencore-amr/ios/${ARCH}/lib" --extra-cflags="-fembed-bitcode"

  else

    ./configure $FFMPEG_FLAGS --prefix="${INTERDIR}/${ARCH}" --disable-armv6 --disable-armv6t2 --sysroot="${DEVELOPER}/Platforms/${PLATFORM}.platform/Developer/SDKs/${PLATFORM}${SDKVERSION}.sdk" --cc="${DEVELOPER}/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" --as='gas-preprocessor.pl /Applications/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' --extra-cflags="${EXTRA_CFLAGS} -miphoneos-version-min=${MIN_IPHONE_VERSION} -I${OUTPUTDIR}/include -I $SOURCE/include/ios" --extra-ldflags="-arch ${ARCH} ${EXTRA_LDFLAGS} -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/${PLATFORM}.platform/Developer/SDKs/${PLATFORM}${SDKVERSION}.sdk -miphoneos-version-min=${MIN_IPHONE_VERSION} -L${OUTPUTDIR}/lib -L $SOURCE/lib/ios" ${EXTRA_CONFIG} --enable-pic --extra-cxxflags="$CPPFLAGS -I${OUTPUTDIR}/include -isysroot ${DEVELOPER}/Platforms/${PLATFORM}.platform/Developer/SDKs/${PLATFORM}${SDKVERSION}.sdk" --extra-cflags="-I/Users/iqiyi/local/opencore-amr/ios/${ARCH}/include" --extra-ldflags="-L/Users/iqiyi/local/opencore-amr/ios/${ARCH}/lib" --extra-cflags="-fembed-bitcode"

  fi

 

  make clean

  make && make install && make clean

 

done

 

UNIVERSAL_DIR=`pwd`/../ffmpeg_player/libs/all/ios && rm -rf ${UNIVERSAL_DIR}

mkdir -p "${UNIVERSAL_DIR}/lib"

 

cd "${INTERDIR}/armv7/lib"

for file in *.a

do

 

cd ${INTERDIR}

#xcrun -sdk iphoneos lipo -output ${UNIVERSAL_DIR}/lib/$file  -create -arch armv7 armv7/lib/$file -arch armv7s armv7s/lib/$file -arch arm64 arm64/lib/$file -arch i386 i386/lib/$file

xcrun -sdk iphoneos lipo -output ${UNIVERSAL_DIR}/lib/$file  -create -arch armv7 armv7/lib/$file -arch arm64 arm64/lib/$file

echo "Universal $file created."

 

done

cp -r ${INTERDIR}/armv7/include ${UNIVERSAL_DIR}/

 

echo "Done."

 

The error for arm32 build is:

./ffmpeg-ios-all.sh 

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/c++/4.2.1

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/c++/4.2.1

install prefix            /Users/liuweiwei/player/ffmpeg/h265_decoder/build/ios-all/armv7

source path               .

C compiler                /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang

C library                 

host C compiler           gcc

host C library            

ARCH                      arm (cortex-a9)

big-endian                no

runtime cpu detection     yes

ARMv5TE enabled           no

ARMv6 enabled             no

ARMv6T2 enabled           no

VFP enabled               yes

NEON enabled              yes

THUMB enabled             yes

debug symbols             no

strip symbols             yes

optimize for size         yes

optimizations             yes

static                    yes

shared                    no

postprocessing support    yes

new filter support        no

network support           yes

threading support         pthreads

safe bitstream reader     yes

SDL support               no

opencl enabled            no

texi2html enabled         no

perl enabled              yes

pod2man enabled           yes

makeinfo enabled          yes

makeinfo supports HTML    no

 

External libraries:

bzlib                    iconv                   zlib

 

Enabled decoders:

aac                       bfi                        g723_1

aac_latm              bink                     g729

aasc                     binkaudio_dct               gif

ac3                       binkaudio_rdft              gsm

ac3_fixed             bintext                           gsm_ms

adpcm_4xm                  bmp                     h261

adpcm_adx          bmv_audio          h263

adpcm_afc           bmv_video          h263i

adpcm_ct             bpg                      h263p

adpcm_dtk           brender_pix                  h264

adpcm_ea            c93                      hevc

adpcm_ea_maxis_xa     cavs                     hnm4_video

adpcm_ea_r1                ccaption               hq_hqa

adpcm_ea_r2                cdgraphics           hqx

adpcm_ea_r3                cdxl                     huffyuv

adpcm_ea_xas              cinepak                         iac

adpcm_g722                 cljr                       idcin

adpcm_g726                 cllc                       idf

adpcm_g726le               comfortnoise                 iff_byterun1

adpcm_ima_amv           cook                    iff_ilbm

adpcm_ima_apc            cpia                      imc

adpcm_ima_dk3           cscd                     indeo2

adpcm_ima_dk4           cyuv                    indeo3

adpcm_ima_ea_eacs     dca                       indeo4

adpcm_ima_ea_sead     dfa                       indeo5

adpcm_ima_iss             dirac                    interplay_dpcm

adpcm_ima_oki            dnxhd                           interplay_video

adpcm_ima_qt              dpx                      jacosub

adpcm_ima_rad            dsd_lsbf              jpeg2000

adpcm_ima_smjpeg      dsd_lsbf_planar            jpegls

adpcm_ima_wav           dsd_msbf            jv

adpcm_ima_ws             dsd_msbf_planar          kgv1

adpcm_ms           dsicinaudio          kmvc

adpcm_sbpro_2            dsicinvideo          lagarith

adpcm_sbpro_3            dss_sp                          loco

adpcm_sbpro_4            dvbsub                          mace3

adpcm_swf          dvdsub                          mace6

adpcm_thp           dvvideo                         mdec

adpcm_vima                 dxa                      metasound

adpcm_xa            dxtory                           microdvd

adpcm_yamaha             eac3                     mimic

aic                        eacmv                           mjpeg

alac                      eamad                           mjpegb

alias_pix              eatgq                    mlp

als                        eatgv                    mmvideo

amrnb                           eatqi                     motionpixels

amrwb                           eightbps               movtext

amv                     eightsvx_exp                 mp1

anm                     eightsvx_fib                  mp1float

ansi                      escape124            mp2

ape                       escape130            mp2float

apng                     evrc                     mp3

ass                       exr                       mp3adu

asv1                     ffv1                     mp3adufloat

asv2                     ffvhuff                          mp3float

atrac1                            ffwavesynth                  mp3on4

atrac3                            fic                        mp3on4float

atrac3p                          flac                      mpc7

aura                     flashsv                          mpc8

aura2                   flashsv2               mpeg1video

avrn                     flic                       mpeg2video

avrp                     flv                        mpeg4

avs                       fourxm                          mpegvideo

avui                     fraps                    mpl2

ayuv                    frwu                     msa1

bethsoftvid          g2m                     msmpeg4v1

msmpeg4v2                  qcelp                    tscc2

msmpeg4v3                  qdm2                            tta

msrle                   qdraw                            twinvq

mss1                    qpeg                     txd

msvideo1             qtrle                     ulti

mszh                    r10k                     utvideo

mts2                    r210                     v210

mvc1                   ra_144                          v210x

mvc2                   ra_288                          v308

mxpeg                           ralf                       v408

nellymoser           rawvideo              v410

nuv                      realtext                 vb

on2avc                          rl2                        vble

opus                    roq                       vcr1

paf_audio            roq_dpcm            vima

paf_video            rpza                     vmdaudio

pam                     rv10                     vmdvideo

pbm                     rv20                     vmnc

pcm_alaw            rv30                     vorbis

pcm_bluray                   rv40                     vp3

pcm_dvd                       s302m                           vp5

pcm_f32be          sami                     vp6

pcm_f32le           sanm                    vp6a

pcm_f64be          sgi                        vp6f

pcm_f64le           sgirle                    vp7

pcm_lxf                        shorten                          vp8

pcm_mulaw                  sipr                      vp9

pcm_s16be          smackaud            vplayer

pcm_s16be_planar        smacker                        vqa

pcm_s16le           smc                      wavpack

pcm_s16le_planar         smvjpeg                        webp

pcm_s24be          snow                    webvtt

pcm_s24daud               sol_dpcm             wmalossless

pcm_s24le           sonic                    wmapro

pcm_s24le_planar         sp5x                    wmav1

pcm_s32be          srt                        wmav2

pcm_s32le           ssa                       wmavoice

pcm_s32le_planar         stl                        wmv1

pcm_s8                         subrip                           wmv2

pcm_s8_planar             subviewer            wnv1

pcm_u16be                   subviewer1          ws_snd1

pcm_u16le           sunrast                          xan_dpcm

pcm_u24be                   svq1                    xan_wc3

pcm_u24le           svq3                    xan_wc4

pcm_u32be                   tak                       xbin

pcm_u32le           targa                     xbm

pcm_u8                         targa_y216           xface

pcm_zork            tdsc                      xl

pcx                      text                      xsub

pgm                     theora                            xwd

pgmyuv                         thp                       y41p

pgssub                          tiertexseqvideo              yop

pictor                            tiff                       yuv4

pjs                       tmv                      zero12v

png                      truehd                           zerocodec

ppm                     truemotion1                  zlib

prores                           truemotion2                  zmbv

prores_lgpl          truespeech

ptx                       tscc

 

Enabled encoders:

gif                        mjpeg

 

Enabled hwaccels:

 

Enabled parsers:

aac                       dvd_nav                        mpegvideo

aac_latm              dvdsub                          opus

ac3                       flac                      png

adx                      gsm                      pnm

bmp                     h261                    rv30

cavsvideo            h263                    rv40

cook                    h264                    tak

dca                       hevc                     vorbis

dirac                    mjpeg                            vp3

dnxhd                           mlp                      vp8

dpx                      mpeg4video                  vp9

dvbsub                          mpegaudio

 

Enabled demuxers:

aac                       gsm                      mtv

ac3                       gxf                       mv

act                        h261                    mvi

adf                       h263                    mxf

adp                      h264                    mxg

adx                      hevc                     nc

aea                       hls                       nistsphere

afc                       hnm                     nsv

aiff                       ico                       nut

amr                      idcin                    nuv

anm                     idf                        ogg

apc                       iff                        oma

ape                       ilbc                      paf

apng                     image2                          pcm_alaw

aqtitle                            image2_alias_pix pcm_f32be

asf                       image2_brender_pix     pcm_f32le

ass                       image2pipe          pcm_f64be

ast                        image_bmp_pipe           pcm_f64le

au                        image_dpx_pipe            pcm_mulaw

avi                       image_exr_pipe             pcm_s16be

avr                       image_j2k_pipe             pcm_s16le

avs                       image_jpeg_pipe           pcm_s24be

bethsoftvid          image_jpegls_pipe         pcm_s24le

bfi                        image_pictor_pipe         pcm_s32be

bink                     image_png_pipe            pcm_s32le

bintext                           image_qdraw_pipe        pcm_s8

bit                        image_sgi_pipe             pcm_u16be

bmv                     image_sunrast_pipe      pcm_u16le

boa                      image_tiff_pipe             pcm_u24be

brstm                            image_webp_pipe                   pcm_u24le

c93                      ingenient              pcm_u32be

caf                       ipmovie                         pcm_u32le

cavsvideo            ircam                   pcm_u8

cdg                       iss                        pjs

cdxl                     iv8                       pmp

cine                      ivf                        pva

concat                           jacosub                         pvf

data                      jv                         qcp

daud                    latm                     r3d

dfa                       live_flv                rawvideo

dirac                    lmlm4                           realtext

dnxhd                           loas                      redspark

dsf                       lrc                        rl2

dsicin                            lvf                        rm

dss                       lxf                        roq

dts                       m4v                     rpl

dtshd                   matroska              rsd

dv                        mgsts                            rso

dvbsub                          microdvd             rtp

dxa                      mjpeg                            rtsp

ea                         mlp                      sami

ea_cdata               mlv                      sap

eac3                     mm                      sbg

epaf                     mmf                     sdp

ffm                      mov                     sdr2

ffmetadata            mp3                     segafilm

filmstrip               mpc                     shorten

flac                      mpc8                   siff

flic                       mpegps                         sln

flv                        mpegts                          smacker

fourxm                          mpegtsraw           smjpeg

frm                      mpegvideo           smush

g722                    mpjpeg                          sol

g723_1                          mpl2                    sox

g729                    mpsub                           spdif

gif                        msnwc_tcp          srt

stl                        tty                        webm_dash_manifest

str                        txd                       webvtt

subviewer            vc1                      wsaud

subviewer1          vc1t                     wsvqa

sup                      vivo                     wtv

swf                      vmd                     wv

tak                       vobsub                          xa

tedcaptions          voc                      xbin

thp                       vplayer                          xmv

tiertexseq             vqf                       xwma

tmv                      w64                     yop

truehd                           wav                      yuv4mpegpipe

tta                        wc3

 

Enabled muxers:

gif                        image2

 

Enabled protocols:

cache                   http                      rtp

concat                           httpproxy             srtp

crypto                           icecast                           subfile

data                      md5                     tcp

ffrtmphttp            mmsh                            udp

file                       mmst                   udplite

ftp                        pipe                     unix

gopher                           rtmp

hls                       rtmpt

 

Enabled filters:

 

Enabled bsfs:

aac_adtstoasc                mjpeg2jpeg          noise

chomp                           mjpega_dump_header   remove_extradata

dump_extradata            mov2textsub                 text2movsub

h264_mp4toannexb      mp3_header_decompress

imx_dump_header                 mpeg4_unpack_bframes

 

Enabled indevs:

 

Enabled outdevs:

 

License: GPL version 3 or later

Creating config.mak, config.h, and doc/config.texi...

config.h is unchanged

libavutil/avconfig.h is unchanged

 

WARNING: pkg-config not found, library detection may fail.

WARNING: Compiler does not indicate floating-point ABI, guessing vfp.

CC     libavformat/4xm.o

CC     libavformat/aacdec.o

CC     libavformat/ac3dec.o

……

CC     libavcodec/amrnbdec.o

CC     libavcodec/amrwbdec.o

CC     libavcodec/anm.o

CC     libavcodec/ansi.o

CC     libavcodec/apedec.o

CC     libavcodec/arm/aacpsdsp_init_arm.o

Unable to identify target architecture at /usr/local/bin/gas-preprocessor.pl line 82.

AS     libavcodec/arm/aacpsdsp_neon.o

.section .data.rel.ro

 unsupported; figure out the mach-o section name and add it at /usr/local/bin/gas-preprocessor.pl line 129, <ASMFILE> line 59.

make: *** [libavcodec/arm/aacpsdsp_neon.o] Error 29

 

The error for arm64 build is:

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/c++/4.2.1

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/c++/4.2.1

install prefix            /Users/liuweiwei/player/ffmpeg/h265_decoder/build/ios-all/arm64

source path               .

C compiler                /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang

C library                 

host C compiler           gcc

host C library            

ARCH                      aarch64 (generic)

big-endian                no

runtime cpu detection     yes

NEON enabled              yes

VFP enabled               yes

debug symbols             no

strip symbols             yes

optimize for size         yes

optimizations             yes

static                    yes

shared                    no

postprocessing support    yes

new filter support        no

network support           yes

threading support         pthreads

safe bitstream reader     yes

SDL support               no

opencl enabled            no

texi2html enabled         no

perl enabled              yes

pod2man enabled           yes

makeinfo enabled          yes

makeinfo supports HTML    no

 

External libraries:

bzlib                    iconv                   zlib

 

Enabled decoders:

aac                       bfi                        g723_1

aac_latm              bink                     g729

aasc                     binkaudio_dct               gif

ac3                       binkaudio_rdft              gsm

ac3_fixed             bintext                           gsm_ms

adpcm_4xm                  bmp                     h261

adpcm_adx          bmv_audio          h263

adpcm_afc           bmv_video          h263i

adpcm_ct             bpg                      h263p

adpcm_dtk           brender_pix                  h264

adpcm_ea            c93                      hevc

adpcm_ea_maxis_xa     cavs                     hnm4_video

adpcm_ea_r1                ccaption               hq_hqa

adpcm_ea_r2                cdgraphics           hqx

adpcm_ea_r3                cdxl                     huffyuv

adpcm_ea_xas              cinepak                         iac

adpcm_g722                 cljr                       idcin

adpcm_g726                 cllc                       idf

adpcm_g726le               comfortnoise                 iff_byterun1

adpcm_ima_amv          cook                    iff_ilbm

adpcm_ima_apc            cpia                      imc

adpcm_ima_dk3           cscd                     indeo2

adpcm_ima_dk4           cyuv                    indeo3

adpcm_ima_ea_eacs     dca                       indeo4

adpcm_ima_ea_sead     dfa                       indeo5

adpcm_ima_iss             dirac                    interplay_dpcm

adpcm_ima_oki            dnxhd                           interplay_video

adpcm_ima_qt              dpx                      jacosub

adpcm_ima_rad            dsd_lsbf              jpeg2000

adpcm_ima_smjpeg      dsd_lsbf_planar            jpegls

adpcm_ima_wav           dsd_msbf            jv

adpcm_ima_ws             dsd_msbf_planar          kgv1

adpcm_ms           dsicinaudio          kmvc

adpcm_sbpro_2            dsicinvideo          lagarith

adpcm_sbpro_3            dss_sp                          loco

adpcm_sbpro_4            dvbsub                          mace3

adpcm_swf          dvdsub                          mace6

adpcm_thp           dvvideo                         mdec

adpcm_vima                 dxa                      metasound

adpcm_xa            dxtory                           microdvd

adpcm_yamaha             eac3                     mimic

aic                        eacmv                           mjpeg

alac                      eamad                           mjpegb

alias_pix              eatgq                    mlp

als                        eatgv                    mmvideo

amrnb                           eatqi                    motionpixels

amrwb                           eightbps               movtext

amv                     eightsvx_exp                 mp1

anm                     eightsvx_fib                  mp1float

ansi                      escape124            mp2

ape                       escape130            mp2float

apng                     evrc                     mp3

ass                       exr                       mp3adu

asv1                     ffv1                     mp3adufloat

asv2                     ffvhuff                          mp3float

atrac1                            ffwavesynth                  mp3on4

atrac3                            fic                        mp3on4float

atrac3p                          flac                      mpc7

aura                     flashsv                          mpc8

aura2                   flashsv2               mpeg1video

avrn                     flic                       mpeg2video

avrp                     flv                        mpeg4

avs                       fourxm                          mpegvideo

avui                     fraps                    mpl2

ayuv                    frwu                     msa1

bethsoftvid          g2m                     msmpeg4v1

msmpeg4v2                  qcelp                    tscc2

msmpeg4v3                  qdm2                            tta

msrle                   qdraw                            twinvq

mss1                    qpeg                     txd

msvideo1             qtrle                     ulti

mszh                    r10k                     utvideo

mts2                    r210                     v210

mvc1                   ra_144                          v210x

mvc2                   ra_288                          v308

mxpeg                           ralf                       v408

nellymoser           rawvideo              v410

nuv                      realtext                 vb

on2avc                          rl2                        vble

opus                    roq                       vcr1

paf_audio            roq_dpcm            vima

paf_video            rpza                     vmdaudio

pam                     rv10                     vmdvideo

pbm                     rv20                     vmnc

pcm_alaw            rv30                     vorbis

pcm_bluray                   rv40                     vp3

pcm_dvd                       s302m                           vp5

pcm_f32be          sami                     vp6

pcm_f32le           sanm                    vp6a

pcm_f64be          sgi                        vp6f

pcm_f64le           sgirle                    vp7

pcm_lxf                        shorten                          vp8

pcm_mulaw                  sipr                      vp9

pcm_s16be          smackaud            vplayer

pcm_s16be_planar        smacker                        vqa

pcm_s16le           smc                      wavpack

pcm_s16le_planar         smvjpeg                        webp

pcm_s24be          snow                    webvtt

pcm_s24daud               sol_dpcm             wmalossless

pcm_s24le           sonic                    wmapro

pcm_s24le_planar         sp5x                    wmav1

pcm_s32be          srt                        wmav2

pcm_s32le           ssa                       wmavoice

pcm_s32le_planar         stl                        wmv1

pcm_s8                         subrip                           wmv2

pcm_s8_planar             subviewer            wnv1

pcm_u16be                   subviewer1          ws_snd1

pcm_u16le           sunrast                          xan_dpcm

pcm_u24be                   svq1                    xan_wc3

pcm_u24le           svq3                    xan_wc4

pcm_u32be                   tak                       xbin

pcm_u32le           targa                     xbm

pcm_u8                         targa_y216           xface

pcm_zork            tdsc                      xl

pcx                      text                      xsub

pgm                     theora                            xwd

pgmyuv                         thp                       y41p

pgssub                          tiertexseqvideo              yop

pictor                            tiff                       yuv4

pjs                       tmv                      zero12v

png                      truehd                           zerocodec

ppm                     truemotion1                  zlib

prores                           truemotion2                  zmbv

prores_lgpl          truespeech

ptx                       tscc

 

Enabled encoders:

gif                        mjpeg

 

Enabled hwaccels:

 

Enabled parsers:

aac                       dvd_nav                        mpegvideo

aac_latm              dvdsub                          opus

ac3                       flac                      png

adx                      gsm                      pnm

bmp                     h261                    rv30

cavsvideo            h263                    rv40

cook                    h264                    tak

dca                       hevc                     vorbis

dirac                    mjpeg                            vp3

dnxhd                           mlp                      vp8

dpx                      mpeg4video                  vp9

dvbsub                          mpegaudio

 

Enabled demuxers:

aac                       gsm                      mtv

ac3                       gxf                       mv

act                        h261                    mvi

adf                       h263                    mxf

adp                      h264                    mxg

adx                      hevc                     nc

aea                       hls                       nistsphere

afc                       hnm                     nsv

aiff                       ico                       nut

amr                      idcin                    nuv

anm                     idf                        ogg

apc                       iff                        oma

ape                       ilbc                      paf

apng                     image2                          pcm_alaw

aqtitle                            image2_alias_pix pcm_f32be

asf                       image2_brender_pix     pcm_f32le

ass                       image2pipe          pcm_f64be

ast                        image_bmp_pipe           pcm_f64le

au                        image_dpx_pipe            pcm_mulaw

avi                       image_exr_pipe             pcm_s16be

avr                       image_j2k_pipe             pcm_s16le

avs                       image_jpeg_pipe           pcm_s24be

bethsoftvid          image_jpegls_pipe         pcm_s24le

bfi                        image_pictor_pipe         pcm_s32be

bink                     image_png_pipe            pcm_s32le

bintext                           image_qdraw_pipe        pcm_s8

bit                        image_sgi_pipe             pcm_u16be

bmv                     image_sunrast_pipe      pcm_u16le

boa                      image_tiff_pipe             pcm_u24be

brstm                            image_webp_pipe                   pcm_u24le

c93                      ingenient              pcm_u32be

caf                       ipmovie                         pcm_u32le

cavsvideo            ircam                   pcm_u8

cdg                       iss                        pjs

cdxl                     iv8                       pmp

cine                      ivf                        pva

concat                           jacosub                         pvf

data                      jv                         qcp

daud                    latm                     r3d

dfa                       live_flv                rawvideo

dirac                    lmlm4                           realtext

dnxhd                           loas                      redspark

dsf                       lrc                        rl2

dsicin                            lvf                        rm

dss                       lxf                        roq

dts                       m4v                     rpl

dtshd                   matroska              rsd

dv                        mgsts                            rso

dvbsub                          microdvd             rtp

dxa                      mjpeg                            rtsp

ea                         mlp                      sami

ea_cdata               mlv                      sap

eac3                     mm                      sbg

epaf                     mmf                     sdp

ffm                      mov                     sdr2

ffmetadata            mp3                     segafilm

filmstrip               mpc                     shorten

flac                      mpc8                   siff

flic                       mpegps                         sln

flv                        mpegts                          smacker

fourxm                          mpegtsraw           smjpeg

frm                      mpegvideo           smush

g722                    mpjpeg                          sol

g723_1                          mpl2                    sox

g729                    mpsub                           spdif

gif                        msnwc_tcp          srt

stl                        tty                        webm_dash_manifest

str                        txd                       webvtt

subviewer            vc1                      wsaud

subviewer1          vc1t                     wsvqa

sup                      vivo                     wtv

swf                      vmd                     wv

tak                       vobsub                          xa

tedcaptions          voc                      xbin

thp                       vplayer                          xmv

tiertexseq             vqf                       xwma

tmv                      w64                     yop

truehd                           wav                      yuv4mpegpipe

tta                        wc3

 

Enabled muxers:

gif                        image2

 

Enabled protocols:

cache                   http                      rtp

concat                           httpproxy             srtp

crypto                           icecast                           subfile

data                      md5                     tcp

ffrtmphttp            mmsh                            udp

file                       mmst                   udplite

ftp                        pipe                     unix

gopher                           rtmp

hls                       rtmpt

 

Enabled filters:

 

Enabled bsfs:

aac_adtstoasc                mjpeg2jpeg          noise

chomp                           mjpega_dump_header   remove_extradata

dump_extradata            mov2textsub                 text2movsub

h264_mp4toannexb      mp3_header_decompress

imx_dump_header                 mpeg4_unpack_bframes

 

Enabled indevs:

 

Enabled outdevs:

 

License: GPL version 3 or later

Creating config.mak, config.h, and doc/config.texi...

libavutil/avconfig.h is unchanged

 

WARNING: pkg-config not found, library detection may fail.

CC     libavformat/4xm.o

CC     libavformat/aacdec.o

CC     libavformat/ac3dec.o

………….

CC     libavcodec/aacsbr.o

CC     libavcodec/aactab.o

CC     libavcodec/aandcttab.o

CC     libavcodec/aarch64/fft_init_aarch64.o

Unable to identify target architecture at /usr/local/bin/gas-preprocessor.pl line 82.

AS     libavcodec/aarch64/fft_neon.o

./libavutil/aarch64/asm.S:192:21: error: expected compatible register, symbol or integer in range [0, 4095]

        add x4, x4, _ff_cos_32

                    ^

./libavutil/aarch64/asm.S:220:21: error: expected compatible register, symbol or integer in range [0, 4095]

        add x4, x4, _ff_cos_64

                    ^

./libavutil/aarch64/asm.S:248:21: error: expected compatible register, symbol or integer in range [0, 4095]

        add x4, x4, _ff_cos_128

                    ^

./libavutil/aarch64/asm.S:276:21: error: expected compatible register, symbol or integer in range [0, 4095]

        add x4, x4, _ff_cos_256

                    ^

./libavutil/aarch64/asm.S:304:21: error: expected compatible register, symbol or integer in range [0, 4095]

        add x4, x4, _ff_cos_512

                    ^

./libavutil/aarch64/asm.S:332:21: error: expected compatible register, symbol or integer in range [0, 4095]

        add x4, x4, _ff_cos_1024

                    ^

./libavutil/aarch64/asm.S:360:21: error: expected compatible register, symbol or integer in range [0, 4095]

        add x4, x4, _ff_cos_2048

                    ^

./libavutil/aarch64/asm.S:388:21: error: expected compatible register, symbol or integer in range [0, 4095]

        add x4, x4, _ff_cos_4096

                    ^

./libavutil/aarch64/asm.S:416:21: error: expected compatible register, symbol or integer in range [0, 4095]

        add x4, x4, _ff_cos_8192

                    ^

./libavutil/aarch64/asm.S:444:21: error: expected compatible register, symbol or integer in range [0, 4095]

        add x4, x4, _ff_cos_16384

                    ^

./libavutil/aarch64/asm.S:472:21: error: expected compatible register, symbol or integer in range [0, 4095]

        add x4, x4, _ff_cos_32768

                    ^

./libavutil/aarch64/asm.S:500:21: error: expected compatible register, symbol or integer in range [0, 4095]

        add x4, x4, _ff_cos_65536

                    ^

./libavutil/aarch64/asm.S:521:23: error: expected compatible register, symbol or integer in range [0, 4095]

        add x10, x10, trans4_float

                      ^

./libavutil/aarch64/asm.S:531:23: error: expected compatible register, symbol or integer in range [0, 4095]

        add x11, x11, trans8_float

                      ^

./libavutil/aarch64/asm.S:541:21: error: expected compatible register, symbol or integer in range [0, 4095]

        add x3, x3, fft_tab_neon

                    ^

./libavutil/aarch64/asm.S:552:23: error: expected compatible register, symbol or integer in range [0, 4095]

        add x12, x12, pmmp

                      ^

./libavutil/aarch64/asm.S:562:23: error: expected compatible register, symbol or integer in range [0, 4095]

        add x13, x13, mppm

                      ^

./libavutil/aarch64/asm.S:571:23: error: expected compatible register, symbol or integer in range [0, 4095]

        add x14, x14, _ff_cos_16

                      ^

make: *** [libavcodec/aarch64/fft_neon.o] Error 1

 

 

 

 

Best Regards,

Hongbo Zhu

 

 

 



More information about the ffmpeg-devel mailing list