Re: [FFmpeg-devel] [PATCH 01/10] avformat/mxfdec: fix indentation

2018-02-18 Thread Paul B Mahol
On 2/17/18, Marton Balint wrote: > Signed-off-by: Marton Balint > --- > libavformat/mxfdec.c | 20 ++-- > 1 file changed, 10 insertions(+), 10 deletions(-) > > diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c > index 3b8d423906..fcae863ef4 100644 > --- a/libavformat/mxfde

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/vp8: Check for bitstream end before vp7_fade_frame()

2018-02-18 Thread Michael Niedermayer
On Sat, Feb 17, 2018 at 04:20:52AM +0100, Michael Niedermayer wrote: > Fixes: Timeout > Fixes: 5653/clusterfuzz-testcase-5497680018014208 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by: Michael Niedermayer > --- > libavc

[FFmpeg-devel] [PATCH 0/3] Finish new iteration APIs

2018-02-18 Thread Josh de Kock
This should be the last of the major API changes. I'm not entirely sure if I missed anything. Josh -- configure| 23 --- doc/APIchanges | 4 ++ fftools/cmdutils.c | 239 +++--

[FFmpeg-devel] [PATCH 3/3] lavc, lavd, lavf, lavfi, tests: remove several register() calls

2018-02-18 Thread Josh de Kock
--- libavdevice/lavfi.c | 2 -- libavfilter/lavfutils.c | 2 -- libavfilter/src_movie.c | 2 -- libavfilter/tests/filtfmts.c | 2 -- libavformat/tests/movenc.c | 2 -- libavformat/tests/seek.c | 3 --- tests/api/api-band-test.c| 2 -- tests/

[FFmpeg-devel] [PATCH 1/3] lavfi: add new iteration API

2018-02-18 Thread Josh de Kock
--- configure| 23 +- doc/APIchanges | 4 + libavfilter/allfilters.c | 817 +-- libavfilter/avfilter.c | 45 --- libavfilter/avfilter.h | 29 +- libavfilter/version.h| 5 +- 6 files changed, 475 insertions(+), 448

[FFmpeg-devel] [PATCH 2/3] cmdutils: use new iteration APIs

2018-02-18 Thread Josh de Kock
--- fftools/cmdutils.c | 239 + 1 file changed, 112 insertions(+), 127 deletions(-) diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index 0c7d13c..c341f8f 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c @@ -1250,19 +1250,11 @@ int

Re: [FFmpeg-devel] [PATCH 2/2] libavfilter/vf_fps: Rewrite using activate callback

2018-02-18 Thread Nicolas George
Calvin Walton (2018-02-16): > The old version of the filter had a problem where it would queue up > all of the duplicate frames required to fill a timestamp gap in a > single call to filter_frame. In problematic files - I've hit this in > webcam streams with large gaps due to network issues - this

[FFmpeg-devel] [PATCH 1/3] lavfi: add new iteration API

2018-02-18 Thread Josh de Kock
--- Managed to send the wrong version of the patch. FATE is still running, and will take a few hours on my machine, so I will update these patches if I find any issues. I wanted to get them on the ML earlier so that others could start taking a look. configure| 23 +- doc/API

[FFmpeg-devel] avcodec/hapqa_extract_bsf : add bsf filter for haqqa (to hapq or hapalpha only) conversion

2018-02-18 Thread Martin Vignali
Hello, Like no comment have been made for the WIP version (November 2017), ready to apply patchs in attach pass fate on osx (x86_64) Update : - Add doc for new bsf filter The goal is to convert HAPQA file to HAPQ (removing alpha) or HAPAlphaOnly (remove rgb) HAPQA data, is separate in two part

[FFmpeg-devel] [PATCH 1/3] avcodec/aacdec_templat: Fix integer overflow in apply_ltp()

2018-02-18 Thread Michael Niedermayer
Fixes: signed integer overflow: -1625276744 + -1041893960 cannot be represented in type 'int' Fixes: 5948/clusterfuzz-testcase-minimized-5791479856365568 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- l

[FFmpeg-devel] [PATCH 2/3] avcodec/h264_parse: Clear invalid chroma weights in ff_h264_pred_weight_table()

2018-02-18 Thread Michael Niedermayer
Fixes: 6037/clusterfuzz-testcase-minimized-5030249784934400 Fixes: signed integer overflow: 256 * 16992036 cannot be represented in type 'int' Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/h

[FFmpeg-devel] [PATCH 3/3] avcodec/diracdec: Fix integer overflow in mv computation

2018-02-18 Thread Michael Niedermayer
Fixes: signed integer overflow: -2072 + -2147483646 cannot be represented in type 'int' Fixes: 6097/clusterfuzz-testcase-minimized-5034145253163008 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavco

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/dirac_dwt_template: Fix Integer overflow in horizontal_compose_dd137i()

2018-02-18 Thread Michael Niedermayer
On Sat, Feb 17, 2018 at 10:25:12PM +0100, Michael Niedermayer wrote: > Fixes: 5894/clusterfuzz-testcase-minimized-5315325420634112 > Fixes: runtime error: signed integer overflow: 2147483647 + 1 cannot be > represented in type 'int' > > Found-by: continuous fuzzing process > https://github.com/g

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/hevcdec: Check luma/chroma_log2_weight_denom

2018-02-18 Thread Michael Niedermayer
On Sat, Feb 17, 2018 at 10:25:11PM +0100, Michael Niedermayer wrote: > Fixes: signed integer overflow: 3 + 2147483647 cannot be represented in type > 'int' > Fixes: 5888/clusterfuzz-testcase-minimized-5634701067812864 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/

[FFmpeg-devel] [PATCH 3/3] avcodec/nvdec: Implement mjpeg nvdec hwaccel

2018-02-18 Thread Philip Langdale
--- Changelog| 2 +- configure| 2 ++ libavcodec/Makefile | 1 + libavcodec/hwaccels.h| 1 + libavcodec/mjpegdec.c| 6 libavcodec/nvdec.c | 1 + libavcodec/nvdec_mjpeg.c | 86 libavcodec/

[FFmpeg-devel] [PATCH 0/3] nvdec: Add hwaccel for mjpeg

2018-02-18 Thread Philip Langdale
This change implements mjpeg hwaccel support for nvdec on top of the hwaccel hooks that Mark put together. When Mark previously sent the change out for review, it included a hack to handle remapping of YUVJ pix fmts that couldn't be merged as-is. The problem was never resolved, which blocked mergin

[FFmpeg-devel] [PATCH 1/3] mjpegdec: Add hwaccel hooks

