[FFmpeg-devel] [PATCH v2 3/3] FATE: add fate test for minterpolate filter

2019-09-13 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/fate/filter-video.mak | 4 tests/ref/fate/filter-minterpolate-down | 6 ++ tests/ref/fate/filter-minterpolate-up | 15 +++ 3 files changed, 25 insertions(+) create mode 100644

[FFmpeg-devel] [PATCH v2 2/3] avfilter/vf_minterpolate: change the default threshold to get better scene change detect result

2019-09-13 Thread lance . lmwang
From: Limin Wang ./ffmpeg -loglevel debug -i ../fate-suite/svq3/Vertical400kbit.sorenson3.mov -vf minterpolate=fps=60:mi_mode=blend -an -f null - [Parsed_minterpolate_0 @ 0x7fe7f3e193c0] scene changed, input pts 1600 [Parsed_minterpolate_0 @ 0x7fe7f3e193c0] scene changed, input pts 4120

[FFmpeg-devel] [PATCH v2 1/3] avfilter/vf_minterpolate: correct the mafd calculation

2019-09-13 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_minterpolate.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_minterpolate.c b/libavfilter/vf_minterpolate.c index b0bb238..fc8054b 100644 --- a/libavfilter/vf_minterpolate.c +++

[FFmpeg-devel] [PATCH v3] avcodec/h2645_parse: refine the code for better readiablity

2019-09-13 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/h2645_parse.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/libavcodec/h2645_parse.c b/libavcodec/h2645_parse.c index ef6a6b4..8b9595a 100644 --- a/libavcodec/h2645_parse.c +++

Re: [FFmpeg-devel] [PATCH V1 1/4] lavf/hls: refine the log message

2019-09-13 Thread Steven Liu
> 在 2019年9月13日,19:53,Jun Zhao 写道: > > From: Jun Zhao > > refine the log message, it's will help the debugging > > Signed-off-by: Jun Zhao > --- > libavformat/hls.c |6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/libavformat/hls.c b/libavformat/hls.c >

Re: [FFmpeg-devel] [PATCH V2] avformat/dashdec: fix pointer being freed was not allocated

2019-09-13 Thread Steven Liu
> 在 2019年9月14日,02:01,vectronic 写道: > > prevent attempt to call xmlFree if val was not allocated > > fixes: 8135 > Signed-off-by: vectronic > --- > libavformat/dashdec.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c > index

Re: [FFmpeg-devel] [PATCH 25/25] hwcontext_drm: do not require drm device

2019-09-13 Thread Aman Gupta
On Thu, Sep 12, 2019 at 5:05 PM Mark Thompson wrote: > On 03/09/2019 02:02, Aman Gupta wrote: > > From: Jonas Karlman > > > > This allows the cli to create a dummy drm hwcontext > > that can be shared between the v4l2 decoder/scaler/encoder. > > > > This is especially useful on older RPI3 where

[FFmpeg-devel] [PATCH] avcodec/v4l2_m2m_enc: check for V4L2_CID_MPEG_VIDEO_FORCE_KEY_FRAME availability before using

2019-09-13 Thread Aman Gupta
From: Aman Gupta Signed-off-by: Aman Gupta --- libavcodec/v4l2_m2m_enc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/v4l2_m2m_enc.c b/libavcodec/v4l2_m2m_enc.c index 4849bc26c5..474e6bef89 100644 --- a/libavcodec/v4l2_m2m_enc.c +++ b/libavcodec/v4l2_m2m_enc.c @@ -245,8

Re: [FFmpeg-devel] FW: [PATCH] Add option to log timing

2019-09-13 Thread Bodecs Bela
2019.09.13. 12:05 keltezéssel, Gyan írta: On 13-09-2019 03:10 AM, Soft Works wrote: -Original Message- From: ffmpeg-devel On Behalf Of Michael Niedermayer Sent: Thursday, September 12, 2019 11:29 PM To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] FW:

[FFmpeg-devel] [PATCH] avcodec/cbs_misc: remove anonymous union for gcc4.4 compat

