Re: [FFmpeg-devel] [PATCH v3] avcodec: fix atomics usage for h264/mpeg error_count

2018-03-13 Thread Michael Niedermayer
On Tue, Mar 13, 2018 at 04:02:57PM +, Aman Gupta wrote: > On Tue, Mar 13, 2018 at 4:39 AM Michael Niedermayer > wrote: > > > On Mon, Mar 12, 2018 at 06:49:19PM -0700, Aman Gupta wrote: > > > From: Aman Gupta > > > > > > --- > > >

Re: [FFmpeg-devel] [PATCH v3] avcodec: fix atomics usage for h264/mpeg error_count

2018-03-13 Thread Aman Gupta
On Tue, Mar 13, 2018 at 11:34 AM Michael Niedermayer wrote: > On Tue, Mar 13, 2018 at 04:02:57PM +, Aman Gupta wrote: > > On Tue, Mar 13, 2018 at 4:39 AM Michael Niedermayer > > > wrote: > > > > > On Mon, Mar 12, 2018 at 06:49:19PM -0700, Aman

Re: [FFmpeg-devel] [CLT2018] FFmpeg at Chemnitzer Linux-Tage

2018-03-13 Thread Thilo Borgmann
Am 13.03.18 um 19:52 schrieb Paul B Mahol: > On 3/13/18, Thilo Borgmann wrote: >> Hi, >> >>> once again, FFmpeg has been accepted for CLT 2018 in Chemnitz, Germany! >>> This "Chemnitzer Linux Tage" will take place on 10th and 11th of March. >>> You can find more details on

Re: [FFmpeg-devel] [CLT2018] FFmpeg at Chemnitzer Linux-Tage

2018-03-13 Thread Thilo Borgmann
Hi, > once again, FFmpeg has been accepted for CLT 2018 in Chemnitz, Germany! > This "Chemnitzer Linux Tage" will take place on 10th and 11th of March. > You can find more details on their homepage: > > https://chemnitzer.linux-tage.de/2018/en/ > > Thus once again, we will man a booth with our

Re: [FFmpeg-devel] [CLT2018] FFmpeg at Chemnitzer Linux-Tage

2018-03-13 Thread Paul B Mahol
On 3/13/18, Thilo Borgmann wrote: > Hi, > >> once again, FFmpeg has been accepted for CLT 2018 in Chemnitz, Germany! >> This "Chemnitzer Linux Tage" will take place on 10th and 11th of March. >> You can find more details on their homepage: >> >>

[FFmpeg-devel] [PATCH 1/2] avformat/hlsenc: remove unnecessary variate and logic

2018-03-13 Thread Steven Liu
write init file and first segment at the same time, so remove the unnecessary variate and logic. Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c

Re: [FFmpeg-devel] [PATCH v3] avcodec: fix atomics usage for h264/mpeg error_count

2018-03-13 Thread Michael Niedermayer
On Mon, Mar 12, 2018 at 06:49:19PM -0700, Aman Gupta wrote: > From: Aman Gupta > > --- > libavcodec/h264_slice.c| 5 +++-- > libavcodec/mpeg12dec.c | 12 +++- > libavcodec/mpegvideo_enc.c | 3 ++- > 3 files changed, 12 insertions(+), 8 deletions(-) Iam a little

[FFmpeg-devel] [PATCH] avcodec/mediacodecdec: fix immediate EAGAIN with buffered packet

2018-03-13 Thread Aman Gupta
From: Aman Gupta In cases where the mediacodec decoder consumed a partial packet, receive_frame() would start returning EAGAIN if the rest of the packet couldn't be flushed and no frames were immediately available. This fixes receive_frame() to perform its normal blocking wait

Re: [FFmpeg-devel] [PATCH] lavc/qsvenc: provide detail error message if parameters invalid

2018-03-13 Thread Moritz Barsnick
On Fri, Mar 02, 2018 at 11:24:10 +0800, Zhong Li wrote: > ret = MFXVideoENCODE_Query(q->session, >param, _out); > -if (ret < 0 || > -param_out.mfx.RateControlMethod != q->param.mfx.RateControlMethod) This original code gave the impression that a mismatch of RateControlMethod was

Re: [FFmpeg-devel] [PATCH v3] avcodec: fix atomics usage for h264/mpeg error_count

