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

2019-06-29 Thread Steven Liu
> 在 2019年6月26日,19:32,Steven Liu 写道: > > Jun Li 于2019年6月25日周二 上午9:26写道: >> >> On Mon, Jun 17, 2019 at 5:31 PM Jun Li wrote: >> >>> >>> >>> On Sat, Jun 15, 2019 at 7:09 PM Jun Li wrote: >>> On Tue, Jun 11, 2019 at 7:05 PM Jun Li wrote: > > On Sun, Jun 9, 2

[FFmpeg-devel] [PATCH] avcodec/cfhd: add back alpha processing removed in 9cefb9e7ec

2019-06-29 Thread Paul B Mahol
Fixes #7886. Signed-off-by: Paul B Mahol --- libavcodec/cfhd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c index 846d334b9b..49a5a2c30a 100644 --- a/libavcodec/cfhd.c +++ b/libavcodec/cfhd.c @@ -884,6 +884,8 @@ static int cfhd_decode(AVCodecContext

Re: [FFmpeg-devel] [PATCH] avcodec/cfhd: add back alpha processing removed in 9cefb9e7ec

2019-06-29 Thread Kieran Kunhya
On Sat, 29 Jun 2019 at 08:09, Paul B Mahol wrote: > Fixes #7886. > > Signed-off-by: Paul B Mahol > --- > libavcodec/cfhd.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c > index 846d334b9b..49a5a2c30a 100644 > --- a/libavcodec/cfhd.c > +++ b/lib

Re: [FFmpeg-devel] [PATCH v3] avfilter/avf_aphasemeter: Add out-of-phase and mono detection

2019-06-29 Thread Paul B Mahol
On 6/17/19, Romane Lafon wrote: > New version of the patch that extends aphasemeter filter. > It allows to get metadata for out-of-phase or mono sequences of stereo > streams. > It displays start, end and duration as for silencedetect filter. > Missing filter documentation updates. __

[FFmpeg-devel] Changes in cofigure script

2019-06-29 Thread Dmitry A
Hello. What is right way to make changes in the cofigure script? I hacked it for building ffmpeg for android since clang doesn't support -mcpu and -march or something else. Does it make a sence to add some configure parameter for android? In this case then these options should be disabled -- Thank

Re: [FFmpeg-devel] Changes in cofigure script

2019-06-29 Thread Dmitry A
сб, 29 июн. 2019 г. в 18:22, Dmitry A : > Hello. > What is right way to make changes in the cofigure script? > I hacked it for building ffmpeg for android since clang doesn't support > -mcpu and -march or something else. > Does it make a sence to add some configure parameter for android? > In this

Re: [FFmpeg-devel] Changes in cofigure script

2019-06-29 Thread Carl Eugen Hoyos
Am Sa., 29. Juni 2019 um 14:23 Uhr schrieb Dmitry A : > What is right way to make changes in the cofigure script? > I hacked it for building ffmpeg for android since clang doesn't > support -mcpu and -march or something else. Please elaborate, building for Android works fine here. Carl eugen ___

Re: [FFmpeg-devel] Changes in cofigure script

2019-06-29 Thread Dmitry A
сб, 29 июн. 2019 г. в 19:04, Carl Eugen Hoyos : > Am Sa., 29. Juni 2019 um 14:23 Uhr schrieb Dmitry A < > dmitry.adj...@gmail.com>: > > > What is right way to make changes in the cofigure script? > > I hacked it for building ffmpeg for android since clang doesn't > > support -mcpu and -march or so

Re: [FFmpeg-devel] Changes in cofigure script

2019-06-29 Thread Dmitry A
сб, 29 июн. 2019 г. в 19:11, Dmitry A : > > > сб, 29 июн. 2019 г. в 19:04, Carl Eugen Hoyos : > >> Am Sa., 29. Juni 2019 um 14:23 Uhr schrieb Dmitry A < >> dmitry.adj...@gmail.com>: >> >> > What is right way to make changes in the cofigure script? >> > I hacked it for building ffmpeg for android s

[FFmpeg-devel] [PATCH v1] Add 2 timestamp print formats

2019-06-29 Thread Ulf Zibis
Hi, for my developement of another filter I need additional timestamp print formats. So I like to share my efforts. Are you interested to include them to the project? For libavutil/timestamp.h I'm also wondering, why these format functions are designated for "inline". As printing is always a lit

Re: [FFmpeg-devel] Changes in cofigure script