2019-09-13 Thread Aman Gupta
From: Aman Gupta Signed-off-by: Aman Gupta --- libavcodec/cbs_misc.c | 14 +++--- libavcodec/cbs_misc.h | 4 ++-- libavcodec/cbs_misc_syntax_template.c | 8 libavcodec/h264_metadata_bsf.c| 4 ++-- libavcodec/mpeg2_metadata_bsf.c

Re: [FFmpeg-devel] FW: [PATCH] Add option to log timing

2019-09-13 Thread Michael Niedermayer
On Thu, Sep 12, 2019 at 09:40:48PM +, Soft Works wrote: > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Michael Niedermayer > > Sent: Thursday, September 12, 2019 11:29 PM > > To: FFmpeg development discussions and patches > de...@ffmpeg.org> > > Subject: Re:

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/mjpegdec: Only allow 0x11110000 pix_fmt_id for bayer mode

2019-09-13 Thread Michael Niedermayer
On Fri, Sep 13, 2019 at 12:08:42PM +0200, Paul B Mahol wrote: > ok will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Any man who breaks a law that conscience tells him is unjust and willingly accepts the penalty by staying in jail in order to

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mjpegdec: Restore non bayer checks in ljpeg_decode_rgb_scan()

2019-09-13 Thread Michael Niedermayer
On Fri, Sep 13, 2019 at 12:08:18PM +0200, Paul B Mahol wrote: > ok will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I am the wisest man alive, for I know one thing, and that is that I know nothing. -- Socrates signature.asc Description: PGP

Re: [FFmpeg-devel] [PATCH 2/4] h264_metadata: Add support for A/53 closed captions

2019-09-13 Thread Carl Eugen Hoyos
Am Fr., 13. Sept. 2019 um 20:28 Uhr schrieb Michael Niedermayer : > > On Wed, Sep 11, 2019 at 11:56:08AM -0700, Aman Gupta wrote: > > From: Mark Thompson > > > > Allows insertion (from side data), extraction (to side data), and removal > > of closed captions in SEI messages. > > --- > >

Re: [FFmpeg-devel] [PATCH 2/4] h264_metadata: Add support for A/53 closed captions

2019-09-13 Thread Michael Niedermayer
On Wed, Sep 11, 2019 at 11:56:08AM -0700, Aman Gupta wrote: > From: Mark Thompson > > Allows insertion (from side data), extraction (to side data), and removal > of closed captions in SEI messages. > --- > libavcodec/Makefile| 2 +- > libavcodec/h264_metadata_bsf.c | 133

[FFmpeg-devel] [PATCH V2] avformat/dashdec: fix pointer being freed was not allocated

2019-09-13 Thread vectronic
prevent attempt to call xmlFree if val was not allocated fixes: 8135 Signed-off-by: vectronic --- libavformat/dashdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 4f725ba09a..4753477fd9 100644 --- a/libavformat/dashdec.c +++

[FFmpeg-devel] [PATCH] avformat/dashdec: fix range parsing causing issues with http byte range requests

2019-09-13 Thread vectronic
data size calculation was off by one as per DASH SPEC which references RFC 7233. this was then used in http byte range request causing data corruption when parsing media files referenced in manifest fixes: 8136 Signed-off-by: vectronic --- libavformat/dashdec.c | 2 +- 1 file changed, 1

Re: [FFmpeg-devel] [PATCH] avformat/dashdec: fix segfault when parsing segmentlist

2019-09-13 Thread Carl Eugen Hoyos
Am Fr., 13. Sept. 2019 um 18:36 Uhr schrieb vectronic : > > index into segmentlists_tab was specified as 4 instead of 3 causing invalid > access > > further fix to: 7976 This looks unrelated to the backtrace provided in ticket #7976. > Signed-off-by: vectronic > --- > libavformat/dashdec.c |

Re: [FFmpeg-devel] [PATCH] avformat/dashdec: fix pointer being freed was not allocated

