Re: [FFmpeg-devel] [PATCH] compat/w32pthreads: propagate the return value of SleepConditionVariableSRW()

2020-01-16 Thread Hendrik Leppkes
On Fri, Jan 17, 2020 at 2:41 AM James Almer wrote: > > Signed-off-by: James Almer > --- > compat/w32pthreads.h | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/compat/w32pthreads.h b/compat/w32pthreads.h > index 21acfd2ba1..1ac4267c92 100644 > ---

Re: [FFmpeg-devel] [PATCH 4/4] avformat/udp: do not use thread cancellation when receiving data

2020-01-16 Thread Hendrik Leppkes
On Fri, Jan 17, 2020 at 12:30 AM Michael Niedermayer wrote: > > On Thu, Jan 16, 2020 at 01:20:16AM +0100, Marton Balint wrote: > > It is not supported by every threading implementation, and the only thing we > > gain with it is an immediate shutdown of receiving packets on close and > > avoiding

Re: [FFmpeg-devel] [PATCH v2] doc/v4l2_m2m: Add documentation

2020-01-16 Thread Gyan
On 17-01-2020 01:47 am, Andriy Gelman wrote: On Thu, 16. Jan 10:51, Gyan wrote: On 16-01-2020 09:44 am, Andriy Gelman wrote: From: Andriy Gelman Signed-off-by: Andriy Gelman --- doc/decoders.texi | 27 +++ doc/encoders.texi | 42

[FFmpeg-devel] [PATCH v2 1/2] avcodec/libx265: Fix Uninitialized scalar variable

2020-01-16 Thread lance . lmwang
From: Limin Wang return error if unknown picture type encountered Fixes CID 1457234 Signed-off-by: Limin Wang --- libavcodec/libx265.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c index 9e4711e..a5cf3d6 100644 --- a/libavcodec/libx265.c

[FFmpeg-devel] [PATCH v2 2/2] avcodec/libx264: return error if unknown picture type encountered

2020-01-16 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/libx264.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index ca8f6c0..4fef0be 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -471,7 +471,8 @@ static

Re: [FFmpeg-devel] [PATCH 2/9] swscale: Add swscale input support for Y210LE

2020-01-16 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel On Behalf Of > Carl Eugen Hoyos > Sent: Thursday, January 16, 2020 19:38 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/9] swscale: Add swscale input support > for Y210LE > > Am Do., 16.

Re: [FFmpeg-devel] [PATCH v2 1/2] configure: Change the configure check for tonemap_vaapi

2020-01-16 Thread Sun, Xinpeng
Hi Mark, > -Original Message- > From: ffmpeg-devel On Behalf Of Sun, > Xinpeng > Sent: Wednesday, January 8, 2020 8:02 PM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH v2 1/2] configure: Change the configure > check for tonemap_vaapi > > > >

[FFmpeg-devel] [PATCH] avfilter/tonemap_vaapi: pass filter parameters to VA parameter buffer

2020-01-16 Thread Xinpeng Sun
Signed-off-by: Xinpeng Sun --- libavfilter/vf_tonemap_vaapi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavfilter/vf_tonemap_vaapi.c b/libavfilter/vf_tonemap_vaapi.c index 2f41b90424..540d656dca 100644 --- a/libavfilter/vf_tonemap_vaapi.c +++ b/libavfilter/vf_tonemap_vaapi.c @@

[FFmpeg-devel] [PATCH v3] doc/v4l2_m2m: Add documentation

2020-01-16 Thread Andriy Gelman
From: Andriy Gelman Signed-off-by: Andriy Gelman --- Gyan, I added an extra paragraph about the buffer parameters. It doesn't seem right to add the same content into each bullet point. Let me know your thoughts. Thanks, Andriy doc/decoders.texi | 32 +

Re: [FFmpeg-devel] [PATCH v4 1/1] avdevice/gdigrab add use_captureblt option

2020-01-16 Thread fgodt
On 2020/1/17 上午2:00, Calvin Walton wrote: On Thu, 2020-01-16 at 09:08 +0800, fgodt wrote: By default, this is set to @code{1}, which means that gdigrab will use the CAPTUREBLT flag when grabbing images of a window. With this flag set, gdigrab will capture the entire contents of a window even

Re: [FFmpeg-devel] [FFmpeg-cvslog] Revert "avformat/utils: make ff_ntp_time() accept a timestamp as input argument"

2020-01-16 Thread James Almer
On 1/16/2020 10:55 PM, Carl Eugen Hoyos wrote: > Am Fr., 17. Jan. 2020 um 02:29 Uhr schrieb James Almer : >> >> ffmpeg | branch: master | James Almer | Thu Jan 16 >> 16:25:26 2020 -0300| [ab9627223e630390a8a99c052de2fb82abde2746] | committer: >> James Almer >> >> Revert "avformat/utils: make

Re: [FFmpeg-devel] [FFmpeg-cvslog] Revert "avformat/utils: make ff_ntp_time() accept a timestamp as input argument"

2020-01-16 Thread Carl Eugen Hoyos
Am Fr., 17. Jan. 2020 um 02:29 Uhr schrieb James Almer : > > ffmpeg | branch: master | James Almer | Thu Jan 16 > 16:25:26 2020 -0300| [ab9627223e630390a8a99c052de2fb82abde2746] | committer: > James Almer > > Revert "avformat/utils: make ff_ntp_time() accept a timestamp as input > argument"

[FFmpeg-devel] [PATCH] compat/w32pthreads: propagate the return value of SleepConditionVariableSRW()

2020-01-16 Thread James Almer
Signed-off-by: James Almer --- compat/w32pthreads.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compat/w32pthreads.h b/compat/w32pthreads.h index 21acfd2ba1..1ac4267c92 100644 --- a/compat/w32pthreads.h +++ b/compat/w32pthreads.h @@ -152,8 +152,7 @@ static inline int

Re: [FFmpeg-devel] [PATCH 4/4] avformat/udp: do not use thread cancellation when receiving data

2020-01-16 Thread Michael Niedermayer
On Thu, Jan 16, 2020 at 01:20:16AM +0100, Marton Balint wrote: > It is not supported by every threading implementation, and the only thing we > gain with it is an immediate shutdown of receiving packets on close and > avoiding the poll call before reading the data. > > I don't think it is a big

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

2020-01-16 Thread Michael Niedermayer
On Thu, Jan 16, 2020 at 07:27:05AM +, Fu, Ting wrote: > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Michael Niedermayer > > Sent: Wednesday, January 15, 2020 05:55 AM > > To: FFmpeg development discussions and patches > > Subject: Re: [FFmpeg-devel] [PATCH V7

Re: [FFmpeg-devel] [PATCH v4] avcodec/libvpxenc: add VP9 temporal scalability encoding option

2020-01-16 Thread Wonkap Jang
Hi James, On Thu, Jan 16, 2020 at 10:28 AM Wonkap Jang wrote: > This commit reuses the configuration options for VP8 that enables > temporal scalability for VP9. It also adds a way to enable three > preset temporal structures (refer to the documentation for more > detail) that can be used in

Re: [FFmpeg-devel] [PATCH] configure: Increase minimum libx265 version

2020-01-16 Thread Derek Buitenhuis
On 08/01/2020 22:21, Andriy Gelman wrote: > From: Andriy Gelman > > libx265.c references a member x265_picture.quantOffsets (for ROI > support) which was added in X265_BUILD 70. Increase the minimum libx265 > version to fix compilation. > > Signed-off-by: Andriy Gelman > --- OK. - Derek

Re: [FFmpeg-devel] [PATCH] configure: Increase minimum libx265 version

2020-01-16 Thread Andriy Gelman
On Wed, 08. Jan 17:21, Andriy Gelman wrote: > From: Andriy Gelman > > libx265.c references a member x265_picture.quantOffsets (for ROI > support) which was added in X265_BUILD 70. Increase the minimum libx265 > version to fix compilation. > > Signed-off-by: Andriy Gelman > --- > > ubuntu

Re: [FFmpeg-devel] [PATCH v2 1/8] avformat/s337m: Use base AVClass for av_log usage

2020-01-16 Thread Michael Niedermayer
On Wed, Jan 15, 2020 at 11:55:55AM +0100, Nicolas Gaullier wrote: > s337m_get_offset_and_codec does not make use of > AVFormatContext: AVClass is enough for logging. > Will facilitate further use from outside > --- > libavformat/s337m.c | 10 +- > 1 file changed, 5 insertions(+), 5

Re: [FFmpeg-devel] [PATCH v2] doc/v4l2_m2m: Add documentation

2020-01-16 Thread Andriy Gelman
On Thu, 16. Jan 10:51, Gyan wrote: > > > On 16-01-2020 09:44 am, Andriy Gelman wrote: > > From: Andriy Gelman > > > > Signed-off-by: Andriy Gelman > > --- > > doc/decoders.texi | 27 +++ > > doc/encoders.texi | 42 ++ > > 2

Re: [FFmpeg-devel] [PATCH 10/11] avformat/oggparsevorbis: Use AV_DICT_DONT_STRDUP_VAL to avoid av_strdup

2020-01-16 Thread Andreas Rheinhardt
On Mon, Nov 11, 2019 at 2:13 AM Andreas Rheinhardt < andreas.rheinha...@gmail.com> wrote: > This will likely also fix CID 1452427, a false positive resulting from > Coverity thinking that av_dict_set() automatically frees its key and > value parameters (even without the AV_DICT_DONT_STRDUP_*

Re: [FFmpeg-devel] [PATCH v4] avcodec/libvpxenc: add VP9 temporal scalability encoding option

2020-01-16 Thread Wonkap Jang
James, On Thu, Jan 16, 2020 at 10:58 AM Wonkap Jang < wonkap-at-google@ffmpeg.org> wrote: > This commit reuses the configuration options for VP8 that enables > temporal scalability for VP9. It also adds a way to enable three > preset temporal structures (refer to the documentation for more >

[FFmpeg-devel] [PATCH v4] avcodec/libvpxenc: add VP9 temporal scalability encoding option

2020-01-16 Thread Wonkap Jang
This commit reuses the configuration options for VP8 that enables temporal scalability for VP9. It also adds a way to enable three preset temporal structures (refer to the documentation for more detail) that can be used in offline encoding. --- doc/encoders.texi | 18 ++-

[FFmpeg-devel] [PATCH v4] avcodec/libvpxenc: add VP9 temporal scalability encoding option

2020-01-16 Thread Wonkap Jang
This commit reuses the configuration options for VP8 that enables temporal scalability for VP9. It also adds a way to enable three preset temporal structures (refer to the documentation for more detail) that can be used in offline encoding. --- doc/encoders.texi | 18 ++-

Re: [FFmpeg-devel] [PATCH v4 1/1] avdevice/gdigrab add use_captureblt option

2020-01-16 Thread Calvin Walton
On Thu, 2020-01-16 at 09:08 +0800, fgodt wrote: > > By default, this is set to @code{1}, which means that gdigrab will > > use > > the CAPTUREBLT flag when grabbing images of a window. With this > > flag > > set, gdigrab will capture the entire contents of a window even if > > it is > > covered

[FFmpeg-devel] [PATCH 2/2] avcodec/h264_ps: Show VUI and SPS overread messages just once per frame thread

2020-01-16 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/h264_ps.c | 3 ++- libavcodec/h264_ps.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libavcodec/h264_ps.c b/libavcodec/h264_ps.c index edbaa96b64..7b523833c1 100644 --- a/libavcodec/h264_ps.c +++ b/libavcodec/h264_ps.c @@

[FFmpeg-devel] [PATCH 1/2] avutil/log: Add av_log_once() for printing a message just once per instance

2020-01-16 Thread Michael Niedermayer
Compared to ad-hoc if(printed) ... code this allows the user to disable it with a flag and see all repeated messages, it is also simpler TODO: APIChanges & version bump Signed-off-by: Michael Niedermayer --- libavutil/log.c | 15 +++ libavutil/log.h | 19 +++ 2

Re: [FFmpeg-devel] [PATCH] avutil/avcodec: expanded on channel configurations for spatial audio

2020-01-16 Thread Dylan Marcus
> On Jan 16, 2020, at 5:06 AM, Paul B Mahol wrote: > > Wait for custom channel layouts. is there any information on this? I would love to review this as this is a constant requirement for a growing number of projects utilizing ffmpeg and would love to make sure this handles all use cases.

Re: [FFmpeg-devel] [PATCH] avfilter/scale: fix CID 1457833

2020-01-16 Thread Anton Khirnov
Quoting Gyan Doshi (2020-01-16 13:59:47) > --- > libavfilter/vf_scale.c | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c > index d46c767e70..70978345e8 100644 > --- a/libavfilter/vf_scale.c > +++

Re: [FFmpeg-devel] [PATCH] fate/filter-video: add two tests for dnn_processing with frame format rgb24 and grayf32

2020-01-16 Thread Carl Eugen Hoyos
Am Do., 16. Jan. 2020 um 15:30 Uhr schrieb Guo, Yejun : > > > > > -Original Message- > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > > Carl Eugen Hoyos > > Sent: Thursday, January 16, 2020 10:18 PM > > To: FFmpeg development discussions and patches > >

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

2020-01-16 Thread Asaf Kave
On Thu, Jan 16, 2020 at 4:19 PM Carl Eugen Hoyos wrote: > Am Do., 16. Jan. 2020 um 14:10 Uhr schrieb Lynne : > > > > Jan 15, 2020, 09:19 by kavea...@gmail.com: > > > > > --- > > > libavcodec/hevc_refs.c | 15 > > > libavcodec/hevcdec.c | 179 - > >

Re: [FFmpeg-devel] [PATCH] fate/filter-video: add two tests for dnn_processing with frame format rgb24 and grayf32

2020-01-16 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Carl Eugen Hoyos > Sent: Thursday, January 16, 2020 10:18 PM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH] fate/filter-video: add two tests for >

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

2020-01-16 Thread Carl Eugen Hoyos
Am Do., 16. Jan. 2020 um 14:10 Uhr schrieb Lynne : > > Jan 15, 2020, 09:19 by kavea...@gmail.com: > > > --- > > libavcodec/hevc_refs.c | 15 > > libavcodec/hevcdec.c | 179 - > > libavcodec/hevcdec.h | 13 +++ > > 3 files changed, 206

Re: [FFmpeg-devel] [PATCH] fate/filter-video: add two tests for dnn_processing with frame format rgb24 and grayf32

2020-01-16 Thread Carl Eugen Hoyos
Am Do., 16. Jan. 2020 um 15:15 Uhr schrieb Guo, Yejun : > the 'float' in 'fate-filter-dnn_processing-halve_first_channel_float' means > the dnn module accepts float as input meaning you cannot use it for (bit-exact) fate. Carl Eugen ___ ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] fate/filter-video: add two tests for dnn_processing with frame format rgb24 and grayf32

2020-01-16 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > James Almer > Sent: Thursday, January 16, 2020 9:31 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] fate/filter-video: add two tests for > dnn_processing with frame

