Discussion:
x264 build problem?
Add Reply
Ben Barker
2018-04-11 08:18:40 UTC
Reply
Permalink
Raw Message
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
Grozdan
2018-04-11 08:21:33 UTC
Reply
Permalink
Raw Message
Post by Ben Barker
Any ideas why I can not currently build x264 on a centos system - using
./configure --prefix="ffmpeg_build" --bindir="bin" --enable-static
make -s -j 18
make -s install
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: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: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: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: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
Post by Ben Barker
_______________________________________________
x264-devel mailing list
https://mailman.videolan.org/listinfo/x264-devel
--
Yours truly
Loading...