2019-09-13 Thread Carl Eugen Hoyos
Am Fr., 13. Sept. 2019 um 18:34 Uhr schrieb vectronic : > > prevent attempt to call xmlFree if val was not allocated > > fixes: 8135 > Signed-off-by: vectronic > --- > libavformat/dashdec.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/libavformat/dashdec.c

[FFmpeg-devel] [PATCH] avformat/dashdec: fix segfault when parsing segmentlist

2019-09-13 Thread vectronic
index into segmentlists_tab was specified as 4 instead of 3 causing invalid access further fix to: 7976 Signed-off-by: vectronic --- libavformat/dashdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index

[FFmpeg-devel] [PATCH] avformat/dashdec: fix pointer being freed was not allocated

2019-09-13 Thread vectronic
prevent attempt to call xmlFree if val was not allocated fixes: 8135 Signed-off-by: vectronic --- libavformat/dashdec.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 4f725ba09a..8022ba9afe 100644 ---

[FFmpeg-devel] [PATCH] avformat/dashdec: fix pointer being freed was not allocated

2019-09-13 Thread vectronic
prevent attempt to call xmlFree if val was not allocated fixes: 8135 Signed-off-by: vectronic --- libavformat/dashdec.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 4f725ba09a..8022ba9afe 100644 ---

Re: [FFmpeg-devel] [PATCH, v2 1/6] lavu/pixfmt: add new pixel format ayuv/y210/y410

2019-09-13 Thread Carl Eugen Hoyos
Am Fr., 13. Sept. 2019 um 18:13 Uhr schrieb Fu, Linjie : > > > -Original Message- > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > > Of Michael Niedermayer > > Sent: Friday, September 13, 2019 23:11 > > To: FFmpeg development discussions and patches >

Re: [FFmpeg-devel] [PATCH, v2 1/6] lavu/pixfmt: add new pixel format ayuv/y210/y410

2019-09-13 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Michael Niedermayer > Sent: Friday, September 13, 2019 23:11 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH, v2 1/6] lavu/pixfmt: add

Re: [FFmpeg-devel] [PATCH, v2 1/6] lavu/pixfmt: add new pixel format ayuv/y210/y410

2019-09-13 Thread Michael Niedermayer
On Thu, Sep 12, 2019 at 12:28:41AM +0800, Linjie Fu wrote: > Previously, media driver provided planar format(like 420 8 bit), > but for HEVC Range Extension (422/444 8/10 bit), the decoded image > is produced in packed format because Windows expects it. > > Add some packed pixel formats for

Re: [FFmpeg-devel] [PATCH V2] lavu/qsv: remove the redundant libmfx init code

2019-09-13 Thread Li, Zhong
> From: ffmpeg-devel On Behalf Of Mark > Thompson > Sent: Wednesday, September 11, 2019 6:34 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH V2] lavu/qsv: remove the redundant libmfx > init code > > On 05/09/2019 06:24, Zhong Li wrote: > > Signed-off-by: Zhong Li > > --- >

[FFmpeg-devel] [PATCH v1 2/2] avfilter/vf_minterpolate: change the default threshold to get better scenechange detect result

2019-09-13 Thread lance . lmwang
From: Limin Wang ./ffmpeg -loglevel debug -i ../fate-suite/svq3/Vertical400kbit.sorenson3.mov -vf minterpolate=fps=60:mi_mode=blend -an -f null - [Parsed_minterpolate_0 @ 0x7fe7f3e193c0] scene changed, input pts 1600 [Parsed_minterpolate_0 @ 0x7fe7f3e193c0] scene changed, input pts 4120

[FFmpeg-devel] [PATCH V1 1/4] lavf/hls: refine the log message

2019-09-13 Thread Jun Zhao
From: Jun Zhao refine the log message, it's will help the debugging Signed-off-by: Jun Zhao --- libavformat/hls.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index 61b6759..10fc568 100644 --- a/libavformat/hls.c +++

[FFmpeg-devel] [PATCH V1 4/4] lavf/hls: fix memory leak in error handling path for option tmp

