Answers.Body: <p>If the codec lib isn't linked in your binary, you can get one which does from <a href="https://www.johnvansickle.com/ffmpeg/" rel="nofollow noreferrer">https://www.johnvansickle.com/ffmpeg/</a> (get a git build).</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-15T06:19:57.097Z
Answers.Text: It seems that installing the libavcodec-extra package might also solve the OP's issue. (https://packages.ubuntu.com/xenial/libavcodec-extra)
Answers.UserDisplayName: audionuma
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-17T04:40:55.253Z
Answers.LastActivityDate: 2017-06-17T04:40:55.253Z
Answers.UserDisplayName: Gyan
Answers.Body: <p>Compile x264 by yourself, then compile ffmpeg with option <code>--enable-libx264</code></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-15T15:16:42.707Z
Answers.LastActivityDate: 2017-10-15T15:16:42.707Z
Answers.UserDisplayName: bukkojot
Body: <p>I am running ffmpeg on ubuntu.</p>
  
  <p>I tried to set the codec to libx264 but it was not recognised by ffmmpeg.</p>
  
  <p>Is there a way too install that codec for use by ffmpeg?</p>
  
Tags: <ffmpeg><libx264>
Title: libx264 for ffmpeg on linux
UserDisplayName: Scorb
ThreadText: # libx264 for ffmpeg on linux
  
  (Asked by: username_0 on 2017-06-17)
  
  I am running ffmpeg on ubuntu.
  
  I tried to set the codec to libx264 but it was not recognised by ffmmpeg.
  
  Is there a way too install that codec for use by ffmpeg?
  
  **Tags:** ffmpeg, libx264
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2017-06-17. Score: 0
  
  If the codec lib isn't linked in your binary, you can get one which does from <https://www.johnvansickle.com/ffmpeg/> (get a git build).
  
  > **Comments:**
  > **username_2**: It seems that installing the libavcodec-extra package might also solve the OP's issue. (https://packages.ubuntu.com/xenial/libavcodec-extra)  
  
  ---
  
  ### Answer by username_3 on 2017-10-15. Score: 0
  
  Compile x264 by yourself, then compile ffmpeg with option `--enable-libx264`
  
  
  ---
  
  