Re: [FFmpeg-devel] [PATCH v2 16/36] vaapi_encode: Clean up rate control configuration

2018-06-07 Thread myp...@gmail.com
On Fri, Jun 8, 2018 at 7:45 AM Mark Thompson wrote: > > Query which modes are supported and select between VBR and CBR based > on that - this removes all of the codec-specific rate control mode > selection code. > --- > doc/encoders.texi | 2 - > libavcodec/vaapi_encode.c |

Re: [FFmpeg-devel] [PATCH v2 24/36] lavc/cbs: Add JPEG support

2018-06-07 Thread James Almer
On 6/7/2018 8:43 PM, Mark Thompson wrote: > +static int cbs_jpeg_write_unit(CodedBitstreamContext *ctx, > +CodedBitstreamUnit *unit) > +{ > +CodedBitstreamJPEGContext *priv = ctx->priv_data; > +PutBitContext pbc; > +int err; > + > +if

[FFmpeg-devel] [PATCH] lavfi/atempo: raise max tempo limit (v2)

2018-06-07 Thread Pavel Koshevoy
--- doc/filters.texi| 17 ++--- libavfilter/af_atempo.c | 6 +++--- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index 256ab42b00..6b98b04774 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -1986,7 +1986,12 @@

Re: [FFmpeg-devel] [PATCH v2 24/36] lavc/cbs: Add JPEG support

2018-06-07 Thread myp...@gmail.com
On Fri, Jun 8, 2018 at 7:46 AM Mark Thompson wrote: > > --- > configure | 2 + > libavcodec/Makefile | 1 + > libavcodec/cbs.c | 6 + > libavcodec/cbs_internal.h | 1 + > libavcodec/cbs_jpeg.c

[FFmpeg-devel] [PATCH v2 36/36] doc/encoders: Document -sei option to hevc_vaapi

2018-06-07 Thread Mark Thompson
--- doc/encoders.texi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/doc/encoders.texi b/doc/encoders.texi index d61a1cc4bc..3894774bef 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@ -2663,6 +2663,16 @@ Include access unit delimiters in the stream (not included by

[FFmpeg-devel] [PATCH v2 33/36] vaapi_encode_h265: Improve profile support

2018-06-07 Thread Mark Thompson
Set profile compatibility/constraint flags properly (including the constraint flags used for RExt profiles, as all streams we can currently generate are RExt-compatible), and use that to add support for the "Main Intra" and "Main 10 Intra" RExt subprofiles (for which we can re-use the existing

[FFmpeg-devel] [PATCH v2 35/36] vaapi_encode_h265: Set level based on stream if not set by user

2018-06-07 Thread Mark Thompson
Sets the level based on the stream properties if it is not explicitly set by the user. Also add a tier option to set general_tier_flag, since that affects the level choice. --- doc/encoders.texi | 4 libavcodec/vaapi_encode_h265.c | 34 +++--- 2

[FFmpeg-devel] [PATCH v2 34/36] lavc/h265: Add some common code for profile/tier/level handling

2018-06-07 Thread Mark Thompson
Adds support for determining for level limits, including mapping PTL blocks to profiles to check profile-dependent level limits. --- libavcodec/h265_profile_level.c | 245 libavcodec/h265_profile_level.h | 89 +++ 2 files changed, 334

[FFmpeg-devel] [PATCH v2 32/36] cbs_h264: Infer default VUI values if VUI parameters are not present

2018-06-07 Thread Mark Thompson
--- libavcodec/cbs_h264_syntax_template.c | 42 +++ 1 file changed, 42 insertions(+) diff --git a/libavcodec/cbs_h264_syntax_template.c b/libavcodec/cbs_h264_syntax_template.c index f53c02467e..03f2a15b0b 100644 --- a/libavcodec/cbs_h264_syntax_template.c +++

[FFmpeg-devel] [PATCH v2 28/36] vaapi_encode_h264: Set level based on stream if not set by user

2018-06-07 Thread Mark Thompson
--- libavcodec/vaapi_encode_h264.c | 34 ++ 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/libavcodec/vaapi_encode_h264.c b/libavcodec/vaapi_encode_h264.c index 82166d4457..4034053dc0 100644 --- a/libavcodec/vaapi_encode_h264.c +++

[FFmpeg-devel] [PATCH v2 30/36] cbs_h264: Fix range and default value of max mv lengths

2018-06-07 Thread Mark Thompson
The max and default values are 15, not 16. --- libavcodec/cbs_h264_syntax_template.c | 8 libavcodec/vaapi_encode_h264.c| 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libavcodec/cbs_h264_syntax_template.c b/libavcodec/cbs_h264_syntax_template.c index

[FFmpeg-devel] [PATCH v2 29/36] h264_metadata: Add option to set the level of the stream

2018-06-07 Thread Mark Thompson
--- doc/bitstream_filters.texi | 9 + libavcodec/h264_metadata_bsf.c | 90 ++ 2 files changed, 99 insertions(+) diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi index 7d7e97503a..d948c6d658 100644 ---

[FFmpeg-devel] [PATCH v2 31/36] cbs_h264: Fix profile typo

2018-06-07 Thread Mark Thompson
--- libavcodec/cbs_h264_syntax_template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/cbs_h264_syntax_template.c b/libavcodec/cbs_h264_syntax_template.c index 21edcb799e..f53c02467e 100644 --- a/libavcodec/cbs_h264_syntax_template.c +++

[FFmpeg-devel] [PATCH v2 26/36] hwcontext_vaapi: Improve format mapping

2018-06-07 Thread Mark Thompson
Give the entries in the VAAPI format map table an explicit type and add functions to do the necessary lookups. Add another field to this table indicating whether the chroma planes are swapped (as in YV12), and use that rather than explicit comparisons where swapping is needed. ---

[FFmpeg-devel] [PATCH v2 27/36] lavc/h264: Add common code for level handling

2018-06-07 Thread Mark Thompson
Including a unit test. --- libavcodec/Makefile| 3 +- libavcodec/h264_levels.c | 130 + libavcodec/h264_levels.h | 53 libavcodec/tests/.gitignore| 1 + libavcodec/tests/h264_levels.c | 183

[FFmpeg-devel] [PATCH v2 25/36] vaapi_encode_mjpeg: Use CBS to store parameters and write headers

2018-06-07 Thread Mark Thompson
Also adds greyscale, 4:2:2, 4:4:4 and RGB support. --- configure | 2 +- doc/encoders.texi | 17 +- libavcodec/vaapi_encode_mjpeg.c | 529 +--- 3 files changed, 347 insertions(+), 201 deletions(-) diff --git a/configure

[FFmpeg-devel] [PATCH v2 22/36] doc/encoders: Add missing options to VAAPI encoders

2018-06-07 Thread Mark Thompson
--- doc/encoders.texi | 24 1 file changed, 24 insertions(+) diff --git a/doc/encoders.texi b/doc/encoders.texi index 861f9f4f1f..b451142cfb 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@ -2631,12 +2631,36 @@ Use CABAC. @item cavlc Use CAVLC. @end table +

[FFmpeg-devel] [PATCH v2 24/36] lavc/cbs: Add JPEG support

2018-06-07 Thread Mark Thompson
--- configure | 2 + libavcodec/Makefile | 1 + libavcodec/cbs.c | 6 + libavcodec/cbs_internal.h | 1 + libavcodec/cbs_jpeg.c | 513 ++ libavcodec/cbs_jpeg.h

[FFmpeg-devel] [PATCH v2 20/36] vaapi_encode_h264: Properly set constraint flags

2018-06-07 Thread Mark Thompson
constraint_set1_flag should be set for constrained baseline and main profiles, because the stream conforms to main profile. constraint_set3_flag should be set for high profile when the stream is intra-only. constraint_set4_flag should always be set for main and high profiles because interlaced

[FFmpeg-devel] [PATCH v2 21/36] vaapi_encode_h26[45]: Make the AUD option a boolean

2018-06-07 Thread Mark Thompson
--- libavcodec/vaapi_encode_h264.c | 2 +- libavcodec/vaapi_encode_h265.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/vaapi_encode_h264.c b/libavcodec/vaapi_encode_h264.c index a4594ef9f2..82166d4457 100644 --- a/libavcodec/vaapi_encode_h264.c +++

[FFmpeg-devel] [PATCH v2 23/36] hwcontext_vaapi: Improve logging around quirk detection

2018-06-07 Thread Mark Thompson
Clarify that the list is the naughty list, and therefore being on it is not desirable. The i965 driver does not need to be on the list after version 2.0 (when the standard parameter buffer rendering behaviour was changed). --- libavutil/hwcontext_vaapi.c | 27 +++ 1 file

[FFmpeg-devel] [PATCH v2 16/36] vaapi_encode: Clean up rate control configuration

2018-06-07 Thread Mark Thompson
Query which modes are supported and select between VBR and CBR based on that - this removes all of the codec-specific rate control mode selection code. --- doc/encoders.texi | 2 - libavcodec/vaapi_encode.c | 173

[FFmpeg-devel] [PATCH v2 14/36] vaapi_encode: Clean up the encode quality configuration

2018-06-07 Thread Mark Thompson
--- libavcodec/vaapi_encode.c | 84 +- libavcodec/vaapi_encode_h264.c | 7 ++-- 2 files changed, 54 insertions(+), 37 deletions(-) diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c index 6104470b31..4da8a7083c 100644 ---

[FFmpeg-devel] [PATCH v2 18/36] vaapi_encode: Clean up the GOP structure configuration

2018-06-07 Thread Mark Thompson
Choose what types of reference frames will be used based on what types are available, and make the intra-only mode explicit (GOP size one, which must be used for MJPEG). --- libavcodec/vaapi_encode.c | 83 +++-- libavcodec/vaapi_encode.h | 1 +

[FFmpeg-devel] [PATCH v2 15/36] vaapi_encode: Always reapply global parameters after the sequence header

2018-06-07 Thread Mark Thompson
The codec sequence headers may contain fields which can overwrite the fine parameters given in the specific settings (e.g. a crude bitrate value vs. the max-rate / target-percentage / etc. values in VAEncMiscParameterRateControl). Always reapply all global parameters after a sequence header to

[FFmpeg-devel] [PATCH v2 19/36] vaapi_encode: Clean up the packed header configuration

2018-06-07 Thread Mark Thompson
Add a larger warning more clearly explaining the consequences of missing packed header support in the driver. Also only write the extradata if the user actually requests it via the GLOBAL_HEADER flag. --- libavcodec/vaapi_encode.c | 118 +---

[FFmpeg-devel] [PATCH v2 17/36] vaapi_encode: Add support for max QP in rate control

2018-06-07 Thread Mark Thompson
This was added in libva 2.1.0 (VAAPI 1.1.0). Use AVCodecContext.qmax, matching the existing behaviour for qmin, and clean up the defaults so that we only pass min/max when explicitly set. --- doc/encoders.texi | 3 ++- libavcodec/vaapi_encode.c | 3 +++

[FFmpeg-devel] [PATCH v2 11/36] vaapi_encode: Choose profiles dynamically

2018-06-07 Thread Mark Thompson
Previously there was one fixed choice for each codec (e.g. H.265 -> Main profile), and using anything else then required an explicit option from the user. This changes to selecting the profile based on the input format and the set of profiles actually supported by the driver (e.g. P010 input will

[FFmpeg-devel] [PATCH v2 12/36] vaapi_encode: Add common options between all encoders

2018-06-07 Thread Mark Thompson
The only common option here is low_power - it was previously supported for H.264 only, that specific option is removed. --- doc/encoders.texi | 14 -- libavcodec/vaapi_encode.h | 9 + libavcodec/vaapi_encode_h264.c | 8 ++--

[FFmpeg-devel] [PATCH v2 13/36] vaapi_encode_mpeg2: Add options

2018-06-07 Thread Mark Thompson
Include the common options, and also named options for setting the profile and level. --- libavcodec/vaapi_encode_mpeg2.c | 53 +++-- 1 file changed, 51 insertions(+), 2 deletions(-) diff --git a/libavcodec/vaapi_encode_mpeg2.c

[FFmpeg-devel] [PATCH v2 07/36] vaapi_encode_vp9: Move options and common structures into context

2018-06-07 Thread Mark Thompson
--- libavcodec/vaapi_encode_vp9.c | 31 +++ 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/libavcodec/vaapi_encode_vp9.c b/libavcodec/vaapi_encode_vp9.c index 9108699ac3..6e62213bc9 100644 --- a/libavcodec/vaapi_encode_vp9.c +++

[FFmpeg-devel] [PATCH v2 06/36] vaapi_encode_vp8: Move options and common structures into context

2018-06-07 Thread Mark Thompson
--- libavcodec/vaapi_encode_vp8.c | 31 ++- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/libavcodec/vaapi_encode_vp8.c b/libavcodec/vaapi_encode_vp8.c index a2e861a8d1..ab5e0b2dda 100644 --- a/libavcodec/vaapi_encode_vp8.c +++

[FFmpeg-devel] [PATCH v2 08/36] vaapi_encode: Remove common priv_data and options fields

2018-06-07 Thread Mark Thompson
The codec-specific context now contains both the common context and the codec-specific options directly. --- libavcodec/vaapi_encode.c | 10 -- libavcodec/vaapi_encode.h | 11 --- libavcodec/vaapi_encode_h264.c | 2 -- libavcodec/vaapi_encode_h265.c | 2 --

[FFmpeg-devel] [PATCH v2 10/36] vaapi_encode: Factorise out adding global parameters

2018-06-07 Thread Mark Thompson
--- libavcodec/vaapi_encode.c | 38 ++ 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c index ed6d289c6b..27ce792fbe 100644 --- a/libavcodec/vaapi_encode.c +++ b/libavcodec/vaapi_encode.c @@

[FFmpeg-devel] [PATCH v2 04/36] vaapi_encode_mjpeg: Move common structure into context

2018-06-07 Thread Mark Thompson
--- libavcodec/vaapi_encode_mjpeg.c | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/libavcodec/vaapi_encode_mjpeg.c b/libavcodec/vaapi_encode_mjpeg.c index c949e89646..983c77d194 100644 --- a/libavcodec/vaapi_encode_mjpeg.c +++

[FFmpeg-devel] [PATCH v2 09/36] vaapi_encode: Allocate picture-private data in generic code

2018-06-07 Thread Mark Thompson
--- libavcodec/vaapi_encode.c | 15 --- libavcodec/vaapi_encode.h | 4 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c index cedf3d3549..ed6d289c6b 100644 --- a/libavcodec/vaapi_encode.c +++

[FFmpeg-devel] [PATCH v2 05/36] vaapi_encode_mpeg2: Move common structure into context

2018-06-07 Thread Mark Thompson
--- libavcodec/vaapi_encode_mpeg2.c | 53 +++-- 1 file changed, 25 insertions(+), 28 deletions(-) diff --git a/libavcodec/vaapi_encode_mpeg2.c b/libavcodec/vaapi_encode_mpeg2.c index 42df77ea49..ae77a9ce76 100644 --- a/libavcodec/vaapi_encode_mpeg2.c +++

[FFmpeg-devel] [PATCH v2 02/36] vaapi_encode_h264: Move options and common structures into context

2018-06-07 Thread Mark Thompson
This will make it easier to support options in common between different encoders. It also cleans up some of the field naming. --- libavcodec/vaapi_encode_h264.c | 228 + 1 file changed, 115 insertions(+), 113 deletions(-) diff --git

[FFmpeg-devel] [PATCH v2 03/36] vaapi_encode_h265: Move options and common structures into context

2018-06-07 Thread Mark Thompson
Matching previous commit for H.264. --- libavcodec/vaapi_encode_h265.c | 182 - 1 file changed, 90 insertions(+), 92 deletions(-) diff --git a/libavcodec/vaapi_encode_h265.c b/libavcodec/vaapi_encode_h265.c index bbba2b8cd9..757fd74c30 100644 ---

[FFmpeg-devel] [PATCH v2 00/36] VAAPI encode and related stuff

2018-06-07 Thread Mark Thompson
On 07/06/18 05:13, Xiang, Haihao wrote: > On Sat, 2018-05-26 at 17:26 +0100, Mark Thompson wrote: >> On 25/05/18 07:01, Xiang, Haihao wrote: >>> >>> Hi Mark >>> >>> Do you plan to merge this commit any time soon? >> >> There are quite a few changes throughout the set, I'll resend it soon. >> > >

[FFmpeg-devel] [PATCH v2 01/36] configure: Use pkgconfig for VAAPI

2018-06-07 Thread Mark Thompson
Set the minimum version to 0.35.0 (libva 1.3.0) and remove redundant configure tests. --- This is the version in Ubuntu 14.04 LTS - I don't think it's worth keeping support for anything older now. configure | 25 - libavcodec/vaapi_decode.c | 2 -- 2

Re: [FFmpeg-devel] [PATCH] libavfilter/boxblur_opencl filter.

2018-06-07 Thread Mark Thompson
On 06/06/18 00:45, Danil Iashchenko wrote: > Behaves like existing boxblur filter. > > --- > > Thanks! Fixed. > > libavfilter/Makefile| 2 + > libavfilter/allfilters.c| 1 + > libavfilter/vf_avgblur_opencl.c | 419 > ++-- > 3 files

Re: [FFmpeg-devel] [PATCH] lavfi/atempo: raise max tempo limit

2018-06-07 Thread Moritz Barsnick
On Tue, Jun 05, 2018 at 20:59:16 -0600, Pavel Koshevoy wrote: > --- > libavfilter/af_atempo.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) Please have a look at doc/filters.texi and adapt the atempo section in the same commit. Moritz

Re: [FFmpeg-devel] [PATCH v4 1/4] lavu/hwcontext_opecl: fix the build warning

2018-06-07 Thread Moritz Barsnick
On Tue, Jun 05, 2018 at 22:21:23 +0800, Jun Zhao wrote: > Subject: [FFmpeg-devel] [PATCH v4 1/4] lavu/hwcontext_opecl: fix the build > warning >

Re: [FFmpeg-devel] [PATCH v7 1/4] avcodec: add side data type for ancillary

2018-06-07 Thread Patrick Keroulas
Would someone be nice to review this patchset? Thank you. - Original Message - > From: "Patrick Keroulas" > To: ffmpeg-devel@ffmpeg.org > Cc: "Patrick Keroulas" > Sent: Friday, May 25, 2018 10:16:28 AM > Subject: [PATCH v7 1/4] avcodec: add side data type for ancillary > avcodec: add

Re: [FFmpeg-devel] [PATCH]ffmpeg: Fail if the user requested impossible subtitle encoding

2018-06-07 Thread Michael Niedermayer
On Wed, Jun 06, 2018 at 10:34:42PM +0200, Carl Eugen Hoyos wrote: > Hi! > > Attached patch is meant to fix ticket #7239. > > Please comment, Carl Eugen > ffmpeg.c | 17 + > 1 file changed, 17 insertions(+) > 95832712dd42b9c4e99f2345e93a9853f1758871 >

Re: [FFmpeg-devel] [PATCH] Limited timecode support for lavd/decklink

2018-06-07 Thread Marton Balint
On Thu, 7 Jun 2018, Dave Rice wrote: [...] Before I only tested with vitc but now have a serial cable connected as well and found a source tape that has distinct values for LTC and VITC timecodes. The LTC values are from 1:00:00 to 2:00:00 and the VITC values are from 07:00:00 -

Re: [FFmpeg-devel] Evolution of lavfi's design and API

2018-06-07 Thread Michael Niedermayer
On Thu, Jun 07, 2018 at 11:23:40AM +0200, Paul B Mahol wrote: > On 6/6/18, Nicolas George wrote: > > Michael Niedermayer (2018-06-04): > >> If noone, who has time to reply knows the awnser then you probably have > >> to > >> find it out from the code and any unfinished patchsets > >> > >> sending

Re: [FFmpeg-devel] [PATCH] avformat/mov: Fix reading saio/saiz for clear content.

2018-06-07 Thread Jacob Trimble
On Thu, Jun 7, 2018 at 10:38 AM Jacob Trimble wrote: > > Found by Chrome's ClusterFuzz: http://crbug.com/850389 > > Signed-off-by: Jacob Trimble > --- > libavformat/mov.c | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/libavformat/mov.c b/libavformat/mov.c > index

Re: [FFmpeg-devel] libavutil/encryption_info: Allow multiple init info.

2018-06-07 Thread Jacob Trimble
On Thu, May 31, 2018 at 5:50 PM Jacob Trimble wrote: > > On Thu, May 31, 2018 at 9:40 AM Jacob Trimble wrote: > > > > On Fri, May 25, 2018 at 6:13 PM Michael Niedermayer > > wrote: > > > > > > [...] > > > > > > > Added fix for issue found by Chrome's ClusterFuzz > > > >

[FFmpeg-devel] [PATCH] ffmpeg: sseof is marked as an input-only option

2018-06-07 Thread Gyan Doshi
From 91d98675cc85bd78e46971f9e5d3708245345654 Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Thu, 7 Jun 2018 23:15:35 +0530 Subject: [PATCH] ffmpeg: sseof is marked as an input-only option --- doc/ffmpeg.texi | 2 +- fftools/ffmpeg_opt.c | 2 +- 2 files changed, 2 insertions(+), 2

[FFmpeg-devel] [PATCH] avformat/mov: Fix reading saio/saiz for clear content.

2018-06-07 Thread Jacob Trimble
Found by Chrome's ClusterFuzz: http://crbug.com/850389 Signed-off-by: Jacob Trimble --- libavformat/mov.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/libavformat/mov.c b/libavformat/mov.c index 4ad19122b3..d07171b3f4 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/shorten: Sanity check nmeans

2018-06-07 Thread Michael Niedermayer
On Tue, Jun 05, 2018 at 03:45:14PM +0200, Michael Niedermayer wrote: > Fixes: OOM > Fixes: > 8195/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-5179785826271232 > > The reference software appears to use longs for 32bits and it uses int for > nmeans > hinting that the intended

Re: [FFmpeg-devel] [PATCH] libavutil/encryption_info: Add NULL checks.

2018-06-07 Thread Jacob Trimble
On Tue, Jun 5, 2018 at 1:06 PM Mark Thompson wrote: > > On 05/06/18 17:30, Jacob Trimble wrote: > > Just because I can't check whether my food has salmonella doesn't mean > > I shouldn't check the temperature when I cook it. Adding a NULL check > > is trivial and will catch the most common error

Re: [FFmpeg-devel] [PATCH] Limited timecode support for lavd/decklink

2018-06-07 Thread Dave Rice
> On Jun 7, 2018, at 12:12 PM, Dave Rice wrote: > > >> On Jun 6, 2018, at 5:32 PM, Marton Balint wrote: >> >> On Wed, 6 Jun 2018, Dave Rice wrote: >> On Jun 6, 2018, at 4:50 PM, Marton Balint wrote: On Mon, 4 Jun 2018, Dave Rice wrote: >>> In my testing the timecode value set

Re: [FFmpeg-devel] [PATCH] Limited timecode support for lavd/decklink

2018-06-07 Thread Dave Rice
> On Jun 6, 2018, at 5:32 PM, Marton Balint wrote: > > On Wed, 6 Jun 2018, Dave Rice wrote: > >>> On Jun 6, 2018, at 4:50 PM, Marton Balint wrote: >>> On Mon, 4 Jun 2018, Dave Rice wrote: >> In my testing the timecode value set here has corrected been associated >> with the first

Re: [FFmpeg-devel] [PATCH] lavu: add calling convention for OpenCL callback.

2018-06-07 Thread Song, Ruiling
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Mark Thompson > Sent: Thursday, June 7, 2018 6:21 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] lavu: add calling convention for OpenCL > callback. > > On 06/06/18

Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-06-07 Thread Sergey Lavrushkin
2018-06-06 17:22 GMT+03:00 Pedro Arthur : > Hi, > > 2018-06-05 20:23 GMT-03:00 Sergey Lavrushkin : > > Here is the patch, that fixes described issues. > When I try to run (video input), when tf is not enabled in configure it > crashes. > > > $ffmpeg -i in.mp4 -vf srcnn=dnn_backend=tensorflow

Re: [FFmpeg-devel] [PATCH v3 1/2] lavfi: add opencl tonemap filter.

2018-06-07 Thread Song, Ruiling
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Michael Niedermayer > Sent: Thursday, June 7, 2018 4:40 PM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH v3 1/2] lavfi: add opencl tonemap filter. >

[FFmpeg-devel] [PATCH] lavc/nvenc: enable nvenc encoder instance reuse (v2)

2018-06-07 Thread Pavel Koshevoy
--- libavcodec/nvenc.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index b4186c0bec..cfa7268a5e 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -2051,8 +2051,16 @@ int ff_nvenc_send_frame(AVCodecContext

Re: [FFmpeg-devel] [PATCH] lavc/nvenc: enable nvenc encoder instance reuse after draining

2018-06-07 Thread Pavel Koshevoy
On Thu, Jun 7, 2018, 03:08 Timo Rothenpieler wrote: > On 07.06.2018 06:38, Pavel Koshevoy wrote: > > --- > > libavcodec/nvenc.c | 6 ++ > > 1 file changed, 6 insertions(+) > > > > diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c > > index b4186c0bec..8928eacc70 100644 > > ---

Re: [FFmpeg-devel] [RFC] libfdk_aac license

2018-06-07 Thread Gyan Doshi
On 31-05-2018 11:03 AM, Gyan Doshi wrote: "The Fraunhofer AAC library is licensed under a license incompatible to   the GPL. Therefore, for GPL builds, you have to pass   @code{--enable-nonfree} to configure to use it. To the best of our   knowledge, it is compatible with the LGPL" ? Will

[FFmpeg-devel] [PATCH] configure: fix inline neon regression

2018-06-07 Thread John Cox
Hi This patch fixes the regression whereby inline neon is not enabled Actually I'm a bit unsure about this patch (despite the fact I'm submitting it). It does do its job in that if you specify an armv7a cpu then it will try to enable neon, but it is a bit mucky due to uncertainties about

[FFmpeg-devel] [PATCH] qsvenc: use the compression_level to replace private option

2018-06-07 Thread Zhong Li
Use a common way to control target_usage, keeping consistent with vaapi encoders. The private option preset is kept only for compatibility. Signed-off-by: Zhong Li --- libavcodec/qsvenc.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/libavcodec/qsvenc.c

Re: [FFmpeg-devel] Evolution of lavfi's design and API

2018-06-07 Thread Paul B Mahol
On 6/6/18, Nicolas George wrote: > Michael Niedermayer (2018-06-04): >> If noone, who has time to reply knows the awnser then you probably have >> to >> find it out from the code and any unfinished patchsets >> >> sending nicolas a private mail may also be more vissible to him than the >> ML >>

Re: [FFmpeg-devel] [PATCH] lavc/nvenc: enable nvenc encoder instance reuse after draining

2018-06-07 Thread Timo Rothenpieler
On 07.06.2018 06:38, Pavel Koshevoy wrote: > --- > libavcodec/nvenc.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c > index b4186c0bec..8928eacc70 100644 > --- a/libavcodec/nvenc.c > +++ b/libavcodec/nvenc.c > @@ -2181,6 +2181,12 @@ int

[FFmpeg-devel] [PATCH] qsvenc: remove vcm option on Linux

2018-06-07 Thread Zhong Li
1. vcm mode is only available for H264. 2. vcm is not supported on Linux, but it is shown when run "./ffmpeg -h encoder=h264_qsv |grep vcm". This shouldn't happen. Signed-off-by: Zhong Li --- libavcodec/qsvenc.h | 1 - libavcodec/qsvenc_h264.c | 3 +++ 2 files changed, 3 insertions(+), 1

Re: [FFmpeg-devel] [PATCH 4/6] avformat/mxfdec: remove check for NULL MXFTrack in mxf_set_pts

2018-06-07 Thread Tomas Härdin
tis 2018-06-05 klockan 20:38 +0200 skrev Marton Balint: > > On Tue, 5 Jun 2018, Tomas Härdin wrote: > > > tor 2018-05-31 klockan 02:05 +0200 skrev Marton Balint: > > > It cannot happen for video streams. > > > > > > > Signed-off-by: Marton Balint > > > > > > --- > > >  libavformat/mxfdec.c |

Re: [FFmpeg-devel] [PATCH v3 1/2] lavfi: add opencl tonemap filter.

2018-06-07 Thread Michael Niedermayer
On Wed, Jun 06, 2018 at 03:23:53PM +0800, Ruiling Song wrote: > This filter does HDR(HDR10/HLG) to SDR conversion with tone-mapping. > > An example command to use this filter with vaapi codecs: > FFMPEG -init_hw_device vaapi=va:/dev/dri/renderD128 -init_hw_device \ > opencl=ocl@va -hwaccel vaapi