<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">what do u mean by 'from source'. i'm a newbie in ubuntu and ffmpeg. do u need to install it by using apt-get install?<br>

</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">about x264, i thought it to be a command line utility.<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">

after installing x264 by apt-get install, i've to add -lx264 to g++ commands to make my project.<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 27, 2013 at 7:08 PM, Kalileo <span dir="ltr"><<a href="mailto:kalileo@universalx.net" target="_blank">kalileo@universalx.net</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
On May 27, 2013, at 21:30 , hamidi wrote:<br>
<br>
> oh ic! so i forgot make. thx<br>
> now, when i make my project i get the following errors:<br>
><br>
> /hamidi/libav/libav-0.8.6/libavcodec/libx264.c:126: undefined reference to `x264_picture_init'<br>
> /hamidi/libav/libav-0.8.6/libavcodec/libx264.c:128: undefined reference to `x264_bit_depth'<br>
> /hamidi/libav/libav-0.8.6/libavcodec/libx264.c:146: undefined reference to `x264_encoder_reconfig'<br>
> ...<br>
><br>
> i'm not sure about x264 whether installed. the installed packages including x264 in their names are:<br>
><br>
> libx264-120<br>
> libx264-dev<br>
><br>
> i got it from the following command:<br>
><br>
> dpkg -l|grep 264<br>
><br>
<br>
</div>I recommend to install x264 from source, same as you try to install ffmpeg from source.<br>
<br>
Installing x264 from source will install the libx264 development headers and libraries, which you need to compile ffmpeg with option  --enable-libx264<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</div></div></blockquote></div><br></div>