[FFmpeg-devel] [PATCH] avcodec/mpeg4videodec: Fix slice end detection in mpeg4_decode_studio_mb()

2018-08-19 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/mpeg4videodec.c | 8 1 file changed, 8 insertions(+) diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c index 24c280df46..1686ed1001 100644 --- a/libavcodec/mpeg4videodec.c +++ b/libavcodec/mpeg4videodec.c @@ -1955,6 +1

[FFmpeg-devel] avcodec/psd : add support for gray float (WIP)

2018-08-19 Thread Martin Vignali
Hello, Like gray float pix fmt is now added, add support for PSD gray float picture Sample can be found here : https://we.tl/t-QHDNyfMr1S Can be test with : ./ffmpeg -i lena-gray_float.psd -pix_fmt gray8 res8.png Doesn't work with : ./ffmpeg -i lena-gray_float.psd res16.png I hoped to have som

[FFmpeg-devel] swscale : hScale16To19 : limit shift for float(32bits) input

2018-08-19 Thread Martin Vignali
Hello, Patch in attach fix for me, Gray Float to UINT16 conversion (see discussion : avcodec/psd : add support for gray float (WIP)) After this patch and psd patch, this command line works : ./ffmpeg -i lena-gray_float.psd res16.png Maybe not the best way to fix that. Comments welcome Martin

[FFmpeg-devel] [PATCH] doc/filters: Add double-pass example for loudnorm

2018-08-19 Thread Marvin Scholz
--- doc/filters.texi | 23 +++ 1 file changed, 23 insertions(+) diff --git a/doc/filters.texi b/doc/filters.texi index 32c95b591c..2078ee0f6f 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -3659,6 +3659,29 @@ Set print format for stats. Options are summary, json, or

[FFmpeg-devel] [PATCH] configure: do not add --fsanitize= if coverage is tested

2018-08-19 Thread Michael Niedermayer
Found-by: Max Moroz Signed-off-by: Michael Niedermayer --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 9b5421d5a8..b9c9d0b307 100755 --- a/configure +++ b/configure @@ -3964,7 +3964,7 @@ set >> $logfile test -n "$valgrind" && toolch

Re: [FFmpeg-devel] swscale : hScale16To19 : limit shift for float(32bits) input

2018-08-19 Thread Michael Niedermayer
On Sun, Aug 19, 2018 at 09:00:05PM +0200, Martin Vignali wrote: > Hello, > > Patch in attach fix for me, Gray Float to UINT16 conversion > (see discussion : avcodec/psd : add support for gray float (WIP)) > > After this patch and psd patch, > > this command line works : > ./ffmpeg -i lena-gray_f

Re: [FFmpeg-devel] [PATCH] doc/filters: Add double-pass example for loudnorm

2018-08-19 Thread Carl Eugen Hoyos
2018-08-19 21:33 GMT+02:00, Marvin Scholz : > --- > doc/filters.texi | 23 +++ > 1 file changed, 23 insertions(+) > > diff --git a/doc/filters.texi b/doc/filters.texi > index 32c95b591c..2078ee0f6f 100644 > --- a/doc/filters.texi > +++ b/doc/filters.texi > @@ -3659,6 +3659,29 @

Re: [FFmpeg-devel] [PATCH] doc/filters: Add double-pass example for loudnorm

2018-08-19 Thread Marvin Scholz
On 19 Aug 2018, at 23:27, Carl Eugen Hoyos wrote: 2018-08-19 21:33 GMT+02:00, Marvin Scholz : --- doc/filters.texi | 23 +++ 1 file changed, 23 insertions(+) diff --git a/doc/filters.texi b/doc/filters.texi index 32c95b591c..2078ee0f6f 100644 --- a/doc/filters.texi +++ b

Re: [FFmpeg-devel] [PATCH] doc/filters: Add double-pass example for loudnorm

2018-08-19 Thread Carl Eugen Hoyos
2018-08-19 23:42 GMT+02:00, Marvin Scholz : > But maybe I misunderstand something here. No, unlikely;-) Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] lavfi/vf_libvmaf: update to use libvmaf v1.3.9

2018-08-19 Thread Carl Eugen Hoyos
2018-08-17 15:15 GMT+02:00, Gyan Doshi : > > > On 17-08-2018 06:12 PM, Carl Eugen Hoyos wrote: >> 2018-08-14 9:57 GMT+02:00, Gyan Doshi : > > > filter_threads applies to all simple filtergraphs. The private option > is specifically targeted. Isn't that better? >> >> I believe the opposi

[FFmpeg-devel] [PATCH v2] doc/filters: Add double-pass example for loudnorm

2018-08-19 Thread Marvin Scholz
--- Changes compared to v1: - Change example loudnorm value to match EBU128 - Change file names to "input" and "output" doc/filters.texi | 23 +++ 1 file changed, 23 insertions(+) diff --git a/doc/filters.texi b/doc/filters.texi index 32c95b591c..dfc0d91008 100644 --- a/doc/

Re: [FFmpeg-devel] [PATCH 4/6] avcodec/lagarith: Optimize FRAME_SOLID_RGBA

