Re: [FFmpeg-devel] [PATCH 1/4] avcodec/prosumer: Check for bytestream eof in decompress()

2018-11-02 Thread Michael Niedermayer
On Wed, Oct 31, 2018 at 12:13:50PM +0100, Paul B Mahol wrote: > On 10/31/18, Michael Niedermayer wrote: > > Fixes: Infinite loop > > Fixes: > > 10685/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PROSUMER_fuzzer-5652236881887232 > > > > Found-by: continuous fuzzing process > >

[FFmpeg-devel] [PATCH 1/7] lavc/vaapi_encode: Add codec-specific bit rate control callback.

2018-11-02 Thread Jun Zhao
Add extra codec-specific bit rate control configuration callback interface. Signed-off-by: Jun Zhao --- libavcodec/vaapi_encode.c |9 + libavcodec/vaapi_encode.h |3 +++ 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/libavcodec/vaapi_encode.c

Re: [FFmpeg-devel] FFmpeg 4.0.3 fails to compile

2018-11-02 Thread Helmut K. C. Tessarek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 2018-11-02 23:23, James Almer wrote: > Since libaom still hasn't tagged a release with that define > removed, it's not reason enough to rush a new point release for the > 4.0 branch. That's fine. I just wanted to mention it. I guess in the days

[FFmpeg-devel] [PATCH 5/7] doc/encoders: Add sliding_window docs for h264_vaapi.

2018-11-02 Thread Jun Zhao
Add sliding_window docs for h264_vaapi encoder. Signed-off-by: Jun Zhao --- doc/encoders.texi |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/doc/encoders.texi b/doc/encoders.texi index 6851e75..c558b76 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@

[FFmpeg-devel] [PATCH 2/7] lavc/vaapi_encode_h264: Enable macro block level bit rate control.

2018-11-02 Thread Jun Zhao
Enables macro block level bit rate control, that generally improves subjective visual quality. It may have a negative impact on performance and objective visual quality metrics. Default is off and can't compatible with Constant QP. Signed-off-by: Jun Zhao --- libavcodec/vaapi_encode_h264.c |

[FFmpeg-devel] FFmpeg 4.0.3 fails to compile

2018-11-02 Thread Helmut K. C. Tessarek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Unfortunately FFmpeg 4.0.3 does not compile with libaom. error: use of undeclared identifier 'AOM_ERROR_RESILIENT_PARTITIONS' It seems that http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=b69ea742ab23ad74b2ae2772764743642212a139 has not been

Re: [FFmpeg-devel] [PATCH] avcodec/vp9_parser: export profile and pixel format

2018-11-02 Thread Chris Cunningham
> Also, when dealing with a super frame, to get other values like pixel > format and frame dimensions we'd have to make sure to parse the visible > frame, and if it's an inter frame also keep the reference frames around > to take said values from them. Could we avoid the challenges around

Re: [FFmpeg-devel] FFmpeg 4.0.3 fails to compile

2018-11-02 Thread James Almer
On 11/3/2018 12:13 AM, Helmut K. C. Tessarek wrote: > Unfortunately FFmpeg 4.0.3 does not compile with libaom. > > error: use of undeclared identifier 'AOM_ERROR_RESILIENT_PARTITIONS' > > It seems that >

[FFmpeg-devel] [PATCH 3/7] doc/encoders: Add docs for mb_rate_control option

2018-11-02 Thread Jun Zhao
Add mb_rate_control option docs for h264_vaapi encoder. Signed-off-by: Jun Zhao --- doc/encoders.texi |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/doc/encoders.texi b/doc/encoders.texi index 899faac..6851e75 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi

[FFmpeg-devel] [PATCH 6/7] lavc/vaapi_encode_h265: Enable sliding window control.

2018-11-02 Thread Jun Zhao
Sliding window control is a feature to reduce the instant bitrate fluctuation, and occasional big frame size for intra and scene change frames are allowed. And the fluctuation level can be controlled by max bit rate. Signed-off-by: Jun Zhao --- libavcodec/vaapi_encode_h265.c | 24

[FFmpeg-devel] [PATCH 0/7] Enhancement VA-API encoder bitrate control

2018-11-02 Thread Jun Zhao
V1: - add codec-specific bit rate control callback. - enable macro block level bit rate control in h264_vaapi encoder and update the docs. - enable sliding windows in [h264|hevc]_vaapi encoder and update the docs. Jun Zhao (7): lavc/vaapi_encode: Add codec-specific bit rate control callback.

[FFmpeg-devel] [PATCH 4/7] lavc/vaapi_encode_h264: Enable sliding window control.

2018-11-02 Thread Jun Zhao
Sliding window control is a feature to reduce the instant bitrate fluctuation, and occasional big frame size for intra and scene change frames are allowed. And the fluctuation level can be controlled by max bit rate. Signed-off-by: Jun Zhao --- libavcodec/vaapi_encode_h264.c | 13

[FFmpeg-devel] [PATCH 7/7] doc/encoders: Add sliding_window docs for hevc_vaapi.

2018-11-02 Thread Jun Zhao
Add sliding_window docs for hevc_vaapi encoder. Signed-off-by: Jun Zhao --- doc/encoders.texi |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/doc/encoders.texi b/doc/encoders.texi index c558b76..1987686 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@

Re: [FFmpeg-devel] [PATCH V3] libavfilter/vaapi: enable vaapi rotation feature via call Intel iHD driver

2018-11-02 Thread Zhou, Zachary
Thanks Mark, I am considering it. I will send a new patch including both vaapi rotation and mirroring. > -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Mark Thompson > Sent: Thursday, November 1, 2018 7:36 AM > To: ffmpeg-devel@ffmpeg.org

[FFmpeg-devel] [PATCH v4 3/4] lavc/libdavs2: correct frame type setting

2018-11-02 Thread hwren
Signed-off-by: hwren --- libavcodec/libdavs2.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c index a1815d2..4dbce73 100644 --- a/libavcodec/libdavs2.c +++ b/libavcodec/libdavs2.c @@ -76,6 +76,26 @@ static

[FFmpeg-devel] [PATCH v4 2/4] lavc/libdavs2: remove unused frame counter

2018-11-02 Thread hwren
Signed-off-by: hwren --- libavcodec/libdavs2.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c index e463b2e..a1815d2 100644 --- a/libavcodec/libdavs2.c +++ b/libavcodec/libdavs2.c @@ -32,8 +32,6 @@ typedef struct DAVS2Context {

[FFmpeg-devel] [PATCH v4 4/4] lavc/libdavs2: fix wrong return value

2018-11-02 Thread hwren
Signed-off-by: hwren --- libavcodec/libdavs2.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c index 4dbce73..d912dd8 100644 --- a/libavcodec/libdavs2.c +++ b/libavcodec/libdavs2.c @@ -147,14 +147,15 @@ static

Re: [FFmpeg-devel] [PATCH] avfilter: add skipblend filter

2018-11-02 Thread Matthias Troffaes
Dear Paul, On Thu, Nov 1, 2018 at 5:26 PM Paul B Mahol wrote: > > I found a way of doing this differently, as I now found that tmix > > doesn't actually step frames, unlike skipblend. For history's sake, > > the way to get skipblend behaviour is to do something like > >

Re: [FFmpeg-devel] [PATCH] Add CUDA function cuDeviceGetAttribute V2

2018-11-02 Thread Timo Rothenpieler
LGTM, will apply next time I get a chance. smime.p7s Description: S/MIME Cryptographic Signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avcodec/aacenc: set pce value by options pce

2018-11-02 Thread Hendrik Leppkes
On Fri, Nov 2, 2018 at 1:13 PM Carl Eugen Hoyos wrote: > > 2018-11-02 11:13 GMT+01:00, Hendrik Leppkes : > > On Fri, Nov 2, 2018 at 10:17 AM Steven Liu wrote: > >> > >> fix ticket: 7504 > >> > >> Signed-off-by: Steven Liu > >> --- > >> libavcodec/aacenc.c | 2 +- > >> 1 file changed, 1

Re: [FFmpeg-devel] [PATCH] avcodec/aacenc: set pce value by options pce

2018-11-02 Thread Hendrik Leppkes
On Fri, Nov 2, 2018 at 10:17 AM Steven Liu wrote: > > fix ticket: 7504 > > Signed-off-by: Steven Liu > --- > libavcodec/aacenc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c > index 4d0abb107f..26175bdb39 100644 > ---

[FFmpeg-devel] [PATCH] avfilter/vf_transpose_npp: adding NV12 support to transpose_npp filter

2018-11-02 Thread Roman Arzumanyan
Hello, This patch adds NV12 support to vf_transpose_npp filter. Now filter can be used in nvdec -> nvenc transcoding scenarios like this: ffmpeg -hwaccel cuvid -c:v h264_cuvid -i input.h264 -c:v h264_nvenc -vf transpose_npp="dir=clock" -y output.h264 -- BR, Roman Arzumanyan

Re: [FFmpeg-devel] [PATCH] avcodec/aacenc: set pce value by options pce

2018-11-02 Thread Carl Eugen Hoyos
2018-11-02 11:13 GMT+01:00, Hendrik Leppkes : > On Fri, Nov 2, 2018 at 10:17 AM Steven Liu wrote: >> >> fix ticket: 7504 >> >> Signed-off-by: Steven Liu >> --- >> libavcodec/aacenc.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/libavcodec/aacenc.c

Re: [FFmpeg-devel] [PATCH] avcodec/aacenc: set pce value by options pce

2018-11-02 Thread Carl Eugen Hoyos
2018-11-02 13:20 GMT+01:00, Hendrik Leppkes : > On Fri, Nov 2, 2018 at 1:13 PM Carl Eugen Hoyos wrote: >> Isn't the main issue that FFmpeg suddenly started to assume for >> some very common layouts that they are not supported while >> they were supported without PCE before and worked fine in

Re: [FFmpeg-devel] [PATCH] avfilter/vf_transpose_npp: adding NV12 support to transpose_npp filter

2018-11-02 Thread Timo Rothenpieler
On 02/11/2018 13:35, Roman Arzumanyan wrote: Hello, This patch adds NV12 support to vf_transpose_npp filter. Now filter can be used in nvdec -> nvenc transcoding scenarios like this: ffmpeg -hwaccel cuvid -c:v h264_cuvid -i input.h264 -c:v h264_nvenc -vf transpose_npp="dir=clock" -y

Re: [FFmpeg-devel] [PATCH] avcodec/aacenc: set pce value by options pce

2018-11-02 Thread Hendrik Leppkes
On Fri, Nov 2, 2018 at 11:13 AM Hendrik Leppkes wrote: > > On Fri, Nov 2, 2018 at 10:17 AM Steven Liu wrote: > > > > fix ticket: 7504 > > > > Signed-off-by: Steven Liu > > --- > > libavcodec/aacenc.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git

Re: [FFmpeg-devel] [PATCH v4 1/4] lavc/libdavs2: fix sequence incomplete output error

2018-11-02 Thread Carl Eugen Hoyos
2018-11-02 9:47 GMT+01:00, hwren : > Signed-off-by: hwren > --- > libavcodec/libdavs2.c | 11 ++- > 1 file changed, 10 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c > index cadf995..e463b2e 100644 > --- a/libavcodec/libdavs2.c > +++

[FFmpeg-devel] [PATCH v5 1/4] lavc/libdavs2: fix sequence incomplete output error

2018-11-02 Thread hwren
Signed-off-by: hwren --- libavcodec/libdavs2.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c index cadf995..e36bfed 100644 --- a/libavcodec/libdavs2.c +++ b/libavcodec/libdavs2.c @@ -129,7 +129,17 @@ static int

[FFmpeg-devel] [PATCH v5 2/4] lavc/libdavs2: remove unused frame counter

2018-11-02 Thread hwren
Signed-off-by: hwren --- libavcodec/libdavs2.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c index e36bfed..6dc1173 100644 --- a/libavcodec/libdavs2.c +++ b/libavcodec/libdavs2.c @@ -32,8 +32,6 @@ typedef struct DAVS2Context {

[FFmpeg-devel] [PATCH v5 3/4] lavc/libdavs2: correct frame type setting

2018-11-02 Thread hwren
Signed-off-by: hwren --- libavcodec/libdavs2.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c index 6dc1173..3e59d41 100644 --- a/libavcodec/libdavs2.c +++ b/libavcodec/libdavs2.c @@ -76,6 +76,26 @@ static

[FFmpeg-devel] [PATCH v5 4/4] lavc/libdavs2: fix wrong return value

2018-11-02 Thread hwren
Signed-off-by: hwren --- libavcodec/libdavs2.c | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c index 3e59d41..6e4bd50 100644 --- a/libavcodec/libdavs2.c +++ b/libavcodec/libdavs2.c @@ -147,15 +147,17 @@

[FFmpeg-devel] [PATCH] avformat/hlsenc: check dirname and fix vtt problem

2018-11-02 Thread Steven Liu
check dirname before use it refine webvtt code in the hls_delete_old_segments Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index f8f060d065..e0048aa9d8

[FFmpeg-devel] [PATCH] avcodec/aacenc: set pce value by options pce

2018-11-02 Thread Steven Liu
fix ticket: 7504 Signed-off-by: Steven Liu --- libavcodec/aacenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index 4d0abb107f..26175bdb39 100644 --- a/libavcodec/aacenc.c +++ b/libavcodec/aacenc.c @@ -973,7 +973,7 @@ static

[FFmpeg-devel] [PATCH v4 1/4] lavc/libdavs2: fix sequence incomplete output error

2018-11-02 Thread hwren
Signed-off-by: hwren --- libavcodec/libdavs2.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c index cadf995..e463b2e 100644 --- a/libavcodec/libdavs2.c +++ b/libavcodec/libdavs2.c @@ -129,7 +129,16 @@ static int

[FFmpeg-devel] [PATCH 1/4] proresenc_nanatoliy: Rename a profile name with the correct one

2018-11-02 Thread Vittorio Giovara
In all Apple documentation, this profile is called Prores . --- libavcodec/proresenc_anatoliy.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavcodec/proresenc_anatoliy.c b/libavcodec/proresenc_anatoliy.c index 6b9ce4a59a..dbbf13f4c0 100644 ---

[FFmpeg-devel] [PATCH 4/4] mjpeg: Use profile names in the encoder and decoder

2018-11-02 Thread Vittorio Giovara
--- libavcodec/codec_desc.c | 1 + libavcodec/mjpegdec.c | 2 ++ libavcodec/profiles.c | 9 + libavcodec/profiles.h | 1 + libavcodec/version.h| 2 +- 5 files changed, 14 insertions(+), 1 deletion(-) diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c index

[FFmpeg-devel] [PATCH 3/4] proresdec2: Parse codec_tag and export profile information

2018-11-02 Thread Vittorio Giovara
--- libavcodec/proresdec2.c | 24 libavcodec/version.h| 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/libavcodec/proresdec2.c b/libavcodec/proresdec2.c index 6b3021bdfa..130a4e3fe8 100644 --- a/libavcodec/proresdec2.c +++

[FFmpeg-devel] [PATCH 2/4] prores: Use profile names in the various encoders and decoders

2018-11-02 Thread Vittorio Giovara
Export FF_PROFILE_PRORES_* symbols to the public header. --- libavcodec/avcodec.h| 7 +++ libavcodec/codec_desc.c | 1 + libavcodec/profiles.c | 10 ++ libavcodec/profiles.h | 1 + libavcodec/proresdec2.c | 2 ++

Re: [FFmpeg-devel] [PATCH 4/4] mjpeg: Use profile names in the encoder and decoder

2018-11-02 Thread Carl Eugen Hoyos
2018-11-02 20:35 GMT+01:00, Vittorio Giovara : > --- > libavcodec/codec_desc.c | 1 + > libavcodec/mjpegdec.c | 2 ++ > libavcodec/profiles.c | 9 + > libavcodec/profiles.h | 1 + > libavcodec/version.h| 2 +- > 5 files changed, 14 insertions(+), 1 deletion(-) How does this

Re: [FFmpeg-devel] [PATCH] Add CUDA function cuDeviceGetAttribute V2

2018-11-02 Thread Soft Works
> LGTM, will apply next time I get a chance. Thank you very much! ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel