[x264-devel] x264 build problem?

Ben Barker ben at bbarker.co.uk
Wed Apr 11 10:24:31 CEST 2018


Thanks Grozdan - this was with the latest x264 from git in the last hour:

git clone http://git.videolan.org/git/x264.git

I'm trying to build x264 as a precursor to rebuilding ffmpeg - but perhaps
I should build the latest ffmpeg without x264 support, then build x264,
then build again with x264 support?


On Wed, Apr 11, 2018 at 9:21 AM, Grozdan <neutrino8 at gmail.com> wrote:

> 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
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> https://mailman.videolan.org/listinfo/x264-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20180411/21d62a80/attachment-0001.html>


More information about the x264-devel mailing list