Then please post the full command line and it's output.
The libx264 encoder works just fine, e.g.:
$ ffmpeg -f lavfi -i testsrc=d=1 -vcodec libx264 output.mp4
ffmpeg version 2.5.7-0ubuntu0.15.04.1 Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.9.2 (Ubuntu 4.9.2-10ubuntu13)
configuration: --prefix=/usr --extra-version=0ubuntu0.15.04.1
--build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
--shlibdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu
--enable-gpl --enable-shared --disable-stripping --enable-avresample
--enable-avisynth --enable-ladspa --enable-libass --enable-libbluray
--enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite
--enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme
--enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg
--enable-libopus --enable-libpulse --enable-libschroedinger --enable-libshine
--enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame
--enable-libvorbis --enable-libwavpack --enable-libwebp --enable-libxvid
--enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883
--enable-libzvbi --enable-libzmq --enable-frei0r --enable-libvpx
--enable-libx264 --enable-libsoxr --enable-gnutls --e
nable-openal --enable-libopencv --enable-librtmp --enable-libx265
libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 13.100 / 56. 13.100
libavformat 56. 15.102 / 56. 15.102
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 2.103 / 5. 2.103
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, lavfi, from 'testsrc=d=1':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240 [SAR
1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
No pixel format specified, yuv444p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 0x1c24b60] using SAR=1/1
[libx264 @ 0x1c24b60] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
AVX2 FMA3 LZCNT BMI2
[libx264 @ 0x1c24b60] profile High 4:4:4 Predictive, level 1.3, 4:4:4 8-bit
[libx264 @ 0x1c24b60] 264 - core 142 r2495 6a301b6 - H.264/MPEG-4 AVC codec -
Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=3
deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00
mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11
fast_pskip=1 chroma_qp_offset=4 threads=6 lookahead_threads=1 sliced_threads=0
nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3
b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2
keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf
mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'output.mp4':
Metadata:
encoder : Lavf56.15.102
Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv444p,
320x240 [SAR 1:1 DAR 4:3], q=-1--1, 25 fps, 12800 tbn, 25 tbc
Metadata:
encoder : Lavc56.13.100 libx264
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
frame= 25 fps=0.0 q=-1.0 Lsize= 9kB time=00:00:00.92 bitrate=
75.7kbits/s
video:7kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing
overhead: 14.635430%
[libx264 @ 0x1c24b60] frame I:1 Avg QP:19.50 size: 2846
[libx264 @ 0x1c24b60] frame P:9 Avg QP:17.62 size: 346
[libx264 @ 0x1c24b60] frame B:15 Avg QP:14.18 size: 64
[libx264 @ 0x1c24b60] consecutive B-frames: 20.0% 0.0% 0.0% 80.0%
[libx264 @ 0x1c24b60] mb I I16..4: 31.3% 41.7% 27.0%
[libx264 @ 0x1c24b60] mb P I16..4: 1.2% 2.0% 0.6% P16..4: 8.6% 3.3%
2.0% 0.0% 0.0% skip:82.2%
[libx264 @ 0x1c24b60] mb B I16..4: 0.2% 0.1% 0.0% B16..8: 4.8% 0.1%
0.0% direct: 0.2% skip:94.5% L0:39.7% L1:54.9% BI: 5.4%
[libx264 @ 0x1c24b60] 8x8 transform intra:44.1% inter:48.9%
[libx264 @ 0x1c24b60] coded y,u,v intra: 12.2% 11.2% 11.0% inter: 0.7% 0.9% 0.8%
[libx264 @ 0x1c24b60] i16 v,h,dc,p: 71% 19% 3% 7%
[libx264 @ 0x1c24b60] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 71% 6% 23% 0% 0% 0%
0% 0% 0%
[libx264 @ 0x1c24b60] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 47% 31% 15% 2% 1% 1%
0% 2% 0%
[libx264 @ 0x1c24b60] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x1c24b60] ref P L0: 63.4% 5.0% 23.5% 8.1%
[libx264 @ 0x1c24b60] ref B L0: 73.3% 23.3% 3.5%
[libx264 @ 0x1c24b60] ref B L1: 97.8% 2.2%
[libx264 @ 0x1c24b60] kb/s:55.28
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1478337
Title:
Unknown encoder 'libx264'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ffmpeg/+bug/1478337/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs