<div dir="ltr"><div>Thanks Grozdan - this was with the latest x264 from git in the last hour: <br><br>git clone <a href="http://git.videolan.org/git/x264.git">http://git.videolan.org/git/x264.git</a><br><br></div>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? <br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 11, 2018 at 9:21 AM, Grozdan <span dir="ltr"><<a href="mailto:neutrino8@gmail.com" target="_blank">neutrino8@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Wed, Apr 11, 2018 at 10:18 AM, Ben Barker <<a href="mailto:ben@bbarker.co.uk">ben@bbarker.co.uk</a>> wrote:<br>
> Any ideas why I can not currently build x264 on a centos system - using<br>
> latest from git, and seeing the below:<br>
><br>
> ./configure --prefix="ffmpeg_build" --bindir="bin" --enable-static<br>
> make -s -j 18<br>
> make -s  install<br>
><br>
> filters/video/resize.c: In function ‘pick_closest_supported_csp’:<br>
> filters/video/resize.c:215:30: error: ‘AVComponentDescriptor’ has no member<br>
> named ‘depth’<br>
>          if( pix_desc->comp[i].depth > 8 )<br>
>                               ^<br>
> make: *** [filters/video/resize.o] Error 1<br>
> make: *** Waiting for unfinished jobs....<br>
> input/lavf.c: In function ‘codec_from_stream’:<br>
> input/lavf.c:63:50: error: ‘AVStream’ has no member named ‘codecpar’<br>
>      AVCodec *codec = avcodec_find_decoder( stream->codecpar->codec_id );<br>
>                                                   ^<br>
> input/lavf.c:71:5: warning: implicit declaration of function<br>
> ‘avcodec_parameters_to_<wbr>context’ [-Wimplicit-function-<wbr>declaration]<br>
>      if( avcodec_parameters_to_context( c, stream->codecpar ) < 0 )<br>
>      ^<br>
> input/lavf.c:71:49: error: ‘AVStream’ has no member named ‘codecpar’<br>
>      if( avcodec_parameters_to_context( c, stream->codecpar ) < 0 )<br>
>                                                  ^<br>
> input/lavf.c: In function ‘read_frame_internal’:<br>
> input/lavf.c:107:9: warning: implicit declaration of function<br>
> ‘avcodec_receive_frame’ [-Wimplicit-function-<wbr>declaration]<br>
>          while( (ret = avcodec_receive_frame( h->lavc, h->frame )) )<br>
>          ^<br>
> input/lavf.c:115:21: warning: implicit declaration of function<br>
> ‘avcodec_send_packet’ [-Wimplicit-function-<wbr>declaration]<br>
>                      ret = avcodec_send_packet( h->lavc, NULL );<br>
>                      ^<br>
> input/lavf.c: In function ‘open_file’:<br>
> input/lavf.c:199:58: error: ‘AVStream’ has no member named ‘codecpar’<br>
>      while( i < h->lavf->nb_streams &&<br>
> h->lavf->streams[i]->codecpar-<wbr>>codec_type != AVMEDIA_TYPE_VIDEO )<br>
>                                                           ^<br>
> make: *** [input/lavf.o] Error 1<br>
> filters/video/resize.c: In function ‘pick_closest_supported_csp’:<br>
> filters/video/resize.c:215:30: error: ‘AVComponentDescriptor’ has no member<br>
> named ‘depth’<br>
>          if( pix_desc->comp[i].depth > 8 )<br>
>                               ^<br>
> make: *** [filters/video/resize.o] Error 1<br>
<br>
</div></div>upgrade your ffmpeg to current or git<br>
<br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> x264-devel mailing list<br>
> <a href="mailto:x264-devel@videolan.org">x264-devel@videolan.org</a><br>
> <a href="https://mailman.videolan.org/listinfo/x264-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/<wbr>listinfo/x264-devel</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Yours truly<br>
______________________________<wbr>_________________<br>
x264-devel mailing list<br>
<a href="mailto:x264-devel@videolan.org">x264-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x264-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/<wbr>listinfo/x264-devel</a><br>
</font></span></blockquote></div><br></div>