[Libav-user] 920306 - avcodec_find_encoder(CODEC_ID_H264) returns NULL
Kalileo
kalileo at universalx.net
Mon May 27 16:38:09 CEST 2013
On May 27, 2013, at 21:30 , hamidi wrote:
> oh ic! so i forgot make. thx
> now, when i make my project i get the following errors:
>
> /hamidi/libav/libav-0.8.6/libavcodec/libx264.c:126: undefined reference to `x264_picture_init'
> /hamidi/libav/libav-0.8.6/libavcodec/libx264.c:128: undefined reference to `x264_bit_depth'
> /hamidi/libav/libav-0.8.6/libavcodec/libx264.c:146: undefined reference to `x264_encoder_reconfig'
> ...
>
> i'm not sure about x264 whether installed. the installed packages including x264 in their names are:
>
> libx264-120
> libx264-dev
>
> i got it from the following command:
>
> dpkg -l|grep 264
>
I recommend to install x264 from source, same as you try to install ffmpeg from source.
Installing x264 from source will install the libx264 development headers and libraries, which you need to compile ffmpeg with option --enable-libx264
More information about the Libav-user
mailing list