Re: [FFmpeg-devel] Adding libspeexdsp's AEC to FFmpeg.

2018-09-05 Thread Arseniy Skvortsov
Paul B Mahol писал(а) в своём письме Tue, 04 Sep 2018 10:45:22 +0300: On 9/4/18, Arseniy Skvortsov wrote: I'm trying to add AEC from libspeexdsp to libavfilter. Try with input as files, not streams. Tried this way: play some file while recording from mic. Then pass recording and that

Re: [FFmpeg-devel] [PATCH] ffplay: add option to allow custom jump interval

2018-09-05 Thread Gyan Doshi
On 03-09-2018 11:03 AM, Gyan Doshi wrote: On 02-09-2018 02:57 PM, Marton Balint wrote: I don't think the guards are necessary, it might make sense for somebody to reverse the meaning of left and right keys, therefore use a negative value. v3: option renamed; sign guard removed. Gyan

[FFmpeg-devel] [PATCH v6 2/2] lavf: add raw avs2 muxer

2018-09-05 Thread hwren
Signed-off-by: hwren --- libavformat/allformats.c | 1 + libavformat/rawenc.c | 13 + 2 files changed, 14 insertions(+) diff --git a/libavformat/allformats.c b/libavformat/allformats.c index adcc8d9..c17cdc2 100644 --- a/libavformat/allformats.c +++ b/libavformat/allformats.c

[FFmpeg-devel] [PATCH v6 1/2] lavc, doc, configure: add libxavs2 video encoder wrapper

2018-09-05 Thread hwren
Signed-off-by: hwren --- Changelog | 1 + configure | 4 + doc/encoders.texi | 34 ++ doc/general.texi | 14 +++ libavcodec/Makefile| 1 + libavcodec/allcodecs.c | 1 + libavcodec/libxavs2.c | 290

Re: [FFmpeg-devel] [PATCH v4 1/2] lavc, doc, configure: add libxavs2 video encoder wrapper

2018-09-05 Thread Huiwen Ren
At 2018-09-05 19:52:23, "Mark Thompson" wrote: >On 05/09/18 08:19, Huiwen Ren wrote: >> At 2018-09-05 08:46:18, "Mark Thompson" wrote: >>> On 03/09/18 03:42, hwren wrote: Signed-off-by: hwren --- >> [...] + +int i_lcurow_threads; +int i_initial_qp;

Re: [FFmpeg-devel] [PATCH] ffplay: add option to allow custom jump interval

2018-09-05 Thread Marton Balint
On Wed, 5 Sep 2018, Gyan Doshi wrote: On 03-09-2018 11:03 AM, Gyan Doshi wrote: On 02-09-2018 02:57 PM, Marton Balint wrote: I don't think the guards are necessary, it might make sense for somebody to reverse the meaning of left and right keys, therefore use a negative value. v3:

Re: [FFmpeg-devel] [PATCH] ffplay: add option to allow custom jump interval

2018-09-05 Thread Gyan Doshi
On 05-09-2018 09:52 PM, Marton Balint wrote: On Wed, 5 Sep 2018, Gyan Doshi wrote: Ping. LGTM, thanks. Pushed as 1a4a8df249426c85ba6c96ef5ab022afaaf4dc8f Thanks, Gyan ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH] avformat/matroskaenc: add reserve free space option

2018-09-05 Thread Carl Eugen Hoyos
2018-09-05 22:52 GMT+02:00, Sigríður Regína Sigurþórsdóttir : > --- > Changelog | 1 + > doc/muxers.texi | 4 > libavformat/matroskaenc.c | 8 > 3 files changed, 13 insertions(+) > > diff --git a/Changelog b/Changelog > index 0975fee..689b04c 100644 > ---

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/mips: [loongson] reoptimize put and add pixels clamped functions.

2018-09-05 Thread Michael Niedermayer
On Wed, Sep 05, 2018 at 06:31:05PM +0800, Shiyou Yin wrote: > Simplify the usage of intermediate variable addr and remove unused variable > all64 > in following functions: > 1. ff_put_pixels_clamped_mmi > 2. ff_put_signed_pixels_clamped_mmi > 3. ff_add_pixels_clamped_mmi > > This optimization

Re: [FFmpeg-devel] [PATCH] fix MXF audio PTS calculation for compressed audio (ADTS/AAC)

