FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

We also have a status page: https://freshports.wordpress.com/

Port details
libx264 H.264/MPEG-4 AVC Video Encoding (Library)
0.148.2795 multimedia on this many watch lists=10 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: koobs@FreeBSD.org search for ports maintained by this maintainer
Port Added: 22 Nov 2014 16:24:00
License: GPLv2
x264 is a free library for encoding H.264/AVC (aka MPEG-4 Part 10)
video streams.

Encoder features
 * CAVLC/CABAC
 * Multi-references
 * Intra: all modes (4x4 and 16x16 with all predictions)
 * Inter P: all partitions (from 16x16 down to 4x4)
 * Inter B: partitions from 16x16 down to 8x8 (including SKIP/DIRECT)
 * Ratecontrol: constant quantizer, constant bitrate, or multipass ABR
 * Scene cut detection

WWW: http://www.videolan.org/x264.html
SVNWeb : Homepage : PortsMon
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (11 items)
  1. /usr/local/share/licenses/libx264-0.148.2795/catalog.mk
  2. /usr/local/share/licenses/libx264-0.148.2795/LICENSE
  3. /usr/local/share/licenses/libx264-0.148.2795/GPLv2
  4. include/x264.h
  5. include/x264_config.h
  6. lib/libx264.a
  7. lib/libx264.so
  8. lib/libx264.so.148
  9. libdata/pkgconfig/x264.pc
  10. @postexec /sbin/ldconfig -m /usr/local/lib
  11. @postunexec /sbin/ldconfig -R
  12. Collapse this list.

To install the port: cd /usr/ports/multimedia/libx264/ && make install clean
To add the package: pkg install libx264

PKGNAME: libx264

distinfo:

TIMESTAMP = 1498509905
SHA256 (x264/x264-snapshot-20170626-2245-stable.tar.bz2) = 0fe3e49eb8861b8fc429436070fb2dd525d141904a44487c48d1c2d6ad778eae
SIZE (x264/x264-snapshot-20170626-2245-stable.tar.bz2) = 736446
SHA256 (x264/example.y4m.bz2) = a5bec9d37362bd9d7773fbd0644643f9ec096d654d20823004e88d5df32bbff7
SIZE (x264/example.y4m.bz2) = 4910029


Master port: multimedia/x264

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. bash : shells/bash
  2. yasm>=1.2.0 : devel/yasm
  3. opencl.h : devel/opencl
  4. gmake : devel/gmake

This port is required by:

for Libraries * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options
===> The following configuration options are available for libx264-0.148.2795:
     ASM=on: Use optimized assembly code
     DEBUG=off: Build with debugging support
     GCC=off: Build with modern GCC (from ports)
     HI10P=off: Enable High 10 Profile 10-bit encoding
     OPENCL=on: Heterogeneous computing via OpenCL
     PGO=off: Use Profile-Guided Optimization
===> Use 'make config' to modify these settings

USES:
pathfix gmake localbase shebangfix tar:bzip2

Master Sites:
  1. ftp://ftp.videolan.org/pub/videolan/x264/snapshots/

Number of commits found: 26

Commit History - (may be incomplete: see SVNWeb link above for full details)
This is a slave port. You may also want to view the commits to the master port: multimedia/x264
DateByDescription
14 Jul 2017 23:58:25
Original commit files touched by this commit  0.148.2795
Revision:445840
jbeich search for other commits by this committer
multimedia/x264: r445837 forgot to move option helpers

PR:		220694
Approved by:	portmgr blanket
MFH:		2017Q3
Differential Revision:	https://reviews.freebsd.org/D11566
14 Jul 2017 23:42:13
Original commit files touched by this commit  0.148.2795
Revision:445839
jbeich search for other commits by this committer
multimedia/x264: enable FFMS, LAVF, SWSCALE by default

Without FFmpeg-based demuxers x264 CLI can only read raw formats as
source. So, enable more options to allow the binary package not only
write but also read mp4/mkv.

PR:		220694
Approved by:	koobs (maintainer)
MFH:		2017Q3 (usability improvement)
Differential Revision:	https://reviews.freebsd.org/D11566
14 Jul 2017 23:42:04
Original commit files touched by this commit  0.148.2795
Revision:445838
jbeich search for other commits by this committer
multimedia/libx264: yasm is only used on x86, other archs use GNU as

PR:		220694
Approved by:	koobs (maintainer)
MFH:		2017Q3 (minor build optimization)
Differential Revision:	https://reviews.freebsd.org/D11566
14 Jul 2017 23:41:54
Original commit files touched by this commit  0.148.2795
Revision:445837
jbeich search for other commits by this committer
multimedia/x264: yasm is only used by libx264, so move ASM option there

PR:		220694
Approved by:	koobs (maintainer)
MFH:		2017Q3 (minor build optimization)
Differential Revision:	https://reviews.freebsd.org/D11566
23 Sep 2016 13:15:06
Original commit files touched by this commit  0.148.2708
Revision:422675
jbeich search for other commits by this committer
multimedia/libx264: clarify slave helper from r413179

Differential Revision:	https://reviews.freebsd.org/D7958
Requested by:	koobs (maintainer)
23 Sep 2016 13:14:54
Original commit files touched by this commit  0.148.2708
Revision:422674
jbeich search for other commits by this committer
multimedia/x264: switch to _ENABLE option helper

Many opposite switches are not available, so with default options
selected this change incurs the following warnings.

  multimedia/libx264:
    Unknown option --enable-asm, ignored
    Unknown option --disable-debug, ignored
    Unknown option --enable-opencl, ignored

  multimedia/x264:
    Unknown option --enable-asm, ignored
    Unknown option --disable-debug, ignored
    Unknown option --enable-lsmash, ignored

Differential Revision:	https://reviews.freebsd.org/D7958
Requested by:	koobs (maintainer)
23 Sep 2016 13:14:44
Original commit files touched by this commit  0.148.2708
Revision:422673
jbeich search for other commits by this committer
bsd.options.desc.mk: add common OPENCL option description

Differential Revision:	https://reviews.freebsd.org/D7958
23 Sep 2016 13:14:29
Original commit files touched by this commit  0.148.2708
Revision:422672
jbeich search for other commits by this committer
multimedia/x264: update to 0.148.2708

Changes:	https://git.videolan.org/?p=x264.git;a=shortlog;h=86b71982e131eaa70125f8d0e725fcade9c4c677
Differential Revision:	https://reviews.freebsd.org/D7958
Approved by:	koobs (maintainer)
23 Sep 2016 13:14:11
Original commit files touched by this commit  0.144.2533_3
Revision:422671
jbeich search for other commits by this committer
multimedia/x264: add OPENCL option, enabled by default

Before OpenCL can be used for lookahead install at least one
implementation: devel/freeocl, devel/pocl, lang/beignet or lang/clover.

  $ x264 --fullhelp | fgrep opencl
	--opencl                Enable use of OpenCL
	--opencl-clbin <string> Specify path of compiled OpenCL kernel cache
	--opencl-device <integer> Specify OpenCL device ordinal

where the options also work in other apps e.g.,

  $ ffmpeg -i <input-file> -codec:v libx264 -x264opts opencl:opencl-device=1
<output-file>
  $ mpv --ovc libx264 --ovcopts-add x264opts=opencl:opencl-device=1 -o
<output-file> <input-file>

Differential Revision:	https://reviews.freebsd.org/D7958
Approved by:	koobs (maintainer)
23 Sep 2016 13:12:07
Original commit files touched by this commit  0.144.2533_2
Revision:422670
jbeich search for other commits by this committer
multimedia/x264: don't require SSE on i386 with ASM=on (default)

Remove "-march=i686 -mfpmath=sse -msse" and "-msse2" on later versions
when building C files. This doesn't affect hand-written assembly which
relies on CPUID but may pessimize compiler (around 2.3 % on Skylake).

Differential Revision:	https://reviews.freebsd.org/D7958
Approved by:	koobs (maintainer)
13 Apr 2016 09:53:47
Original commit files touched by this commit  0.144.2533_1
Revision:413181
jbeich search for other commits by this committer
multimedia/x264: add FFMS and LSMASH options

Switch to LSMASH by default to follow vendor configure behavior.

Approved by:	koobs (maintainer, via private mail)
Differential Revision:	https://reviews.freebsd.org/D5861
13 Apr 2016 09:52:35
Original commit files touched by this commit  0.144.2533_1
Revision:413179
jbeich search for other commits by this committer
multimedia/{,lib}x264: modernize

- Convert to option helpers
- Convert to USES=localbase + respect CPPFLAGS
- Convert to USES=shebangfix (can be zsh->bash symlink)
- Simplify SLAVE_PORT conditionals into ?=, += and !target()
- Drop unnecessary `cd` before PGO sample
- Drop no longer necessary .include <bsd.port.options.mk>

Approved by:	koobs (maintainer, via private mail)
Differential Revision:	https://reviews.freebsd.org/D5862
13 Apr 2016 09:52:04
Original commit files touched by this commit  0.144.2533_1
Revision:413178
jbeich search for other commits by this committer
multimedia/libx264: drop unused pkg-descr

$ make -V DESCR
/usr/ports/multimedia/libx264/../x264/pkg-descr

Approved by:	portmgr blanket
13 Apr 2016 09:51:42
Original commit files touched by this commit  0.144.2533_1
Revision:413177
jbeich search for other commits by this committer
multimedia/x264: make options actually affect dependencies

Approved by:	koobs (maintainer, via private mail)
Differential Revision:	https://reviews.freebsd.org/D5860
23 Jul 2015 09:21:45
Original commit files touched by this commit  0.144.2533_1
Revision:392718
koobs search for other commits by this committer
multimedia/libx264: Move libx264 stdin.h patch to x264 port

Move the libx264 patch for stdint.h handling on FreeBSD to the multimedia/x264
port, as FILESDIR is inherited from there, thus causing the patch not to be
applied.

Reported by:		kwm
Reviewed by:		kwm
Tested by:		kwm
Differential Revision:	https://reviews.freebsd.org/D3168
03 Jul 2015 12:14:08
Original commit files touched by this commit  0.144.2533
Revision:391232
koobs search for other commits by this committer
multimedia/{lib}x264: Fix distinfo's

Delete distinfo from libx264 since it is s now subordinate to the x264 port.

Also correctly update distinfo for x264, including the example.y4m.bz2 video
file for profile guided optimization (OPTION: PGO).

PR:		201260
Reported by:	Ajtim <lumiwa gmail com> (via email)
03 Jul 2015 07:02:44
Original commit files touched by this commit  0.144.2533
Revision:391217
koobs search for other commits by this committer
multimedia/{lib}x264: Update to 0.144.2533 and major refactor

- Update to 0.144.2533 (from upstream stable branch) [1]
- Switch x264 and libx264 ports to master/slave ports respectively
- Bump PORTREVISION for dependent ports as the shared library version
  has changed.

multimedia/x264:

- Clean up and update "updating instructions" in Makefile header
- Tweak COMMENT
- Only LIB_DEPENDS on libx264 and add PLIST_FILES if this isn't the
  libx264 port.
- Allow COMMENT, USES, OPTIONS_*, CONFIGURE_ARGS to be overriden in
  libx264 port.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
19 Jun 2015 13:12:22
Original commit files touched by this commit  0.142.2455_3
Revision:390114
kwm search for other commits by this committer
Our stdint.h is a symlink to sys/stdint.h so we need to teach x264 the
header guard of the sys/stdint.h file. Otherwise compiling software with the
x264.h header will generate a warning about the mismatch header guard.

Approved by:	maintainer (koobs@)
Differential Revision:	https://reviews.freebsd.org/D2863
25 Mar 2015 17:36:48
Original commit files touched by this commit  0.142.2455_2
Revision:382254
marino search for other commits by this committer
multimedia category: Remove $PTHREAD_LIBS

approved by:	PTHREAD blanket
27 Jan 2015 04:38:12
Original commit files touched by this commit  0.142.2455_2
Revision:377978
koobs search for other commits by this committer
multimedia/{lib}x264: Update minimum yasm version

Update the minimum version of yasm required in BUILD_DEPENDS.

PR:		196991
Submitted by:	takefu airport.fm
07 Jan 2015 18:54:55
Original commit files touched by this commit  0.142.2455_2
Revision:376488
sbruno search for other commits by this committer
Pull in upstream commits to our libx264 to deal with the clang 3.5
-integrated-as defaults for ARMv6 compilation.

Handling for koobs@ while he's on vacation.

PR:		196591
Submitted by:	mikael.urankar@gmail.com
Approved by:	mentor (implicit)
31 Dec 2014 06:20:14
Original commit files touched by this commit  0.142.2455_1
Revision:375870
koobs search for other commits by this committer
multimedia/{lib}x264: Fix build on ARMv6

- Fix build for missing symbols on ARMv6 [1]
- Backport upstream 9463ec00 to fix default AS on ARM [2]
- Remove unecessary WRKSRC override (x264)
- Whitespace alignment

[2] http://git.videolan.org/?p=x264.git;a=patch;h=9463ec

PR:		196033 [1]
Submitted by:	Mikael Urandar <mikael.urankar at gmail com> [1]
Tested by:	sbruno
28 Dec 2014 04:59:37
Original commit files touched by this commit  0.142.2455_1
Revision:375696
koobs search for other commits by this committer
multimedia/libx264: Fix PGO/GCC options

- Revert options helpers for PGO and GCC .. *shakes fist*. We end up
  setting USE_GCC=yes yes otherwise, and that's not valid.
- libx264 and x264 share the same distfiles, use the same DIST_SUBDIR
24 Dec 2014 22:30:43
Original commit files touched by this commit  0.142.2455_1
Revision:375493
koobs search for other commits by this committer
multimedia/libx264: Fix spaces to tab
24 Dec 2014 22:28:07
Original commit files touched by this commit  0.142.2455_1
Revision:375492
koobs search for other commits by this committer
multimedia/libx264: Merry Modernized Port Christmas

- Update COMMENT (library only)
- Add LICENSE_FILE
- Use pathfix for pkgconfig
- Remove unecessary WRKSRC override
- Use OPTIONS helpers
- Restore PGO option to OPTIONS_DEFINE
- Don't disable CLI so PGO can run. Remove it in post-install:
- Whitespace alignment
- Sort OPTIONS
- Remove -fstack-protector conditional (framework handles this now)
- Strip shared library
22 Nov 2014 16:23:34
Original commit files touched by this commit  0.142.2455
Revision:373073
xmj search for other commits by this committer
multimedia/x264: General overhaul

- Split x264 into two ports: the CLI application (x264), and the library
  (libx264). This will allow x264 to use lavf and friends from ffmpeg for
  decoding and demuxing while preventing a circular dependency between the
  two: x264 can depend on ffmpeg, but ffmpeg will depend on libx264 rather
  than x264.
- Add the LAVF option to the CLI port, making the dependency on ffmpeg
  optional.
- Update to 0.142.2455.
- Amend fixes to local patches so that they can apply to the new upstream
  files.
- Provide the git revision and other version information to the build
  environment, allowing the CLI binary to display this information (like the
  Windows builds).
- Remove unsupported build options (X11_OUTPUT).
- Ensure that the library and CLI ports each have the appropriate options.
- Add notes for future contributors who wish to update the ports.
- Bump PORTREVISION for all dependent ports.

PR:           187805
Differential Revision:	https://reviews.freebsd.org/D1159
Submitted by: Andrew Berg <aberg010@my.hennepintech.edu>
Approved by:  koobs (maintainer, mentor)

Number of commits found: 26

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
opensslNov 02
openssl-develNov 02
wordpressNov 01
php56Oct 30
php70Oct 30
php71Oct 30
wiresharkOct 30
chromiumOct 28
wgetOct 27
wgetOct 27
openoffice-4*Oct 26
openoffice-devel*Oct 26
gitlabOct 25
nodeOct 25
node4Oct 25

No vulnerabilities have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 31876
Broken 126
Deprecated 55
Ignore 364
Forbidden 0
Restricted 175
No CDROM 78
Vulnerable 50
Expired 11
Set to expire 47
Interactive 0
new 24 hours 7
new 48 hours12
new 7 days3213
new fortnight3398
new month3453

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2017 Dan Langille. All rights reserved.