[FFmpeg-devel] [PATCH] configure: sort decoder/encoder/filter/... names in alphabet order, row by row

2019-04-11 Thread Guo, Yejun
take decoder names an example, with the default page length, shell command 'pr' needs two pages for all the decoder names. The names are firstly printed in the first page, then in the second page. So, as a whole, the names are sorted neither in column order nor in row order. It's a little

Re: [FFmpeg-devel] [PATCH] amfenc: Add support for pict_type field

2019-04-11 Thread Michael Fabian Dirks via ffmpeg-devel
On 10.02.2019 19:32, Mark Thompson wrote: On 04/02/2019 14:41, Michael Dirks wrote: You can see this with the trace_headers bitstream filter. (Try "-c:v h264_amf -options... -bsf:v trace_headers -f null -", or it can be used with streamcopy to examine an existing file.) Well yes, but that's

[FFmpeg-devel] [PATCH 5/5] avformat/mxfdec: fix and enhance RIP KLV length checks

2019-04-11 Thread Marton Balint
KLV length is BER encoded (variable size), but the code assumed the encoding to always use 4 bytes. Fixes parsing Random Index Pack in samples/MXF/issue2160/PW0805A0V01.4C5B5636.EFA330.mxf. Signed-off-by: Marton Balint --- libavformat/mxfdec.c | 7 +-- 1 file changed, 5 insertions(+), 2

[FFmpeg-devel] [PATCH 3/5] avformat/mxfdec: guess wrapping of tracks by other tracks with the same body sid

2019-04-11 Thread Marton Balint
This affects the following samples: samples/ffmpeg-bugs/roundup/issue1775/av_seek_frame_failure.mxf samples/ffmpeg-bugs/trac/ticket1957/16ch.mxf samples/ffmpeg-bugs/trac/ticket5016/r0.mxf samples/ffmpeg-bugs/trac/ticket5016/r1.mxf samples/ffmpeg-bugs/trac/ticket5316/hq.MXF

[FFmpeg-devel] [PATCH 4/5] avformat/mxfdec: take into account run-in in find_partition_by_offset

2019-04-11 Thread Marton Balint
Signed-off-by: Marton Balint --- libavformat/mxfdec.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 236294880e..6f0f87763d 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -433,15 +433,15 @@ static int

[FFmpeg-devel] [PATCH 1/5] avformat/mxfdec: pass track to mxf_edit_unit_absolute_offset instead of arbitrary edit unit

2019-04-11 Thread Marton Balint
Signed-off-by: Marton Balint --- libavformat/mxfdec.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 8c65a2bbcf..c3892a1037 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -1564,12 +1564,12 @@

[FFmpeg-devel] [PATCH 2/5] avformat/mxfdec: rework mxf_essence_container_end

2019-04-11 Thread Marton Balint
We find the last essence container much faster if we go through the partitions backwards... Signed-off-by: Marton Balint --- libavformat/mxfdec.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index c3892a1037..18c038c3f6

[FFmpeg-devel] [PATCH] avcodec/ivi: Move buffer/block end check to caller of ivi_dc_transform()

2019-04-11 Thread Michael Niedermayer
Fixes: assertion failure Fixes: 14078/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INDEO5_fuzzer-5760571284127744 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/ivi.c | 11 +--

Re: [FFmpeg-devel] [PATCH] avformat/mxfdec: export operational pattern UL as file metadata

2019-04-11 Thread Marton Balint
On Thu, 11 Apr 2019, Marton Balint wrote: On Mon, 8 Apr 2019, Tomas Härdin wrote: On 2019-04-03 21:35, Marton Balint wrote: Can be useful for API users as ffmpeg/libavformat can't properly support some operational patterns. Signed-off-by: Marton Balint --- libavformat/mxfdec.c

Re: [FFmpeg-devel] [PATCH v6] lavf/flv: Add XV (Xunlei Video) Support. Fixes ticket #3720

