[x264-devel] x264 build problem?

Grozdan neutrino8 at gmail.com
Wed Apr 11 10:21:33 CEST 2018


On Wed, Apr 11, 2018 at 10:18 AM, Ben Barker <ben at bbarker.co.uk> wrote:
> Any ideas why I can not currently build x264 on a centos system - using
> latest from git, and seeing the below:
>
> ./configure --prefix="ffmpeg_build" --bindir="bin" --enable-static
> make -s -j 18
> make -s  install
>
> filters/video/resize.c: In function ‘pick_closest_supported_csp’:
> filters/video/resize.c:215:30: error: ‘AVComponentDescriptor’ has no member
> named ‘depth’
>          if( pix_desc->comp[i].depth > 8 )
>                               ^
> make: *** [filters/video/resize.o] Error 1
> make: *** Waiting for unfinished jobs....
> input/lavf.c: In function ‘codec_from_stream’:
> input/lavf.c:63:50: error: ‘AVStream’ has no member named ‘codecpar’
>      AVCodec *codec = avcodec_find_decoder( stream->codecpar->codec_id );
>                                                   ^
> input/lavf.c:71:5: warning: implicit declaration of function
> ‘avcodec_parameters_to_context’ [-Wimplicit-function-declaration]
>      if( avcodec_parameters_to_context( c, stream->codecpar ) < 0 )
>      ^
> input/lavf.c:71:49: error: ‘AVStream’ has no member named ‘codecpar’
>      if( avcodec_parameters_to_context( c, stream->codecpar ) < 0 )
>                                                  ^
> input/lavf.c: In function ‘read_frame_internal’:
> input/lavf.c:107:9: warning: implicit declaration of function
> ‘avcodec_receive_frame’ [-Wimplicit-function-declaration]
>          while( (ret = avcodec_receive_frame( h->lavc, h->frame )) )
>          ^
> input/lavf.c:115:21: warning: implicit declaration of function
> ‘avcodec_send_packet’ [-Wimplicit-function-declaration]
>                      ret = avcodec_send_packet( h->lavc, NULL );
>                      ^
> input/lavf.c: In function ‘open_file’:
> input/lavf.c:199:58: error: ‘AVStream’ has no member named ‘codecpar’
>      while( i < h->lavf->nb_streams &&
> h->lavf->streams[i]->codecpar->codec_type != AVMEDIA_TYPE_VIDEO )
>                                                           ^
> make: *** [input/lavf.o] Error 1
> filters/video/resize.c: In function ‘pick_closest_supported_csp’:
> filters/video/resize.c:215:30: error: ‘AVComponentDescriptor’ has no member
> named ‘depth’
>          if( pix_desc->comp[i].depth > 8 )
>                               ^
> make: *** [filters/video/resize.o] Error 1

upgrade your ffmpeg to current or git

>
>
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> https://mailman.videolan.org/listinfo/x264-devel
>



-- 
Yours truly


More information about the x264-devel mailing list