2019-09-13 Thread Jun Zhao
From: Jun Zhao fix memory leak in error handling path for option tmp. Signed-off-by: Jun Zhao --- libavformat/hls.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index bb07dcb..0611ddc 100644 --- a/libavformat/hls.c +++

[FFmpeg-devel] [PATCH V1 2/4] lavf/hls: drop unnecessary check before ff_format_io_close

2019-09-13 Thread Jun Zhao
From: Jun Zhao ff_format_io_close will check the AVIOContext pointer pb, so drop the unnecessary check before ff_format_io_close. Signed-off-by: Jun Zhao --- libavformat/hls.c | 18 ++ 1 files changed, 6 insertions(+), 12 deletions(-) diff --git a/libavformat/hls.c

[FFmpeg-devel] [PATCH V1 3/4] lavf/hls: remove redundancy seekable setting

2019-09-13 Thread Jun Zhao
From: Jun Zhao ffio_init_context with NULL seek callback will setting seekable with 0, so remove the redundancy seekable setting. Signed-off-by: Jun Zhao --- libavformat/hls.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mjpegdec: Restore non bayer checks in ljpeg_decode_rgb_scan()

2019-09-13 Thread Paul B Mahol
ok On 9/12/19, Michael Niedermayer wrote: > Fixes: out of array write > Fixes: > 17088/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEGLS_fuzzer-5654877765632000 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by:

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/mjpegdec: Only allow 0x11110000 pix_fmt_id for bayer mode

2019-09-13 Thread Paul B Mahol
ok On 9/12/19, Michael Niedermayer wrote: > Fixes: NULL pointer dereference > Fixes: assertion failure > Fixes: > 17003/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MJPEG_fuzzer-5696929253556224 > Fixes: > 17039/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MJPEG_fuzzer-5651008134316032

Re: [FFmpeg-devel] FW: [PATCH] Add option to log timing

2019-09-13 Thread Gyan
On 13-09-2019 03:10 AM, Soft Works wrote: -Original Message- From: ffmpeg-devel On Behalf Of Michael Niedermayer Sent: Thursday, September 12, 2019 11:29 PM To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] FW: [PATCH] Add option to log timing On Wed, Sep

Re: [FFmpeg-devel] [PATCH NV HEADERS] Add cuCtxGetDevice

2019-09-13 Thread Timo Rothenpieler
On 12/09/2019 15:19, Steve Lhomme wrote: It can be useful to determine if the decoder context is the same as the display context. It's used in some samples at https://github.com/NVIDIA/video-sdk-samples --- include/ffnvcodec/dynlink_cuda.h | 1 + include/ffnvcodec/dynlink_loader.h | 2 ++

Re: [FFmpeg-devel] [PATCH NV HEADERS] allow overriding the PREFIX from the environment

2019-09-13 Thread Steve Lhomme
Ah yes, it works (TIL). Forget about this patch. On 2019-09-12 16:26, Timo Rothenpieler wrote: On 12/09/2019 15:17, Steve Lhomme wrote: ---   Makefile | 2 +-   1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a51c2c9..c3a9209 100644 --- a/Makefile +++

Re: [FFmpeg-devel] [PATCH] cmdutils: promote report level if loglevel is higher

2019-09-13 Thread Gyan
On 12-09-2019 07:11 PM, Gyan wrote: On 12-09-2019 02:04 PM, Moritz Barsnick wrote: On Mon, Sep 09, 2019 at 23:44:14 +0530, Gyan wrote: Subject: [PATCH] cmdutils: promote report level if loglevel is higher Would it also be useful to be able to reduce the report's log level, or would that

Re: [FFmpeg-devel] [PATCH] lavu/hwcontext_qsv: update crop width/height when mapping frames

2019-09-13 Thread Rodger Combs
This happens with any use of the hwmap filter in the derive_device configuration with input being HEVC decoded via dxva2 with dimensions that aren't 128-pixel-aligned and output being QSV; eg: ffmpeg.exe -codec:0 hevc -hwaccel:0 dxva2 -hwaccel_output_format:0 dxva2_vld test.mkv -filter_complex