Re: [FFmpeg-devel] [PATCH v2 1/2] libavformat/utils: Interpolate missing timestamps in H264 and HEVC when no b-frames observed

2019-06-15 Thread Andriy Gelman
Michael, On Thu, 16. May 00:43, Michael Niedermayer wrote: > On Tue, May 14, 2019 at 05:54:21PM -0400, Andriy Gelman wrote: > > From: Andriy Gelman > > > > Fixes Ticket #7895. > > > > Currently, timestamp interpolation is disabled by default in H264 and > > HEVC. This creates playback issues

Re: [FFmpeg-devel] [PATCH v6] avformat/ifv: added support for ifv cctv files

2019-06-15 Thread Peter Ross
On Mon, Jun 10, 2019 at 09:25:27AM +0530, Swaraj Hota wrote: > Fixes ticket #2956. > > Signed-off-by: Swaraj Hota > --- > Added entry in "doc/general.texi". > --- > Changelog| 1 + > doc/general.texi | 2 + > libavformat/Makefile | 1 + > libavformat/allformats.

Re: [FFmpeg-devel] [PATCH 4/5] avcodec/bink: Reorder operations in init to avoid memleak on error

2019-06-15 Thread Peter Ross
On Sun, Jun 16, 2019 at 12:00:55AM +0200, Michael Niedermayer wrote: > Fixes: Direct leak of 536 byte(s) in 1 object(s) > Fixes: > 15266/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BINK_fuzzer-5629530426834944 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tr

Re: [FFmpeg-devel] [PATCH v10 1/2] lavf/vf_transpose: add exif orientation support

2019-06-15 Thread Jun Li
On Tue, Jun 11, 2019 at 7:05 PM Jun Li wrote: > > On Sun, Jun 9, 2019 at 2:28 PM Jun Li wrote: > >> Add exif orientation support and expose an option. >> --- >> libavfilter/hflip.h| 2 + >> libavfilter/transpose.h| 14 >> libavfilter/vf_hflip.c | 40 ++--- >> libavf

Re: [FFmpeg-devel] [PATCH v2] libavcodec/videotoolboxenc: Fix compilation broken on macOS 10.12

2019-06-15 Thread Lance Wang
On Fri, Jun 7, 2019 at 11:13 PM wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavcodec/videotoolboxenc.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c > index 3665581..f8ccdea 100644 > --- a/libavco

[FFmpeg-devel] trac issues

2019-06-15 Thread Michael Niedermayer
Hi just a quick report trac had issues in the last few days, which where due to trac being slow and some bots being faster. The specific problem should be "fixed" by a robots.txt since yesterday which should stop bots from geting lost in generated pages. If anyone spots anything we should change

[FFmpeg-devel] [PATCH v6] libavfilter/vf_find_rect: convert the object image to gray8 format instead of failed directly

2019-06-15 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/filters.texi | 2 +- libavfilter/vf_find_rect.c | 39 --- 2 files changed, 29 insertions(+), 12 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index ec1c7c7..4ee6a57 100644 --- a/do

Re: [FFmpeg-devel] [PATCH v4] libavfilter/vf_cover_rect: support for cover image with more pixel format and different width and height

2019-06-15 Thread Lance Wang
On Sun, Jun 16, 2019 at 6:20 AM Michael Niedermayer wrote: > On Fri, Jun 14, 2019 at 11:52:47PM +0800, Lance Wang wrote: > > On Fri, Jun 14, 2019 at 5:31 PM Michael Niedermayer > > > wrote: > > > > > On Wed, Jun 12, 2019 at 06:50:18PM +0800, lance.lmw...@gmail.com > wrote: > > > > From: Limin Wa

Re: [FFmpeg-devel] [PATCH v5 2/3] vf_find_rect.c: use the optimized sad function to improve the find performance

2019-06-15 Thread Lance Wang
On Sun, Jun 16, 2019 at 6:41 AM Michael Niedermayer wrote: > On Sat, Jun 15, 2019 at 06:39:38AM +0800, Lance Wang wrote: > > On Sat, Jun 15, 2019 at 3:02 AM Michael Niedermayer > > > wrote: > > > > > Hi > > > > > > On Wed, Jun 12, 2019 at 06:57:30PM +0800, lance.lmw...@gmail.com > wrote: > > > >

Re: [FFmpeg-devel] [PATCH v5 1/3] libavfilter/vf_find_rect: convert the object image to gray8 format instead of failed directly

2019-06-15 Thread Lance Wang
On Sun, Jun 16, 2019 at 6:16 AM Michael Niedermayer wrote: > On Sat, Jun 15, 2019 at 06:53:20AM +0800, Lance Wang wrote: > > On Sat, Jun 15, 2019 at 3:16 AM Michael Niedermayer > > > wrote: > > > > > On Wed, Jun 12, 2019 at 06:57:29PM +0800, lance.lmw...@gmail.com > wrote: > > > > From: Limin Wa

Re: [FFmpeg-devel] [PATCH v5 2/3] vf_find_rect.c: use the optimized sad function to improve the find performance

2019-06-15 Thread Michael Niedermayer
On Sat, Jun 15, 2019 at 06:39:38AM +0800, Lance Wang wrote: > On Sat, Jun 15, 2019 at 3:02 AM Michael Niedermayer > wrote: > > > Hi > > > > On Wed, Jun 12, 2019 at 06:57:30PM +0800, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > > > benchmark on x86_64: 6.4 -> 16 with below command

Re: [FFmpeg-devel] [PATCH v4] libavfilter/vf_cover_rect: support for cover image with more pixel format and different width and height

