Re: [FFmpeg-devel] [PATCH v3] Improved the performance of 1 decode + N filter graphs and adaptive bitrate.

2019-01-16 Thread Guo, Yejun
> -Original Message- > From: Wang, Shaofei > Sent: Thursday, January 17, 2019 3:36 PM > To: Guo, Yejun ; FFmpeg development discussions > and patches > Cc: mich...@niedermayer.cc; atomnu...@gmail.com; c...@passwd.hu; > ceffm...@gmail.com > Subject: RE: [FFmpeg-devel] [PATCH v3] Improved

Re: [FFmpeg-devel] [PATCH] avutil/ppc/cpu: Fix power8 linux detection

2019-01-16 Thread Lauri Kasanen
On Tue, 8 Jan 2019 11:08:04 +0200 Lauri Kasanen wrote: > The existing code was in no released kernel that I can see. The corrected code > was added in 3.9. > > Signed-off-by: Lauri Kasanen > --- > libavutil/ppc/cpu.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) Ping. -

Re: [FFmpeg-devel] [PATCH v3] Improved the performance of 1 decode + N filter graphs and adaptive bitrate.

2019-01-16 Thread Wang, Shaofei
> From: Guo, Yejun > Sent: Thursday, January 17, 2019 9:25 AM > To: FFmpeg development discussions and patches > Cc: mich...@niedermayer.cc; atomnu...@gmail.com; c...@passwd.hu; > Wang, Shaofei ; ceffm...@gmail.com > Subject: RE: [FFmpeg-devel] [PATCH v3] Improved the performance of 1 > decode +

Re: [FFmpeg-devel] [FFmpeg-cvslog] lavc/qsvenc: add VDENC support for H264

2019-01-16 Thread Li, Zhong
> I found your new patch after having this discussion a little disturbing. > > Carl Eugen I believe it is a little different as this patch. MFX_SCALING_MODE_DEFAULT/ MFX_SCALING_MODE_QUALITY are only buildable with QSV_HAVE_SCALING_CONFIG. It is same as the libx264 case we discussed.

[FFmpeg-devel] [PATCH V10] libavfilter: add transpose_vaapi filter

2019-01-16 Thread Zachary Zhou
Swap width and height when do clock/cclock rotation Add reversal/hflip/vflip options ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i input.264 -vf "transpose_vaapi=clock_flip" -c:v h264_vaapi output.h264 Signed-off-by: Zachary Zhou --- configure

Re: [FFmpeg-devel] [PATCH] avcodec/rscc: Avoid returning frames that have nearly no undamaged pixels in them

2019-01-16 Thread Carl Eugen Hoyos
> Am 17.01.2019 um 03:05 schrieb Vittorio Giovara : > > On Wed, Jan 16, 2019 at 7:44 PM Michael Niedermayer > wrote: > >> Fixes: Timeout >> Fixes: >> 12192/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RSCC_fuzzer-6279038004363264 >> >> Before: >>

Re: [FFmpeg-devel] [PATCH V9] libavfilter: add transpose_vaapi filter

2019-01-16 Thread Guo, Yejun
> -Original Message- > From: Zhou, Zachary > Sent: Thursday, January 17, 2019 10:35 AM > To: Guo, Yejun ; FFmpeg development discussions > and patches > Subject: RE: [FFmpeg-devel] [PATCH V9] libavfilter: add transpose_vaapi > filter > > > > > -Original Message- > > From:

Re: [FFmpeg-devel] [PATCH V9] libavfilter: add transpose_vaapi filter

2019-01-16 Thread Zhou, Zachary
> -Original Message- > From: Guo, Yejun > Sent: Thursday, January 17, 2019 9:29 AM > To: FFmpeg development discussions and patches > Cc: Zhou, Zachary > Subject: RE: [FFmpeg-devel] [PATCH V9] libavfilter: add transpose_vaapi filter > > > > > -Original Message- > > From:

Re: [FFmpeg-devel] [PATCH] avcodec/rscc: Avoid returning frames that have nearly no undamaged pixels in them