2019-04-11 Thread Shivam
On 4/10/19 10:05 PM, Michael Niedermayer wrote: On Tue, Apr 09, 2019 at 11:50:16PM +0530, Shivam Goyal wrote: lavf/flv: Add XV (Xunlei Video) Support. Fixes ticket #3720. Changelog|1 libavformat/Makefile |1 libavformat/allformats.c |1

Re: [FFmpeg-devel] [PATCHv2] avformat/file: add seekable option to disallow seeking

2019-04-11 Thread Marton Balint
On Tue, 9 Apr 2019, Marton Balint wrote: On Sun, 7 Apr 2019, Marton Balint wrote: v2: Disallow positive override of seekability as requested by Hendrik Leppkes. Ping, will apply soon. Applied. Regards, Marton ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH] avformat/mxfdec: export operational pattern UL as file metadata

2019-04-11 Thread Marton Balint
On Mon, 8 Apr 2019, Tomas Härdin wrote: On 2019-04-03 21:35, Marton Balint wrote: Can be useful for API users as ffmpeg/libavformat can't properly support some operational patterns. Signed-off-by: Marton Balint --- libavformat/mxfdec.c | 7 +++

Re: [FFmpeg-devel] [PATCH] libavcodec/libdav1d: add libdav1d_get_format method to call ff_get_format

2019-04-11 Thread Hendrik Leppkes
On Thu, Apr 11, 2019 at 7:47 PM Peter F wrote: > > Hi, > > Am Do., 11. Apr. 2019 um 00:50 Uhr schrieb Hendrik Leppkes > : > > > > On Thu, Apr 11, 2019 at 12:39 AM Lukas Rusak wrote: > > > > > > This will allow applications to properly init the decoder in > > > cases where a hardware decoder is

Re: [FFmpeg-devel] [PATCH v3] avcodec: add AV1 frame split bitstream filter

2019-04-11 Thread James Almer
On 4/7/2019 6:45 PM, James Almer wrote: > On 3/31/2019 6:05 PM, James Almer wrote: >> On 3/26/2019 9:25 PM, James Almer wrote: >>> This will be needed by the eventual native AV1 decoder. >>> >>> Signed-off-by: James Almer >>> --- >>> Now propagating the Temporal Unit unchanged if splitting can't

Re: [FFmpeg-devel] [PATCH] avcodec/agm: Check frame dimensions

2019-04-11 Thread Michael Niedermayer
On Thu, Apr 11, 2019 at 10:21:49AM +0200, Paul B Mahol wrote: > On 4/11/19, Michael Niedermayer wrote: > > Fixes: out of array access > > Fixes: > > 14110/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AGM_fuzzer-5649184864075776 > > > > Found-by: continuous fuzzing process > >

Re: [FFmpeg-devel] [PATCH] libavcodec/libdav1d: add libdav1d_get_format method to call ff_get_format

2019-04-11 Thread Peter F
Hi, Am Do., 11. Apr. 2019 um 00:50 Uhr schrieb Hendrik Leppkes : > > On Thu, Apr 11, 2019 at 12:39 AM Lukas Rusak wrote: > > > > This will allow applications to properly init the decoder in > > cases where a hardware decoder is tried first and and software > > decoder is tried after by calling

Re: [FFmpeg-devel] [PATCH] libavfilter: Add derain filter init version--GSoC Qualification Task.

2019-04-11 Thread Pedro Arthur
Em qui, 11 de abr de 2019 às 02:55, escreveu: > > We made some modifications on the original ESPCN model, such as change the > input image from one channel(Y) to three channels(RGB) and remove the > up-sampling procedure. The model file has been uploaded in >

Re: [FFmpeg-devel] [PATCH 1/2] lavc/qsvenc: Fix the memory leak for enc_ctrl.Payload

2019-04-11 Thread Fu, Linjie
> -Original Message- > From: Li, Zhong > Sent: Thursday, April 11, 2019 11:14 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Cc: Fu, Linjie > Subject: RE: [FFmpeg-devel] [PATCH 1/2] lavc/qsvenc: Fix the memory leak > for enc_ctrl.Payload > > > From: ffmpeg-devel