2018-03-13 Thread Aman Gupta
On Mon, Mar 12, 2018 at 6:49 PM, Aman Gupta wrote: > From: Aman Gupta > > --- > libavcodec/h264_slice.c| 5 +++-- > libavcodec/mpeg12dec.c | 12 +++- > libavcodec/mpegvideo_enc.c | 3 ++- > 3 files changed, 12 insertions(+), 8 deletions(-) > >

[FFmpeg-devel] [PATCH 2/2] avformat/hlsenc: use frag_every_frame flag to make fmp4

2018-03-13 Thread Steven Liu
fix ticket: #7023 Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 185e3442f6..28e0047cf0 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@

Re: [FFmpeg-devel] [PATCH 1/8] cbs_h264: Fix overflow in shifts

2018-03-13 Thread Michael Niedermayer
On Sun, Mar 11, 2018 at 06:30:14PM +, Mark Thompson wrote: > The type of the result of a shift operation is unaffected by the type of > the right operand, so some existing code overflows with undefined behaviour > when the element length is 32. Add a helper macro to calculate the maximum >

Re: [FFmpeg-devel] [PATCH] lavc/qsvenc: provide detail error message if parameters invalid

2018-03-13 Thread Li, Zhong
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Moritz Barsnick > Sent: Tuesday, March 13, 2018 6:13 PM > To: FFmpeg development discussions and patches > > Subject: Re: [FFmpeg-devel] [PATCH] lavc/qsvenc: provide detail error > message if

Re: [FFmpeg-devel] [PATCH] avcodec/mediacodecdec: fix immediate EAGAIN with buffered packet

2018-03-13 Thread Matthieu Bouron
On Tue, Mar 13, 2018 at 02:46:57AM -0700, Aman Gupta wrote: > From: Aman Gupta > > In cases where the mediacodec decoder consumed a partial packet, > receive_frame() would start returning EAGAIN if the rest of the > packet couldn't be flushed and no frames were immediately

Re: [FFmpeg-devel] [RFC][PATCH] avformat/mxfdec: provide some mxf DigitalVideoAndImageCompressionParameters as metadata

2018-03-13 Thread Tomas Härdin
fre 2018-03-09 klockan 22:34 +0100 skrev Marton Balint: > Would this be useful for anybody? I've never even run into this before, so I can't really say. Maybe? /Tomas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH] reitnerlace - tinterlace-like filter under LGPL

2018-03-13 Thread Vasile Toncu
On 06.03.2018 20:38, Thomas Mundt wrote: Hi, 2018-03-05 13:48 GMT+01:00 Carl Eugen Hoyos : 2018-03-05 12:37 GMT+01:00, Paul B Mahol : On 3/5/18, Vasile Toncu wrote: Hello, Thanks for the review. I've made changes according

Re: [FFmpeg-devel] [PATCH v3] avcodec: fix atomics usage for h264/mpeg error_count

2018-03-13 Thread Aman Gupta
On Tue, Mar 13, 2018 at 4:39 AM Michael Niedermayer wrote: > On Mon, Mar 12, 2018 at 06:49:19PM -0700, Aman Gupta wrote: > > From: Aman Gupta > > > > --- > > libavcodec/h264_slice.c| 5 +++-- > > libavcodec/mpeg12dec.c | 12 +++- > >

Re: [FFmpeg-devel] [PATCH] avcodec/hapqa_extract: fix two error return values

2018-03-13 Thread Martin Vignali
2018-03-13 23:08 GMT+01:00 James Almer : > ret is 0 by default. > > Signed-off-by: James Almer > --- > libavcodec/hapqa_extract_bsf.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libavcodec/hapqa_extract_bsf.c b/libavcodec/hapqa_extract_ >

Re: [FFmpeg-devel] fate/hap : add test for hap encoding

2018-03-13 Thread Martin Vignali
> >> > >> Patch in attach, add test for hap encoding > > Why is this a good idea? > The question, is maybe why is this a wrong idea ? > > Does the specification explain how encoding has to be done? > Not sure i understand, the spec explain that hap use DXT encoding and snappy, and explain the

[FFmpeg-devel] [PATCH] libavfilter: Add OpenCL convolution filter.

2018-03-13 Thread Danil Iashchenko
Behaves like the existing convolution filter, except working on OpenCL hardware frames. Takes exactly the same options: 4 convolution matrices, 4 rdiv values, 4 bias values. If not specified, default parameters are applied. Matrices can be different sizes. filter applies: matrix0, rdiv0, bias0

Re: [FFmpeg-devel] fate/hap : add test for hap encoding

2018-03-13 Thread Carl Eugen Hoyos
2018-03-11 19:37 GMT+01:00, Martin Vignali : > 2017-11-26 18:25 GMT+01:00 Martin Vignali : > >> Hello, >> >> Patch in attach, add test for hap encoding Why is this a good idea? Does the specification explain how encoding has to be done? This is

Re: [FFmpeg-devel] [PATCH V2 11/11] lavu/opt: update fate to support dump bit stream filter option.

2018-03-13 Thread Michael Niedermayer
On Mon, Mar 12, 2018 at 09:25:36AM +0800, Jun Zhao wrote: > > opt | 50 +- > 1 file changed, 25 insertions(+), 25 deletions(-) > 2038c71aba538e2cf97de3c43e645359ad6e96b0 > 0011-lavu-opt-update-fate-to-support-dump-bit-stream-filt.patch > From

Re: [FFmpeg-devel] [PATCH V2 01/11] lavu/opt: add AV_OPT_FLAG_BSF_PARAM

2018-03-13 Thread Michael Niedermayer
On Mon, Mar 12, 2018 at 09:23:02AM +0800, Jun Zhao wrote: > V2: update opt fate test ref file > opt.c |1 + > opt.h |1 + > 2 files changed, 2 insertions(+) > 5e930c1851c198bd35369b87965c6eeadfd39a95 > 0001-lavu-opt-add-AV_OPT_FLAG_BSF_PARAM.patch > From

[FFmpeg-devel] [PATCH] avcodec/hapqa_extract: fix two error return values

2018-03-13 Thread James Almer
ret is 0 by default. Signed-off-by: James Almer --- libavcodec/hapqa_extract_bsf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/hapqa_extract_bsf.c b/libavcodec/hapqa_extract_bsf.c index 333efb2e3a..ee5dc191f7 100644 --- a/libavcodec/hapqa_extract_bsf.c

[FFmpeg-devel] [PATCH V3 01/11] lavu/opt: add AV_OPT_FLAG_BSF_PARAM

2018-03-13 Thread Jun Zhao
V3: rearrange the patch-sets as Michael's comments V2: update opt fate test ref file From c1b532a76153033efa5585915660a8d29a5f8649 Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Thu, 8 Mar 2018 13:47:23 +0800 Subject: [PATCH V3 01/11] lavu/opt: add AV_OPT_FLAG_BSF_PARAM add

[FFmpeg-devel] [PATCH V3 10/11] lavc/remove_extradata_bsf: support dump options.

2018-03-13 Thread Jun Zhao
From d307ac53eaa1fa4b05d4701150fbdf62d74d16e7 Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Thu, 8 Mar 2018 15:00:27 +0800 Subject: [PATCH V3 10/11] lavc/remove_extradata_bsf: support dump options. support dump bit stream filter options Signed-off-by: Jun Zhao

[FFmpeg-devel] [PATCH V3 02/11] lavu/opt: add bit stream filter option dump support

2018-03-13 Thread Jun Zhao
From e479afdf27ab250ad545ea9518644e56be38d185 Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Wed, 14 Mar 2018 10:05:05 +0800 Subject: [PATCH V3 02/11] lavu/opt: add bit stream filter option dump support. enable dump bit stream filter and update opt fate test ref.

[FFmpeg-devel] [PATCH V3 06/11] lavc/h264_metadata_bsf: support dump options.

2018-03-13 Thread Jun Zhao
From 4db1a0f7cccabe1f74991ba160b8f8506bb5f865 Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Thu, 8 Mar 2018 14:22:25 +0800 Subject: [PATCH V3 06/11] lavc/h264_metadata_bsf: support dump options. support dump bit stream filter options Signed-off-by: Jun Zhao

[FFmpeg-devel] [PATCH V3 08/11] lavc/mpeg2_metadata_bsf: support dump options.

2018-03-13 Thread Jun Zhao
From b406ee9499bd2f8557c350538a810bf92a828099 Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Thu, 8 Mar 2018 14:31:30 +0800 Subject: [PATCH V3 08/11] lavc/mpeg2_metadata_bsf: support dump options. support dump bit stream filter options Signed-off-by: Jun Zhao

