summaryrefslogtreecommitdiffstats
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* Fix mingw build problemsjstebbins2012-10-043-14/+15
| | | | | | | | | | | | If the mingw environment has duplicates of some of the contrib libraries that we build, the mingw system lib or header was being used instead of our contrib version. Also, some dependencies were missing which would cause parallel builds to randomly fail because a necessary contrib hadn't been built yet. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5000 b64f7644-9d1e-0410-96f1-a4d463321fa5
* contrib/ffmpeg: update patch numbers after SVN revision 4950.Rodeo2012-09-225-0/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4975 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove contrib/ffmpeg/A02-png-sequences.patch.konablend2012-09-101-37/+0
| | | | | | | | | | | | | Set AVPacket flags indicating key-frame for avcodec_decode_video2() call. Specifically, libav documentation states: * @param[in] avpkt The input AVpacket containing the input buffer. * You can create such packet with av_init_packet() and by then setting * data and size, some decoders might in addition need other fields like * flags&AV_PKT_FLAG_KEY. All decoders are designed to use the least * fields possible. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4950 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Disable format specification generation when building libtheora.Rodeo2012-09-101-0/+1
| | | | | | | | | | Fixes cross-compile failure on hosts with pdfLaTeX, BibTeX and TransFig installed. Patch by Arthur Liu. Thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4949 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Update the fmac scalar patch. Instead of a workaround, apply the fix from ↵Rodeo2012-09-081-20/+20
| | | | | | Libav, so that the patch can be dropped on the next bump. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4943 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove mingw+libmkv dependency on libiberty.konablend2012-09-081-0/+4
| | | | | | | | Remove mingw+test dependency on libiberty. Add build system support for propagating compiler DEFINES to contrib configure. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4942 b64f7644-9d1e-0410-96f1-a4d463321fa5
* A patch for mpeg2 SetWindowLong() and GWL_USERDATA do not exist in recent ↵sr552012-09-081-0/+39
| | | | | | versions of mingw-w64. Since we don't output to the display anyway, I've just disabled the code so things build. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4940 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add autotools { autoconf, automake, libtool } as contribs.konablend2012-09-078-0/+24
| | | | | | | | | | | | | | | | | | | 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
* Remove redundant patch. It's been superseded by ↵Rodeo2012-09-071-16/+0
| | | | | | http://git.libav.org/?p=libav.git;a=commit;h=14f063d294a18a31928d2167a66b1087910e14c8 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4931 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Audio improvements.Rodeo2012-09-033-6/+758
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New supported samplerates: 8, 11.025, 12, 16 kHz. Now 8, 11.025, 12, 16, 22.05, 24, 42, 44.1, 48 Khz are supported. Unsupported samplerates are sanitized to the closest samplerate for all encoders. Samplerates < 32 kHz are now forbidden for AC3 encoding (sanitized to 32 kHz). Most AC3 decoders don't support such samplerates. New upmixing: 3.0 (Front Left, Right & Center) can now be upmixed to 5.1 to preserve the center channel. New mixdowns: 6.1 (Front Left, Right & Center, Surround Left, Right & Center, LFE) 7.1 (Front Left, Right & Center, Surround Left & Right, Rear Left & Right, LFE) -> available to Vorbis & FLAC encoders for compatible input channel layouts 7.1 (Front Left, Right & Center, Front Left & Right of Center, Surround Left & Right, LFE) -> available to AAC encoders (ca_aac, ca_haac, faac) for compatible input channel layouts Mono (Left Only): Stereo to Mono by discarding the Right channel Mono (Right Only): Stereo to Mono by discarding the Left channel -> available to all encoders for non-Dolby Stereo input The "6-channel discrete" mixdown becomes "5.1 Channels". New bitrates: 960 - 1536 Kbps. This lets users work around poor audio quality in crappy encoders by throwing more bits at them. Bitrate limits have been re-worked and re-tested for all encoders. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4930 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Use a more direct workaround for the DTS-ES XCh decoding issue.Rodeo2012-08-261-0/+20
| | | | | | | | | | The workaround committed in revision 4896 works for now, but if/when we add 6.1 encoding, we'll want to decode that discrete center surround channel. We could special-case it, but the issue would still be present under 64-bit Windows. Instead, disable the buggy assembly optimizations until they are fixed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4918 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Use hb_audio_resample for downmixing AC3 sources. DRC is still applied by ↵Rodeo2012-08-024-135/+176
| | | | | | | | | | | | | | | | | liba52. Add support for center & surround mix levels to hb_audio_resample. This allows us to support upmixing all audio sources. For sources that have at least 2 front and one back or side channel(s), allow upmixing to 5.1: 3.0/3.1 (2 front and 1 back channels) 4.0/4.1 (3 front and 1 back channels) 4.0/4.1 (2 front and 2 side channels) 5.0 (3 front and 2 side channels) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4885 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: Allow control of audio mix normalizationjstebbins2012-08-011-0/+39
| | | | | | | | | | | | Since switching to libavresample for audio mixing, our output volume levels have been reduced because libavresample does mix level normalization by default. This change applies a patch to libav to allow us to disable this behavior and adds a new field to hb_audio_config_t to allow the hb frontends to control this feature. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4884 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Bump Libav to v0.8-2551-gc83f44d.Rodeo2012-07-301-7/+5
| | | | | | | | | | | | | | Fixes an issue in assembly code that could result in very poor performance when encoding with x264 & AC3 Passthru. Thanks to our John Stebbins for finding the cause of the bug, and to x264 & Libav developers for fixing it. Miscellaneous other fixes and improvements, including multichannel Apple Lossless audio decoding support. Also, clean up our Libav configure options (group things together, disable all hardware accelerations with one switch instead of individually, and disable building the unused avfilter library). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4883 b64f7644-9d1e-0410-96f1-a4d463321fa5
* disable harfbuzz on libasssr552012-07-161-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4848 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Use libav for dts audio decoding instead of libdca jstebbins2012-07-153-843/+0
| | | | | | | | | libdca has no advantage over libav for dts audio decoding. It doesn't do drc and it's downmix capabilities are actually inferior to libav. So this completely removes libdca from libhb git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4844 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Cleanup after last commit: delete empty files, rename some patches.Rodeo2012-07-115-0/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4826 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump libav to libav-v0.8-2197-g1a068bfjstebbins2012-07-1114-270/+112
| | | | | | | | | | | | Resolves several deprecated api's Eliminates several libav patches Eliminates our builtin downmix in favour of avresample Eliminate HB_INPUT_CH_LAYOUT_* and replace with AV_CH_LAYOUT_* Resolves 6.x and 7.0 input channel layout issues HB had Adds downmix support to declpcm. We never had it! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4825 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix yet another stupid overshight on my part.Rodeo2012-06-182-40/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4753 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix HE-AAC in MKV.Rodeo2012-06-181-0/+56
| | | | | | | | HandBrake's output should now play correctly on Sigma-based hardware players (among others). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4750 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add PGS codec ID to libmkv and use it.Rodeo2012-06-181-0/+24
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4749 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Don't override fribidi lib and cflags when building libass on linuxjstebbins2012-06-081-1/+5
| | | | | | | | We use the system version of fribidi on linux and overriding the build flags causes failures on some systems (gentoo). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4726 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Bump x264 to r2200-999b753.Rodeo2012-05-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - H.264 Level 5.2 support. - Threaded lookahead: improved encoding speed with very fast settings, on systems with 8 processor "threads" or more. 'By default, lookahead threads are 1/6 of regular threads. This isn't exacting, but it seems to work well for all presets on real systems. With sliced-threads, it's the same as the number of encoding threads.' Mini-benchmark: --------------- 2.2 GHz Intel Core i7, 8 processor threads (4 physical cores + 4 virtual cores), Mac OS X 10.7.4. HandBrake's "Normal" preset. libavcodec decoding threads: 8 / 2 + 1 = 5 x264 encoding threads: 8 * 3 / 2 = 12 x264 lookahead threads: 12 / 6 = 2 Blu-ray, H.264, 1920x1080 -> 1920x800 ~48 fps with threaded lookahead, ~42 fps without DVD, MPEG-2, 720x576 -> 720x576 ~224 fps with threaded lookahead, ~192 fps without git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4704 b64f7644-9d1e-0410-96f1-a4d463321fa5
* PGS (bluray) subtitle support \o/jstebbins2012-04-261-0/+82
| | | | | | | | | | | | Thanks to patches supplied by David Mitchell and Rob McMullen we finally have PGS support. I added a fix for libav pgs timestamp processing and detection of forced subtitles to their work, then made foreign audio search work with PGS subs. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4605 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Bump x264 to r2184-5c85e0a.Rodeo2012-03-311-1/+1
| | | | | | | | Miscellaneous fixes and improvements. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4570 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add a meaningful error message to the log when a 32-bit MP4 encode exceeds 4 ↵Rodeo2012-02-251-0/+14
| | | | | | GB in size. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4464 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Bump x264 to r2146-bcd41db.Rodeo2012-02-011-1/+1
| | | | | | | | | | 20-35% faster with trellis=2. As usual, misc. fixes and improvements. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4431 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix Libav VC-1 decoding bug (fix sourced from Libav-git-498605b).Rodeo2012-01-301-0/+40
| | | | | | | | Fixes https://forum.handbrake.fr/viewtopic.php?f=12&t=23188 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4427 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix fontconfig search path for linux and osxjstebbins2012-01-093-73/+20633
| | | | | | | | | | | It was searching for .../contrib/etc/fonts. Needed to be set to the standard search paths on the respective systems. On windows, it already searches the directory fonts under the executables directory. We need to put a copy of fonts.conf there. This can be copied from contrib/etc/fonts/fonts.conf git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4405 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Backport mp4v2 SVN revision 473.Rodeo2012-01-051-0/+22
| | | | | | | | Fixes a crash due to a division by zero. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4399 b64f7644-9d1e-0410-96f1-a4d463321fa5
* BuildSystem: Mac OS X - transition to Xcode4konablend2012-01-041-12/+22
| | | | | | | | | | | | | | | | | | | | | | | | - 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
* Fix crash in swscale on windows XP 32bitjstebbins2011-11-181-0/+13
| | | | | | | It seems threads on XP are not guaranteed to start with an 16 byte aligned stack. swscale's SSE code assumed that the stack was aligned. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4357 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix seeking in wmv files that have no indexjstebbins2011-11-131-0/+16
| | | | | | | Libav's fallback binary search seek fails because a PTS is never generated for video stream types that have B frames. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4348 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix new dvd structure protectionjstebbins2011-11-101-0/+21
| | | | | | Transformers 3 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4344 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump Libav to v0.7-1696-gcae4f4bjstebbins2011-11-041-1/+1
| | | | | | Fixes mingw64 crash when decoding dts audio git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4338 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump ffmpeg to v0.7-1470-gb95fbbajstebbins2011-10-261-1/+1
| | | | | | | | | Fixes problem setting dsur_mode in ac3 encoder that caused encode failures if using ac3 encoder and mixdown is dolby or dplii. Fixes a VC-1 decode issue that caused scattered misplaced blocks. Fixes swscale bug that caused banding. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4322 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add optional yasm contribjstebbins2011-10-254-2/+20
| | | | | | | | | | 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
* bump x264 from r2085 to r2106jstebbins2011-10-231-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4313 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add fribidi to build dependenciesjstebbins2011-10-221-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4305 b64f7644-9d1e-0410-96f1-a4d463321fa5
* ASS bump to 0.10.0jstebbins2011-10-217-88/+59
| | | | | | | | libass has a new dependency on fribidi. So also add fribidi to contribs. I repackaged the libass distribution because the configure script shipped with it is damaged beyond repair for darwin. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4304 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump freetype from 2.3.9 to 2.4.7jstebbins2011-10-211-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4303 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump libvorbis from aoTuV b5 to b6.03jstebbins2011-10-215-57/+27
| | | | | | | | | | Libvorbis aoTuV was unified with Xiph.Org's libvorbis1.3.2. Many bug fixes and improvements. Enlarge buffer for audio headers. The new vorbis generates larger code book headers. patch configure to fix llvm -O4 bug git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4302 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump libogg from 1.1.3 to 1.3.0jstebbins2011-10-213-6/+18
| | | | | | patch configure for osx git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4301 b64f7644-9d1e-0410-96f1-a4d463321fa5
* limit optimization level to -O3 as llvm's gcc/clang codebase borks on -O4 ↵konablend2011-10-192-0/+28
| | | | | | and higher git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4299 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump Libav from v0.7.1 to v0.7-1241-g5f3fb59jstebbins2011-10-1510-131/+120
| | | | | | | | | | | | Fixes VC-1 decode issue Adds partial support for interlaced VC-1 decode Adds ProRes decoder Fixes ac3 encoder dolby flag Fixes DCA frame size setting (delete patch A04) Fixes VC-1 repeat field processing (delete patch A05) Numerous other bug fixes and enhancements git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4291 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix bone-head error in libmkv private data offsetjstebbins2011-10-141-0/+12
| | | | | | forgot to zero the offset before adding context offset to it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4285 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump libmkv from 0.6.4.1-3 to 0.6.5jstebbins2011-10-122-145/+1
| | | | | | This eliminates the need for the patch that was added with flac support. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4283 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add flac + quality + compression level supportjstebbins2011-10-122-0/+145
| | | | | | | | | Adds flac audio to cli, lingui, and macgui Adds quality and compression level options to cli Adds quality option to lingui Quality option works for vorbis and lame git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4281 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump x264 from r2074 to r2085jstebbins2011-09-281-1/+1
| | | | | | some small speed improvements and a couple bug fixes git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4261 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix for DVD's that have broken udf filenamesjstebbins2011-09-261-0/+37
| | | | | | | | | A new obfuscation technique it to add UDF-16 filenames that have junk in the high byte and things like "VIDEO_TS.IFO" in the low byte. libdvdread throws away the high byte which results in references to the bogus copy of the file. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4252 b64f7644-9d1e-0410-96f1-a4d463321fa5