summaryrefslogtreecommitdiffstats
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
...
* contrib: Fix potential assembly issues with libvpx and AVX-512.Bradley Sepos2019-01-072-0/+50
| | | | Fixes cross compilation with gcc 8 and where clang is acting weird.
* flatpak: fix x264 link errors in latest flatpak SdkJohn Stebbins2019-01-051-0/+4
| | | | | Latest flatpak freedesktop Sdk gcc uses PIE by default which requires that we build x264 with PIC
* Update the mfx dispatch library to the head revision a7d95e5 to fix issues ↵sr552018-12-301-2/+2
| | | | with newer Intel Drivers.
* contrib: Add FFmpeg patch fixing decoding for certain MPEG streams.Bradley Sepos2018-12-141-0/+30
| | | | Fixes #1563.
* contrib: Update to FFmpeg 4.1.0.Bradley Sepos2018-11-267-67/+262
| | | | Includes additional patches applied to the release branch shortly after tagging, including a patch that fixes #1595.
* contrib: Update to x265 2.9.Bradley Sepos2018-11-264-20/+20
|
* contrib: Update to x264 build 157 r2935 545de2f.Bradley Sepos2018-11-263-606/+10
|
* contrib: Update to libopus 1.3.Bradley Sepos2018-11-261-3/+3
|
* Add VideoToolbox hardware encoding thru FFmpeg.Damiano Galassi2018-11-152-1/+31
|
* ffmpeg: fix static audio with pcm in mp4John Stebbins2018-09-091-0/+64
| | | | Fixes https://github.com/HandBrake/HandBrake/issues/1555
* contrib: update libdvdnav and libdvdread to version 6.0.0Damiano Galassi2018-08-303-14/+15
|
* build: Allows to use clang/clang++ compiler on FreeBSD.Yuichiro NAITO2018-08-221-0/+5
| | | | | LOCALBASE variable is used to indicate where FreeBSD ports are installed. default is /usr/local.
* contrib: gtk: libhb: macosx: test: Remove remaining traces of libavresample.Bradley Sepos2018-08-161-1/+0
| | | | Extension of and closes #1422.
* libbluray: add debug symbols when debugging is enabledJohn Stebbins2018-08-061-0/+4
|
* build: Fix to not pass --enable-nvenc to FFmpeg configure on FreeBSD.Yuichiro NAITO2018-07-021-11/+0
| | | | Nvenc is not currently supported by Nvidia on FreeBSD. If it becomes supported on FreeBSD, please check nvidia-driver and FFmpeg.
* build: Fix to add FreeBSD to nvenc target.Yuichiro NAITO2018-07-011-0/+11
|
* Add NVEnc encoder. (Round 3) (#1437)Scott2018-06-293-1/+25
| | | | | | Adding the Nvidia NVEnc H.264 and H.265 encoders. Based on Initial work by sgothel --enable-nvenc is the new compile time configure option to enable for builds.
* contrib: Add additional AVX-512 compatibility patches to libvpx.Bradley Sepos2018-06-282-0/+96
| | | | #1401.
* ffmpeg: alternate fix for corrupt preview framesJohn Stebbins2018-06-221-18/+15
| | | | | This leaves the recovery point heuristic intact and fixes the problem that was triggering the heuristic to return an early frame
* contrib: Update to FFmpeg 4.0.1.Bradley Sepos2018-06-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: https://github.com/FFmpeg/FFmpeg/blob/e049f7c24fc6aa5fc925f860e2ad940a75cfd84f/Changelog - avcodec/aacdec_fixed: Fix undefined integer overflow in apply_independent_coupling_fixed() - avcodec/dirac_dwt_template: Fix undefined behavior in interleave() - avutil/common: Fix undefined behavior in av_clip_uintp2_c() - fftools/ffmpeg: Fallback to duration if sample rate is unavailable - avformat/mov: Only set pkt->duration to non negative values - avcodec/mpeg4videodec: Clear bits_per_raw_sample if it has originated from a previous instance - avformat/movenc: fix recognization of cover image streams - avformat/movenc: properly handle cover image codecs - avcodec/h264_slice: Fix overflow in recovery_frame computation - avcodec/h264_ps: Move MAX_LOG2_MAX_FRAME_NUM to header so it can be used in h264_sei - avcodec/h264_mc_template: Only prefetch motion if the list is used. - avcodec/xwddec: Use ff_set_dimensions() - avcodec/wavpack: Fix overflow in adding tail - avcodec/shorten: Fix multiple integer overflows - avcodec/shorten: Fix undefined shift in fix_bitshift() - avcodec/shorten: Fix a negative left shift in shorten_decode_frame() - avcodec/shorten: Sanity check nmeans - avcodec/shorten: Check non COMM chunk len before skip in decode_aiff_header() - avcodec/mjpegdec: Fix integer overflow in ljpeg_decode_rgb_scan() - avcodec/truemotion2: Fix overflow in tm2_apply_deltas() - avcodec/opus_silk: Change silk_lsf2lpc() slightly toward silk/NLSF2A.c - avcodec/amrwbdec: Fix division by 0 in find_hb_gain() - avcodec/h263dec: Reinitialize idct context if it has not been setup for the active profile - avcodec/idctdsp: Clear idct/idct_add for studio profile - avformat/mov: replace a value error by clipping into valid range in mov_read_stsc() - avformat/bintext: Reduce detection for random .bin files as it more likely is not a multimedia related file - avformat/mov: Break out early if chunk_count is 0 in mov_build_index() - avcodec/fic: Avoid some magic numbers related to cursors - avcodec/mpeg4video: Detect reference studio streams as studio streams - avcodec/mpeg4videodec: Do not corrupt bits_per_raw_sample - avcodec/mpeg4videode: Eliminate out of loop VOP startcode reading for studio profile - avcodec/g2meet: ask for sample with overflowing RGB - avcodec/idctdsp: Transmit studio_profile to init instead of using AVCodecContext profile - avcodec/ac3dec: Check that the number of channels with dependant streams is valid - avcodec/ac3dec: Fix null pointer dereference in ac3_decode_frame() - avcodec/aacdec_fixed: use 64bit to avoid overflow in rounding in apply_dependent_coupling_fixed() - oavcodec/aacpsdsp_template: Use unsigned for hs0X to prevent undefined behavior - avcodec/g723_1dec: Clip bits2 in both directions - avcodec/mpeg4videoenc: Use 64 bit for times in mpeg4_encode_gop_header() - avcodec/mlpdec: Only change noise_type if the related fields are valid - indeo4: Decode all or nothing of a band header. - avcodec/ac3dec: Use frame_size if superframe_size is 0 - avformat/mov: Only fail for STCO/STSC contradictions if both exist - avcodec/dirac_dwt: Fix integer overflow in COMPOSE_DD97iH0 / COMPOSE_DD137iL0 - avcodec/fic: Check available input space for cursor - avcodec/mpeg4videodec: Check bps (VOL header) before VOP for studio profile - avcodec/g2meet: Check RGB upper limit - avcodec/jpeg2000dec: Fix undefined shift in the jpeg2000_decode_packets_po_iteration() CPRL case - avcodec/jpeg2000dec: Skip init for component in CPRL if nothing is to be done - avcodec/g2meet: Change order of operations to avoid undefined behavior - avcodec/flac_parser: Fix infinite loop - avcodec/mpeg4videodec: Split decode_studio_vol_header() out of decode_studiovisualobject() - avcodec/mpeg4videodec: Move decode_studiovisualobject() parsing in the branch for visual object parsing - avcodec/mpeg4video_parser: Avoid litteral 0x1B6, use named constant instead - avcodec/mpeg4video_parser: Fix incorrect spliting of MPEG-4 studio frames - avformat/m4vdec: Use the same constant names as libavcodec - avformat/m4vdec: Fix detection of raw MPEG-4 ES Studio - avcodec/wavpack: Fix integer overflow in DEC_MED() / INC_MED() - avcodec/wavpack: Fix integer overflow in wv_unpack_stereo() - avcodec/error_resilience: Fix integer overflow in filter181() - avcodec/h263dec: Check slice_ret in mspeg4 slice loop - avcodec/elsdec: Fix memleaks - avcodec/vc1_block: simplify ac_val computation - avcodec/ffv1enc: Check that the crc + version combination is supported - configure: The eac3_core bitstream filter needs the ac3 parser. - configure: fix arm inline asm checks - lavf/libssh: translate a read of 0 to EOF - ffprobe: fix SEGV when new streams are added - avformat/mpegts: fix incorrect indentation - avformat/mpegts: initialize section_buf to fix valgrind test failure - avformat/mpegts: reindent after last change - avformat/mpegts: parse sections with multiple tables - avformat/mpegts: clean up whitespace - avformat/mpegts: use MAX_SECTION_SIZE instead of hardcoded value - avformat/mpegts: skip non-PMT tids earlier - avcodec/mediacodecdec: add workaround for buggy amlogic mpeg2 decoder - avcodec/mediacodecdec: wait on first frame after input buffers are full - avcodec/mediacodecdec: restructure mediacodec_receive_frame - avcodec/mediacodec_wrapper: add helper to fetch SDK_INT - avcodec/mediacodecdec: refactor pts handling - avcodec/mediacodecdec: use AV_TIME_BASE_Q - avcodec/mediacodecdec: clarify delay_flush specific code - avcodec/videotoolbox: fix decoding of some HEVC videos - avcodec/hevc: remove videotoolbox hack - avcodec/videotoolbox: split h264/hevc callbacks - avcodec/videotoolbox: cleanups - avcodec/videotoolbox: fix kVTCouldNotFindVideoDecoderErr trying to decode HEVC on iOS - avcodec/videotoolbox: improve logging of decoder errors - avcodec/xwddec: fix palette alpha - avformat/webm_chunk: always use a static buffer for get_chunk_filename - configure: fix configure check for lilv-0 - avcodec/nvdec_hevc: fix scaling lists - avcodec/hevcdec: make ff_hevc_frame_nb_refs take a const pointer - lavf/bluray: translate a read of 0 to EOF - lavf/dashenc: don't call flush_init_segment before avformat_write_header - avdevice/decklink_dec: unref packets on avpacket_queue_put error - avcodec/hnm4video: fix palette alpha - avcodec/anm: fix palette alpha - avformat/qtpalette: parse color table according to the QuickTime file format specs - ffplay: Fix realloc_texture when input texture is NULL. - hwcontext_vaapi: Fix compilation with libva versions < 1.4.0 - lavf/qsv: clone the frame which may be managed by framework - lavf: make overlay_qsv work based on framesync - avformat/segafilm - revert keyframe detection - avformat/utils: refactor upstream_stream_timings - avformat/utils: ignore outlier durations on subtitle/data streams as well
* ffmpeg: fix currupt h.264 preview framesJohn Stebbins2018-06-201-0/+20
| | | | | | | | | The ffmpeg developers added a "heuristic" to the h.264 recovery point code I wrote to prevent display of corrupt frames. The heuristic doesn't work very reliably, so I've disabled it. When I get a chance I'll see if I can come up with a better way to handle what the heuristic was added for.
* Revert "contrib: Enable PIC when building x264 Flatpak on Linux."Bradley Sepos2018-06-181-6/+0
| | | | This reverts commit a589396d51a11a8697e2909e75e097db5bed22a1.
* contrib: Enable PIC when building x264 Flatpak on Linux.Bradley Sepos2018-06-181-0/+6
|
* contrib: Set libvpx target to minimum system version we support on macOS.Bradley Sepos2018-06-181-0/+6
|
* contrib: make: Remove CMake contrib.Bradley Sepos2018-06-176-21/+4
| | | | Still required, only HandBrake will not build it anymore.
* contrib: make: Remove --enable-local-autotools and --enable-local-pkgconfig.Bradley Sepos2018-06-1715-79/+5
| | | | Closes #549.
* contrib: gtk: libhb: make: scripts: Remove yasm contrib.Bradley Sepos2018-06-172-8/+0
|
* contrib: Switch yasm dependencies to nasm.Bradley Sepos2018-06-177-38/+8
|
* libopus: run autoreconfilovezfs2018-06-141-0/+2
| | | configure.ac is modified by the patch from #1380
* contrib: Add macOS 10.13 High Sierra detection patch to libvpx.Bradley Sepos2018-06-101-0/+59
| | | | Seems like libvpx should have a generic target for future/unknown macOS versions.
* contrib: Add compatibility patches for libvpx.Bradley Sepos2018-06-102-0/+116
| | | | The avx-512 patch should avoid breakage with wonky compilers and older systems such as macOS <= 10.11. The pthread detection patch can be applied more generally but really is a safety check targeting win32.
* VCE: Fix a case sensitivity issue in the build scriptsr552018-06-081-1/+1
|
* contrib: Add x264 patch fixing asm segfaults with clang.Bradley Sepos2018-06-081-0/+594
| | | | Fixes -mavx which fixes -march=native as used by Homebrew on macOS. Fixes #1351.
* contrib: Only enable FFmpeg AMF configure options when VCE enabled.Bradley Sepos2018-06-061-3/+4
|
* Add support for VCE hardware encoding.Michael Wootton2018-06-061-0/+3
|
* contrib: Remove --enable-lzma from FFmpeg.Bradley Sepos2018-06-031-1/+0
| | | | It is the default.
* libvpx: fix vpx.pc pkg-config file for static builds (#1385)John Stebbins2018-06-031-0/+26
| | | | | | | | The generated vpx.pc file results in undefined symbols during ffmpeg's configure tests. libpthread is not getting added to the link line as required. The vpx.pc file needs to include -lpthread in the Libs instead of Libs.private when generating only a static library. Fixes https://github.com/HandBrake/HandBrake/issues/1383
* contrib: Move FFmpeg dep AMF into conditional.Bradley Sepos2018-06-031-1/+4
| | | | Practically, there is no difference. But this is how QSV was done and is easy to read.
* contrib: build: Add AMF headers and --enable-vce.Bradley Sepos2018-06-033-1/+24
| | | | #1144.
* contrib: Remove workaround building x264 before FFmpeg.Bradley Sepos2018-06-031-4/+0
| | | | Issue should be fixed by 7cddc6fe8779e1e098b48ecdfddf6b2c15050578.
* opus: fix opus.pc pkg-config file for static builds (#1380)John Stebbins2018-06-021-0/+38
| | | | | | The generated opus.pc file results in undefined symbols during ffmpeg's configure tests. libm is not getting added to the link line as required. The opus.pc file needs to include -lm in the Libs instead of Libs.private when generating *only* a static library.
* ffmpeg: enable all bitstream filtersJohn Stebbins2018-06-021-2/+0
| | | | | There's no telling which of these may be needed internally for ffmpeg encoders, decoders, and filters.
* contrib: Explicitly pass arch to FFmpeg on macOS x86_64.Bradley Sepos2018-06-011-0/+3
| | | | | | | | | | | | Fixes FFmpeg configure error on macOS: ``` ./configure: line 588: eval: --: invalid option eval: usage: eval [arg ...] make[1]: *** [contrib/ffmpeg/.stamp.ffmpeg.configure] Error 2 ``` ...caused by attempting to `eval --arch=x86_64=yes`.
* contrib: Add libogg as a libspeex dependency.Bradley Sepos2018-05-291-2/+2
| | | | Fixes #1372.
* contrib: Another FFmpeg module revision.Bradley Sepos2018-05-291-1/+1
| | | | Addresses another suggestion here https://github.com/HandBrake/HandBrake/issues/1370#issuecomment-392958720
* contrib: Revise FFmpeg module.Bradley Sepos2018-05-291-22/+2
| | | | | | Addresses suggestions here https://github.com/HandBrake/HandBrake/issues/1370#issuecomment-392958720 -fomit-frame-pointer may still be required on 32-bit Intel; however, we no longer support 32-bit builds.
* Revert "contrib: Explicitly disable bzlib and zlib during FFmpeg configure."Bradley Sepos2018-05-291-3/+1
| | | | | | This reverts commit 83dfde11d85a3ee1a7583049c75f1044bd62c94b. Apparently, I was correct the first time around and these need to be enabled, just not explicitly.
* contrib: add lzma supportJohn Stebbins2018-05-293-1/+19
| | | | | lzma may be used by the ffmpeg tiff decoder which can be used in matroska files.
* lame: disable frontendJohn Stebbins2018-05-291-0/+1
| | | | | It's not needed and can cause build errors depending on which mingw tool chain is installed.
* contrib: Explicitly disable bzlib and zlib during FFmpeg configure.Bradley Sepos2018-05-291-1/+3
| | | | Should have been more thorough in 74dbfebb28d9e65d2f43161bb2b3db8f94005a39.