Discussion:
x264 build problem?
(too old to reply)
Ben Barker
2018-04-11 08:18:40 UTC
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
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
Ben Barker
2018-04-11 08:24:31 UTC
Permalink
Raw Message
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?
Post by Ben Barker
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
Post by Ben Barker
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
Post by Ben Barker
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
_______________________________________________
x264-devel mailing list
https://mailman.videolan.org/listinfo/x264-devel
Grozdan
2018-04-11 08:26:19 UTC
Permalink
Raw Message
Post by Ben Barker
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?
you need to get and build the latest ffmpeg first, then x264
Post by Ben Barker
Post by Grozdan
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
_______________________________________________
x264-devel mailing list
https://mailman.videolan.org/listinfo/x264-devel
_______________________________________________
x264-devel mailing list
https://mailman.videolan.org/listinfo/x264-devel
--
Yours truly
Loading...