summaryrefslogtreecommitdiffstats
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix corrupt first frame in BD point-to-pointjstebbins2011-09-191-0/+55
| | | | | | | | | | | Seek point may be a recovery point which will not be a complete clean frame. So consume frames till we reach the recovery frame count. Patches Libav so it can tell us when the recovery point has been reached. Also improves detection of recovery points in TS files. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4231 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Improve mpeg PS supportjstebbins2011-09-141-0/+96
| | | | | | | | | | | | | | | | | | | | | | Adds support for MPEG-1 PS, HDDVD EVOB, and video codecs other than mpeg1/2 in PS Improves probing of unknown stream types by using Libav's probing utilities Use Libav to probe for dts profile in TS and PS files when profile is unknown Improves framerate detection (improved telecine detection) Fixes preview generation for mpeg video that has only a single sequence header Patches Libav to handle VC-1 pulldown flags properly Improve PS and TS stream log information git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4220 b64f7644-9d1e-0410-96f1-a4d463321fa5
* x264 bump from r2044 to r2074 - misc. fixes and improvements.Rodeo2011-09-101-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4212 b64f7644-9d1e-0410-96f1-a4d463321fa5
* x264 bump from r1995 to r2044dynaflash2011-08-031-1/+1
| | | | | | - various bugfixes and enhancement, one of which is subme 11. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4152 b64f7644-9d1e-0410-96f1-a4d463321fa5
* add more audio passthru optionsjstebbins2011-08-011-0/+12
| | | | | | | | | | | | | | | | | adds aac and mp3 passthru for mp4 and mkv containers adds dts and dtshd for mp4 container (mkv already had it) Note: The only player known (to me) to support dts(hd) in mp4 is ff/avplay In LinGui there is a new option to limit which passthru codecs will be used by the "Auto Passthru" audio codec options. The CLI already has this ability with "--audio_copy-mask" which is use in conjunction with the "copy" audio codec option. Also corrects some A/V sync issues when video frames are dropped due to a gap detected in the audio. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4149 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump Libav from git-v0.7b2-406-g7b20d35 to release 0.7.1jstebbins2011-08-016-30/+10
| | | | | | | | | | | | | It includes the following fixes: - MKV seek issue: http://git.libav.org/?p=libav.git;a=commit;h=c29c609 - crash when decoding corrupt MPEG-2 streams: http://git.libav.org/?p=libav.git;a=commit;h=20153fb - other misc. fixes: http://git.libav.org/?p=libav.git;a=shortlog;h=refs/heads/release/0.7 It includes the following new feature: - support for DTS in MP4 and MOV files: http://git.libav.org/?p=libav.git;a=commit;h=26f4875 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4148 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix or simplify several hacks involved with Libav supportjstebbins2011-07-271-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For files that are demuxed by Libav, we must share the format context with the decoder iso that it can obtain the codec context for each stream. The code that did this was very convoluted and difficult to understand. It is simplified by simply passing the context in hb_title_t. Reader was closing stream files before the decoder was finished with the context. This created the need to delay the actual close and cache the context. Changed reader so it behaves more like the rest of handbrake's work objects which lets us explicitly close after the decoders are finished. Libav does some probing of the file when av_find_stream_info is called. This probing leaves the format context in a bad state for some files and causes subsequent reads or seeks to misbehave. So open 2 contexts in ffmpeg_open. One is used only for probing, and the other only for reading. decavcodec.c had 2 separate decoders for files demuxed by hb and files demuxed by Libav. They have been combined and simplified. Previously, it was not possible to decode one source audio track multiple times in order to fan it out to multiple output tracks if the file is demuxed by Libav. We were using the codec context from the format context. Since there is only one of these for each stream, we could only do one decode for each stream. Use avcodec_copy_context to make copies of the codec context and allow multiple decodes. This allows removal of a lot of special case code for Libav streams that was necessary to duplicate the output of the decoder. Patch Libav's mkv demux to fix a seek problem. This has been pushed upstreams, so the next time we update Libav, we must remove this patch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4141 b64f7644-9d1e-0410-96f1-a4d463321fa5
* a52dec: silence pointless deca52 message (no accelerated IMDCT)jstebbins2011-07-241-0/+11
| | | | | | | Thanks to Rodeo for patch git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4133 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: encavcodecaudio improvementsjstebbins2011-07-241-46/+0
| | | | | | | | | | | | | Compute the output layout once in encavcodecaInit and store it in a member of the hb_encavcodeca work object. Fix the channel mapping of ffaac in our code rather than applying a patch to Libav. The Libav AAC encoder is bound to see a certain amount of commit activity since it needs to be improved. A patch affecting the AAC encoder is bound to break regularly git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4131 b64f7644-9d1e-0410-96f1-a4d463321fa5
* contrib: enable debuggin when debug=max and disable optimizations when ↵jstebbins2011-07-116-32/+36
| | | | | | | | | | optimizations=none except for ffmpeg on darwin i386 which fails to build when optimizations are disabled due to gcc running out of registers. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4103 b64f7644-9d1e-0410-96f1-a4d463321fa5
* contrib: enable a52dec debugging when debug=maxjstebbins2011-07-111-0/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4101 b64f7644-9d1e-0410-96f1-a4d463321fa5
* contrib: dvdread and dvdnav, allow disabling optimizations with debug disabledjstebbins2011-07-112-0/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4100 b64f7644-9d1e-0410-96f1-a4d463321fa5
* contrib: enable ffmpeg debug when debug=max is setjstebbins2011-07-111-0/+10
| | | | | | | and disable ffmpeg optimizations if optimize=none is set git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4098 b64f7644-9d1e-0410-96f1-a4d463321fa5
* contrib: enable dvdread and dvdnav debugging when debug=max is configuredjstebbins2011-07-112-0/+14
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4097 b64f7644-9d1e-0410-96f1-a4d463321fa5
* back off part of the last dvdread fixjstebbins2011-07-081-18/+0
| | | | | | | | | | It isn't necessary, and was incorrect. I was trying to anticipate a future problem with references outside the allocated region for the PTT, but did it wrong. It's probably best to just wait for a disc that exhibits this potential problem to surface before attempting a fix. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4091 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix crash when scanning True Gritjstebbins2011-07-081-0/+37
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4090 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add ffaac encode supportjstebbins2011-06-081-0/+46
| | | | | | | | Adds "AAC (ffmpeg)" option to lingui and macui, "ffaac" option to cli. Does not yet remove faac. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4031 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix up usage of deprecated libav symbols and clean up patch fuzzjstebbins2011-06-075-57/+56
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4030 b64f7644-9d1e-0410-96f1-a4d463321fa5