aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* examples/filtering_video: add missing headersZhao Zhili2018-05-161-0/+2
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* examples/filtering_video: drop an always true conditionZhao Zhili2018-05-161-18/+16
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavu/Makefile: Fix alignment and orderingMark Thompson2018-05-151-3/+3
|
* hwcontext: Do not call device_init again when deriving an existing deviceMark Thompson2018-05-151-4/+3
| | | | | | 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.
* avutil/hwcontext_cuda: fix YUV420P cuda_get_bufferMarton Balint2018-05-151-3/+4
| | | | | | Regression since ece068a771ac3f725e854c681ecbef08e792addc. Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/webm_chunk: always use a static buffer for get_chunk_filenameMarton Balint2018-05-151-1/+7
| | | | | | | | | | 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>
* avformat/mpegts: fix incorrect indentationAman Gupta2018-05-151-3/+3
| | | | Signed-off-by: Aman Gupta <aman@tmm1.net>
* avformat/dashenc: configuring container format optionsVishwanath Dixit2018-05-152-0/+11
|
* avcodec/h2645_parse: skip NALUs with no content after stripping all the ↵James Almer2018-05-141-1/+1
| | | | | | | | trailing zeros The GetBitContext is effectively empty in them. Signed-off-by: James Almer <jamrial@gmail.com>
* configure: Mention the dash demuxer in the libxml2 help text.Carl Eugen Hoyos2018-05-141-1/+2
|
* avformat/mpegts: initialize section_buf to fix valgrind test failureAman Gupta2018-05-141-1/+1
| | | | | | http://fate.ffmpeg.org/report.cgi?slot=x86_64-archlinux-gcc-valgrind&time=20180513001958 Signed-off-by: Aman Gupta <aman@tmm1.net>
* avfilter/vf_lut2: add timeline support to tlut2 filterPaul B Mahol2018-05-141-9/+18
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_blend: add timeline support to tblend filterPaul B Mahol2018-05-141-4/+10
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* configure: add pkg-config check for libmysofaReino Wijnsma2018-05-141-1/+2
| | | | | 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.
* avfilter/vf_srcnn: use function to get number of threadsPaul B Mahol2018-05-141-5/+7
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_amplify: check if array is availabe before using itPaul B Mahol2018-05-141-2/+4
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* Add IRC nicknamesTomas Härdin2018-05-141-4/+7
|
* avformat/dashenc: Add documentation for http method optionKarthick Jeyapal2018-05-141-0/+2
|
* avcodec/vp3: Check that there will be sufficient input for the coded ↵Michael Niedermayer2018-05-131-1/+4
| | | | | | | | | | 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>
* configure: fix configure check for lilv-0Niklas Haas2018-05-131-1/+1
| | | | | | | | | | 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`.
* doc: fix incorrect reference to xsd_compliant optionAman Gupta2018-05-121-1/+1
| | | | reported by Mindless` on IRC
* avformat/mpegts: reindent after last changeAman Gupta2018-05-121-35/+35
| | | | Signed-off-by: Aman Gupta <aman@tmm1.net>
* avformat/mpegts: parse sections with multiple tablesAman Gupta2018-05-121-7/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* avformat/hlsenc: set AVFMT_NODIMENSIONSAman Gupta2018-05-121-1/+1
| | | | | | Same as previous commit but for mpegts inside HLS. Signed-off-by: Aman Gupta <aman@tmm1.net>
* avformat/mpegtsenc: set AVFMT_NODIMENSIONSAman Gupta2018-05-121-1/+1
| | | | | | | | | 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>
* avfilter/vf_maskedmerge: add slice threadingPaul B Mahol2018-05-121-17/+50
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_deblock: add timeline supportPaul B Mahol2018-05-121-0/+1
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat/mxfenc: Set color siting to 0 for D10-MXFMichael Niedermayer2018-05-121-0/+1
| | | | | | | | | 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>
* avformat/mxfenc: Add Sample width/height/x offset/y offset, Display x offset ↵Michael Niedermayer2018-05-1210-13/+48
| | | | | | and F2 offset Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: add more tests for hue video filterTobias Rapp2018-05-115-3/+11
| | | | | | | 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>
* fate/cbs: Add an SEI testMark Thompson2018-05-102-2/+7
| | | | | | | | | | | | | | 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)
* cbs_h264: Add support for mastering display SEI messagesMark Thompson2018-05-104-0/+35
|
* cbs_h264: Add support for pan-scan rectangle SEI messagesMark Thompson2018-05-104-0/+42
|
* h264_metadata: Fix AUD writingMark Thompson2018-05-101-4/+5
| | | | | The aud structure exists on the stack, so the variable was previously out-of-scope when the unit is written.
* h264_metadata: Remove redundant setting of SEI payload sizeMark Thompson2018-05-101-2/+0
| | | | This should be derived from the data length rather than set explicitly.
* cbs_h264: Fix handling of unknown SEIMark Thompson2018-05-101-2/+5
| | | | | The user should only interact directly with the data length, not the payload size.
* lavc/qdrw: Read PixMap palette.Carl Eugen Hoyos2018-05-101-5/+7
| | | | Fixes ticket #6195.
* lavd/v4l2: Add ARGB and XRGB packed pixel formatsAnton Leontiev2018-05-101-0/+6
| | | | | | | | | | | 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.
* vaapi_encode_h265: Insert content light level informationHaihao Xiang2018-05-101-3/+33
| | | | Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* cbs_h265: read/write content light level information SEI messageHaihao Xiang2018-05-103-0/+24
| | | | Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* vaapi_encode_h265: Insert mastering display colour volumeHaihao Xiang2018-05-101-1/+131
| | | | | | | '-sei xxx' is added to control SEI insertion, so far only mastering display colour volume is available for testing. Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* cbs_h265: read/write HEVC PREFIX SEIHaihao Xiang2018-05-103-0/+239
| | | | | | | | Similar to H264, cbs_h265_{read, write}_nal_unit() can handle HEVC prefix SEI NAL units. Currently mastering display colour volume SEI message is added only, we may add more SEI message if needed later Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* hwcontext_vaapi: Add an assert in vaapi_map_from_drm()Haihao Xiang2018-05-101-0/+2
| | | | | | | Every fourcc in vaapi_drm_format_map should be in vaapi_format_map, so add an assert to ensure we have the right maps. Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* vaapi_encode: Add an assert in vaapi_encode_truncate_gop()Haihao Xiang2018-05-101-2/+2
| | | | | | | | The flag of input_available must be set when pic_start is not NULL, so add an assert to ensure it is true. In addition, the assert on last_pic is unnecessary now, so remove this assert. Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* avcodec/nvdec_hevc: fix scaling listsPhilip Langdale2018-05-101-6/+6
| | | | | | | | | | | The main issue here was the use of [i] instead of [i * 3] for the 32x32 matrix. As part of fixing this, I changed the code to match that used in vdpau_hevc, which I spent a lot of time verifying. I also changed to calculating NumPocTotalCurr using the existing helper, which is what vdpau does. Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/hevcdec: make ff_hevc_frame_nb_refs take a const pointerTimo Rothenpieler2018-05-102-3/+3
|
* avfilter: add fftdnoiz filterPaul B Mahol2018-05-107-2/+735
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/tests/filtfmts: fix the build warning.Jun Zhao2018-05-101-2/+2
| | | | | | fix the build warning: ignoring return value. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* checkasm/sw_rgb: fix the function declaration warningJun Zhao2018-05-101-1/+1
| | | | | | | | | fix the warning: "function declaration isn’t a prototype", in C int foo() and int foo(void) are different functions. int foo() accepts an arbitrary number of arguments, while int foo(void) accepts 0 arguments. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* lavf/network: fix doxygen comments.Jun Zhao2018-05-101-4/+4
| | | | Signed-off-by: Jun Zhao <mypopydev@gmail.com>