2019-01-16 Thread Vittorio Giovara
On Wed, Jan 16, 2019 at 7:44 PM Michael Niedermayer wrote: > Fixes: Timeout > Fixes: > 12192/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RSCC_fuzzer-6279038004363264 > > Before: > clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RSCC_fuzzer-6279038004363264 > in 15423 ms > After: >

Re: [FFmpeg-devel] [PATCH] avcodec/rscc: Avoid returning frames that have nearly no undamaged pixels in them

2019-01-16 Thread Kieran Kunhya
On Thu, 17 Jan 2019 at 00:44 Michael Niedermayer wrote: > Fixes: Timeout > Fixes: > 12192/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RSCC_fuzzer-6279038004363264 > > Before: > clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RSCC_fuzzer-6279038004363264 > in 15423 ms > After: >

Re: [FFmpeg-devel] [PATCH V9] libavfilter: add transpose_vaapi filter

2019-01-16 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Zachary Zhou > Sent: Wednesday, January 16, 2019 3:05 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Zhou, Zachary > Subject: [FFmpeg-devel] [PATCH V9] libavfilter: add transpose_vaapi filter > >

Re: [FFmpeg-devel] [PATCH v3] Improved the performance of 1 decode + N filter graphs and adaptive bitrate.

2019-01-16 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Shaofei Wang > Sent: Thursday, January 17, 2019 5:17 AM > To: ffmpeg-devel@ffmpeg.org > Cc: mich...@niedermayer.cc; atomnu...@gmail.com; c...@passwd.hu; > Wang, Shaofei ; ceffm...@gmail.com

[FFmpeg-devel] [PATCH] avcodec/rscc: Avoid returning frames that have nearly no undamaged pixels in them

2019-01-16 Thread Michael Niedermayer
Fixes: Timeout Fixes: 12192/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RSCC_fuzzer-6279038004363264 Before: clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RSCC_fuzzer-6279038004363264 in 15423 ms After: clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RSCC_fuzzer-6279038004363264

Re: [FFmpeg-devel] [FFmpeg-cvslog] lavc/qsvenc: add VDENC support for H264

2019-01-16 Thread Carl Eugen Hoyos
2019-01-16 7:44 GMT+01:00, Li, Zhong : >> > Is it a possible way to show "not supported" info and set the option >> > to default off instead of just hiding the option? >> > >> > Like: >> > #if QSV_HAVE_VDENC >> > { "low_power", "enable low power mode (experimental, many >> > limitations by

Re: [FFmpeg-devel] [PATCH] palettegen: Fill with last color, not black

2019-01-16 Thread Carl Eugen Hoyos
2019-01-16 13:40 GMT+01:00, Tomas Härdin : > Hi > > I was helping the fine folks at peppercarrot.com with web video > nonsense, and I notice palettegen outputs more colors than it should > due to padding the generated palette with pure black. > > Compare this (ffmpeg version 3.2.12-1~deb9u1): >

[FFmpeg-devel] [PATCH] Support HDR dynamic metdata (HDR10+) in HEVC decoder.

2019-01-16 Thread Mohammad Izadi
--- libavcodec/hevc_sei.c | 211 -- libavcodec/hevc_sei.h | 6 ++ libavcodec/hevcdec.c | 22 + 3 files changed, 233 insertions(+), 6 deletions(-) diff --git a/libavcodec/hevc_sei.c b/libavcodec/hevc_sei.c index c59bd4321e..265e3f4dd1 100644 ---

Re: [FFmpeg-devel] [PATCH 1/3] avutil/imgutils: Optimize writing 4 bytes in memset_bytes()

2019-01-16 Thread Marton Balint
On Tue, 15 Jan 2019, Michael Niedermayer wrote: On Sun, Dec 30, 2018 at 07:15:49PM +0100, Marton Balint wrote: On Fri, 28 Dec 2018, Michael Niedermayer wrote: On Wed, Dec 26, 2018 at 10:16:47PM +0100, Marton Balint wrote: On Wed, 26 Dec 2018, Paul B Mahol wrote: On 12/26/18, Michael

[FFmpeg-devel] [PATCH 1/1] flush segments to guarantuee atomic single file hls

2019-01-16 Thread Daniel Oberhoff
--- libavformat/hlsenc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index ca57694e9e..2cd651d7e8 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -406,6 +406,7 @@ static int flush_dynbuf(VariantStream *vs, int *range_length)