[FFmpeg-devel] [PATCH V3 05/11] lavc/extract_extradata_bsf: support dump options.

2018-03-13 Thread Jun Zhao
From 3d49b455b8bea2ee311b011fd9078e180c7bdf9a Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Thu, 8 Mar 2018 14:05:53 +0800 Subject: [PATCH V3 05/11] lavc/extract_extradata_bsf: support dump options. support dump bit stream filter options Signed-off-by: Jun Zhao

[FFmpeg-devel] [PATCH V3 04/11] lavc/dump_extradata_bsf: support dump options.

2018-03-13 Thread Jun Zhao
From fed84536f3c3c0fc11c63104fb6d8d93faf2000f Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Thu, 8 Mar 2018 14:01:48 +0800 Subject: [PATCH V3 04/11] lavc/dump_extradata_bsf: support dump options. support dump bit stream filter options Signed-off-by: Jun Zhao

[FFmpeg-devel] [PATCH V3 03/11] ffmpeg: support dump bit stream filter options

2018-03-13 Thread Jun Zhao
From 6b8f199d0028afb3f0a6a10275e4055ddce91a6a Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Thu, 8 Mar 2018 13:50:31 +0800 Subject: [PATCH V3 03/11] ffmpeg: support dump bit stream filter options. Support dump bit stream filter option in ffmpeg -h full and ffmpeg -h

[FFmpeg-devel] [PATCH V3 07/11] lavc/h265_metadata_bsf: support dump options.

2018-03-13 Thread Jun Zhao
From c558ab3512d8fcbc50f4c0a8e93f6a103fbea7e6 Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Thu, 8 Mar 2018 14:28:13 +0800 Subject: [PATCH V3 07/11] lavc/h265_metadata_bsf: support dump options. support dump bit stream filter options Signed-off-by: Jun Zhao

[FFmpeg-devel] [PATCH V3 09/11] lavc/noise_bsf: support dump options.

2018-03-13 Thread Jun Zhao
From b7f927496b32256db266564c413ed99675bac097 Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Thu, 8 Mar 2018 14:57:47 +0800 Subject: [PATCH V3 09/11] lavc/noise_bsf: support dump options. support dump bit stream filter options. Signed-off-by: Jun Zhao

[FFmpeg-devel] [PATCH V3 11/11] doc/fftools-common-opts: allow printing bsf details.

2018-03-13 Thread Jun Zhao
From a268c566b90cf7fde52ec49b0aad13dae697d443 Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Thu, 8 Mar 2018 15:18:11 +0800 Subject: [PATCH V3 11/11] doc/fftools-common-opts: allow printing bsf details. Signed-off-by: Jun Zhao ---

Re: [FFmpeg-devel] [PATCH 1/4] lavf/movenc: fix leak of eac3_priv

2018-03-13 Thread Michael Niedermayer
On Mon, Mar 12, 2018 at 11:46:45PM -0500, Rodger Combs wrote: > This could previously happen in error or early-exit cases. The next commit > would make it happen in all cases. > --- > libavformat/movenc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavformat/movenc.c

[FFmpeg-devel] [PATCH] avformat/movenc: move the concatenated eac3 packet reference

2018-03-13 Thread James Almer
Simplifies code. Signed-off-by: James Almer --- libavformat/movenc.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index a17bb85900..df6163bae5 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c

Re: [FFmpeg-devel] fate/hap : add test for hap encoding

2018-03-13 Thread Martin Vignali
2018-03-11 19:37 GMT+01:00 Martin Vignali : > > > 2017-11-26 18:25 GMT+01:00 Martin Vignali : > >> Hello, >> >> Patch in attach, add test for hap encoding (currently not cover) (patch >> 002) >> and move decoding tests to a separate file (patch

Re: [FFmpeg-devel] avcodec/hapqa_extract_bsf : add bsf filter for haqqa (to hapq or hapalpha only) conversion

2018-03-13 Thread Martin Vignali
> > Should be ok now. > ___ > > Pushed, thanks. Martin ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH v3] avcodec: fix atomics usage for h264/mpeg error_count

2018-03-13 Thread Aman Gupta
On Tue, Mar 13, 2018 at 11:43 AM, Aman Gupta wrote: > > On Tue, Mar 13, 2018 at 11:34 AM Michael Niedermayer > wrote: > >> On Tue, Mar 13, 2018 at 04:02:57PM +, Aman Gupta wrote: >> > On Tue, Mar 13, 2018 at 4:39 AM Michael Niedermayer >>

