aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-05-17avcodec/g2meet: ask for sample with overflowing RGBMichael Niedermayer
Suggested-by: Tomas Härdin <tjoppen@acc.umu.se> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-17avcodec/g2meet: Check RGB upper limitMichael Niedermayer
Fixes: runtime error: left shift of 1876744317 by 16 places cannot be represented in type 'int' Fixes: 6799/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_G2M_fuzzer-5115274731716608 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-16avcodec/xwddec: fix palette alphaMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-05-16avformat/hls: fix seeking around EVENT playlist after media sequence changesAman Gupta
The seek functions use first_timestamp, so keep that up to date as old segments drop off the playlist. Signed-off-by: Aman Gupta <aman@tmm1.net>
2018-05-16lavc/h2645_parse: add h264_nal_unit_name for h264 NAL type.Jun Zhao
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
2018-05-16lavc/h2645_parse: rename the nal_unit_name to hevc_nal_unit_name.Jun Zhao
Rename the nal_unit_name to hevc_nal_unit_name, will add a h264_nal_unit_name function. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
2018-05-16lavc/h2645_parse: log more HEVC NAL type.Jun Zhao
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
2018-05-16avfilter: add aderivative and aintegral filterPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2018-05-16avcodec: Disable new iterate API for ossfuzzMichael Niedermayer
A few days ago ossfuzz stoped testing new FFmpeg as it run out of diskspacee https://oss-fuzz-build-logs.storage.googleapis.com/index.html An alternative would be to revert the API. This changes for example -rwxr-x--- 1 michael michael 144803654 May 14 12:54 tools/target_dec_ac3_fixed_fuzzer* to -rwxr-x--- 1 michael michael 30333852 May 14 12:51 tools/target_dec_ac3_fixed_fuzzer* Which should massively decrease space requirements Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-16doc/examples: add missing ignore filesZhao Zhili
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-16examples/filtering_video: fix memory leakZhao Zhili
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-16examples/filtering_video: add missing headersZhao Zhili
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-16examples/filtering_video: drop an always true conditionZhao Zhili
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-15lavu/Makefile: Fix alignment and orderingMark Thompson
2018-05-15hwcontext: Do not call device_init again when deriving an existing deviceMark Thompson
The change in 309d660775e2b47af6723a0477c4d753bc0c54f4 to call device_init when doing derivation missed this case - we should only call it if we actually made a new device.
2018-05-15avutil/hwcontext_cuda: fix YUV420P cuda_get_bufferMarton Balint
Regression since ece068a771ac3f725e854c681ecbef08e792addc. Signed-off-by: Marton Balint <cus@passwd.hu>
2018-05-15avformat/webm_chunk: always use a static buffer for get_chunk_filenameMarton Balint
My conversation from AVFormatContext->filename to AVFormatContext->url was wrong in this case because get_chunk_filename uses filename as an output buffer, and not as an input buffer. Fixes ticket #7188. Signed-off-by: Marton Balint <cus@passwd.hu>
2018-05-15avformat/mpegts: fix incorrect indentationAman Gupta
Signed-off-by: Aman Gupta <aman@tmm1.net>
2018-05-15avformat/dashenc: configuring container format optionsVishwanath Dixit
2018-05-14avcodec/h2645_parse: skip NALUs with no content after stripping all the ↵James Almer
trailing zeros The GetBitContext is effectively empty in them. Signed-off-by: James Almer <jamrial@gmail.com>
2018-05-14configure: Mention the dash demuxer in the libxml2 help text.Carl Eugen Hoyos
2018-05-14avformat/mpegts: initialize section_buf to fix valgrind test failureAman Gupta
http://fate.ffmpeg.org/report.cgi?slot=x86_64-archlinux-gcc-valgrind&time=20180513001958 Signed-off-by: Aman Gupta <aman@tmm1.net>
2018-05-14avfilter/vf_lut2: add timeline support to tlut2 filterPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2018-05-14avfilter/vf_blend: add timeline support to tblend filterPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2018-05-14configure: add pkg-config check for libmysofaReino Wijnsma
This does require libmysofa with today's latest commit (https://github.com/hoene/libmysofa/commit/08f243d1ec35f6f794aedeb4b187d9f9353bdbc1). They already had a pkg-config file, but the dependencies weren't setup right. Until now.
2018-05-14avfilter/vf_srcnn: use function to get number of threadsPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2018-05-14avfilter/vf_amplify: check if array is availabe before using itPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2018-05-14Add IRC nicknamesTomas Härdin
2018-05-14avformat/dashenc: Add documentation for http method optionKarthick Jeyapal
2018-05-13avcodec/vp3: Check that there will be sufficient input for the coded ↵Michael Niedermayer
fragments in unpack_superblocks() Fixes: Timeout Fixes: 6292/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP3_fuzzer-4871218218926080 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-13configure: fix configure check for lilv-0Niklas Haas
This should be included as `<lilv/lilv.h>`, same as is done in af_lv2.c. Forcing the extra lilv-0 breaks platforms where the include dir is `/usr/include/lilv/lilv.h` rather than `/usr/include/lilv-0/lilv/lilv.h`. The new include path works for both, because the `pkg-config --cflags` includes `-I/usr/include/lilv-0`.
2018-05-12doc: fix incorrect reference to xsd_compliant optionAman Gupta
reported by Mindless` on IRC
2018-05-12avformat/mpegts: reindent after last changeAman Gupta
Signed-off-by: Aman Gupta <aman@tmm1.net>
2018-05-12avformat/mpegts: parse sections with multiple tablesAman Gupta
Fixes PMT parsing in some mpegts streams which contain multiple tables within the PMT pid. Previously, the parser assumed only one table was present in each packet, and discarded the rest of the section data after attempting to parse the first table. A similar issue was documented in the BeyondTV software[1], which helped me diagnose the same bug in the ffmpeg mpegts demuxer. I also tried DVBInspector, libdvbpsi's dvbinfo, and tstools' tsinfo to help debug. The former two properly read PMTs with multiple tables, whereas the last has the same bug as ffmpeg. I've created a minimal sample[2] which contains the combined PMT. Here's what ffmpeg probe shows before and after this patch: Before: Input #0, mpegts, from 'combined-pmt-tids.ts': Duration: 00:00:01.08, start: 4932.966167, bitrate: 741 kb/s Program 1 No Program Stream #0:0[0xf9d]: Audio: ac3, 48000 Hz, mono, fltp, 96 kb/s Stream #0:1[0xf9b]: Audio: mp3, 0 channels, fltp Stream #0:2[0xf9c]: Unknown: none After: Input #0, mpegts, from 'combined-pmt-tids.ts': Duration: 00:00:01.11, start: 4932.966167, bitrate: 718 kb/s Program 1 Stream #0:0[0xf9b]: Video: mpeg2video ([2][0][0][0] / 0x0002), none(tv, top first), 29.97 fps, 29.97 tbr, 90k tbn, 90k tbc Stream #0:1[0xf9c](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s Stream #0:2[0xf9d](spa): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, mono, fltp, 96 kb/s With the patch, the PMT is parsed correctly so the streams are created in the correct order, are associated with "Program 1", and their codecs are set correctly. [1] http://forums.snapstream.com/vb/showpost.php?p=343816&postcount=201 [2] https://s3.amazonaws.com/tmm1/combined-pmt-tids.ts Signed-off-by: Aman Gupta <aman@tmm1.net> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-12avformat/hlsenc: set AVFMT_NODIMENSIONSAman Gupta
Same as previous commit but for mpegts inside HLS. Signed-off-by: Aman Gupta <aman@tmm1.net>
2018-05-12avformat/mpegtsenc: set AVFMT_NODIMENSIONSAman Gupta
This allows remuxing streams from one mpegts container to another, without requiring avformat_find_stream_info() (or using `ffmpeg -probesize 32` on the cli). Signed-off-by: Aman Gupta <aman@tmm1.net> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-12avfilter/vf_maskedmerge: add slice threadingPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2018-05-12avfilter/vf_deblock: add timeline supportPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2018-05-12avformat/mxfenc: Set color siting to 0 for D10-MXFMichael Niedermayer
SMPTE 386M (D-10) lists 4 as value to be used SMPTE 377-1-2009 says "The definitions of 00h (coSiting) and 04h (Rec 601) are equivalent. The value of 04h is deprecated. New MXF encoders shall use the value of 00h instead." Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-12avformat/mxfenc: Add Sample width/height/x offset/y offset, Display x offset ↵Michael Niedermayer
and F2 offset Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-11fate: add more tests for hue video filterTobias Rapp
Adds tests for the hue angle and brightness filter parameters. Renames the existing saturation parameter test for consistency. Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
2018-05-10fate/cbs: Add an SEI testMark Thompson
The artificial sample file sei-1.h264 contains five frames (IDR P B I B) and the following SEI message types: * Buffering period * Picture timing * Pan-scan rectangle (display as 4:3) * User data registered, containing A/53 closed captions (captions match frame content, including reordering) * Recovery point (at the I frame) * Display orientation (identity transformation) * Mastering display (with arbitrary contents) * Undefined SEI type 1234 (containing ascending bytes)
2018-05-10cbs_h264: Add support for mastering display SEI messagesMark Thompson
2018-05-10cbs_h264: Add support for pan-scan rectangle SEI messagesMark Thompson
2018-05-10h264_metadata: Fix AUD writingMark Thompson
The aud structure exists on the stack, so the variable was previously out-of-scope when the unit is written.
2018-05-10h264_metadata: Remove redundant setting of SEI payload sizeMark Thompson
This should be derived from the data length rather than set explicitly.
2018-05-10cbs_h264: Fix handling of unknown SEIMark Thompson
The user should only interact directly with the data length, not the payload size.
2018-05-10lavc/qdrw: Read PixMap palette.Carl Eugen Hoyos
Fixes ticket #6195.
2018-05-10lavd/v4l2: Add ARGB and XRGB packed pixel formatsAnton Leontiev
Formats ARGB32, XRGB32, ABGR32, and XBGR32 were added to V4L2 instead of ill-defined deprecated RGB32/BGR32 pixel formats. When pixel format is not specified explicitly FFmpeg tries formats in order in which they are stored in the table. Therefore formats are sorted as follows: BGR is preferred over RGB and XBGR is preferred over ARGB, because it could give better performance by ignoring alpha component.
2018-05-10vaapi_encode_h265: Insert content light level informationHaihao Xiang
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>