Re: [FFmpeg-devel] [PATCH] fate/filter-video: add two tests for dnn_processing with frame format rgb24 and grayf32

2020-01-16 Thread James Almer
On 1/14/2020 11:34 AM, Pedro Arthur wrote: > Hi, > > Em qua., 8 de jan. de 2020 às 03:52, Guo, Yejun > escreveu: >> >> Signed-off-by: Guo, Yejun >> --- >> tests/fate/filter-video.mak| 4 ++ >> ...filter-dnn_processing-halve_first_channel_float | 55 >>

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

2020-01-16 Thread Lynne
Jan 15, 2020, 09:19 by kavea...@gmail.com: > --- > libavcodec/hevc_refs.c | 15 > libavcodec/hevcdec.c | 179 - > libavcodec/hevcdec.h | 13 +++ > 3 files changed, 206 insertions(+), 1 deletion(-) > Could you wait or instead work on the new

[FFmpeg-devel] [PATCH] avfilter/scale: fix CID 1457833

2020-01-16 Thread Gyan Doshi
--- libavfilter/vf_scale.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index d46c767e70..70978345e8 100644 --- a/libavfilter/vf_scale.c +++ b/libavfilter/vf_scale.c @@ -498,10 +498,8 @@ static int

Re: [FFmpeg-devel] [PATCH 1/4] avformat/udp: add newline after warning

2020-01-16 Thread myp...@gmail.com
On Thu, Jan 16, 2020 at 8:20 AM Marton Balint wrote: > > Signed-off-by: Marton Balint > --- > libavformat/udp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/udp.c b/libavformat/udp.c > index f4ec148a2f..e42a069b24 100644 > --- a/libavformat/udp.c > +++

Re: [FFmpeg-devel] [PATCH 2/9] swscale: Add swscale input support for Y210LE

2020-01-16 Thread Carl Eugen Hoyos
Am Do., 16. Jan. 2020 um 07:49 Uhr schrieb Fu, Linjie : > > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Carl Eugen Hoyos > > Sent: Thursday, January 16, 2020 02:30 > > To: FFmpeg development discussions and patches > de...@ffmpeg.org> > > Subject: Re: [FFmpeg-devel]

[FFmpeg-devel] [PATCH v3 5/8] avformat/wavdec: s337m support

2020-01-16 Thread Nicolas Gaullier
Add s337m probing/reading similarly to spdif. --- libavformat/wavdec.c | 35 +++ 1 file changed, 27 insertions(+), 8 deletions(-) diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c index 575c667452..9802eef561 100644 --- a/libavformat/wavdec.c +++

Re: [FFmpeg-devel] [PATCH v2 5/8] avformat/wavdec: s337m support

2020-01-16 Thread Gaullier Nicolas
>> >> Add s337m probing/reading similarly to spdif. >> >> --- >> >> libavformat/wavdec.c | 23 +++ >> >> 1 file changed, 19 insertions(+), 4 deletions(-) >> >> >> >> diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c index >> >> 575c667452..d030ed9f9d 100644 >> >> ---

[FFmpeg-devel] [PATCH v2] lavf/libsrt: nonblock enabling correction

2020-01-16 Thread Anthony Delannoy
As requested I negate the value inside the function instead of using directly the input. Regards, Anthony Delannoy ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link

[FFmpeg-devel] [PATCH v2] lavf/libsrt: nonblock enabling correction

2020-01-16 Thread Anthony Delannoy
As written in https://github.com/Haivision/srt/blob/v1.4.1/docs/API.md, the nonblock mode is activated if SRTO_SNDSYN and SRTO_RCVSYN, for sending and receiving respectively, are set to 0. --- libavformat/libsrt.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git

Re: [FFmpeg-devel] [PATCH] avutil/avcodec: expanded on channel configurations for spatial audio

2020-01-16 Thread Paul B Mahol
Wait for custom channel layouts. On 1/16/20, Dylan Marcus wrote: > --- > Changelog | 1 + > libavcodec/aacenc.h| 16 > libavutil/channel_layout.c | 8 ++ > libavutil/channel_layout.h | 64 > ++ > 4 files