Re: [FFmpeg-devel] [PATCH] libavfilter/idet: fix double count and offset accuracy on progressive frame

2018-12-01 Thread pon pon
Carl Eugen Hoyos I added logs and explanation in tichet #7565. Thank you in advance. ponpon ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH V1 0/2] Add libsvt HEVC encoder wrapper.

2018-12-01 Thread Gyan Doshi
On 02-12-2018 11:08 AM, Jun Zhao wrote: The Scalable Video Technology for HEVC Encoder (SVT-HEVC Encoder) is an HEVC-compliant encoder library core that achieves excellent density-quality tradeoffs, and is highly optimized for Intel® Xeon™ Scalable Processor and Xeon™ D processors. Intel ope

[FFmpeg-devel] [PATCH V1 2/2] Changelog: Add new entry for svt-hevc encoder

2018-12-01 Thread Jun Zhao
Signed-off-by: Huang, Zhengxu Signed-off-by: hassene Signed-off-by: Jun Zhao --- Changelog |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Changelog b/Changelog index 1f53ff4..eca6327 100644 --- a/Changelog +++ b/Changelog @@ -10,7 +10,7 @@ version : - truehd_core bit

[FFmpeg-devel] [PATCH V1 0/2] Add libsvt HEVC encoder wrapper.

2018-12-01 Thread Jun Zhao
The Scalable Video Technology for HEVC Encoder (SVT-HEVC Encoder) is an HEVC-compliant encoder library core that achieves excellent density-quality tradeoffs, and is highly optimized for Intel® Xeon™ Scalable Processor and Xeon™ D processors. Intel open source SVT-HEVC encoder in: https://

[FFmpeg-devel] [PATCH V1 1/2] lavc/svt_hevc: add libsvt hevc encoder wrapper.

2018-12-01 Thread Jun Zhao
base on patch by Huang, Zhengxu from https://github.com/intel/SVT-HEVC Signed-off-by: Huang, Zhengxu Signed-off-by: hassene Signed-off-by: Jun Zhao --- configure|4 + libavcodec/Makefile |1 + libavcodec/allcodecs.c |1 + libavcodec/libsvt_hevc.c | 370 +

[FFmpeg-devel] [PATCH] avcodec/jpeg2000dec: Skip DWT if nothing is coded

2018-12-01 Thread Michael Niedermayer
Improves speed in uncommon case Fixes: Timeout Fixes: 10964/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5132066034286592 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/

Re: [FFmpeg-devel] [PATCH 1/4] avformat/concatdec: set seekable flag after opening the last file

2018-12-01 Thread Marton Balint
On Thu, 22 Nov 2018, Marton Balint wrote: After finishing the last file all durations and start times should be known. Signed-off-by: Marton Balint --- libavformat/concatdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/concatdec.c b/libavformat/concatdec.c index bbe13136f

Re: [FFmpeg-devel] [PATCH] avdevice/decklink_enc: add support for setting genlock timing offset

2018-12-01 Thread Marton Balint
On Sun, 25 Nov 2018, Marton Balint wrote: Signed-off-by: Marton Balint --- doc/outdevs.texi| 4 libavdevice/decklink_common.cpp | 5 + libavdevice/decklink_common_c.h | 1 + libavdevice/decklink_enc_c.c| 2 ++ libavdevice/version.h | 2 +- 5 files changed, 13

Re: [FFmpeg-devel] [PATCH 1/2] ffplay: convert float math to int math in calculate_display_rect

2018-12-01 Thread Marton Balint
On Sun, 25 Nov 2018, Marton Balint wrote: Signed-off-by: Marton Balint --- fftools/ffplay.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) Pushed the series. Regards, Marton ___ ffmpeg-devel mailing list ffmpeg-devel@ffm

[FFmpeg-devel] [PATCH 2/2] avcodec/dxv: Check that there is enough data to decompress

2018-12-01 Thread Michael Niedermayer
Fixes: Timeout Fixes: 10979/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DXV_fuzzer-6178582203203584 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/dxv.c | 6 ++ 1 file changed, 6 in

[FFmpeg-devel] [PATCH 1/2] avcodec/msvideo1: Check for too small dimensions

2018-12-01 Thread Michael Niedermayer
Such low resolution would result in empty output as a minimum of 4x4 is needed We could also check for multiple of 4 dimensions but that is not needed Fixes: Timeout Fixes: 11191/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MSVIDEO1_fuzzer-5739529588178944 Found-by: continuous fuzzing proce

