[FFmpeg-user] what x264 version to build ffmpeg 3.4.1?

Beltran Cambronero beltran.cambronero at gmail.com
Sun Jan 14 18:19:26 EET 2018


Hi,
I need to make (compile) ffmpeg version 3.4.1 for Centos 7

I'm using the following procedure:
http://trac.ffmpeg.org/wiki/CompilationGuide/Centos

the only difference is that when I install and compile FFMPEG I use ffmpeg
version 3.4.1:
...
curl -O -L https://ffmpeg.org/releases/ffmpeg-3.4.1.tar.bz2
tar xjvf ffmpeg-3.4.1.tar.bz2
cd ffmpeg-3.4.1
...

The problem is that I'm getting the following error compiling ffmpeg:

libavcodec/libx264.c: In function 'X264_frame':
libavcodec/libx264.c:282:9: error: 'x264_bit_depth' undeclared (first use
in this function)
     if (x264_bit_depth > 8)
libavcodec/libx264.c:282:9: note: each undeclared identifier is reported
only once for each function it appears in
libavcodec/libx264.c: In function 'X264_init_static':
libavcodec/libx264.c:892:9: error: 'x264_bit_depth' undeclared (first use
in this function)
     if (x264_bit_depth == 8)
make: *** [libavcodec/libx264.o] Error 1


The problem is that I'm using the latest x264 snapshot and there was a x264
commit (71ed44c7312438fac7c5c5301e45522e57127db4) which drops the
'x264_bit_depth' global variable.
http://git.videolan.org/?p=x264.git;a=commit;h=71ed44c7312438fac7c5c5301e45522e57127db4


Question:
- What is the right x264 version/commit to use with ffmpeg 3.4.1??

Thanks!!
Beltran


More information about the ffmpeg-user mailing list