2018-09-05 Thread Marton Balint
On Tue, 4 Sep 2018, Markus Schumann wrote: --- libavformat/mxfdec.c | 67 +++- 1 file changed, 66 insertions(+), 1 deletion(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 8e1089620f..adfffd954a --- a/libavformat/mxfdec.c +++

[FFmpeg-devel] [PATCH] avcodec: add RemotelyAnywhere Screen Capture decoder

2018-09-05 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- configure | 1 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/avcodec.h| 1 + libavcodec/codec_desc.c | 7 + libavcodec/rasc.c | 795 libavformat/riff.c |

[FFmpeg-devel] [PATCH] avformat/matroskaenc: add reserve free space option

2018-09-05 Thread Sigríður Regína Sigurþórsdóttir
--- Changelog | 1 + doc/muxers.texi | 4 libavformat/matroskaenc.c | 8 3 files changed, 13 insertions(+) diff --git a/Changelog b/Changelog index 0975fee..689b04c 100644 --- a/Changelog +++ b/Changelog @@ -21,6 +21,7 @@ version : - Brooktree ProSumer

Re: [FFmpeg-devel] [PATCH] avfilter/vf_framerate: switch to activate

2018-09-05 Thread Marton Balint
On Tue, 28 Aug 2018, Marton Balint wrote: Signed-off-by: Marton Balint --- libavfilter/vf_framerate.c | 119 - 1 file changed, 63 insertions(+), 56 deletions(-) Ping, will push soon. Regards, Marton diff --git a/libavfilter/vf_framerate.c

Re: [FFmpeg-devel] [PATCH] avcodec/scpr: add version 3 support

2018-09-05 Thread Rostislav Pehlivanov
On 4 September 2018 at 18:53, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/scpr.c | 1842 ++--- > 1 file changed, 1558 insertions(+), 284 deletions(-) > > diff --git a/libavcodec/scpr.c b/libavcodec/scpr.c > index

Re: [FFmpeg-devel] [PATCH] avformat/mxfdec: do not use sound essence descriptor quantization bits for bits_per_coded_sample

2018-09-05 Thread Marton Balint
On Sat, 1 Sep 2018, Marton Balint wrote: On Sun, 26 Aug 2018, Marton Balint wrote: It refers to the uncompressed quantization, therefore is not correct for AAC. Also change mxf_set_pts to work based on current edit unit if bits_per_coded_sample is not available. Fixes error messages in

Re: [FFmpeg-devel] [PATCH] fix MXF audio PTS calculation for compressed audio (ADTS/AAC)

2018-09-05 Thread Markus Schumann
> On Sep 5, 2018, at 16:06, Marton Balint wrote: > > > >> On Tue, 4 Sep 2018, Markus Schumann wrote: >> >> --- >> libavformat/mxfdec.c | 67 +++- >> 1 file changed, 66 insertions(+), 1 deletion(-) >> >> diff --git a/libavformat/mxfdec.c

Re: [FFmpeg-devel] [PATCH] avformat/matroskaenc: add reserve free space option

2018-09-05 Thread James Almer
On 9/5/2018 6:36 PM, Carl Eugen Hoyos wrote: > 2018-09-05 22:52 GMT+02:00, Sigríður Regína Sigurþórsdóttir > : >> --- >> Changelog | 1 + >> doc/muxers.texi | 4 >> libavformat/matroskaenc.c | 8 >> 3 files changed, 13 insertions(+) >> >> diff --git

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: rename option from use_localtime to strftime

2018-09-05 Thread Liu Steven
> 在 2018年9月3日,下午12:57,Steven Liu 写道: > > fix ticket: 7393 > indent option name to segment > > Signed-off-by: Steven Liu > --- > doc/muxers.texi | 26 -- > libavformat/hlsenc.c | 22 ++ > libavformat/version.h | 7 +-- > 3 files changed, 35

Re: [FFmpeg-devel] [PATCH v2] lavf: add raw AVS2 demuxer

2018-09-05 Thread Liu Steven
> 在 2018年8月22日,上午7:54,Huiwen Ren 写道: > > ping > > Will push if there have no objections. > > > On 08/03/2018 19:25, hwren wrote: > Signed-off-by: hwren > --- > libavformat/Makefile | 1 + > libavformat/allformats.c | 1 + > libavformat/davs2.c | 71

Re: [FFmpeg-devel] [PATCH 1/2] docs/filters: add documentation to all existing OpenCL filters

2018-09-05 Thread Gyan Doshi
Hi Danil, On 18-08-2018 02:06 PM, Gyan Doshi wrote: Hi Danil, Except overlay and the topic of format requirements, rest LGTM. This patch appears to be abandoned. These filters need to be documented, but the format constraints should be clarified first, as asked in the parent post. Also,

[FFmpeg-devel] [PATCH v5 1/2] lavc, doc, configure: add libxavs2 video encoder wrapper

2018-09-05 Thread hwren
Signed-off-by: hwren --- Changelog | 1 + configure | 4 + doc/encoders.texi | 38 +++ doc/general.texi | 14 +++ libavcodec/Makefile| 1 + libavcodec/allcodecs.c | 1 + libavcodec/libxavs2.c | 291

[FFmpeg-devel] [PATCH v5 2/2] lavf: add raw avs2 muxer

2018-09-05 Thread hwren
Signed-off-by: hwren --- libavformat/allformats.c | 1 + libavformat/rawenc.c | 13 + 2 files changed, 14 insertions(+) diff --git a/libavformat/allformats.c b/libavformat/allformats.c index adcc8d9..c17cdc2 100644 --- a/libavformat/allformats.c +++ b/libavformat/allformats.c

Re: [FFmpeg-devel] [PATCH 8/8] avformat/dashdec: refine compute current fragment for presentation_timeoffset mode

2018-09-05 Thread Liu Steven
> 在 2018年9月3日,下午9:42,Steven Liu 写道: > > > >> On Sep 3, 2018, at 19:55, Carl Eugen Hoyos wrote: >> >> 2018-09-03 12:06 GMT+02:00, Steven Liu : >>> use ((wallclock - availability_start_time) * timescale >>> -presentation_timeoffset) / duration >> >> Please mention ticket #7382 if it is

Re: [FFmpeg-devel] [PATCH v4 1/2] lavc, doc, configure: add libxavs2 video encoder wrapper

2018-09-05 Thread Huiwen Ren
At 2018-09-05 08:46:18, "Mark Thompson" wrote: >On 03/09/18 03:42, hwren wrote: >> Signed-off-by: hwren >> --- [...] >> + >> +int i_lcurow_threads; >> +int i_initial_qp; >> +int preset_level; >> +int intra_period; > >There is a common option AVCodecContext.gop_size (-g)

[FFmpeg-devel] [PATCH] avcodec/h264dec: Fix init_context memleak on error path

2018-09-05 Thread Zhao Zhili
--- libavcodec/h264dec.c | 28 ++-- 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 8d115fa..b2447e9 100644 --- a/libavcodec/h264dec.c +++ b/libavcodec/h264dec.c @@ -303,6 +303,7 @@ fail: static int

Re: [FFmpeg-devel] [PATCH v6 1/2] lavc, doc, configure: add libxavs2 video encoder wrapper

2018-09-05 Thread Mark Thompson
On 05/09/18 14:38, hwren wrote: > Signed-off-by: hwren > --- > Changelog | 1 + > configure | 4 + > doc/encoders.texi | 34 ++ > doc/general.texi | 14 +++ > libavcodec/Makefile| 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/libxavs2.c

Re: [FFmpeg-devel] [PATCH] avformat/matroskaenc: add reserve free space option

2018-09-05 Thread James Darnley
On 2018-09-05 22:52, Sigríður Regína Sigurþórsdóttir wrote: > +{"reserve_free_space", "Reserve a given amount of space at the > beginning og the file for unspecified purpose." I added the "metadata_header_padding" global option many years ago. Can you not reuse it for this purpose? Is it

Re: [FFmpeg-devel] [PATCH v4 1/2] lavc, doc, configure: add libxavs2 video encoder wrapper

2018-09-05 Thread Mark Thompson
On 05/09/18 08:19, Huiwen Ren wrote: > At 2018-09-05 08:46:18, "Mark Thompson" wrote: >> On 03/09/18 03:42, hwren wrote: >>> Signed-off-by: hwren >>> --- > [...] >>> + >>> +int i_lcurow_threads; >>> +int i_initial_qp; >>> +int preset_level; >>> +int intra_period; >> >> There is a

[FFmpeg-devel] [PATCH 1/2] avcodec/mips: [loongson] reoptimize put and add pixels clamped functions.

2018-09-05 Thread Shiyou Yin
Simplify the usage of intermediate variable addr and remove unused variable all64 in following functions: 1. ff_put_pixels_clamped_mmi 2. ff_put_signed_pixels_clamped_mmi 3. ff_add_pixels_clamped_mmi This optimization speed up mpeg4 decode about 2% on loongson platform(tested with 3A3000). ---

[FFmpeg-devel] [PATCH 2/2] avcodec/mips: [loongson] optimize vp8 decoding in vp8dsp.

2018-09-05 Thread Shiyou Yin
From: gxw Optimize vp8 loop filter with mmi, four functions optimized: 1. ff_vp8_h_loop_filter8uv_mmi. 2. ff_vp8_v_loop_filter8uv_mmi. 3. ff_vp8_h_loop_filter16_mmi. 4. ff_vp8_v_loop_filter16_mmi. Vp8 decoding speed improved about 50%(from 73fps to 110fps, Tested on loongson 3A3000).