[FFmpeg-user] Latest GIT version doesn't compile with libvpx_vp9 encoder
ZikZak
zikzakfr at gmail.com
Sun Oct 15 22:40:31 EEST 2017
And result of the make:
AR libavdevice/libavdevice.a
AR libavfilter/libavfilter.a
AR libavformat/libavformat.a
AR libpostproc/libpostproc.a
AR libswresample/libswresample.a
AR libavutil/libavutil.a
AR libswscale/libswscale.a
AR libavcodec/libavcodec.a
LD ffmpeg_g
libavcodec/libavcodec.a(libvpxdec.o): In function `vpx_init':
/root/GIT/ffmpeg/libavcodec/libvpxdec.c:57: undefined reference to
`vpx_codec_vp8_dx_algo'
/root/GIT/ffmpeg/libavcodec/libvpxdec.c:57: undefined reference to
`vpx_codec_vp8_dx_algo'
libavcodec/libavcodec.a(libvpxenc.o): In function `vp8_init':
/root/GIT/ffmpeg/libavcodec/libvpxenc.c:1180: undefined reference to
`vpx_codec_vp8_cx'
collect2: error: ld returned 1 exit status
Makefile:107: recipe for target 'ffmpeg_g' failed
make: *** [ffmpeg_g] Error 1
Although libvpx_vp8 was the only encoder accepted by configure.
On 15 October 2017 at 21:25, ZikZak <zikzakfr at gmail.com> wrote:
> Hello,
>
> As I'm not sure what is relevant here is what I can report:
> libvpx='yes'
> libvpx_vp8_decoder='yes'
> libvpx_vp8_decoder_deps='libvpx'
> libvpx_vp8_encoder='yes'
> libvpx_vp8_encoder_deps='libvpx'
> libvpx_vp9_decoder='yes'
> libvpx_vp9_decoder_deps='libvpx'
> libvpx_vp9_encoder='yes'
> libvpx_vp9_encoder_deps='libvpx'
>
> Then many errors about va.h, if it matters:
>
> check_type va/va.h va/va_vpp.h VAProcPipelineParameterBuffer
> check_code cc va/va.h va/va_vpp.h VAProcPipelineParameterBuffer v
> check_cc
> BEGIN /tmp/ffconf.z9CWiV91.c
> 1 #include <va/va.h>
> 2 #include <va/va_vpp.h>
> 3 int main(void) { VAProcPipelineParameterBuffer v; return 0; }
> END /tmp/ffconf.z9CWiV91.c
> gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -O2 -mtune=cortex-a53
> -march=armv8-a -pipe -mfpu=neon-vfpv4 -mfloat-abi=hard -march=armv8-a
> -std=c11 -fomit-frame-pointer -mthumb -c -o /tmp/ffconf.Nx1qFyiD.o
> /tmp/ffconf.z9CWiV91.c
> /tmp/ffconf.z9CWiV91.c:1:19: fatal error: va/va.h: No such file or
> directory
> #include <va/va.h>
> ^
> compilation terminated.
> check_type va/va.h va/va_enc_h264.h VAEncPictureParameterBufferH264
> check_code cc va/va.h va/va_enc_h264.h VAEncPictureParameterBufferH264 v
> check_cc
> BEGIN /tmp/ffconf.z9CWiV91.c
> 1 #include <va/va.h>
> 2 #include <va/va_enc_h264.h>
> 3 int main(void) { VAEncPictureParameterBufferH264 v; return 0; }
> END /tmp/ffconf.z9CWiV91.c
> gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -O2 -mtune=cortex-a53
> -march=armv8-a -pipe -mfpu=neon-vfpv4 -mfloat-abi=hard -march=armv8-a
> -std=c11 -fomit-frame-pointer -mthumb -c -o /tmp/ffconf.Nx1qFyiD.o
> /tmp/ffconf.z9CWiV91.c
> /tmp/ffconf.z9CWiV91.c:1:19: fatal error: va/va.h: No such file or
> directory
> #include <va/va.h>
>
> On 15 October 2017 at 15:54, Moritz Barsnick <barsnick at gmx.net> wrote:
>
>> On Sun, Oct 15, 2017 at 09:29:45 +0200, ZikZak wrote:
>> > libvpx_vp9 is again unlisted.
>> > As I transcode my videos to webm (VP9 + Opus) I do not need such a long
>> > list.
>>
>> This is the check for vp9 in ffmpeg's configure script:
>>
>> enabled libvpx_vp9_encoder && {
>> use_pkg_config libvpx_vp9_encoder "vpx >= 1.3.0"
>> "vpx/vpx_encoder.h vpx/vp8cx.h" vpx_codec_vp9_cx ||
>> check_lib libvpx_vp9_encoder "vpx/vpx_encoder.h vpx/vp8cx.h"
>> "vpx_codec_vp9_cx VP9E_SET_AQ_MODE" -lvpx
>> }
>>
>> We would need to see your config.log to see what fails. As that file is
>> very large, could you check for lines which look relevant? Check for
>> the occurance of "libvpx_vp9_encoder" and look at the lines after. They
>> will tell us how the check is failing.
>>
>> (I'm too lazy to build latest libvpx, and couldn't find an obvious
>> change in their repo.)
>>
>> Cheers,
>> Moritz
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>>
>
>
More information about the ffmpeg-user
mailing list