[Bug 1478337] Re: Unknown encoder 'libx264'

2015-07-26 Thread Andreas Cadhalpun
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
  libavformat56. 15.102 / 56. 15.102
  libavdevice56.  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
  libpostproc53.  3.100 / 53.  3.100
Input #0, lavfi, from 'testsrc=d=1':
  Duration: N/A, start: 0.00, 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:15Avg 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:

[Bug 1478337] Re: Unknown encoder 'libx264'

2015-07-26 Thread student
Sorry this was just a typo in my bug report, I didn't miss it in my
command line options.

** Description changed:

  If I try to convert a video using h264 codec, I get the error
  
- Unknown encoder 'lib264'
+ Unknown encoder 'libx264'
  
  For example:
  
  ffmpeg -i input -vcodec libx264 output.mp4
  
  However doing the same with avconv works:
  
  avconv -i input -vcodec libx264 output.mp4
  
  aptitude search libavcodec gives:
  
- p   libavcodec-dev  - Development files for libavcodec
  
- p   libavcodec-dev:i386 - Development files for libavcodec
  
+ p   libavcodec-dev  - Development files for libavcodec
+ p   libavcodec-dev:i386 - Development files for libavcodec
  i   libavcodec-extra- Libav codec library (additional codecs 
met
- i   libavcodec-extra-56 - Libav codec library (additional codecs) 
  
- p   libavcodec-extra-56:i386- Libav codec library (additional codecs) 
  
+ i   libavcodec-extra-56 - Libav codec library (additional codecs)
+ p   libavcodec-extra-56:i386- Libav codec library (additional codecs)
  p   libavcodec-ffmpeg-dev   - FFmpeg library with de/encoders for 
audio/
  p   libavcodec-ffmpeg-dev:i386  - FFmpeg library with de/encoders for 
audio/
  i A libavcodec-ffmpeg56 - FFmpeg library with de/encoders for 
audio/
  p   libavcodec-ffmpeg56:i386- FFmpeg library with de/encoders for 
audio/
- c   libavcodec53- Libav codec library 
  
- c   libavcodec54- Libav codec library 
  
- c   libavcodec56- Libav codec library 
  
+ c   libavcodec53- Libav codec library
+ c   libavcodec54- Libav codec library
+ c   libavcodec56- Libav codec library
  p   libavcodec56:i386   - Libav codec library
  
  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: ffmpeg 7:2.5.7-0ubuntu0.15.04.1
  ProcVersionSignature: Ubuntu 3.19.0-23.24-generic 3.19.8-ckt2
  Uname: Linux 3.19.0-23-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1.1
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Sun Jul 26 13:56:40 2015
  InstallationDate: Installed on 2013-11-22 (611 days ago)
  InstallationMedia: Lubuntu 13.10 Saucy Salamander - Release amd64 
(20131016.1)
  SourcePackage: ffmpeg
  UpgradeStatus: Upgraded to vivid on 2015-06-29 (27 days ago)

** Changed in: ffmpeg (Ubuntu)
   Status: Invalid = New

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1478337] Re: Unknown encoder 'libx264'

2015-07-26 Thread student
Thanks. I just replaced it with the version from vivid and now it works!

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1478337] Re: Unknown encoder 'libx264'

2015-07-26 Thread student
For example:

(As input I used
http://media.xiph.org/video/derf/y4m/park_joy_1080p50.y4m (named as
input.y4m))

ffmpeg -i input.y4m -vcodec libx264 out.mp4
ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  configuration: 
  libavutil  54. 20.100 / 54. 20.100
  libavcodec 56. 26.100 / 56. 26.100
  libavformat56. 25.101 / 56. 25.101
  libavdevice56.  4.100 / 56.  4.100
  libavfilter 5. 11.102 /  5. 11.102
  libswscale  3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
[yuv4mpegpipe @ 0x1fbe1c0] Stream #0: not enough frames to estimate rate; 
consider increasing probesize
Input #0, yuv4mpegpipe, from 'input.y4m':
  Duration: N/A, bitrate: N/A
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080, SAR 
1:1 DAR 16:9, 50 fps, 50 tbr, 50 tbn, 50 tbc
Unknown encoder 'libx264'

However avconv instead of ffmpeg works.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1478337] Re: Unknown encoder 'libx264'

2015-07-26 Thread Andreas Cadhalpun
 ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers

This version of ffmpeg does not come from Ubuntu, hence closing the bug as 
invalid.
Please report any problems with it wherever you got it from.

The ffmpeg version in vivid is currently 2.5.7-0ubuntu0.15.04.1.
If you want to use a newer ffmpeg versions from Ubuntu, you can try the one 
from wily.

** Changed in: ffmpeg (Ubuntu)
   Status: New = Invalid

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1478337] Re: Unknown encoder 'libx264'

2015-07-26 Thread Andreas Cadhalpun
 Unknown encoder 'lib264'

Looks like you missed the 'x' between 'lib' and '264'.
Using the actual libx264 encoder works fine.
Thus closing this bug as invalid.

** Changed in: ffmpeg (Ubuntu)
   Status: New = Invalid

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs