218 Commits

Author SHA1 Message Date
Bradley Sepos
71ed73bf0f build: Update regex in configure.py to fix buggy Python versions. 2016-05-24 09:51:27 -04:00
John Stebbins
141579c628 remove dxva hw decode (#189)
* remove dxva hw decode

It provides practically no speed increase even on a slow CPU and results
in a speed decrease on fast CPUs.  And the code is exceptionally fugly.

* cli: remove USE_HWD
2016-05-17 08:12:33 -07:00
John Stebbins
26946a2279 build: fix regex probe 2016-03-13 12:18:25 -06:00
John Stebbins
2caf380a10 build: do not enable fdk-aac by default
There is a license incompatibility with gpl :(

(cherry picked from commit 6da861c9dc023e5b7cad648d596f571ee1214bbf)
2016-02-10 12:27:06 -07:00
Sean McGovern
6ec6d77ae1 configure: use gm4 as a synonym for GNU m4 2015-10-07 18:07:11 -04:00
John Stebbins
25de99bb27 build: changes to version numbering and build process
Use date/time for snapshot version numbers, YYYYMMDDHHMMSS-hash-branch.
Add --snapshot configure option to force snapshot builds.
repo-info.sh and tag-release.sh improvements.
2015-09-23 11:45:42 -07:00
John Stebbins
9d0a09a742 build: fix errors in last commit
Thanks BradleyS
2015-08-25 14:26:59 -07:00
John Stebbins
4889bc9588 build: use git version info instead of svn
Migrate from svn to git.  Since our build system automatically generates
version info from the svn repo, this needs to change when we move the
repo to git.
2015-08-25 14:17:11 -07:00
Rodeo
864ce5a422 Move strtok_r fallback to dedicated "compat" files.
Also, check whether the toolchain already provides strtok_r instead of building it unconditionally.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7076 b64f7644-9d1e-0410-96f1-a4d463321fa5
2015-04-10 14:56:27 +00:00
jstebbins
652858987e build: fix linux i686 build
Adds -msse2 to compiler flags which is needed by new nlmeans sse acceleration


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6837 b64f7644-9d1e-0410-96f1-a4d463321fa5
2015-01-30 23:24:17 +00:00
jstebbins
03806044c2 build: fix mingw Jenkins builds
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6773 b64f7644-9d1e-0410-96f1-a4d463321fa5
2015-01-19 17:09:39 +00:00
jstebbins
d972a8646e Work around fedora mingw pthread library requirement
Fedora mingw seems to require it's own pthread library which causes build
conflicts with our pthread lib.  So this patch distinguishes whether
libpthread or libpthreadGC2 is already installed on the system and uses
the appropriate system lib when found.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6766 b64f7644-9d1e-0410-96f1-a4d463321fa5
2015-01-18 17:25:51 +00:00
sr55
91fe592751 Set Version to 0.10.0
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6531 b64f7644-9d1e-0410-96f1-a4d463321fa5
2014-11-21 19:47:47 +00:00
bradleys
5996c99f89 contrib: Add libgnurx to provide POSIX regex on Windows.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6445 b64f7644-9d1e-0410-96f1-a4d463321fa5
2014-10-15 23:32:41 +00:00
jstebbins
3b8a7e1aec build: add cmake contrib for building x265 on osx
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6328 b64f7644-9d1e-0410-96f1-a4d463321fa5
2014-08-20 17:44:07 +00:00
sr55
289f49c8fb Using https for all appcast urls
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6315 b64f7644-9d1e-0410-96f1-a4d463321fa5
2014-08-19 11:46:48 +00:00
jstebbins
c548eb0cb8 build: remove mp4v2 and libmkv dependencies
...and enable x265 by default


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6309 b64f7644-9d1e-0410-96f1-a4d463321fa5
2014-08-18 17:22:30 +00:00
sr55
3611993e93 Remove libfaac
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6094 b64f7644-9d1e-0410-96f1-a4d463321fa5
2014-03-02 17:12:06 +00:00
jstebbins
d6309a23ec libhb: Add cpuid inline asm macro
This eliminates our reliance on the private (unexported) libavutil
function ff_cpu_cpuid().


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6032 b64f7644-9d1e-0410-96f1-a4d463321fa5
2014-02-15 16:31:11 +00:00
Rodeo
c004afa6a6 Missing in last commit. Also by Zhang Zhiqiang. Thanks!
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6024 b64f7644-9d1e-0410-96f1-a4d463321fa5
2014-02-10 17:41:56 +00:00
Rodeo
903357b412 build: use a local version of pkg-config when necessary (Darwin-only).
Automatically enabled when pkg-config detection fails, and can
be forced with the --enable-local-pkgconfig configure option.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6019 b64f7644-9d1e-0410-96f1-a4d463321fa5
2014-02-07 19:21:19 +00:00
jstebbins
bb11d6a3e7 build: add parsing of version info from version.txt file
This makes it possible to have proper version numbers in the build
when the source tree does not come from svn (e.g. a tarball).

Also, automatically adds version.txt to our source tar that is
created with "make pkg.create".


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6005 b64f7644-9d1e-0410-96f1-a4d463321fa5
2014-01-27 23:14:59 +00:00
jstebbins
1d137b47c6 remove contrib mpeg2dec
We no longer need mpeg2dec.  libav now has all the features we need
for mpeg2 decoding.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5966 b64f7644-9d1e-0410-96f1-a4d463321fa5
2014-01-13 18:43:07 +00:00
Rodeo
43f0bc9d53 OpenCL: use the new library loading architecture for all OpenCL code.
An OpenCL SDK is no longer needed to build OpenCL support.
Note: as a result, the --enable-opencl configure option is removed.

Also, libOpenCL is no longer needed to run the application (it is still necessary to use OpenCL features, of course).



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5886 b64f7644-9d1e-0410-96f1-a4d463321fa5
2013-11-08 21:21:02 +00:00
sr55
f69b7f1dfc Merging-in the OpenCL Scaling code from the OpenCL branch to trunk.
Patch originally by the Multicoreware Inc team, followed by improvements and fixes by Micheal Wootton from AMD Inc,

OpenCL:
This patch implements Bicubic Scaling in OpenCL.  
Note that HandBrake currently uses Lanczos so the performance difference appears to be much more significant. We may offer an option of BiCubic in software later.
Bicubic scaling may appear a bit sharper than the equivalent Lanczos encode and may increase file size a bit. Quality may be better or worse depending on the scaling and content and personal preference towards sharpness.
When comparing performance with a custom HandBrake build that runs Software Bicubic to OpenCL Bicubic, performance increase is about 5~7% on average on a modern GPU.


Hardware Decode via DXVA:
We also have optional DXVA decoding which may come in useful for slower/lower end systems that have a capable GPU.
This is only available on input sources that use the libav decode path.
Most GPU hardware for decoding is designed for playback, so if you are running on a high end CPU, it will bottleneck the encode process.

Requires OpenCL 1.1 or later supporting GPU.

Front end changes and testing framework are not included in this patch. This will be resolved later.

Patch will be revised further before the UI is implemented.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5792 b64f7644-9d1e-0410-96f1-a4d463321fa5
2013-09-21 20:16:51 +00:00
Rodeo
d41905d539 Big merge, QSV to trunk: part 1 (tracked files).
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5737 b64f7644-9d1e-0410-96f1-a4d463321fa5
2013-08-22 20:33:35 +00:00
jstebbins
ba36746032 libhb: add experimental avformat muxer for mkv and mp4
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5620 b64f7644-9d1e-0410-96f1-a4d463321fa5
2013-06-30 20:44:21 +00:00
jstebbins
768561ada9 improve aac encoder build options and change some aac encoder defaults
By default, faac is no longer built.
Libav aac is now the default aac encoder on all platforms except osx
where ca_aac is the default.
fdk-aac is now built by default (except on osx).


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5581 b64f7644-9d1e-0410-96f1-a4d463321fa5
2013-06-15 17:24:35 +00:00
sr55
9f61b0eadf Bump VPoint to 9
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5419 b64f7644-9d1e-0410-96f1-a4d463321fa5
2013-04-28 16:05:09 +00:00
jstebbins
288639e626 Add optional fdk-aac encoder
configure --enable-fdk-aac to enable this encoder


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5287 b64f7644-9d1e-0410-96f1-a4d463321fa5
2013-03-03 16:18:16 +00:00
konablend
a6c368b69d - parse yasm version at configure time
- if version is inadequate, auto enable local yasm


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5202 b64f7644-9d1e-0410-96f1-a4d463321fa5
2013-01-25 17:59:50 +00:00
dynaflash
066aa49bbd Introduce Solaris Support
- Patch from icchan … thanks !
- At some point in the past, this was probably dropped. Re-adding it now as a pre-requisite for several upcoming patches to fix the build on Solaris 10.
- ReviewBoard link here https://reviews.handbrake.fr/r/364/

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5063 b64f7644-9d1e-0410-96f1-a4d463321fa5
2012-11-15 17:57:29 +00:00
konablend
421129c9b2 Add autotools { autoconf, automake, libtool } as contribs.
Primarily necessary for OSX platform after Xcode 4.2.x, but also useful for
any platform which is missing or has obsolete versions.

1. add configure option: --enable-local-autotools
2. --enable-local-autotools is automatically TRUE when any of { autoconf, automake, libtool } are not found in path.
3. --enable-local-autotools causes contribs of { m4, autoconf, automake, lib tool } to be built
4. add m4 to contrib (prerequisite for autoconf)
5. add autoconf to contrib (prerequisite for automaker and many contribs)
6. add automake to contrib (prerequisite for many contribs)
7. add libtool to contrib (prerequisite for many contribs)
8. All contribs (except the autotools themselves) automatically mark autotools as a prerequisite.
9. $(AUTOTOOL_MODULES) is available if other non-contrib modules need to mark as prerequisite.
10. PATH is automatically prefixed with contrib/bin for all modules, all targets.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4933 b64f7644-9d1e-0410-96f1-a4d463321fa5
2012-09-07 20:10:37 +00:00
dynaflash
825a1d73b0 MacGui: checkin make/configure.py to increment to 0.9.6
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4471 b64f7644-9d1e-0410-96f1-a4d463321fa5
2012-02-28 04:30:23 +00:00
konablend
6d95ab8198 BuildSystem: Mac OS X - transition to Xcode4
- transition from Xcode3 to Xcode4
- overhaul HandBrake.xcodeproj file
- simplify down to 2 configurations: debug, release
- add xcconfig for useful variants: osx106.i386, osx106.x86_64, osx107.i386, osx107.x86_64
- add configure --xcode-config as preferred method to choose OSX minimum version and SDK
- overhaul Info.plist generation to use m4 instead of cpp
- remove use of direct static libraries on command line - Xcode4 now enables -search_paths_first by default
- reference external build static libraries project file - greatly simplifying project file maintenance
- update universal build targets to use --xcode-config
- update ffmpeg hack to build on i386 in both debug and optimized modes
- update ffmpeg build to show compile verbosity
- enable local yasm when yasm probe fails
- remove unused GCC.ldsysroot
- remove unused GCC.ldminver
- enhance xcodemake to use --sysroot, --minver
- update/regenerate docs accordingly
- add support for configure-time repo probe when svn repo is incompatible format to Xcode via .svn/HANDBRAKE_REPO_PROBE
- replaced make/test/build.matrix.darwin with make/test/build.matrix


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4395 b64f7644-9d1e-0410-96f1-a4d463321fa5
2012-01-04 09:41:11 +00:00
jstebbins
b466204358 remove some debug messages I inadvertently left in
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4324 b64f7644-9d1e-0410-96f1-a4d463321fa5
2011-10-26 22:28:56 +00:00
jstebbins
4e43bd0614 Add optional yasm contrib
To enable, "configure --enable-local-yasm"

Ubuntu 10.04 LTS (lucid) has yasm 0.8 which is no longer compatible with
x264.  This change allows us to build yasm as a contrib and use it for
building both Libav and x264 which require yasm.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4314 b64f7644-9d1e-0410-96f1-a4d463321fa5
2011-10-25 02:18:15 +00:00
jstebbins
5cade70aad build: fix configure to define GCC.O before including main.defs
This is needed so that contrib makefiles can see it's value.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4099 b64f7644-9d1e-0410-96f1-a4d463321fa5
2011-07-11 15:36:16 +00:00
jstebbins
116a17393c Change HB.version from "svnXXXX" to "XXXXsvn"
This fixes an issue with packaging for Ubuntu 11.04.  The packaging tool
now requires that version numbers start with a digit.  They used to just
issue a warning.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3919 b64f7644-9d1e-0410-96f1-a4d463321fa5
2011-04-13 18:19:36 +00:00
jstebbins
c9c50d62e5 LinGui: refactor --enable-gst option
change to --disable-gst and make it work for both mingw and linux


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3774 b64f7644-9d1e-0410-96f1-a4d463321fa5
2011-01-29 22:13:18 +00:00
jstebbins
598eb7d014 Add build option --enable-ff-mpeg2 to use ffmpeg for mpeg2 decoding
instead of mpeg2dec. disabled by default.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3610 b64f7644-9d1e-0410-96f1-a4d463321fa5
2010-10-23 17:21:56 +00:00
jstebbins
b1d5e7b5af LinGui: add option to completely disable update checking
configure --disable-gtk-update-checks removes the code that does update checks
including the webkit library used for displaying the appcast.  this is
useful when packaging for a repository that has it's own update mechanism.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3323 b64f7644-9d1e-0410-96f1-a4d463321fa5
2010-05-24 18:15:40 +00:00
jstebbins
28658486da add ability to probe for existance of headers and libraries to configure.py
use this to check for system versions of bz2 z pthreadGC2 iberty and dl when
building with mingw.  solves a problem with conflicts when building on fedora with
a full standard install of their mingw packages.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3316 b64f7644-9d1e-0410-96f1-a4d463321fa5
2010-05-23 15:38:21 +00:00
jstebbins
b3c45776b3 disable asserts in libdvdnav except when configured with --debug=max
dvdnav asserts on things are are almost never fatal.  so lets not
crash on them.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3159 b64f7644-9d1e-0410-96f1-a4d463321fa5
2010-03-11 18:33:57 +00:00
jstebbins
93fdbeb8b9 patch from konablend. bumps point rev to 5 and cleans up source tar creation
thanks kona!


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2976 b64f7644-9d1e-0410-96f1-a4d463321fa5
2009-11-25 16:15:50 +00:00
eddyg
adcd8975d7 Fix the release/developer detection in configure.py
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2964 b64f7644-9d1e-0410-96f1-a4d463321fa5
2009-11-23 21:17:39 +00:00
jstebbins
74302fd604 build system: add capability to build Leopard target from Snow Leopard Host
To configure for building Leopard target from Snow Leopard: 
	configure --sysroot /Developer/SDKs/MacOSX10.5.sdk --minver 10.5



git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2806 b64f7644-9d1e-0410-96f1-a4d463321fa5
2009-09-04 21:22:41 +00:00
jstebbins
b75907bdeb build system: fix 32 bit build on Snow Leopard
gcc-4.2 on SL reports i686 (but generates x86_64 code by default) 
and uname -m reports i386 (unless you hold 6+4 keys while booting)
so modify configure.py to always add '-arch xxx' option on os x

Also, update libtheora to svn 16547 since the 1.0 release doesn't compile
on SL.


git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2800 b64f7644-9d1e-0410-96f1-a4d463321fa5
2009-09-02 16:53:07 +00:00
konablend
989cb1d9fb BuildSystem: unofficial build version strings are now 'revNNNN' to differentiate from snapshots which use 'svnNNNN'
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2582 b64f7644-9d1e-0410-96f1-a4d463321fa5
2009-06-20 01:47:14 +00:00
konablend
b5da65ca2b BuildSystem: packaging process now hard-codes svn rev into source-tarball's configure.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2581 b64f7644-9d1e-0410-96f1-a4d463321fa5
2009-06-20 01:33:25 +00:00