Title: Unknown encoder &#8216;libx264&#8217;
Last modified: April 22, 2020

---

# Unknown encoder ‘libx264’

 *  Resolved [videohelp](https://wordpress.org/support/users/videohelp/)
 * (@videohelp)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/unknown-encoder-libx264/)
 * Getting this error when I run a test, cannot get anything to encode after playing
   with some settings:
 * ffmpeg version N-97439-g9025d5c5ce Copyright (c) 2000-2020 the FFmpeg developers
   
   built with gcc 8 (GCC) configuration: libavutil 56. 42.102 / 56. 42.102 libavcodec
   58. 80.100 / 58. 80.100 libavformat 58. 42.101 / 58. 42.101 libavdevice 58. 9.103/
   58. 9.103 libavfilter 7. 79.100 / 7. 79.100 libswscale 5. 6.101 / 5. 6.101 libswresample
   3. 6.100 / 3. 6.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ‘/home/bwayvideo/
   domains/video.4283.live/public_html/wp-content/plugins/video-embed-thumbnail-
   generator/images/sample-video-h264.mp4’: Metadata: major_brand : isom minor_version:
   512 compatible_brands: isomiso2avc1mp41 encoder : Lavf55.33.100 Duration: 00:
   00:01.02, start: 0.000000, bitrate: 123 kb/s Stream #0:0(eng): Video: h264 (Constrained
   Baseline) (avc1 / 0x31637661), yuv420p, 1920×1080 [SAR 1:1 DAR 16:9], 109 kb/
   s, 23.98 fps, 23.98 tbr, 11988 tbn, 47.95 tbc (default) Metadata: handler_name:
   VideoHandler Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
   stereo, fltp, 2 kb/s (default) Metadata: handler_name : SoundHandler Unknown 
   encoder ‘libx264’
 * When running default options, I am getting this error:
 * ffmpeg version N-97439-g9025d5c5ce Copyright (c) 2000-2020 the FFmpeg developers
   
   built with gcc 8 (GCC) configuration: libavutil 56. 42.102 / 56. 42.102 libavcodec
   58. 80.100 / 58. 80.100 libavformat 58. 42.101 / 58. 42.101 libavdevice 58. 9.103/
   58. 9.103 libavfilter 7. 79.100 / 7. 79.100 libswscale 5. 6.101 / 5. 6.101 libswresample
   3. 6.100 / 3. 6.100 Unrecognized option ‘crf’. Error splitting the argument list:
   Option not found
 * Running on CentOS 8, ffmpeg is installed along w/ libx264 – am I missing anything?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Funknown-encoder-libx264%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/unknown-encoder-libx264/#post-12715965)
 * You’ve compiled FFMPEG with no configuration flags. I can’t really help with 
   compiling FFMPEG because it’s a nightmare, but you can start with this guide 
   [https://trac.ffmpeg.org/wiki/CompilationGuide/Centos](https://trac.ffmpeg.org/wiki/CompilationGuide/Centos)
 *  Thread Starter [videohelp](https://wordpress.org/support/users/videohelp/)
 * (@videohelp)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/unknown-encoder-libx264/#post-12716108)
 * This response was actually super helpful, thanks! Got FFMPEG compiled correctly
   and videos are converting.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Unknown encoder ‘libx264’’ is closed to new replies.

 * ![](https://ps.w.org/video-embed-thumbnail-generator/assets/icon.svg?rev=2965979)
 * [Videopack](https://wordpress.org/plugins/video-embed-thumbnail-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/video-embed-thumbnail-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [videohelp](https://wordpress.org/support/users/videohelp/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/unknown-encoder-libx264/#post-12716108)
 * Status: resolved