summaryrefslogtreecommitdiffstats
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* qsv: fix for latest MSS supportmaxd2017-04-041-0/+14
|
* qsv: better options handling for cross compilationmaxd2017-04-041-1/+1
|
* qsv: fixing mfx compilation options for Linux supportmaxd2017-04-041-0/+2
|
* Remove Fontconfig on Windows (#610)Oleg Oshmyan2017-03-121-6/+2
| | | | | | | | | | | * Remove Fontconfig on Windows Let libass use its DirectWrite font provider backend instead of Fontconfig. This eliminates Fontconfig's font cache generation delay that occurred at the start of an encode after a system font was (un)installed or when HandBrake was installed and used to burn text subtitles for the first time. * Remove LibHB's dependency on Fontconfig when it's not used
* libvpx: fix building with our pthreadw32 contribJohn Stebbins2017-03-111-0/+11
|
* HarfBuzz: disable Fontconfig (#609)Oleg Oshmyan2017-03-101-12/+4
| | | HarfBuzz uses Fontconfig only in command-line utilities, which we don't need.
* Actually set Fontconfig configuration path (#611)Oleg Oshmyan2017-03-101-2/+2
| | | | | Option --with-fcpath does not exist and never did. We had a patch that added it, but the patch has been removed. Use the standard option instead.
* contrib: Update to libvpx 1.6.1.Bradley Sepos2017-03-101-4/+3
| | | | Closes #518.
* x265: bump to version 2.3 (#437)John Stebbins2017-03-101-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * x265: bump to version 2.2 Encoder enhancements ---------------------------------- 1. Enhancements to TU selection algorithm with early-outs for improved speed; use --limit-tu to exercise. 2. New motion search method SEA (Successive Elimination Algorithm) supported now as –me 4 3. Bit-stream optimizations to improve fields in PPS and SPS for bit-rate savings through --[no-]opt-qp-pps, --[no-]opt-ref-list-length-pps, and --[no-]multi-pass-opt-rps. 4. Enabled using VBV constraints when encoding without WPP. 5. All param options dumped in SEI packet in bitstream when info selected. 6. x265 now supports POWERPC-based systems. Several key functions also have optimized ALTIVEC kernels. API changes ------------------- 1. Options to disable SEI and optional-VUI messages from bitstream made more descriptive. 2. New option --scenecut-bias to enable controlling bias to mark scene-cuts via cli. 3. Support mono and mono16 color spaces for y4m input. 4. --min-cu-size of 64 no-longer supported for reasons of visual quality (was crashing earlier anyways.) 5. API for CSV now expects version string for better integration of x265 into other applications. Bug fixes -------------- 1. Several fixes to slice-based encoding. 2. --log2-max-poc-lsb‘s range limited according to HEVC spec. 3. Restrict MVs to within legal boundaries when encoding. * x265: bump to version 2.3 Encoder enhancements ---------------------------------- 1. New SSIM-based RD-cost computation for improved visual quality, and efficiency; use --ssim-rd to exercise. 2. Multi-pass encoding can now share analysis information from prior passes (in addition to rate-control information) to improve performance and quality of subsequent passes; to your multi-pass command-lines that use the --pass option, add --multi-pass-opt-distortion to share distortion information, and --multi-pass-opt-analysis to share other analysis information. 3. A dedicated thread pool for lookahead can now be specified with --lookahead-threads. 4. --dynamic-rd dynamically increase analysis in areas where the bitrate is being capped by VBV; works for both CRF and ABR encodes with VBV settings. 5. The number of bits used to signal the delta-QP can be optimized with the --opt-cu-delta-qp option; found to be useful in some scenarios for lower bitrate targets. 6. Experimental feature option:–aq-motion adds new QP offsets based on relative motion of a block with respect to the movement of the frame. API changes ------------------- 1. Reconfigure API now supports signalling new scaling lists. 2. x265 application’s csv functionality now reports time (in milliseconds) taken to encode each frame. 3. --strict-cbr enables stricter bitrate adherence by adding filler bits when achieved bitrate is lower than the target; earlier, it was only reacting when the achieved rate was higher. 4. --hdr can be used to ensure that max-cll and max-fall values are always signaled (even if 0,0). Bug fixes -------------- 1. Fixed incorrect HW thread counting on MacOS platform. 2. Fixed scaling lists support for 4:4:4 videos. 3. Inconsistent output fix for --opt-qp-pss by removing last slice’s QP from cost calculation. 4. VTune profiling (enabled using ENABLE_VTUNE CMake option) now also works with 2017 VTune builds. * x265: remove unnecessary module.defs defines
* libav: a more robust fix for aac encoder crashJohn Stebbins2017-03-081-17/+94
|
* qsv: libav's patch fixmaxd2017-03-051-9/+9
|
* qsv: adding hevc10 support starting from KBL platformmaxd2017-03-051-0/+149
|
* contrib: Remove x265 Windows XP support.Bradley Sepos2017-03-041-1/+1
| | | | We stopped supporting XP awhile back. Removal is necessary for NUMA. Closes #539.
* libav: simplify patch for corrupt raw videoJohn Stebbins2017-03-011-27/+8
|
* libav: gracefully handle a broken AVI indexJohn Stebbins2017-02-271-0/+42
| | | | Fixes https://github.com/HandBrake/HandBrake/issues/439
* libav: fix rawvideo in mkv corruptionJohn Stebbins2017-02-261-0/+44
| | | | fixes https://github.com/HandBrake/HandBrake/issues/128
* libav: fix latm aac decoder hangJohn Stebbins2017-02-231-0/+71
| | | | | | | | | Don't return EAGAIN from decoders. When waiting for codec parameters, the decoder returned EAGAIN which was meant to be interpreted as "send more data". But the new libav decoder API changed the definition of EAGAIN to mean "send the same packet again". So hang.
* libav: fix reading wmv larger than 2GJohn Stebbins2017-02-231-0/+27
| | | | fixes https://github.com/HandBrake/HandBrake/issues/587
* libav: fix crash when encoding aac at high bitrateJohn Stebbins2017-02-231-0/+28
| | | | Fixes https://github.com/HandBrake/HandBrake/issues/510
* libav: fix mkv seek crashJohn Stebbins2017-02-211-0/+57
| | | | | | Remove hopelessly broken code that attempted to rewind the seek point to a position in the file where subtitles in every subtitle track after the seek time are after the computed position.
* libav: extract initial_padding from mp4 edit listJohn Stebbins2017-02-211-0/+42
|
* libav: fix mp4 edit list delay rounding errorJohn Stebbins2017-02-211-10/+14
| | | | | The error was small, but could result in a 1ms shift for every generation of remuxing.
* libav: explicitly write encoder delay and preroll to mp4John Stebbins2017-02-202-0/+178
| | | | | | | | | | This will make it possible to read encoder delay back and drop the samples appropriately. Writing preroll sample group to the mp4 fixes post-processing of the file with Apple tools. If the roll sample group is not present, Apple tools will apply an implicit rule to remove encoder delay which results in the delay being dropped twice.
* libav: revise edit list offset patchJohn Stebbins2017-02-191-37/+67
| | | | No functional difference
* libav: fix mkv timestamps when initial_padding is setJohn Stebbins2017-02-151-0/+12
| | | | | | initial_padding is used to inform libav muxers of initial encoder delay duration. When set for mkv it can be used to remove the silence samples during playback.
* libav: fix mp4 edit list A/V sync properlyJohn Stebbins2017-02-151-7/+69
|
* libav: fix failure to scan wmv fileJohn Stebbins2017-02-151-0/+117
| | | | | | | | | Fixes problem reported here https://forum.handbrake.fr/viewtopic.php?f=11&t=35690 Also possibly related https://github.com/HandBrake/HandBrake/issues/466 https://github.com/HandBrake/HandBrake/issues/495
* libav: fix crash when scanning wmv fileJohn Stebbins2017-02-151-0/+31
| | | | | | | | | | | Fixes crash reported here https://forum.handbrake.fr/viewtopic.php?f=11&t=35690 Does not fix scan problem, but follow-up commit will. Also possibly related https://github.com/HandBrake/HandBrake/issues/466 https://github.com/HandBrake/HandBrake/issues/495
* libav: fix mp4 audio sync problemJohn Stebbins2017-02-101-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initial CTS (composition offset) was essentially getting added twice to the computed PTS Fixes https://github.com/HandBrake/HandBrake/issues/568 Here's a description of how mp4 timestamps work and what is going wrong for the curious. Terminology: pts = presentation timestamp, when a frame is displayed dts = decode timestamp, when a frame is decoded cts = composition offset, pts - dts empty edit = defines the pts of the first frame in an mp4 track mp4 timestamps are computed from 3 primary values that are in the mp4 stream. An "empty edit" in the track edit list per frame duration per frame cts Here's where things get messy. How do you compute pts(N) and dts(N) for some frame N from only the above 3 values in the mp4 file? empty edit == pts(0) and is read from the mp4 file (EDTS table) duration(N) is read from the mp4 file (STTS table) cts(N) is read from the mp4 file (CTTS table) We know cts(0) = pts(0) - dts(0) by definition of cts And cts(0) and pts(0) are known since they can be read from the mp4 file This is the step libav gets wrong! Therefore we can compute dts(0) = pts(0) - cts(0). libav computes dts(0) = pts(0) which shifts all frames by cts(0) After that dts(N) = dts(0) + duration(0) + ... + duration(N-1) And finally pts(N) = dts(N) + cts(N)
* libav: fix h.264 initial recovery point detectionJohn Stebbins2017-02-091-0/+20
| | | | | Initial GOP of video was dropped during decode. Fixes https://github.com/HandBrake/HandBrake/issues/520
* dvdread: Don't ignore errors from UDFReadBlocksJohn Stebbins2017-01-211-0/+162
| | | | Fixes https://github.com/HandBrake/HandBrake/issues/535
* disable fontconfig on macOSDamiano Galassi2017-01-182-16/+34
|
* libav: fix EIO error when reaching EOF of DV filesJohn Stebbins2017-01-111-0/+37
|
* contrib: Fontconfig workaround for weak symbols not found on Mac prior to ↵Bradley Sepos2016-12-271-0/+5
| | | | | | Sierra. When built with Xcode 8 and run on El Capitan or earlier, HandBrake could crash when attempting to burn soft subtitles.
* contrib: Update to automake 1.15.Bradley Sepos2016-12-241-7/+3
|
* contrib: Make recent fontconfig patch darwin/mac only for now.Bradley Sepos2016-12-241-0/+0
| | | | Automake fails if version < 1.15.
* contrib: Fix fontconfig patch committed as 39f6588.1.0.0Bradley Sepos2016-12-241-11/+8
|
* contrib: Add /Library/Fonts to fontconfig.Bradley Sepos2016-12-241-1/+1
|
* contrib: Patch fontconfig to allow setting RUN_FC_CACHE_TEST makevar.Bradley Sepos2016-12-241-0/+20
|
* libav: fix SRT subtitle durationJohn Stebbins2016-12-221-0/+31
|
* contrib: Add fontconfig fccache patch.Bradley Sepos2016-12-211-0/+51
| | | | Unreleased bug fix. Original commit on the fontconfig master branch: https://cgit.freedesktop.org/fontconfig/commit/?id=0e9b2a152729bfd457e656a9258a06cbfdac1bae
* libav: disable vdpauJohn Stebbins2016-12-211-0/+1
| | | | | libav auto enables this if it finds support libs. This causes a link error, so explicitly disable it.
* contrib: Disable libva for libmfx.Bradley Sepos2016-12-171-0/+2
| | | | Should be automatic, but it seems libmfx's configure script sometimes assumes libva is present. Hopefully this fixes Jenkins.
* contrib: Disable libav vaapi.Bradley Sepos2016-12-171-0/+1
| | | | We're not using it (yet) and it seems to be causing build problems with Jenkins.
* contrib: Add libav colr patch to support new color signaling in mov.Bradley Sepos2016-12-171-0/+57
| | | | Needed for BT.2020, etc.
* contrib: enable avcodec's libmfx (Intel QSV) support when applicable.Tim Walker2016-12-171-4/+3
|
* contrib: Update to Libav 12.Bradley Sepos2016-12-1716-2887/+3
|
* libhb: fix build with --enable-qsvTim Walker2016-12-171-3/+4
| | | | | | | | | | Convert qsv_livav.[ch] to be built within libhb. Convert other files to use qsv_libav.h in place of libavcodec/qsv.h Don't attempt to build libav with QSV support (not available in unpatched release/11 branch). QSV-accelerated decoding is broken, so disable it for the time being.
* libav: remove our custom QSV wrapper.Tim Walker2016-12-171-2309/+0
| | | | | | It prevents us from easily upgrading libav to a newer version. Note: this breaks builds with --enable-qsv
* contrib: Fix x264 archive and hash.Bradley Sepos2016-12-151-3/+3
| | | | Accidentally reverted the last update in 72bf6f7 (Bradley's fault).