Re: [FFmpeg-devel] [PATCH 2/8] av1_metadata: Add option to update video parameters

2018-12-01 Thread Andreas Rheinhardt
James Almer: > On 12/1/2018 4:28 PM, Andreas Rheinhardt wrote: >> Up until now, this BSF only changed the bitstream, not the >> AVCodecParameters. The result is that e.g. some muxers use outdated >> information to write header information that conflicts with (and precedes) >> the new information at

Re: [FFmpeg-devel] [PATCH 2/8] av1_metadata: Add option to update video parameters

2018-12-01 Thread James Almer
On 12/1/2018 4:28 PM, Andreas Rheinhardt wrote: > Up until now, this BSF only changed the bitstream, not the > AVCodecParameters. The result is that e.g. some muxers use outdated > information to write header information that conflicts with (and precedes) > the new information at the bitstream leve

[FFmpeg-devel] [PATCH 0/8] *_metadata-bsf: Update AVCodecParameters

2018-12-01 Thread Andreas Rheinhardt
The *_metadata-bitstream filter (I only mean the ones based upon cbs: prores_metadata is not included.) currently only update the bitstream and not the AVCodecParameters. As a consequence, if one changes a bitstream parameter, it might very well happen that ffmpeg adds information at the container

[FFmpeg-devel] [PATCH 5/8] vp9_metadata: Improve spec-compliance and warnings

2018-12-01 Thread Andreas Rheinhardt
The earlier version had three deficits: 1. It allowed to set the stream to RGB although this is not allowed when the profile is 0 or 2. 2. If it set the stream to RGB, then it did not automatically set the range to full range; the result was that one got a warning every time a frame with color_conf

[FFmpeg-devel] [PATCH 8/8] hevc_metadata: Update AVCodecParameters

2018-12-01 Thread Andreas Rheinhardt
This commit adds an option to also update the AVCodecParameters to align them with the changes at the bitstream level. It is on by default. Given the importance of correct frame dimensions they are updated even when the new option is disabled. Notice that for field-based HEVC the derived height is

[FFmpeg-devel] [PATCH 4/8] mpeg2_metadata: Additionally update AVCodecParameters

2018-12-01 Thread Andreas Rheinhardt
Otherwise the muxer could add header data that is based on the old AVCodecParameters that contradicts and nullifies the modifications made to the bitstream. An option to revert to the old behaviour is included. The documentation has been updated to reflect the change. Signed-off-by: Andreas Rhein

[FFmpeg-devel] [PATCH 6/8] vp9_metadata: Update AVCodecParameters

2018-12-01 Thread Andreas Rheinhardt
This commit adds an option to not only update the bitstream parameters when using the vp9_metadata bitstream filter, but also the relevant AVCodecParameters. The new option is on by default. This commit also adds documentation for this value. Signed-off-by: Andreas Rheinhardt --- doc/bitstream_f

[FFmpeg-devel] [PATCH 7/8] h264_metadata: Update AVCodecParameters

2018-12-01 Thread Andreas Rheinhardt
This commit adds an option to also update the AVCodecParameters to align them with the changes at the bitstream level. It is on by default. Given the importance of correct frame dimensions they are updated even when the new option is disabled. The commit also adds documentation for the new option

[FFmpeg-devel] [PATCH 1/8] cbs: Add function to update video codec parameters

2018-12-01 Thread Andreas Rheinhardt
If any of the *_metadata filter based upon cbs currently updates a video codec parameter like the color information, the AVCodecParameters are not updated accordingly, so that e.g. muxers write header values based upon outdated information that may precede the new values on the bitstream level. Thi

[FFmpeg-devel] [PATCH 2/8] av1_metadata: Add option to update video parameters

2018-12-01 Thread Andreas Rheinhardt
Up until now, this BSF only changed the bitstream, not the AVCodecParameters. The result is that e.g. some muxers use outdated information to write header information that conflicts with (and precedes) the new information at the bitstream level, so that the updates might not lead to the desired cha

[FFmpeg-devel] [PATCH 3/8] cbs_mpeg2: Improve checks for invalid values

2018-12-01 Thread Andreas Rheinhardt
horizontal/vertical_size_value (containing the twelve least significant bits of the frame size) mustn't be zero according to the specifications. Signed-off-by: Andreas Rheinhardt --- libavcodec/cbs_mpeg2.c | 17 ++--- libavcodec/cbs_mpeg2_syntax_template.c | 4 ++--