[FFmpeg-devel] [PATCH 0/1] flush after writing hls segments to fix single file hls

2019-01-16 Thread Daniel Oberhoff
Hello, This patch makes the hls muxer use avio_flush after writing a segment to disk. This is needed so that in single file hls segments actually become visile to readers in time. Daniel Oberhoff (1): flush segments to guarantuee atomic single file hls libavformat/hlsenc.c | 1 + 1 file

[FFmpeg-devel] [PATCH 2/2] lavc/vaapi_encode: fix the mismatched vbvBuf size unit for mpeg2

2019-01-16 Thread Linjie Fu
hrd_buffer_size and hrd_initial_buffer_fullness are set in bits, while driver takes the vbvBuf size in 16 kbits. The mismatch will cause quality issue. One way to solve this issue in FFmpeg level is set the bufsize specially for mpeg2 as the unit of 16 kbits, and discard the default CBR mode in

[FFmpeg-devel] [PATCH 1/2] lavc/vaapi_encode_mpeg2: add support for CBR/VBR

2019-01-16 Thread Linjie Fu
Add support for VBR/CBR mode in mpeg2_vaapi encode. Fix #7650. Signed-off-by: Linjie Fu --- libavcodec/vaapi_encode_mpeg2.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/libavcodec/vaapi_encode_mpeg2.c b/libavcodec/vaapi_encode_mpeg2.c index 22d7e306bb..a625b15461 100644 ---

Re: [FFmpeg-devel] [PATCH V8 2/2] avcodec/libx264: add support for ROI-based encoding

2019-01-16 Thread Derek Buitenhuis
On 16/01/2019 00:41, Guo, Yejun wrote: > this patch set asks for pushing if no more concerns, thanks. I support this. If nobody raises any concerns in the next 24-48 hrs, I'll go ahead. Thank you for sticking with it through the bikeshedding. - Derek

[FFmpeg-devel] [PATCH] palettegen: Fill with last color, not black

2019-01-16 Thread Tomas Härdin
Hi I was helping the fine folks at peppercarrot.com with web video nonsense, and I notice palettegen outputs more colors than it should due to padding the generated palette with pure black. Compare this (ffmpeg version 3.2.12-1~deb9u1):

Re: [FFmpeg-devel] [PATCH] lavf/qsv_scale: add scaling mode option

2019-01-16 Thread Maxym Dmytrychenko
On Wed, Jan 16, 2019 at 9:55 AM Zhong Li wrote: > Signed-off-by: Zhong Li > --- > libavfilter/vf_scale_qsv.c | 36 +++- > 1 file changed, 31 insertions(+), 5 deletions(-) > > diff --git a/libavfilter/vf_scale_qsv.c b/libavfilter/vf_scale_qsv.c > index

[FFmpeg-devel] [PATCH] lavf/qsv_scale: add scaling mode option

2019-01-16 Thread Zhong Li
Signed-off-by: Zhong Li --- libavfilter/vf_scale_qsv.c | 36 +++- 1 file changed, 31 insertions(+), 5 deletions(-) diff --git a/libavfilter/vf_scale_qsv.c b/libavfilter/vf_scale_qsv.c index 7d593b2..f9f708e 100644 --- a/libavfilter/vf_scale_qsv.c +++

[FFmpeg-devel] [PATCH v3] Improved the performance of 1 decode + N filter graphs and adaptive bitrate.

2019-01-16 Thread Shaofei Wang
With new option "-abr_pipeline" It enabled multiple filter graph concurrency, which bring obove about 4%~20% improvement in some 1:N scenarios by CPU or GPU acceleration Below are some test cases and comparison as reference. (Hardware platform: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz) (Software:

Re: [FFmpeg-devel] [PATCH] img2enc: mention -frames:v in error message

2019-01-16 Thread Kieran O Leary
On Tue, 15 Jan 2019, 00:25 Lou Logan Signed-off-by: Lou Logan > --- > libavformat/img2enc.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/libavformat/img2enc.c b/libavformat/img2enc.c > index a09cc8ec50..bec4bf81dd 100644 > --- a/libavformat/img2enc.c > +++