summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* MAINTAINERS: remove myself as hls demuxer maintainerAnssi Hannula2018-10-161-1/+0
|
* avcodec/cbs: ensure user_data is padded for GBC parsingAman Gupta2018-10-152-2/+2
| | | | | | | | | | | | | | | | | | | | | Fixes crash noticed in the cbs_userdata patchset. ====ERROR: AddressSanitizer: heap-buffer-overflow on address 0x609000026c89 at pc 0x00010725d37b bp 0x7ffeea04e750 sp 0x7ffeea04e748 READ of size 4 at 0x609000026c89 thread T0 #0 0x10725d37a in ff_cbs_read_unsigned get_bits.h:274 #1 0x1072d2767 in ff_cbs_read_a53_user_data cbs_misc_syntax_template.c:119 #2 0x1078251a7 in h264_metadata_filter h264_metadata_bsf.c:595 #3 0x105c1321d in output_packet ffmpeg.c:853 0x609000026c89 is located 1 bytes to the right of 8-byte region [0x609000026c80,0x609000026c88) allocated by thread T0 here: #0 0x10aef08d7 in wrap_posix_memalign (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x578d7) #1 0x10aca95e6 in av_malloc mem.c:87 #2 0x10ac545fe in av_buffer_allocz buffer.c:72 #3 0x107263b27 in cbs_h264_read_nal_unit cbs_h264_syntax_template.c:722 #4 0x10725b688 in cbs_read_fragment_content cbs.c:155 Signed-off-by: Aman Gupta <aman@tmm1.net>
* avcodec/cbs: fix crash in sei_pic_timestampAman Gupta2018-10-151-0/+6
| | | | Signed-off-by: Aman Gupta <aman@tmm1.net>
* avcodec/cbs_h264: silence errors about end_of_seq nalusAman Gupta2018-10-151-0/+3
| | | | | | [ffmpeg] AVBSFContext: Decomposition unimplemented for unit 4 (type 10). Signed-off-by: Aman Gupta <aman@tmm1.net>
* doc/filters: update silenceremove documentationPaul B Mahol2018-10-151-8/+29
|
* avfilter/af_silenceremove: use enum for threshold detection modesPaul B Mahol2018-10-151-6/+11
|
* avfilter/af_silenceremove: add enum for detection modesPaul B Mahol2018-10-151-5/+10
|
* avfilter/af_silenceremove: add options descriptionPaul B Mahol2018-10-151-16/+16
|
* avfilter/af_silenceremove: prefer outlink instead of inlinkPaul B Mahol2018-10-151-28/+28
|
* avfilter/af_silenceremove: add mode optionsPaul B Mahol2018-10-151-6/+27
| | | | To control how threshold is calculated in multichannel audio.
* avfilter/af_silenceremove: add options to keep min duration of silencePaul B Mahol2018-10-152-39/+130
|
* avcodec/av1_parse: Check obu_sizeMichael Niedermayer2018-10-151-2/+2
| | | | | | | | | Fixes: out of array read Fixes: SIGSEGV_get_obu_bit_length_av1_parse Found-by: keval shah <skeval65@gmail.com> Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffmpeg: log corrupted packets and framesMarton Balint2018-10-141-6/+10
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avcodec/cuviddec: properly take deinterlacing and display delay into account ↵Timo Rothenpieler2018-10-141-1/+5
| | | | | | for buffer_full check Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/imm4: improve decoding of some filesPaul B Mahol2018-10-141-15/+49
|
* fate: Update checksums for recent mxf changesMichael Niedermayer2018-10-143-3/+3
| | | | | | References: bb89109a0a29d51cb207352834f6b92784c1700d, 84e8a87ca082f5a882e83fcb34a970f8b720cc25, ea55a11ced5ef73bc7173ae2d3e268e26b351350, 3d38e45eb85c7a2420cb48a9cd45625c28644b2e Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/filters: do not mention removed option from afir filterPaul B Mahol2018-10-131-1/+1
|
* avformat: add SER demuxerPaul B Mahol2018-10-136-2/+152
|
* swscale/x86/rgb2rgb : port shuffle 2103 mmxext to external asm and remove ↵Martin Vignali2018-10-133-48/+67
| | | | inline asm version
* swscale/x86/rgb2rgb : remove mmx version for shuffle2103Martin Vignali2018-10-131-19/+4
|
* lavf/mxfenc: Remove two unused variables.Carl Eugen Hoyos2018-10-131-2/+2
| | | | | | Fixes the following warnings: libavformat/mxfenc.c:2036:9: warning: unused variable 'i' libavformat/mxfenc.c:2125:9: warning: unused variable 'i'
* lavf/mxfdec: demux s436m as eia608 subtitle trackBaptiste Coudurier2018-10-121-0/+106
|
* lavf/mxfenc: support creating s436m data tracksBaptiste Coudurier2018-10-123-5/+49
|
* avformat/mxfenc: correctly set content package rate in system elementBaptiste Coudurier2018-10-124-2/+23
|
* avformat/mxfenc: update body partition with footer offsetBaptiste Coudurier2018-10-127-10/+15
|
* avformat/mxfenc: add mpeg-2 specific metadata, fix compatibility with sony ↵Baptiste Coudurier2018-10-127-12/+50
| | | | content browser
* avformat/mxfenc: write index delta entry array needed by sony vegas pro 11Baptiste Coudurier2018-10-127-123/+101
|
* avcodec/imm4: stop using FAAN idctPaul B Mahol2018-10-121-8/+15
|
* avcodec/avpacket: fix whitespaceAman Gupta2018-10-121-4/+4
| | | | Signed-off-by: Aman Gupta <aman@tmm1.net>
* avcodec/mediacodec: add av_mediacodec_render_buffer_at_time()Aman Gupta2018-10-115-2/+39
| | | | | | | | | | The existing av_mediacodec_release_buffer allows the user to render or discard the Surface-backed frame. This new method allows the user to control exactly when the frame will be rendered to its SurfaceView. Available since Android API 21. Signed-off-by: Aman Gupta <aman@tmm1.net>
* libavcodec/libaomenc.c: Added code for computing PSNR/SSIMSam John2018-10-111-5/+59
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/ffv1dec_template: Check for the end of input after 1024 pixelsMichael Niedermayer2018-10-121-0/+5
| | | | | | | | Fixes: Timeout Fixes: 10385/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FFV1_fuzzer-5689206987292672 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/aacdec_template: Allow duplicated elementsMichael Niedermayer2018-10-121-4/+7
| | | | | | | | | | | | | | | Such streams are invalid according to 4.5.2.1 Top level payloads for the audio object types AAC main, AAC SSR, AAC LC and AAC LTP 4.5.2.1.1 Definitions ...cIn the raw_data_block(), several instances of the same syntactic element may occur, but must have a different 4 bit element_instance_tag, except for data_stream_element()'s and fill_element()'s. Fixes: Ticket7477 Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/dashenc: only write video streams into HLS master playlistJian Yang2018-10-111-1/+3
| | | | | | | Tool mediastreamvalidator reports error "Variant media_[N].m3u8 is missing audio group" for audio streams in HLS master playlist. As audio streams are already listed in audio group, skip them as variant media streams in master playlist.
* lavu/qsv: make a copy as libmfx alignment requirement for uploadingZhong Li2018-10-111-2/+29
| | | | | | | | | | | | | | Libmfx requires 16 bytes aligned input/output for uploading. Currently only output is 16 byte aligned and assigning same width/height to input with smaller buffer size actually, thus definitely will cause segment fault. Can reproduce with any 1080p nv12 rawvideo input: ffmpeg -init_hw_device qsv=qsv:hw -hwaccel qsv -filter_hw_device qsv -f rawvideo -pix_fmt nv12 -s:v 1920x1080 -i 1080p_nv12.yuv -vf 'format=nv12,hwupload=extra_hw_frames=16,hwdownload,format=nv12' -an -y out_nv12.yuv It can fix #7418 Signed-off-by: Zhong Li <zhong.li@intel.com>
* lavu/hwcontext_qsv: Add support for AV_PIX_FMT_BGRA.Zhong Li2018-10-112-11/+35
| | | | | | | | | | | | | | | | | RGB32(AV_PIX_FMT_BGRA on intel platforms) format may be used as overlay with alpha blending. So add AV_PIX_FMT_BGRA format support. One example of alpha blending overlay: ffmpeg -hwaccel qsv -c:v h264_qsv -i BA1_Sony_D.jsv -filter_complex 'movie=lena-rgba.png,hwupload=extra_hw_frames=16[a];[0:v][a]overlay_qsv=x=10:y=10' -c:v h264_qsv -y out.mp4 Rename RGB32 to be BGRA to make it clearer as Mark Thompson's suggestion. V2: Add P010 format support else will introduce HEVC 10bit encoding regression. Thanks for LinJie's discovery. Signed-off-by: Zhong Li <zhong.li@intel.com> Verified-by: Fu, Linjie <linjie.fu@intel.com>
* avfilter/af_afir: remove again option, merge it with gtypePaul B Mahol2018-10-103-38/+39
|
* libavfilter: bump micro version to 101Daniel Molkentin2018-10-101-1/+1
|
* libavfilter/ebur128: add scale parameterDaniel Molkentin2018-10-102-9/+38
| | | | | | | | This allows switching between absolute (LUFS) and relativ (LU) display in the status line. Signed-off-by: Daniel Molkentin <daniel@molkentin.de> Signed-off-by: Conrad Zelck <c.zelck@imail.de>
* libavfilter/ebur128: introduce target rangeDaniel Molkentin2018-10-102-10/+26
| | | | | | | This eases meeting the target level during live mixing. Signed-off-by: Daniel Molkentin <daniel@molkentin.de> Signed-off-by: Conrad Zelck <c.zelck@imail.de>
* libavfilter/ebur128: add gauge optionDaniel Molkentin2018-10-102-3/+29
| | | | | | | | Allow to show short-term instead of momentary in gauge. Useful for monitoring whilst live mixing. Signed-off-by: Daniel Molkentin <daniel@molkentin.de> Signed-off-by: Conrad Zelck <c.zelck@imail.de>
* libavfilter/ebur128: add target value to statistics lineDaniel Molkentin2018-10-101-3/+3
| | | | | Signed-off-by: Daniel Molkentin <daniel@molkentin.de> Signed-off-by: Conrad Zelck <c.zelck@imail.de>
* libavfilter/ebur128: add target level option for EBUR128 visualization filterDaniel Molkentin2018-10-102-2/+10
| | | | | Signed-off-by: Daniel Molkentin <daniel@molkentin.de> Signed-off-by: Conrad Zelck <c.zelck@imail.de>
* lavf/ftp: Remove an unneeded forward declaration.Carl Eugen Hoyos2018-10-091-2/+0
|
* avfilter/af_asetnsamples: do not leak frame on ENOMEMMarton Balint2018-10-091-1/+3
| | | | | | Fixes Coverity CID 1416352. Signed-off-by: Marton Balint <cus@passwd.hu>
* ffmpeg: check return value of avcodec_parameters_from_contextMarton Balint2018-10-091-1/+7
| | | | | | Fixes Coverity CID 1427273. Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/f_cue: always check the return value of ff_inlink_consume_frameMarton Balint2018-10-091-2/+6
| | | | | | Fixes Coverity CID 1439936. Signed-off-by: Marton Balint <cus@passwd.hu>
* h264_slice: Copy the value of x264_build before calling ↵Derek Buitenhuis2018-10-091-1/+1
| | | | | | | | | | | | | h264_slice_header_init during thread init If we don't copy this value first, it is seen as 0 by h264_slice_header_init, due to zero-allocation of the new context, triggering an old hack that multiplied the denominator by 2 for files produced by old x264 versions, but only if more than one thread was used. Fixes #7475 and #7083. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avfilter/f_reverse: add packed sample format support to areversePaul B Mahol2018-10-081-37/+87
|
* avfilter/af_silenceremove: fix max for duration optionsPaul B Mahol2018-10-081-2/+2
|