Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-02-27avfilter/vf_yadif_cuda: Switch to using ffnvcodecPhilip Langdale
This change switches the vf_thumbnail_cuda filter from using the full cuda sdk to using the ffnvcodec headers and loader. Signed-off-by: Philip Langdale <philipl@overt.org> Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2019-02-27configure: Add an explicit check and option for nvccPhilip Langdale
The use of nvcc to compile cuda kernels is distinct from the use of cuda sdk libraries and linking against those libraries. We have previously not bothered to distinguish these two cases because all the filters that used cuda kernels also used the sdk. In the following changes, I'm going to remove the sdk dependency from those filters, but we need a way to ensure that nvcc is present and functioning, and also a way to explicitly disable its use so that the filters are not built. Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2019-02-27fate/proresenc_aw : add test for interlace and 444 encodingMartin Vignali
2019-02-27avcodec/proresenc_aw : fix sub_image_with_fill for interlaced encodingMartin Vignali
used when width and/or height, not multiple of sclice dim
2019-02-27avcodec/mips: [loongson] mmi optimizations for VP9 put and avg functionsgxw
VP9 decoding speed improved about 60.5%(from 38fps to 61fps, tested on loongson 3A3000). Reviewed-by: Shiyou Yin <yinshiyou-hf@loongson.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-02-26mov: Fix start_time for streams with empty edits in the middleJustin Ruggles
Empty edits can occur at any position within the edit list except for at the end. Empty edits in the middle should not impact the reported stream start_time or the video PTS adjustment, so only include empty edits at the start of the list in empty_edits_sum_duration. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2019-02-26http: Do not try to make a new request when seeking past the end of the fileJustin Ruggles
This avoids making invalid HTTP Range requests for a byte range past the known end of the file during a seek. Those requests generally return a HTTP response of 416 Range Not Satisfiable, which causes an error response. Reference: https://tools.ietf.org/html/rfc7233 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2019-02-26vaapi_encode_mpeg2: Add missing marker bit in time_codeMark Thompson
We don't have anything useful to put in this field, but there is still meant to be a marker bit in the middle of it.
2019-02-26vaapi_encode_mjpeg: Use common quality optionMark Thompson
Doesn't change anything, but makes the behaviour better match that of the other codecs (the CONSTANT_QUALITY_ONLY flag already ensures that CQP is the only RC mode selectable for MJPEG).
2019-02-26vaapi_encode_vp9: Fix whitespace after previous patchMark Thompson
2019-02-26vaapi_encode_vp9: Enable support for more RC modesMark Thompson
2019-02-26vaapi_encode_vp8: Enable support for more RC modesMark Thompson
2019-02-26vaapi_encode_mpeg2: Enable support for more RC modesMark Thompson
Fixes #7650.
2019-02-26vaapi_encode_h265: Enable support for more RC modesMark Thompson
Also fixes QP going out of range when modified by the quant factor/offset values, and clarifies the QP behaviour for >8-bit modes.
2019-02-26vaapi_encode_h264: Enable support for more RC modesMark Thompson
Also fixes QP going out of range when modified by the quant factor/offset values.
2019-02-26vaapi_encode: Support more RC modesMark Thompson
Allow setting the mode explicitly, and try to make a sensible choice given the available parameters if not.
2019-02-26vaapi_encode: Do not zero access unit structuresMark Thompson
Following b8c45bbcbc207293f955e838ea66106f4b65b1ac they contain allocated unit arrays which will get leaked. These operations were inconsistently applied and never actually needed (the old uninit left them in the correct state), so just drop them entirely.
2019-02-26libavcodec/cbs: Stop needlessly reallocating the units arrayAndreas Rheinhardt
Currently, a fragment's unit array is constantly reallocated during splitting of a packet. This commit changes this: One can keep the units array by distinguishing between the number of allocated and the number of valid units in the units array. The more units a packet is split into, the bigger the benefit. So MPEG-2 benefits the most; for a video coming from an NTSC-DVD (usually 32 units per frame) the average cost of cbs_insert_unit (for a single unit) went down from 6717 decicycles to 450 decicycles (based upon 10 runs with 4194304 runs each); if each packet consists of only one unit, it went down from 2425 to 448; for a H.264 video where most packets contain nine units, it went from 4431 to 450. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@googlemail.com>
2019-02-25filter_units, trace_headers: Always use fragment from contextAndreas Rheinhardt
This is in preparation for another patch that will stop needless reallocations of the unit array. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@googlemail.com>
2019-02-25avcodec/wcmv: Avoid copying frames if they are unchangedMichael Niedermayer
Improves speed of the testcase by about a factor of 10 Fixes: Timeout Fixes: 13132/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WCMV_fuzzer-5664190616829952 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-02-25avcodec/wcmv: Copy/Init frame laterMichael Niedermayer
Speeds up error cases Fixes: 13132/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WCMV_fuzzer-5664190616829952 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-02-25avcodec/error_resilience: Use a symmetric check for skipping MV estimationMichael Niedermayer
This speeds up the testcase by a factor of 4 Fixes: Timeout Fixes: 13100/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMV2_fuzzer-5767533905313792 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-02-25avcodec/mjpegdec: Fix stereo3d memleakMichael Niedermayer
Fixes: 12937/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_THP_fuzzer-5714945346371584 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-02-25avcodec/arbc: Check nb_tiles against dimensionsMichael Niedermayer
Fixes: Timeout Fixes: 12967/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ARBC_fuzzer-5639021454163968 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-02-25doc: -report defaults to loglevel debugGyan Doshi
2019-02-25avformat/dashenc: Added commentsKarthick J
Added comments regarding usage of certain movflags in streaming mode.
2019-02-25avformat/dashenc: Added option to repeatedly publish master playlistKarthick J
The master playlist can be published at a specified interval with this option
2019-02-24avformat:matroskadec: use a define to mark the EBML length is unknownSteve Lhomme
Unifying the way the EBML unknown length is signaled, rather than using two incompatible values. UINT64_MAX cannot be read as a valid EBML length with the current code. Co-authored-by: Steve Lhomme <robux4@ycbcr.xyz> Co-authored-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-02-24avutil/cuda_check: Fix non-dynamic-loader implementationPhilip Langdale
The function typedefs we were using are only present when using the dynamic loader, which means compilation breaks for code directly using the cuda SDK. To fix this, let's just duplicate the function typedefs locally. These are not going to change.
2019-02-24avcodec/mlpdec: Insuffient typoMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-02-24avcodec/pnm: Avoid structure pointer dereferences in inner loop in pnm_get()Michael Niedermayer
Improves speed from 5.4 to 4.2 seconds Fixes: 13149/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PGM_fuzzer-5760833622114304 Fixes: 13166/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PGMYUV_fuzzer-5763216322330624 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Lauri Kasanen <cand@gmx.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-02-24avcodec/zmbv: obtain frame laterMichael Niedermayer
The frame is not needed that early so obtaining it later avoids the costly operation in case other checks fail. Fixes: Timeout (14sec -> 4sec) Fixes: 13140/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ZMBV_fuzzer-5738330308739072 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-02-24avcodec/jvdec: Check available input space before decode8x8()Michael Niedermayer
Fixes: Timeout (78 sec -> 15 millisec) Fixes: 13147/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JV_fuzzer-5727107827630080 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-02-24rtpenc_chain: forward strict_std_compliance flags to rtp muxerTristan Matthews
fixes: https://trac.ffmpeg.org/ticket/6713 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-02-23avcodec/proresenc_aw : indent after prev commitMartin Vignali
2019-02-23avcodec/proresenc_aw : add interlace encodingMartin Vignali
2019-02-23avcodec/proresenc_aw : merge funcs subimage_with_fill and ↵Martin Vignali
subimage_alpha_with_fill
2019-02-23avcodec/proresenc_aw : move scantable to prores contextMartin Vignali
2019-02-23avcodec/proresenc_aw : move picture encoding after frame header writeMartin Vignali
2019-02-23avcodec/proresenc_aw : simplify frame flagsMartin Vignali
2019-02-23avfilter/vf_amplify: add tolerance optionPaul B Mahol
2019-02-22MAINTAINERS: remove myself as a docs & trac maintainerLou Logan
It is no longer interesting. Signed-off-by: Lou Logan <lou@lrcd.com>
2019-02-21doc/formats: add reference to ffmpeg(1) stream specifiers as that docs is ↵Marton Balint
more complete Signed-off-by: Marton Balint <cus@passwd.hu>
2019-02-21avformat/mpegtsenc: add support for service and provider names with utf8 ↵Marton Balint
encoding Signed-off-by: Marton Balint <cus@passwd.hu>
2019-02-21ffmpeg_filter: initialize sub2video.end_pts together with last_ptsJan Ekström
This way re-initializations properly update end_pts, enabling sub2video_heartbeat to call sub2video_update as expected to re-init the sub2video AVFrame's contents and to feed a frame into the filter chain. This then fixes memory usage ballooning due to framesync waiting for secondary input in case of no actual subtitle samples being present for a while in source after a re-init occurs.
2019-02-21lavc/aarch64/h264dsp_init: Only use neon horizontal intra loopfilter for 4:2:0.Carl Eugen Hoyos
2019-02-21ppc/h264dsp: change loop filter stride argument to ptrdiff_tJames Almer
This was missed in d5d699ab6e6f8a8290748d107416fd5c19757a1b Signed-off-by: James Almer <jamrial@gmail.com>
2019-02-21arm/h264dsp: change loop filter stride argument to ptrdiff_tJames Almer
This was missed in d5d699ab6e6f8a8290748d107416fd5c19757a1b Signed-off-by: James Almer <jamrial@gmail.com>
2019-02-21aarch64/h264dsp: change loop filter stride argument to ptrdiff_tJames Almer
This was missed in d5d699ab6e6f8a8290748d107416fd5c19757a1b Signed-off-by: James Almer <jamrial@gmail.com>
2019-02-21avcodec/h264_direct: Fix overflow in POC comparissionMichael Niedermayer
Fixes: runtime error: signed integer overflow: 2147421862 - -33624063 cannot be represented in type 'int' Fixes: 12885/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-5733516975800320 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>