2018-08-19 Thread Michael Niedermayer
On Mon, Aug 13, 2018 at 08:11:52PM +0200, Carl Eugen Hoyos wrote: > 2018-08-13 2:24 GMT+02:00, Michael Niedermayer : > > Fixes: Timeout > > Fixes: > > 9484/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LAGARITH_fuzzer-5707859156271104 > > > > Found-by: continuous fuzzing process > > https://git

Re: [FFmpeg-devel] [PATCH 5/6] avcodec/cfhd: Move peak_table() and difference_coding() calls after the existing coefficient count check

2018-08-19 Thread Michael Niedermayer
On Mon, Aug 13, 2018 at 02:24:22AM +0200, Michael Niedermayer wrote: > Fixes: out of array access > Fixes: > 9509/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CFHD_fuzzer-5283250636324864 > Fixes: > 9572/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CFHD_fuzzer-4920757409808384 > Fixes:

Re: [FFmpeg-devel] [PATCH 6/6] avcodec/cfhd: Use the actual count instead of the expected in peak_table()

2018-08-19 Thread Michael Niedermayer
On Mon, Aug 13, 2018 at 02:24:23AM +0200, Michael Niedermayer wrote: > Fixes: out of array access (no testcase) > > Signed-off-by: Michael Niedermayer > --- > libavcodec/cfhd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) will apply [...] -- Michael GnuPG fingerprint: 9FF2128B1

Re: [FFmpeg-devel] [PATCH 2/9] avcodec/gdv: Replace divisions by shifts in rescale()

2018-08-19 Thread Michael Niedermayer
On Sun, Aug 05, 2018 at 11:55:06PM +0200, Nicolas George wrote: > Michael Niedermayer (2018-08-05): > > thats done in the next patch > > Indeed, except for the part where the variable are turned to unsigned to > let the compiler optimize the division. Sorry to have missed that. are you ok with le

Re: [FFmpeg-devel] [PATCH] avformat/nsvdec: Do not parse multiple NSVf

2018-08-19 Thread Michael Niedermayer
On Fri, Aug 17, 2018 at 09:32:45PM +0200, Michael Niedermayer wrote: > The specification states "NSV files may contain a single file header. " > Fixes: out of array access > Fixes: nsv-asan-002f473f726a0dcbd3bd53e422c4fc40b3cf3421 > > Found-by: Paul Ch > Tested-by: Paul Ch > Signed-off-by: Micha

[FFmpeg-devel] [PATCH] lavc/hevc_ps: fix crop info for monochrome

2018-08-19 Thread Zhao Zhili
The values of SubWidthC and SubHeightC are 1 in the ITU-T H.265. The current code use the value of 2. --- libavcodec/hevc_ps.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c index fbd9fbf..ae1d4ad 100644 --- a/libav

Re: [FFmpeg-devel] [PATCH] lavc/hevc_ps: fix crop info for monochrome

2018-08-19 Thread Zhao Zhili
On 2018年08月18日 05:33, Michael Niedermayer wrote: On Fri, Aug 17, 2018 at 09:52:57AM +0800, Zhao Zhili wrote: The values of SubWidthC and SubHeightC are 1 in the ITU-T H.265. The current code use the value of 2. --- libavcodec/hevc_ps.c | 16 1 file changed, 12 insertions(+)

Re: [FFmpeg-devel] [PATCH] lavc/hevc_ps: fix crop info for monochrome

2018-08-19 Thread Ronald S. Bultje
Hi, On Sun, Aug 19, 2018 at 10:01 PM, Zhao Zhili wrote: > @@ -628,8 +636,8 @@ static void decode_vui(GetBitContext *gb, > AVCodecContext *avctx, > vui->default_display_window_flag = get_bits1(gb); > > if (vui->default_display_window_flag) { > -int vert_mult = 1 + (sps->chr

[FFmpeg-devel] [PATCH] lavc/hevc_ps: fix crop info for monochrome

2018-08-19 Thread Zhao Zhili
The values of SubWidthC and SubHeightC are 1 in the ITU-T H.265. The current code use the value of 2. --- libavcodec/hevc_ps.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c index fbd9fbf..ea984af 100644 --- a/libav

Re: [FFmpeg-devel] [PATCH] lavfi/vf_libvmaf: update to use libvmaf v1.3.9

2018-08-19 Thread Gyan Doshi
On 20-08-2018 03:17 AM, Carl Eugen Hoyos wrote: I believe that if a general option exists (as in this case), it is a bad idea to have a specifically targeted option that has to be used instead. The user may not want the thread pool to be available for any other threaded filters in the graph.

Re: [FFmpeg-devel] [PATCH v2] doc/filters: Add double-pass example for loudnorm

2018-08-19 Thread Gyan Doshi
On 20-08-2018 03:27 AM, Marvin Scholz wrote: +@example +$ ffmpeg -i input -map 0:a -af loudnorm=I=-23:TP=-1:print_format=summary -f null - + +[...] +Input Integrated: -9.0 LUFS +Input True Peak: +1.5 dBTP +Input LRA: 9.4 LU +Input Threshold: -19.5 LUFS +@end example + +