Re: [FFmpeg-devel] [PATCH] avcodec/amrwbdec: Fix division by 0 in voice_factor()

2017-12-10 Thread Michael Niedermayer
On Thu, Dec 07, 2017 at 05:39:41PM +0100, Michael Niedermayer wrote: > The added value matches "Digital cellular telecommunications system (Phase > 2+) (GSM); Universal Mobile Telecommunications System (UMTS); LTE; Extended > Adaptive Multi-Rate - Wideband (AMR-WB+) codec; Floating-point ANSI-C

Re: [FFmpeg-devel] [PATCH] lavc: Make hardware config method support more explicit for hwaccels

2017-12-10 Thread Mark Thompson
On 08/12/17 16:22, Thomas Guillem wrote: > On Fri, Dec 8, 2017, at 17:15, Mark Thompson wrote: >> From: Thomas Guillem >> >> This fixes the use of old ad-hoc methods which are still supported by >> some >> hwaccels which also support newer methods (DXVA2, VAAPI, VDPAU, >>

Re: [FFmpeg-devel] [PATCH 29/29] all: remove rest of YUVJ pixel formats usage

2017-12-10 Thread Michael Niedermayer
On Sun, Dec 10, 2017 at 02:14:36PM +0100, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > fftools/ffmpeg_filter.c | 4 +-- > libavcodec/raw.c | 18 +++--- > libavcodec/utils.c | 11 -- >

Re: [FFmpeg-devel] [PATCH] configure: Allow users to disable all hwaccel libraries

2017-12-10 Thread Gyan Doshi
On 12/11/2017 12:06 AM, Mark Thompson wrote: --disable-hwaccels does not disable hardware codecs: it disables hwaccels only, decoders and encoders will still be present. If you want to disable decoder and encoder wrappers as well then you will need to either use --disable-decoders

Re: [FFmpeg-devel] [PATCH 29/29] all: remove rest of YUVJ pixel formats usage

2017-12-10 Thread Paul B Mahol
On 12/10/17, Michael Niedermayer wrote: > On Sun, Dec 10, 2017 at 02:14:36PM +0100, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> fftools/ffmpeg_filter.c | 4 +-- >> libavcodec/raw.c | 18

Re: [FFmpeg-devel] [PATCH 29/29] all: remove rest of YUVJ pixel formats usage

2017-12-10 Thread Michael Niedermayer
On Sun, Dec 10, 2017 at 08:22:17PM +0100, Paul B Mahol wrote: > On 12/10/17, Michael Niedermayer wrote: > > On Sun, Dec 10, 2017 at 02:14:36PM +0100, Paul B Mahol wrote: > >> Signed-off-by: Paul B Mahol > >> --- > >> fftools/ffmpeg_filter.c

Re: [FFmpeg-devel] [PATCH] avcodec/mpeg4videodec: Add support for parsing and exporting video_range

2017-12-10 Thread Michael Niedermayer
On Sun, Dec 10, 2017 at 07:56:49PM +, Mark Thompson wrote: > On 10/12/17 15:20, Michael Niedermayer wrote: > > Signed-off-by: Michael Niedermayer > > --- > > libavcodec/mpeg4video.h| 3 +++ > > libavcodec/mpeg4videodec.c | 32 > >

[FFmpeg-devel] [PATCH 3/7] avfilter/vf_framerate: factorize blend_frames

2017-12-10 Thread Marton Balint
Signed-off-by: Marton Balint --- libavfilter/vf_framerate.c | 54 ++ 1 file changed, 7 insertions(+), 47 deletions(-) diff --git a/libavfilter/vf_framerate.c b/libavfilter/vf_framerate.c index d505c5a8a4..f931a6f512 100644 ---

[FFmpeg-devel] [PATCH 5/7] avfilter/vf_framerate: fix scene change detection score

2017-12-10 Thread Marton Balint
- normalize score to [0..100] instead of [0..85] - change the default score to 8.2 to roughly keep existing behaviour - take into account bit depth - do not truncate to integer Signed-off-by: Marton Balint --- doc/filters.texi | 2 +-

[FFmpeg-devel] [PATCH 4/7] avfilter/vf_framerate: factorize get_scene_score

2017-12-10 Thread Marton Balint
Signed-off-by: Marton Balint --- libavfilter/vf_framerate.c | 78 ++ 1 file changed, 31 insertions(+), 47 deletions(-) diff --git a/libavfilter/vf_framerate.c b/libavfilter/vf_framerate.c index f931a6f512..1cad2305ad 100644 ---

[FFmpeg-devel] [PATCH 7/7] avfilter/vf_framerate: fix scene score with negative linesize

2017-12-10 Thread Marton Balint
Also, do not overread input if linesize > width, or linesize is not divisible by 8, and use the proper rounded width/height for MAFD calculation. Signed-off-by: Marton Balint --- libavfilter/vf_framerate.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-)

