[Libav-user] 920306 - avcodec_find_encoder(CODEC_ID_H264) returns NULL
hamidi
hamidi at gmail.com
Mon May 27 16:30:26 CEST 2013
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
*
On Mon, May 27, 2013 at 6:34 PM, Kalileo <kalileo at universalx.net> wrote:
>
> On May 27, 2013, at 20:49 , hamidi wrote:
>
> > thanx 4 the reply
> > i've already tried the option. after downloading and extracting the
> source, i tried the following:
> > ./configure --enable-libx264 --enable-gpl
> > make install
> > but the function still returns NULL.
> > what can i do?
> > thx
>
> there should be a make in between, example:
>
> ./configure --enable-libx264 [your other options]
> make
> sudo make install
>
> Watch carefully for any error messages.
>
> Also, did you install x264 before ?
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130527/064768d4/attachment.html>
More information about the Libav-user
mailing list