2019-06-15 Thread Michael Niedermayer
On Fri, Jun 14, 2019 at 11:52:47PM +0800, Lance Wang wrote: > On Fri, Jun 14, 2019 at 5:31 PM Michael Niedermayer > wrote: > > > On Wed, Jun 12, 2019 at 06:50:18PM +0800, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > > > Signed-off-by: Limin Wang > > > --- > > > doc/filters.texi

Re: [FFmpeg-devel] [PATCH v5 1/3] libavfilter/vf_find_rect: convert the object image to gray8 format instead of failed directly

2019-06-15 Thread Michael Niedermayer
On Sat, Jun 15, 2019 at 06:53:20AM +0800, Lance Wang wrote: > On Sat, Jun 15, 2019 at 3:16 AM Michael Niedermayer > wrote: > > > On Wed, Jun 12, 2019 at 06:57:29PM +0800, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > > > Signed-off-by: Limin Wang > > > --- > > > doc/filters.texi

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/hevc_ps: Fix integer overflow with num_tile_rows

2019-06-15 Thread Michael Niedermayer
On Sat, Jun 15, 2019 at 03:07:13PM +, Song, Ruiling wrote: > > -Original Message- > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > > Of Michael Niedermayer > > Sent: Friday, June 14, 2019 2:33 AM > > To: FFmpeg development discussions and patches > de...@ffmp

[FFmpeg-devel] [PATCH 4/5] avcodec/bink: Reorder operations in init to avoid memleak on error

2019-06-15 Thread Michael Niedermayer
Fixes: Direct leak of 536 byte(s) in 1 object(s) Fixes: 15266/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BINK_fuzzer-5629530426834944 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/bin

[FFmpeg-devel] [PATCH 5/5] avcodec/vc1_block: Check for vlc error in vc1_decode_ac_coeff()

2019-06-15 Thread Michael Niedermayer
Fixes: index -1 out of bounds for type 'const uint8_t [185][2]' Fixes: 15250/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMV3IMAGE_fuzzer-5648992869810176 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer

[FFmpeg-devel] [PATCH 2/5] avcodec/atrac9dec: Check conditions before apply_band_extension() to avoid out of array read in initialization of unused variables

2019-06-15 Thread Michael Niedermayer
Fixes: global-buffer-overflow Fixes: 15247/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ATRAC9_fuzzer-5671602181636096 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/atrac9dec.c | 7 +++-

[FFmpeg-devel] [PATCH 1/5] avcodec/motionpixels: Check for vlc error in mp_get_vlc()

2019-06-15 Thread Michael Niedermayer
Fixes: 15246/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MOTIONPIXELS_fuzzer-5168534407086080 Fixes: runtime error: index -1 out of bounds for type 'HuffCode [16]' Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Nie

[FFmpeg-devel] [PATCH 3/5] avcodec/loco: Limit lossy parameter so it is sane and does not overflow

2019-06-15 Thread Michael Niedermayer
Fixes: 15248/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LOCO_fuzzer-5087440458481664 Fixes: signed integer overflow: 3 + 2147483647 cannot be represented in type 'int' Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Micha

[FFmpeg-devel] [PATCH V1 3/3] lavfi/af_asetnsamples: Remove the redundant condition check

2019-06-15 Thread Jun Zhao
From: Jun Zhao Redundant condition: '!A || B' is equivalent to '!A || (A && B)' but more clearly. Signed-off-by: Jun Zhao --- libavfilter/af_asetnsamples.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavfilter/af_asetnsamples.c b/libavfilter/af_asetnsamples.c in

[FFmpeg-devel] [PATCH V1 2/3] lavf/asfdec: Simplify the check conditions

2019-06-15 Thread Jun Zhao
From: Jun Zhao Simplify the check conditions Signed-off-by: Jun Zhao --- libavformat/asfdec_o.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavformat/asfdec_o.c b/libavformat/asfdec_o.c index 8e7f044..7891b23 100644 --- a/libavformat/asfdec_o.c +++ b/libavformat

[FFmpeg-devel] [PATCH V1 1/3] lavf/mpegtsenc: fix logic check error

2019-06-15 Thread Jun Zhao
From: Jun Zhao fix the logic check error Signed-off-by: Jun Zhao --- libavformat/mpegtsenc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index fc0ea22..5d679c9 100644 --- a/libavformat/mpegtsenc.c +++ b/libavformat

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/hevc_ps: Fix integer overflow with num_tile_rows

2019-06-15 Thread Song, Ruiling
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Michael Niedermayer > Sent: Friday, June 14, 2019 2:33 AM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: [FFmpeg-devel] [PATCH 2/4] avcodec/hevc_ps: Fix integer

[FFmpeg-devel] [PATCH] avformat/mov: Set fragment.found_tfhd only after TFHD has been parsed

2019-06-15 Thread Michael Niedermayer
Fixes: Assertion failure Fixes: crbug971646.mp4 Reported-by: Matt Wolenetz Reviewed-by: Matt Wolenetz Signed-off-by: Michael Niedermayer --- libavformat/mov.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 78f692872b..327a25bbd

Re: [FFmpeg-devel] [PATCH] avformat/segment: fix increment_tc

2019-06-15 Thread Gyan
On 14-06-2019 10:45 PM, Gyan wrote: Fixes an issue brought to my attention at Super User. v2 fixes inadvertent stream TC creation when non existed. Gyan From 9d4c8efefe05566377b76a39bd11805ac5bc7dd6 Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Fri, 14 Jun 2019 22:36:27 +0530 Subject: [P