[FFmpeg-devel] [PATCH 6/7] avfilter/vf_framerate: do not calculate scene change score multiple times for the same frame

2017-12-10 Thread Marton Balint
This speeds up the filter, and also fixes scene change detection score which is reduced based on the difference of the current MAFD to the preivous MAFD. Obviously if we compare two frames twice, the difference will be 0... Signed-off-by: Marton Balint ---

[FFmpeg-devel] Lagarith codec and FFmpeg

2017-12-10 Thread Ben Martin
For a long time that I use the Lagarith codec. https://lags.leetcode.net/codec.html (free codec) It is one of the best lossless 24bit codec available for PC, despite being around for a long time. It does not "add" gradients on the color space when packing and the quality, well is lossless,

[FFmpeg-devel] [PATCH 2/7] avfilter/vf_framerate: add threaded blending operations

2017-12-10 Thread Marton Balint
Signed-off-by: Marton Balint --- libavfilter/vf_framerate.c | 202 - 1 file changed, 125 insertions(+), 77 deletions(-) diff --git a/libavfilter/vf_framerate.c b/libavfilter/vf_framerate.c index dc8b05f40f..d505c5a8a4 100644 ---

[FFmpeg-devel] [PATCH 1/7] fate: add 12 bit framerate filter tests

2017-12-10 Thread Marton Balint
Signed-off-by: Marton Balint --- tests/fate/filter-video.mak| 4 ++ tests/ref/fate/filter-framerate-12bit-down | 55 + tests/ref/fate/filter-framerate-12bit-up | 64 ++ 3 files changed, 123 insertions(+)

Re: [FFmpeg-devel] [PATCH] avcodec/mpeg4videodec: Add support for parsing and exporting video_range

2017-12-10 Thread Mark Thompson
On 10/12/17 21:49, Michael Niedermayer wrote: > On Sun, Dec 10, 2017 at 07:56:49PM +, Mark Thompson wrote: >> On 10/12/17 15:20, Michael Niedermayer wrote: >>> Signed-off-by: Michael Niedermayer >>> --- >>> libavcodec/mpeg4video.h| 3 +++ >>>

Re: [FFmpeg-devel] Lagarith codec and FFmpeg

2017-12-10 Thread Timo Rothenpieler
Not a question for ffmpeg-devel. Also, lagarith decoding is supported natively. smime.p7s Description: S/MIME Cryptographic Signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] lavc/utils: remove unnecessary locking

2017-12-10 Thread Hendrik Leppkes
On Fri, Dec 8, 2017 at 11:27 AM, Michael Niedermayer wrote: > On Fri, Dec 08, 2017 at 09:49:25AM +0100, Hendrik Leppkes wrote: >> On Fri, Dec 8, 2017 at 6:09 AM, Rostislav Pehlivanov >> wrote: >> > Its already done by lockmgr. >> > >> > Signed-off-by:

[FFmpeg-devel] [PATCH] ivfenc: add AV1 support

2017-12-10 Thread Tristan Matthews
libaom tools work with ivf files. --- libavformat/ivfenc.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libavformat/ivfenc.c b/libavformat/ivfenc.c index fdc0ee03e1..2d1f9aeef6 100644 --- a/libavformat/ivfenc.c +++ b/libavformat/ivfenc.c @@ -37,14 +37,16 @@ static

Re: [FFmpeg-devel] checkasm/vf_hflip : add test for vf_hflip SIMD

2017-12-10 Thread Mateusz
W dniu 10.12.2017 o 21:13, Martin Vignali pisze: >> >> For me there is no "src + (width - 1) * step" in tests/checkasm/vf_hflip.c >> >> You pass start of the src buffer but you should pass end of the buffer. >> >> >> >> Thanks ! > > New patch in attach. Now it is OK in my system (mingw

<    1   2