2019-06-29 Thread Dmitry A
сб, 29 июн. 2019 г. в 21:43, Dmitry A : > > > сб, 29 июн. 2019 г. в 19:11, Dmitry A : > >> >> >> сб, 29 июн. 2019 г. в 19:04, Carl Eugen Hoyos : >> >>> Am Sa., 29. Juni 2019 um 14:23 Uhr schrieb Dmitry A < >>> dmitry.adj...@gmail.com>: >>> >>> > What is right way to make changes in the cofigure sc

Re: [FFmpeg-devel] [PATCH V2 3/4] lavf/dump: More disposition flag dump

2019-06-29 Thread Michael Niedermayer
On Fri, Jun 28, 2019 at 03:21:11PM +0800, Jun Zhao wrote: > From: Jun Zhao > > More disposition flag dump > > Signed-off-by: Jun Zhao > --- > libavformat/dump.c |8 > 1 files changed, 8 insertions(+), 0 deletions(-) I think this is a good idea thx [...] -- Michael GnuPG f

Re: [FFmpeg-devel] [PATCH 2/2] avformat/rpl: Support files containing Replay IMA ADPCM audio

2019-06-29 Thread Michael Niedermayer
On Thu, Jun 27, 2019 at 08:56:02PM +0100, Cameron Cawley wrote: > --- > libavformat/rpl.c | 13 - > 1 file changed, 12 insertions(+), 1 deletion(-) > > diff --git a/libavformat/rpl.c b/libavformat/rpl.c > index dbbcd13b41..b4859320f4 100644 > --- a/libavformat/rpl.c > +++ b/libavforma

Re: [FFmpeg-devel] [PATCH] add FF_DECODE_ERROR_DECODE_SLICES flag for AVFrame.decode_error_flags

