summaryrefslogtreecommitdiffstats
path: root/contrib/ffmpeg
Commit message (Collapse)AuthorAgeFilesLines
* contrib: Restore FFmpeg VideoToolbox patch.Bradley Sepos2019-02-111-0/+27
| | | | Mistakenly removed in 66a362ee92331fa1393fbdb0c1e1b26d8f39de6a.
* contrib: Update to FFmpeg 4.1.1.Ewout ter Hoeven2019-02-118-321/+3
|
* ffmpeg: enable pict_type setting in AMD VCEJohn Stebbins2019-01-161-0/+78
| | | | | This is required by HandBrake in order to place IDR frames at chapter boundaries
* 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.
* 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
* 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.
* 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-291-1/+11
| | | | | | 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.
* 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.
* contrib: make: Remove --enable-local-autotools and --enable-local-pkgconfig.Bradley Sepos2018-06-171-6/+2
| | | | Closes #549.
* contrib: Switch yasm dependencies to nasm.Bradley Sepos2018-06-171-1/+1
|
* 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.
* 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-031-1/+1
| | | | #1144.
* contrib: Remove workaround building x264 before FFmpeg.Bradley Sepos2018-06-031-4/+0
| | | | Issue should be fixed by 7cddc6fe8779e1e098b48ecdfddf6b2c15050578.
* 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: 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-291-1/+2
| | | | | lzma may be used by the ffmpeg tiff decoder which can be used in matroska files.
* contrib: Explicitly disable bzlib and zlib during FFmpeg configure.Bradley Sepos2018-05-291-1/+3
| | | | Should have been more thorough in 74dbfebb28d9e65d2f43161bb2b3db8f94005a39.
* contrib: Fix FFmpeg configure warning.Bradley Sepos2018-05-291-1/+0
|
* contrib: Add Speex decoder libspeex.Bradley Sepos2018-05-291-1/+4
|
* contrib: Remove unused Libav patches from FFmpeg.Bradley Sepos2018-05-2917-1051/+0
| | | | Closes #974 and closes #1078.
* contrib: Do not enable bzlib and zlib in FFmpeg.Bradley Sepos2018-05-291-2/+0
| | | | Per https://github.com/HandBrake/HandBrake/pull/1078#issuecomment-384461808.
* contrib: Only enable pthreads for non-win32 FFmpeg.Bradley Sepos2018-05-291-4/+3
|
* contrib: Update to FFmpeg 4.0.Bradley Sepos2018-05-291-4/+3
| | | | Use https and swap url order.
* contrib: Disable AudioToolbox, CoreImage, VideoToolbox in FFmpeg.Bradley Sepos2018-05-291-0/+4
| | | | Fixes the build. Hardware acceleration should really be tested before we enable it, even in the nightly.
* contrib: Remove unnecessary FFmpeg ifeq for Mac/Darwin.Bradley Sepos2018-05-291-3/+0
|
* FFMPEG: Enable A01-matroskaenc-pgs-duration patchSven Gothel2018-05-281-11/+12
| | | | See http://ffmpeg.org/pipermail/ffmpeg-devel/2017-November/219642.html
* FFMPEG #974: Use latest FFMPEG 3.4.1 (2/2)Sven Gothel2018-05-2818-0/+0
| | | | | | | | Patch 2/2 for https://github.com/HandBrake/HandBrake/issues/974 moving to FFMPEG 3.4.1 from LIBAV 12.2. All patches have been moved to subfolder 'old' since they do not apply cleanly anymore. Work has to be performed to validate whether patches are still required.
* FFMPEG #974: Use latest FFMPEG 3.4.1 (1/2)Sven Gothel2018-05-281-6/+16
| | | | | | | | Patch 1/2 for https://github.com/HandBrake/HandBrake/issues/974 moving to FFMPEG 3.4.1 from LIBAV 12.2. The re-ordering of to be linked modules was required to solve statically linked dependencies. See libhb/module.defs etc.
* contrib: Update to Libav 12.3.Bradley Sepos2018-02-191-3/+7
| | | | | | | | Changelog: https://git.libav.org/?p=libav.git;a=blob;f=Changelog;hb=refs/tags/v12.3 Adds a workaround to ensure x264 is built first. Otherwise, it may fail to find nasm later. Closes #1181.
* QSV: adding HEVC10b decode supportmaxim_d332017-12-221-0/+50
|
* add sdtp (sample dependency) box to mp4 (#1006)John Stebbins2017-11-281-0/+126
| | | | | * add sdtp (sample dependency) box to mp4 The AppleTV 4K requires this box in order to play 2160p60 video.
* Add adaptive streaming support (#972)John Stebbins2017-11-092-48/+49
| | | | | | | "Adaptive streaming" allows changing video parameters mid-stream at IDR boundaries. Such changes require new SPS and PPS NALs at the IDR. MP4 supports this with 'avc3' and 'hev1' sample entry types.
* contrib: Update to Libav 12.2.Bradley Sepos2017-10-053-135/+3
|
* contrib: Replace Yadif patch with final Libav version.Bradley Sepos2017-08-242-69/+101
| | | | Patch was modified before landing in Libav. Previous commit was 9fd048196eb423965496c14dac683e6e2546e14f. #576
* contrib: Fix memory corruption in Libav Yadif filter.Bradley Sepos2017-08-181-0/+69
| | | | Fixes #576.
* contrib: Fix Libav H.264 decoder pixelation in scenes with solid colors.Bradley Sepos2017-08-181-0/+31
| | | | Fixes #787.
* contrib: Improve Libav configuration and compiler flags on 32-bit Intel.Bradley Sepos2017-07-201-14/+6
| | | | | | Removes old Darwin-specific i386 stuffs and replaces with generic stuffs. Fixes an issue cross-compiling compiling current master for i686.