Package Details: x264-git 159.r2991.g1771b556-1

Git Clone URL: (read-only, click to copy)
Package Base: x264-git
Description: Open Source H264/AVC video encoder (git version)
Upstream URL:
Keywords: avc h.264 h264 libx264 mpeg mpeg-4 mpeg4
Licenses: GPL
Conflicts: libx264, libx264-10bit, libx264-all, x264
Provides: libx264, libx264-git,, x264
Replaces: libx264-10bit-git, libx264-all-git, libx264-git
Submitter: pressh
Maintainer: dbermond
Last Packager: dbermond
Votes: 242
Popularity: 0.007976
First Submitted: 2008-03-18 09:05
Last Updated: 2020-01-28 00:30

Dependencies (4)

Required by (94)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 ... Next › Last »

DrZaius commented on 2013-05-22 01:14

@Sunday You are probably linking to ffmpeg (for lavf support) that is currently linked to a different version of x264. Build x264 without lavf, then build ffmpeg, then build x264 with lavf. This will give you x264 with lavf support and ffmpeg with libx264 encoder support. Or just use ffmpeg and x264 from the repository: you probably shouldn't be using this package anyway.

Sunday commented on 2013-05-22 00:21

I just noticed that this package cannot be built when it is already installed. It fails like this:

yasm -f elf -m amd64 -DHAVE_ALIGNED_STACK=1 -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8 -DARCH_X86_64=1 -I./common/x86/ -o common/x86/trellis-64.o common/x86/trellis-64.asm
rm -f libx264.a
ar rc libx264.a common/mc.o common/predict.o common/pixel.o common/macroblock.o common/frame.o common/dct.o common/cpu.o common/cabac.o common/common.o common/osdep.o common/rectangle.o common/set.o common/quant.o common/deblock.o common/vlc.o common/mvpred.o common/bitstream.o encoder/analyse.o encoder/me.o encoder/ratecontrol.o encoder/set.o encoder/macroblock.o encoder/cabac.o encoder/cavlc.o encoder/encoder.o encoder/lookahead.o common/threadpool.o common/x86/mc-c.o common/x86/predict-c.o common/opencl.o encoder/slicetype-cl.o common/x86/const-a.o common/x86/cabac-a.o common/x86/dct-a.o common/x86/deblock-a.o common/x86/mc-a.o common/x86/mc-a2.o common/x86/pixel-a.o common/x86/predict-a.o common/x86/quant-a.o common/x86/cpu-a.o common/x86/dct-64.o common/x86/bitstream-a.o common/x86/sad-a.o common/x86/trellis-64.o
ranlib libx264.a
gcc -o x264 x264.o input/input.o input/timecode.o input/raw.o input/y4m.o output/raw.o output/matroska.o output/matroska_ebml.o output/flv.o output/flv_bytestream.o filters/filters.o filters/video/video.o filters/video/source.o filters/video/internal.o filters/video/resize.o filters/video/cache.o filters/video/fix_vfr_pts.o filters/video/select_every.o filters/video/crop.o filters/video/depth.o input/avs.o input/thread.o input/lavf.o libx264.a -ldl -L. -lavformat -ldl -lva -lXfixes -lXext -lX11 -ljack -lasound -lSDL -lpthread -lx264 -lvpx -lvorbisenc -lvorbis -logg -ltheoraenc -ltheoradec -logg -lopus -lmp3lame -lfaac -lass -lm -pthread -lbz2 -lz -lavcodec -ldl -lva -lXfixes -lXext -lX11 -ljack -lasound -lSDL -lpthread -lx264 -lvpx -lvorbisenc -lvorbis -logg -ltheoraenc -ltheoradec -logg -lopus -lmp3lame -lfaac -lass -lm -pthread -lbz2 -lz -lswscale -lm -lavutil -lm -lswscale -lm -lavutil -lm -m64 -Wl,-O1,--sort-common,--as-needed,-z,relro -lm -lpthread -ldl
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../lib/libavcodec.a(libx264.o): In function `X264_init':
(.text.unlikely+0xaf9): undefined reference to `x264_encoder_open_129'
collect2: Fehler: ld gab 1 als Ende-Status zurück
make: *** [x264] Fehler 1
==> FEHLER: Ein Fehler geschah in build().
Breche ab ...

After uninstalling the package it can be built.

DrZaius commented on 2013-05-20 05:00

@Nothing4You This package is not meant to be a "drop-in" replacement for x264 in Extra, and it is trivial to customize the configure options in the PKGBUILD to fit your needs.

Nothing4You commented on 2013-05-20 02:27

What's the point of this not including shared libs by default?

Anonymous comment on 2013-05-19 20:52

Sorry I just accidentally clicked on "Flag out of date". Not my intention, I'm sorry, I just wanted to download the tarball. >.<'

DrZaius commented on 2013-04-29 16:11

This, and my other git packages, will be updated after I return from travel on May 5.

hi117 commented on 2013-04-29 14:50

Here's a diff to update the PKGBUILD to use pacman 4.1 standards:
--- x264-git/PKGBUILD 2011-10-02 22:38:37.000000000 -0400
+++ PKGBUILD 2013-04-29 10:47:56.082389302 -0400
@@ -3,7 +3,8 @@
# Contributor: pressh <pressh[at]gmail[dot]com>

pkgdesc="H.264/MPEG-4 AVC video encoder"
arch=('i686' 'x86_64')
@@ -13,28 +14,16 @@
makedepends=('git' 'yasm')
provides=("x264=$(LANG=C pacman -Si x264 | grep Version | awk '{ print $NF }')")

+pkgver() {
+ cd $_gitname
+ echo $(git rev-list --count master).$(git rev-parse --short master)

build() {
- cd $srcdir
- msg "Connecting to the Git repository..."
- if [[ -d $srcdir/$_gitname ]] ; then
- cd $_gitname
- git pull origin
- else
- git clone $_gitroot
- fi
- msg "Git clone done"
- msg "Starting make..."
- rm -rf $srcdir/$_gitname-build
- git clone $srcdir/$_gitname $srcdir/$_gitname-build
- cd $srcdir/$_gitname-build
+ cd $srcdir/$_gitname

# add '--bit-depth=10' is you want 10 bit output
./configure --prefix=/usr --enable-static
@@ -43,7 +32,7 @@

package() {
- cd $srcdir/$_gitname-build
+ cd $srcdir/$_gitname
make DESTDIR=$pkgdir install
- rm -rf $srcdir/$_gitname-build
+ rm -rf $srcdir/$_gitname

hi117 commented on 2013-01-06 17:11

There was a request for a change in libav-git that requires a change in this package for it to compile correctly.

DrZaius commented on 2012-11-14 14:44

This is not shared. If you want that add --enable-shared to the configure.

esrevinu commented on 2012-11-14 06:46

This does not make shared library. Is it intended?
The version is 20111002-1.

$ yaourt -Ql x264-git
x264-git /usr/
x264-git /usr/bin/
x264-git /usr/bin/x264
x264-git /usr/include/
x264-git /usr/include/x264.h
x264-git /usr/include/x264_config.h
x264-git /usr/lib/
x264-git /usr/lib/libx264.a
x264-git /usr/lib/pkgconfig/
x264-git /usr/lib/pkgconfig/x264.pc