Re: [FFmpeg-devel] fate/hap : add test for hap encoding

2018-03-13 Thread Carl Eugen Hoyos
2018-03-14 0:26 GMT+01:00, Martin Vignali : >> >> >> >> Patch in attach, add test for hap encoding >> >> Why is this a good idea? > > The question, is maybe why is this a wrong idea ? We usually don't test external libraries, the main reason is probably that if they

Re: [FFmpeg-devel] [PATCH] avcodec/extract_extradata: don't uninitialize the H2645Packet on every processed packet

2018-03-13 Thread James Almer
On 3/10/2018 8:00 PM, James Almer wrote: > Based on hevc_parser code. This prevents repeated unnecessary allocations > and frees on every packet processed by the bsf. > > Signed-off-by: James Almer > --- > libavcodec/extract_extradata_bsf.c | 33

Re: [FFmpeg-devel] [PATCH]lavfi/deshake: Check alignment before calling asm init function

2018-03-13 Thread Carl Eugen Hoyos
2018-03-10 20:50 GMT+01:00, Carl Eugen Hoyos : > Hi! > > Attached patch fixes ticket #7078 for me. Ping. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH V2 11/11] lavu/opt: update fate to support dump bit stream filter option.

2018-03-13 Thread Jun Zhao
On 2018/3/14 6:00, Michael Niedermayer wrote: > On Mon, Mar 12, 2018 at 09:25:36AM +0800, Jun Zhao wrote: >> opt | 50 +- >> 1 file changed, 25 insertions(+), 25 deletions(-) >> 2038c71aba538e2cf97de3c43e645359ad6e96b0 >>

Re: [FFmpeg-devel] [PATCH V2 01/11] lavu/opt: add AV_OPT_FLAG_BSF_PARAM

2018-03-13 Thread Jun Zhao
On 2018/3/14 6:02, Michael Niedermayer wrote: > On Mon, Mar 12, 2018 at 09:23:02AM +0800, Jun Zhao wrote: >> V2: update opt fate test ref file >> opt.c |1 + >> opt.h |1 + >> 2 files changed, 2 insertions(+) >> 5e930c1851c198bd35369b87965c6eeadfd39a95 >>

[FFmpeg-devel] [PATCH] avutil/buffer: add av_buffer_fast_alloc()

2018-03-13 Thread James Almer
Same concept as av_fast_malloc(). If the buffer passed to it is writable and big enough it will be reused, otherwise a new one will be allocated instead. Signed-off-by: James Almer --- TODO: Changelog and APIChanges entries, version bump. libavutil/buffer.c | 63

Re: [FFmpeg-devel] [PATCH] avcodec/hapqa_extract: fix two error return values

2018-03-13 Thread James Almer
On 3/13/2018 8:17 PM, Martin Vignali wrote: > 2018-03-13 23:08 GMT+01:00 James Almer : > >> ret is 0 by default. >> >> Signed-off-by: James Almer >> --- >> libavcodec/hapqa_extract_bsf.c | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git

Re: [FFmpeg-devel] fate/hap : add test for hap encoding

2018-03-13 Thread James Almer
On 3/13/2018 4:31 PM, Martin Vignali wrote: > 2018-03-11 19:37 GMT+01:00 Martin Vignali : > >> >> >> 2017-11-26 18:25 GMT+01:00 Martin Vignali : >> >>> Hello, >>> >>> Patch in attach, add test for hap encoding (currently not cover) (patch >>>

Re: [FFmpeg-devel] [PATCH] avcodec/extract_extradata: don't uninitialize the H2645Packet on every processed packet

2018-03-13 Thread Jun Zhao
On 2018/3/11 7:00, James Almer wrote: > Based on hevc_parser code. This prevents repeated unnecessary allocations > and frees on every packet processed by the bsf. > > Signed-off-by: James Almer > --- > libavcodec/extract_extradata_bsf.c | 33

[FFmpeg-devel] [PATCH] avcodec/hapqa_extract: remove the AVOption flags

2018-03-13 Thread James Almer
These two are not used for bitstream filters. Signed-off-by: James Almer --- libavcodec/hapqa_extract_bsf.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libavcodec/hapqa_extract_bsf.c b/libavcodec/hapqa_extract_bsf.c index ee5dc191f7..652f79a7fe