2019-06-29 Thread Michael Niedermayer
On Fri, Jun 28, 2019 at 02:21:18AM -0700, Amir Pauker wrote: > avutil: add FF_DECODE_ERROR_DECODE_SLICES for AVFrame.decode_error_flags > > Signed-off-by: Amir Pauker > --- > doc/APIchanges | 3 +++ > libavutil/frame.h | 1 + > libavutil/version.h | 2 +- > 3 files changed, 5 insertions(

Re: [FFmpeg-devel] Changes in cofigure script

2019-06-29 Thread Reimar Döffinger
On 29.06.2019, at 18:26, Dmitry A wrote: > сб, 29 июн. 2019 г. в 21:43, Dmitry A : > >> >> >> сб, 29 июн. 2019 г. в 19:11, Dmitry A : >> >>> >>> >>> сб, 29 июн. 2019 г. в 19:04, Carl Eugen Hoyos : >>> Am Sa., 29. Juni 2019 um 14:23 Uhr schrieb Dmitry A < dmitry.adj...@gmail.com

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/atrac9dec: Check that the reused block has succeeded initilization

2019-06-29 Thread Michael Niedermayer
On Sun, Jun 16, 2019 at 10:47:21PM +0200, Michael Niedermayer wrote: > 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/project

Re: [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-29 Thread Michael Niedermayer
On Sun, Jun 16, 2019 at 09:11:05PM +0200, Michael Niedermayer wrote: > On Sun, Jun 16, 2019 at 12:20:35PM +0200, Lynne wrote: > > Jun 15, 2019, 11:00 PM by mich...@niedermayer.cc: > > > > > Fixes: global-buffer-overflow > > > Fixes: > > > 15247/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AT

Re: [FFmpeg-devel] [PATCH 1/3] avformat/vqf: Check header_size

2019-06-29 Thread Michael Niedermayer
On Wed, Jun 19, 2019 at 01:53:01AM +0200, Michael Niedermayer wrote: > Fixes: > 15271/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5735262606327808 > Fixes: signed integer overflow: -2147483648 - 8 cannot be represented in type > 'int' > > Found-by: continuous fuzzing process > https://

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/qdm2: Move fft_order check up

2019-06-29 Thread Michael Niedermayer
On Mon, Jun 17, 2019 at 09:59:39PM +0200, Michael Niedermayer wrote: > This avoids undefined computations with unchecked values > > Fixes: shift exponent -21 is negative > Fixes: > 15262/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_QDM2_fuzzer-5651261753393152 > > Found-by: continuous fuzzi

Re: [FFmpeg-devel] Changes in cofigure script

2019-06-29 Thread Dmitry A
сб, 29 июн. 2019 г. в 22:47, Reimar Döffinger : > > > On 29.06.2019, at 18:26, Dmitry A wrote: > > > сб, 29 июн. 2019 г. в 21:43, Dmitry A : > > > >> > >> > >> сб, 29 июн. 2019 г. в 19:11, Dmitry A : > >> > >>> > >>> > >>> сб, 29 июн. 2019 г. в 19:04, Carl Eugen Hoyos : > >>> > Am Sa., 29. J

Re: [FFmpeg-devel] Changes in cofigure script

2019-06-29 Thread Dmitry A
вс, 30 июн. 2019 г. в 01:03, Dmitry A : > > > сб, 29 июн. 2019 г. в 22:47, Reimar Döffinger : > >> >> >> On 29.06.2019, at 18:26, Dmitry A wrote: >> >> > сб, 29 июн. 2019 г. в 21:43, Dmitry A : >> > >> >> >> >> >> >> сб, 29 июн. 2019 г. в 19:11, Dmitry A : >> >> >> >>> >> >>> >> >>> сб, 29 июн. 2

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

2019-06-29 Thread Jun Li
Add exif orientation support and expose an option. --- libavfilter/hflip.h| 2 + libavfilter/transpose.h| 14 +++ libavfilter/vf_hflip.c | 40 ++--- libavfilter/vf_transpose.c | 170 - 4 files changed, 194 insertions(+), 32 deletions(-)

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

2019-06-29 Thread Jun Li
On Sat, Jun 29, 2019 at 12:07 AM Steven Liu wrote: > > > > 在 2019年6月26日,19:32,Steven Liu 写道: > > > > Jun Li 于2019年6月25日周二 上午9:26写道: > >> > >> On Mon, Jun 17, 2019 at 5:31 PM Jun Li wrote: > >> > >>> > >>> > >>> On Sat, Jun 15, 2019 at 7:09 PM Jun Li wrote: > >>> > > > On Tue, J

[FFmpeg-devel] [PATCH v11 2/2] fftools/ffmpeg: add exif orientation support per frame's metadata

2019-06-29 Thread Jun Li
Fix #6945 Rotate or/and flip frame according to frame's metadata orientation --- fftools/ffmpeg.c| 5 +++-- fftools/ffmpeg.h| 8 fftools/ffmpeg_filter.c | 40 +++- 3 files changed, 46 insertions(+), 7 deletions(-) diff --git a/fftools

[FFmpeg-devel] [PATCH 1/2] avcodec/hq_hqa: Use ff_set_dimensions()

2019-06-29 Thread Michael Niedermayer
Fixes: 15530/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HQ_HQA_fuzzer-5637370344374272 Fixes: signed integer overflow: 65312 * 65312 cannot be represented in type 'int' Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Mich

[FFmpeg-devel] [PATCH 2/2] avformat/utils: Check timebase before use in estimate_timings()

2019-06-29 Thread Michael Niedermayer
Fixes: division by 0 Fixes: 15480/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5746727434321920 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/utils.c | 1 + 1 file changed, 1 insert

[FFmpeg-devel] [PATCH] ffmpeg: Integrate two checks

2019-06-29 Thread Andreas Rheinhardt
For audio packets with dts != AV_NOPTS_VALUE the dts the dts was converted twice to the muxer's timebase during streamcopy, once as a normal packet and once specifically as an audio packet. This has been changed. Signed-off-by: Andreas Rheinhardt --- fftools/ffmpeg.c | 16 +++- 1 fil

[FFmpeg-devel] [PATCH 1/2] avformat/rpl: Replace strcpy with av_strlcpy

2019-06-29 Thread Cameron Cawley
--- libavformat/rpl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/rpl.c b/libavformat/rpl.c index b4859320f4..579ab4f57e 100644 --- a/libavformat/rpl.c +++ b/libavformat/rpl.c @@ -192,7 +192,7 @@ static int rpl_read_header(AVFormatContext *s) // samples

[FFmpeg-devel] [PATCH 2/2] avformat/rpl: Calculate the duration of the video track

2019-06-29 Thread Cameron Cawley
--- libavformat/rpl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/rpl.c b/libavformat/rpl.c index 579ab4f57e..d31c7f09ad 100644 --- a/libavformat/rpl.c +++ b/libavformat/rpl.c @@ -280,8 +280,10 @@ static int rpl_read_header(AVFormatContext *s) read_l

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/vc1_block: Fix invalid shifts in vc1_decode_i_blocks()

2019-06-29 Thread Michael Niedermayer
On Thu, Jun 27, 2019 at 12:40:58AM +0200, Michael Niedermayer wrote: > On Sat, Jun 22, 2019 at 04:55:47PM +0200, Paul B Mahol wrote: > > On 6/22/19, Michael Niedermayer wrote: > > > Fixes: left shift of negative value -9 > > > Fixes: > > > 15299/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MS