Re: [FFmpeg-devel] [PATCH RFC v2 2/3] libavcodec: Add thumbnail output to vaapi_h264 decoder

2019-04-11 Thread Zhou, Zachary
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Li, Zhong > Sent: Wednesday, April 10, 2019 10:14 AM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH RFC v2 2/3] libavcodec: Add thumbnail > output to

Re: [FFmpeg-devel] [PATCH, v2] lavu/hwcontext_qsv: Fix the realign check for hwupload

2019-04-11 Thread Song, Ruiling
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Fu, Linjie > Sent: Thursday, April 11, 2019 3:59 PM > To: Li, Zhong ; FFmpeg development discussions and > patches > Subject: Re: [FFmpeg-devel] [PATCH, v2] lavu/hwcontext_qsv: Fix the

Re: [FFmpeg-devel] [PATCH] avcodec/agm: Check frame dimensions

2019-04-11 Thread Paul B Mahol
On 4/11/19, Michael Niedermayer wrote: > Fixes: out of array access > Fixes: > 14110/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AGM_fuzzer-5649184864075776 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by: Michael

Re: [FFmpeg-devel] [PATCH, v2] lavu/hwcontext_qsv: Fix the realign check for hwupload

2019-04-11 Thread Fu, Linjie
> -Original Message- > From: Li, Zhong > Sent: Thursday, April 11, 2019 10:51 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Cc: Fu, Linjie > Subject: RE: [FFmpeg-devel] [PATCH, v2] lavu/hwcontext_qsv: Fix the realign > check for hwupload > > > From: ffmpeg-devel

Re: [FFmpeg-devel] [PATCH, v2] lavu/hwcontext_qsv: Fix the realign check for hwupload

2019-04-11 Thread Hendrik Leppkes
On Thu, Apr 11, 2019 at 4:51 AM Li, Zhong wrote: > > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > > Of Linjie Fu > > Sent: Wednesday, April 10, 2019 7:56 PM > > To: ffmpeg-devel@ffmpeg.org > > Cc: Fu, Linjie > > Subject: [FFmpeg-devel] [PATCH, v2] lavu/hwcontext_qsv:

Re: [FFmpeg-devel] [PATCH 1/2] lavc/qsvenc: Fix the memory leak for enc_ctrl.Payload

2019-04-11 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Carl Eugen Hoyos > Sent: Wednesday, April 10, 2019 19:35 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 1/2] lavc/qsvenc: Fix the

Re: [FFmpeg-devel] [PATCH 1/2] lavc/qsvenc: Fix the memory leak for enc_ctrl.Payload

2019-04-11 Thread Fu, Linjie
> -Original Message- > From: Li, Zhong > Sent: Thursday, April 11, 2019 11:14 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Cc: Fu, Linjie > Subject: RE: [FFmpeg-devel] [PATCH 1/2] lavc/qsvenc: Fix the memory leak > for enc_ctrl.Payload > > > From: ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] libavfilter: Add derain filter init version--GSoC Qualification Task.

2019-04-11 Thread Liu Steven
> 在 2019年4月11日,下午1:46,xwm...@pku.edu.cn 写道: > > > > >> -原始邮件- >> 发件人: "Liu Steven" >> 发送时间: 2019-04-09 16:00:25 (星期二) >> 收件人: "FFmpeg development discussions and patches" >> 抄送: "Liu Steven" >> 主题: Re: [FFmpeg-devel] [PATCH] libavfilter: Add derain filter init >> version--GSoC

Re: [FFmpeg-devel] [PATCH] swscale/ppc: VSX-optimize non-full-chroma yuv2rgb_2

2019-04-11 Thread Lauri Kasanen
On Fri, 5 Apr 2019 11:41:19 +0300 Lauri Kasanen wrote: > ./ffmpeg -f lavfi -i yuvtestsrc=duration=1:size=1200x1440 -sws_flags > fast_bilinear \ > -s 1200x720 -f null -vframes 100 -pix_fmt $i -nostats \ > -cpuflags 0 -v error - > > 32-bit mul, power8 only. > > ~2x speedup: > >