[FFmpeg-devel] [PATCH] ffmpeg: don't force source-tracked keyframes for duplicates

2020-01-02 Thread Gyan Doshi
Prevents a run of consecutive duplicate frames from all being encoded as keyframes, when force_key_frames is set to source. --- fftools/ffmpeg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 9af2bc2fb5..d821b40877 100644 --- a/fftoo

Re: [FFmpeg-devel] [PATCH V4 1/2] libswscale/x86/yuv2rgb: Change inline assembly into nasm code

2020-01-02 Thread Fu, Ting
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Friday, December 27, 2019 07:38 PM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH V4 1/2] libswscale/x86/yuv2rgb: Change > inline assembly into nasm code > > On T

Re: [FFmpeg-devel] avcodec/aacenc: Compatibility with Bluetooth A2DP headsets

2020-01-02 Thread Kieran Kunhya
> > > Thanks. > > Ping? > Have you tried using our LATM mux? Kieran ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with s

[FFmpeg-devel] [PATCH] Workaround to build ffmpeg on MacOs 10.15

2020-01-02 Thread tfoucu
From: Thierry Foucu --- configure | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure b/configure index 965b4c71b8..0bc2cb52ac 100755 --- a/configure +++ b/configure @@ -5317,6 +5317,9 @@ case $target_os in enabled x86_32 && append SHFLAGS -Wl,-read_only_relocs,suppress

Re: [FFmpeg-devel] [PATCH V2 5/5] tools/aviocat: fix memory leak after av_dict_parse_string fail

2020-01-02 Thread Michael Niedermayer
On Thu, Jan 02, 2020 at 07:55:05PM +0800, Jun Zhao wrote: > From: Jun Zhao > > In case of failure, all the successfully set entries are stored in > *pm. We need to manually free the created dictionary to avoid > memory leak. > > Signed-off-by: Jun Zhao > --- > tools/aviocat.c |2 ++ > 1 fi

Re: [FFmpeg-devel] [PATCH V2 1/5] lavc/bsf: fix memory leak after av_dict_parse_string fail

2020-01-02 Thread Michael Niedermayer
On Thu, Jan 02, 2020 at 07:55:01PM +0800, Jun Zhao wrote: > From: Jun Zhao > > In case of failure, all the successfully set entries are stored in > *pm. We need to manually free the created dictionary to avoid > memory leak. > > Signed-off-by: Jun Zhao > --- > libavcodec/bsf.c |2 +- > 1 f

Re: [FFmpeg-devel] avcodec/aacenc: Compatibility with Bluetooth A2DP headsets

2020-01-02 Thread Andrey Semashev
On 2019-12-24 01:57, Andrey Semashev wrote: Hi, I'm trying to add support for AAC to PulseAudio with regard to Bluetooth A2DP. I'm using libavcodec to encode AAC content and then packetize it into RTP MP4-LATM packets, as required by A2DP spec. My current implementation allows to switch betwe

Re: [FFmpeg-devel] [PATCH V2 4/5] libavutil/opt: fix memory leak after av_dict_parse_string fail

2020-01-02 Thread Michael Niedermayer
On Thu, Jan 02, 2020 at 07:55:04PM +0800, Jun Zhao wrote: > From: Jun Zhao > > In case of failure, all the successfully set entries are stored in > *pm. We need to manually free the created dictionary to avoid > memory leak. > > Signed-off-by: Jun Zhao > --- > libavutil/opt.c |8 ++-- >

Re: [FFmpeg-devel] [PATCH] lavc/ffv1: Properly check that the 4th and 5th quant tables are zeroes

2020-01-02 Thread Michael Niedermayer
On Thu, Jan 02, 2020 at 03:22:25PM +, Derek Buitenhuis wrote: > Currently, the decoder checks the 128th value of the 4th quant table during > while deriving the context on each sample, in order to speed itself up. This > is due to relying on the behavior of FFmpeg's FFV1 encoder, in which if th

Re: [FFmpeg-devel] [PATCH 1/8] avutil/pixdesc: add av_pix_fmt_total_count and av_sample_fmt_total_count

2020-01-02 Thread Zhao Zhili
> On Jan 3, 2020, at 12:20 AM, Nicolas George wrote: > > Zhao Zhili (12020-01-03): >> Ping for review, thanks! I'm planning to use these API in ff_all_formats() >> if the patch is acceptable. > > For ff_all_formats(), as I told you, you cannot assume there is no gap: > if you want to optimize

Re: [FFmpeg-devel] [PATCH] lavc/ffv1: Properly check that the 4th and 5th quant tables are zeroes

2020-01-02 Thread Derek Buitenhuis
On 02/01/2020 16:17, Jerome Martinez wrote: >> @@ -797,9 +800,11 @@ static int read_header(FFV1Context *f) >> p->quant_table_index = idx; >> memcpy(p->quant_table, f->quant_tables[idx], >> sizeof(p->quant_table)); >> +p->t

Re: [FFmpeg-devel] [PATCH 1/8] avutil/pixdesc: add av_pix_fmt_total_count and av_sample_fmt_total_count