2018-02-18 Thread Philip Langdale
From: Mark Thompson Also adds some extra fields to the main context structure that may be needed by a hwaccel decoder. (Modified by philipl to remove a YUVJ mapping hack that isn't required by nvdec and would otherwise block merging the rest of the change.) --- libavcodec/mjpegdec.c | 68 +

[FFmpeg-devel] [PATCH 2/3] avcodec/mjpeg: Pass full buffer to hwaccel start_frame

2018-02-18 Thread Philip Langdale
--- libavcodec/mjpegdec.c | 6 -- libavcodec/mjpegdec.h | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index 9a7a329b19..b41d2ce467 100644 --- a/libavcodec/mjpegdec.c +++ b/libavcodec/mjpegdec.c @@ -715,8 +715,8 @@ unk_pi

[FFmpeg-devel] [PATCH] web/(old)download: Move 3.1 to olddownloads

2018-02-18 Thread Michael Niedermayer
No currently maintained distro or app uses 3.1 on https://trac.ffmpeg.org/wiki/Downstreams so it would help noone if we continue maintaining 3.1.* --- src/download| 39 --- src/olddownload | 39 +++ 2 files changed, 39 in

[FFmpeg-devel] FFmpeg 3.5 / 4.0

2018-02-18 Thread Michael Niedermayer
Hi Its 4 months since 3.4 was branched so its time for a new major release Is 4.0 or 3.5 preferred ? Any name suggestions ? If there are no objections i will likely make that release in the next weeks thx -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I do not agre

Re: [FFmpeg-devel] FFmpeg 3.5 / 4.0

2018-02-18 Thread James Almer
On 2/18/2018 10:50 PM, Michael Niedermayer wrote: > Hi > > Its 4 months since 3.4 was branched so its time for a new major release > > Is 4.0 or 3.5 preferred ? Definitely 4.0. With the major bump, the removal of ffprobe and WinXP support, catching up with the merge queue, plus a bunch of new AP

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/mjpeg: Pass full buffer to hwaccel start_frame

2018-02-18 Thread James Almer
On 2/18/2018 8:53 PM, Philip Langdale wrote: > --- > libavcodec/mjpegdec.c | 6 -- > libavcodec/mjpegdec.h | 5 +++-- > 2 files changed, 7 insertions(+), 4 deletions(-) > > diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c > index 9a7a329b19..b41d2ce467 100644 > --- a/libavcodec/mjpe

Re: [FFmpeg-devel] [PATCH 2/3] Add a new hls_flag peak_segment_bw

2018-02-18 Thread Jeyapal, Karthick
On 2/12/18 2:24 PM, Amit Kale wrote: > If this flag is set, BANDWIDTH value in a master playlist entry will be set to > the peak segment bandwidth. Thanks for sending the patch. Here are some comments. > --- > doc/muxers.texi | 4 > libavformat/hlsenc.c | 29 +-

[FFmpeg-devel] [PATCH 1/3] avformat/movenc: addition of flag to fragment at every frame

2018-02-18 Thread vdixit
From: Vishwanath Dixit --- libavformat/movenc.c | 10 +++--- libavformat/movenc.h | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index f433499..5b1e66c 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -62,6 +6

[FFmpeg-devel] [PATCH 2/3] avformat/dashenc: opening a segment file when its first frame is ready

2018-02-18 Thread vdixit
From: Vishwanath Dixit --- libavformat/dashenc.c | 57 --- 1 file changed, 36 insertions(+), 21 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 0f6f4f2..0eb4b25 100644 --- a/libavformat/dashenc.c +++ b/libavformat/das

[FFmpeg-devel] [PATCH 3/3] avformat/dashenc: chunk streaming support for low latency use cases

2018-02-18 Thread vdixit
From: Vishwanath Dixit --- doc/muxers.texi | 3 +++ libavformat/dashenc.c | 26 +++--- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index d9a5cc0..c156ec0 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -254,6

Re: [FFmpeg-devel] [PATCH 1/2] swresample/rematrix: fix update of channel matrix if input or output layout is undefined

2018-02-18 Thread Tobias Rapp
On 16.02.2018 21:52, Michael Niedermayer wrote: On Thu, Feb 15, 2018 at 09:34:55AM +0100, Tobias Rapp wrote: Prefer direct in/out channel count values over channel layout, when available. Fixes a pan filter bug (ticket #6790). Signed-off-by: Tobias Rapp --- libswresample/rematrix.c | 6 -

Re: [FFmpeg-devel] [PATCH] Add android_capture indev

2018-02-18 Thread Felix Matouschek
Hello Michael, do you think the patch could be merged in its current state? It is functional, maybe I can do the cosmetic changes later. I was a bit busy the last weeks. Would be nice if it could get into the 3.5 / 4.0 release. Felix Am 02.01.2018 10:23, schrieb Felix Matouschek: Am 28.12.2017

Re: [FFmpeg-devel] [PATCH 2/2] fate: add tests for pan audio filter

2018-02-18 Thread Tobias Rapp
On 15.02.2018 10:12, Nicolas George wrote: Tobias Rapp (2018-02-15): I have run the Fate tests on Linux 32/64bit and Mips/Qemu, but possibly the float channel coefficients could be fragile (especially of the stereo3 test). Do you have some idea on how to make them more reliable? Or shall we give