2020-01-02 Thread Nicolas George
Zhao Zhili (12020-01-03): > Ping for review, thanks! I'm planning to use these API in ff_all_formats() if > the patch is acceptable. For ff_all_formats(), as I told you, you cannot assume there is no gap: if you want to optimize it, just make a first loop to count the slots needed. Regards, --

Re: [FFmpeg-devel] [PATCH 1/8] avutil/pixdesc: add av_pix_fmt_total_count and av_sample_fmt_total_count

2020-01-02 Thread Zhao Zhili
Ping for review, thanks! I'm planning to use these API in ff_all_formats() if the patch is acceptable. > On Dec 30, 2019, at 9:54 PM, quinkbl...@foxmail.com wrote: > > From: Zhao Zhili > > --- > doc/APIchanges| 3 +++ > libavutil/pixdesc.c | 5 + > libavutil/pixdesc.h | 5 + >

Re: [FFmpeg-devel] [PATCH] lavc/ffv1: Properly check that the 4th and 5th quant tables are zeroes

2020-01-02 Thread Jerome Martinez
On 02/01/2020 16:22, Derek Buitenhuis wrote: Currently, the decoder checks the 128th value of the 4th quant table during while deriving the context on each sample, in order to speed itself up. This is due to relying on the behavior of FFmpeg's FFV1 encoder, in which if that value is zero, the ent

[FFmpeg-devel] [PATCH] ffmpeg: remove premature rescaling of forced_keyframe times

2020-01-02 Thread Gyan Doshi
The user-set forced KF times are parsed *after* this deleted loop and rescaled right after parsing. --- fftools/ffmpeg.c | 4 1 file changed, 4 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 9af2bc2fb5..2c5fcc0532 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -

[FFmpeg-devel] [PATCH] lavc/ffv1: Properly check that the 4th and 5th quant tables are zeroes

2020-01-02 Thread Derek Buitenhuis
Currently, the decoder checks the 128th value of the 4th quant table during while deriving the context on each sample, in order to speed itself up. This is due to relying on the behavior of FFmpeg's FFV1 encoder, in which if that value is zero, the entire 4th and 5th quant tables are assumed to be

Re: [FFmpeg-devel] [PATCH v3 1/1] avdevice/gdigrab: Add use_captureblt option for disable or use CAPTUREBLT flag, when useing the bitblt function with CAPTUREBLT it caused the mouse cursor flicker. mo

2020-01-02 Thread fgodt
在 2020/1/2 3:39, Marton Balint 写道: On Tue, 31 Dec 2019, fgodt wrote: 在 2019/12/31 19:30, Marton Balint 写道: On Tue, 31 Dec 2019, fgodt wrote: On 2019/12/31 上午1:37, Calvin Walton wrote: On Mon, 2019-12-30 at 12:31 +0100, Marton Balint wrote: On Mon, 30 Dec 2019, fgodt...@hotmail.com w

[FFmpeg-devel] [PATCH V2 4/5] libavutil/opt: fix memory leak after av_dict_parse_string fail

2020-01-02 Thread Jun Zhao
From: Jun Zhao In case of failure, all the successfully set entries are stored in *pm. We need to manually free the created dictionary to avoid memory leak. Signed-off-by: Jun Zhao --- libavutil/opt.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/libavutil/opt

[FFmpeg-devel] [PATCH V2 2/5] lavc/libkvazaar: fix memory leak after av_dict_parse_string fail

2020-01-02 Thread Jun Zhao
From: Jun Zhao In case of failure, all the successfully set entries are stored in *pm. We need to manually free the created dictionary to avoid memory leak. Signed-off-by: Jun Zhao --- libavcodec/libkvazaar.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/

[FFmpeg-devel] [PATCH V2 1/5] lavc/bsf: fix memory leak after av_dict_parse_string fail

2020-01-02 Thread Jun Zhao
From: Jun Zhao In case of failure, all the successfully set entries are stored in *pm. We need to manually free the created dictionary to avoid memory leak. Signed-off-by: Jun Zhao --- libavcodec/bsf.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/bsf.c b

[FFmpeg-devel] [PATCH V2 3/5] lavfi/coreimage: fix memory leak after av_dict_parse_string fail

2020-01-02 Thread Jun Zhao
From: Jun Zhao In case of failure, all the successfully set entries are stored in *pm. We need to manually free the created dictionary to avoid memory leak. Signed-off-by: Jun Zhao --- libavfilter/vf_coreimage.m |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/libavfil

[FFmpeg-devel] [PATCH V2 5/5] tools/aviocat: fix memory leak after av_dict_parse_string fail

2020-01-02 Thread Jun Zhao
From: Jun Zhao In case of failure, all the successfully set entries are stored in *pm. We need to manually free the created dictionary to avoid memory leak. Signed-off-by: Jun Zhao --- tools/aviocat.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/tools/aviocat.c b/t

Re: [FFmpeg-devel] [PATCH] HEVC: Export motion vectors to frame side data.

2020-01-02 Thread Asaf Kave
On Sun, Dec 29, 2019 at 4:08 PM Asaf Kave wrote: > --- > libavcodec/hevc_refs.c | 15 > libavcodec/hevcdec.c | 173 - > libavcodec/hevcdec.h | 13 > 3 files changed, 200 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/hevc_refs.c b