Re: [FFmpeg-devel] [PATCH 1/1] avformat/dashenc: Added configuration to override HTTP User-Agent

2017-11-20 Thread Michael Niedermayer
On Mon, Nov 20, 2017 at 11:54:47PM +0800, Steven Liu wrote: > 2017-11-20 23:12 GMT+08:00 Hendrik Leppkes : > > On Mon, Nov 20, 2017 at 3:11 PM, Steven Liu wrote: > >> > >> > >>> 在 2017年11月20日,下午10:03,Carl Eugen Hoyos 写道: > >>> > >>> 2017-11-20 15:00 GMT+01:00 Steven Liu : > > > > 在

Re: [FFmpeg-devel] [PATCH] fix bug in af_pan channel coefficient parser

2017-11-20 Thread Michael Niedermayer
On Mon, Nov 20, 2017 at 05:14:15PM +0100, Nicolas George wrote: > Tobias Rapp (2017-11-20): > > Would it be OK to backport the fix into release/3.4? I can do the > > cherry-picking but am unsure about the policies and what other older > > releases should possibly be adapted, too. > > I do not know

Re: [FFmpeg-devel] [PATCH 02/13] lavc: Add hardware config metadata for decoders supporting hardware output

2017-11-20 Thread Philip Langdale
On 2017-11-18 10:47, Mark Thompson wrote: This includes a pointer to the associated hwaccel for decoders using hwaccels - these will be used later to implement the hwaccel setup without needing a global list. Also added is a new file listing all hwaccels as external declarations - this will be

Re: [FFmpeg-devel] [avformat] Prevent undefined shift with wrap_bits > 63.

2017-11-20 Thread Dale Curtis
On Mon, Nov 20, 2017 at 12:40 PM, Michael Niedermayer < mich...@niedermayer.cc> wrote: > On Mon, Nov 20, 2017 at 12:05:05PM -0800, Dale Curtis wrote: > > On Sat, Nov 18, 2017 at 2:44 AM, Michael Niedermayer > > > wrote: > > > > > > this would skip the code for wrap_bits >= 63, this does not look

Re: [FFmpeg-devel] [PATCH 02/13] lavc: Add hardware config metadata for decoders supporting hardware output

2017-11-20 Thread Philip Langdale
On 2017-11-20 13:15, Philip Langdale wrote: On 2017-11-18 10:47, Mark Thompson wrote: This includes a pointer to the associated hwaccel for decoders using hwaccels - these will be used later to implement the hwaccel setup without needing a global list. Also added is a new file listing all hwacc

Re: [FFmpeg-devel] [mpeg4video] Fix undefined shift on assumed 8-bit input.

2017-11-20 Thread Dale Curtis
On Mon, Nov 20, 2017 at 12:34 PM, Michael Niedermayer < mich...@niedermayer.cc> wrote: > On Mon, Nov 20, 2017 at 12:01:11PM -0800, Dale Curtis wrote: > > Derp, that's the wrong comment for this; I meant that for another thread. > > Returning an error for optional user data seems a bit harsh, but i

Re: [FFmpeg-devel] [PATCH 2/3] checkasm/jpeg2000dsp: add test for ict_float

2017-11-20 Thread James Almer
On 11/19/2017 10:02 PM, Michael Niedermayer wrote: > On Sun, Nov 19, 2017 at 12:39:36AM -0300, James Almer wrote: >> Signed-off-by: James Almer >> --- >> tests/checkasm/jpeg2000dsp.c | 33 + >> 1 file changed, 33 insertions(+) > > LGTM > > thx Patchset pushed. T

Re: [FFmpeg-devel] [PATCH 3/3] avcodec: Implement mpeg4 nvdec hwaccel

2017-11-20 Thread Michael Niedermayer
On Sun, Nov 19, 2017 at 11:52:28AM -0800, Philip Langdale wrote: > This was predictably nightmarish, given how ridiculous mpeg4 is. > I had to stare at the cuvid parser output for a long time to work > out what each field was supposed to be, and even then, I still don't > fully understand some of t

Re: [FFmpeg-devel] [PATCH] lavf/mov.c: Guess video codec delay based on PTS while parsing MOV header.

2017-11-20 Thread Michael Niedermayer
On Mon, Nov 20, 2017 at 09:58:05PM +0530, Sasi Inguva wrote: > On Sun, Nov 19, 2017 at 1:17 AM, Michael Niedermayer > wrote: > > > On Sat, Nov 18, 2017 at 11:12:17AM -0800, Sasi Inguva wrote: > > > Signed-off-by: Sasi Inguva > > > --- > > > libavformat/mov.c| 54

Re: [FFmpeg-devel] libavcodec/utvideodsp : add avx2 version

2017-11-20 Thread Michael Niedermayer
On Mon, Nov 20, 2017 at 10:07:54PM +0100, Martin Vignali wrote: > 2017-11-04 19:33 GMT+01:00 Martin Vignali : > > > > > > > 2017-10-25 21:53 GMT+02:00 Martin Vignali : > > > >> > >> > >> 2017-10-22 14:05 GMT+02:00 Martin Vignali : > >> > >>> Hello, > >>> > >>> In attach patch to add AVX2 version f

Re: [FFmpeg-devel] [avformat] Prevent undefined shift with wrap_bits > 63.

2017-11-20 Thread Michael Niedermayer
On Mon, Nov 20, 2017 at 01:15:24PM -0800, Dale Curtis wrote: > On Mon, Nov 20, 2017 at 12:40 PM, Michael Niedermayer < > mich...@niedermayer.cc> wrote: > > > On Mon, Nov 20, 2017 at 12:05:05PM -0800, Dale Curtis wrote: > > > On Sat, Nov 18, 2017 at 2:44 AM, Michael Niedermayer > > > > > wrote: >

Re: [FFmpeg-devel] [PATCH] lavf/mov.c: Guess video codec delay based on PTS while parsing MOV header.

2017-11-20 Thread Hendrik Leppkes
On Mon, Nov 20, 2017 at 11:06 PM, Michael Niedermayer wrote: > On Mon, Nov 20, 2017 at 09:58:05PM +0530, Sasi Inguva wrote: >> On Sun, Nov 19, 2017 at 1:17 AM, Michael Niedermayer > > wrote: >> >> > On Sat, Nov 18, 2017 at 11:12:17AM -0800, Sasi Inguva wrote: >> > > Signed-off-by: Sasi Inguva >>

Re: [FFmpeg-devel] [PATCH 1/2] avocdec/ttaenc: buffer packets directly

2017-11-20 Thread James Almer
On 11/20/2017 5:44 PM, James Almer wrote: > This is a bit more robust in case of OOM. > > Signed-off-by: James Almer Subject should be avformat, not avcodec. Fixed locally. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman

Re: [FFmpeg-devel] [PATCH 01/13] lavc: Add codec metadata to indicate hardware support

2017-11-20 Thread Mark Thompson
On 20/11/17 21:09, Philip Langdale wrote: > On 2017-11-18 10:47, Mark Thompson wrote: >> --- >>  doc/APIchanges   |  3 +++ >>  libavcodec/avcodec.h | 74 >> >>  libavcodec/hwaccel.h | 18 + >>  libavcodec/utils.c   | 12 +

Re: [FFmpeg-devel] [PATCH] configure: fix module dependencies on zlib

2017-11-20 Thread James Almer
On 11/20/2017 4:25 PM, Michael Niedermayer wrote: > On Mon, Nov 20, 2017 at 02:58:58PM -0300, James Almer wrote: >> On 11/20/2017 2:34 PM, Michael Niedermayer wrote: >>> On Sun, Nov 19, 2017 at 04:00:11PM -0300, James Almer wrote: select should not be used with external libraries. It's mean to

Re: [FFmpeg-devel] [PATCH 1/4] configure: require libvpx-1.4.0 for vp[89] support

2017-11-20 Thread James Zern
On Mon, Nov 20, 2017 at 11:51 AM, James Almer wrote: > On 11/20/2017 4:38 PM, James Zern wrote: >> On Mon, Nov 20, 2017 at 11:17 AM, James Zern wrote: >>> On Sun, Nov 19, 2017 at 6:03 AM, James Almer wrote: On 11/17/2017 10:50 PM, James Zern wrote: > this will simplify libvpxenc/dec.c a

Re: [FFmpeg-devel] [PATCH 2/4] libvpx: remove pre-1.4.0 checks

2017-11-20 Thread James Zern
On Fri, Nov 17, 2017 at 5:50 PM, James Zern wrote: > Signed-off-by: James Zern > --- > libavcodec/libvpx.c | 12 +--- > 1 file changed, 1 insertion(+), 11 deletions(-) > applied. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffm

Re: [FFmpeg-devel] [PATCH 4/4] libvpxenc: remove pre-1.4.0 checks

2017-11-20 Thread James Zern
On Fri, Nov 17, 2017 at 5:50 PM, James Zern wrote: > Signed-off-by: James Zern > --- > libavcodec/libvpxenc.c | 25 +++-- > 1 file changed, 3 insertions(+), 22 deletions(-) > applied. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmp

Re: [FFmpeg-devel] [PATCH 3/4] libvpxdec: remove pre-1.4.0 checks

2017-11-20 Thread James Zern
On Fri, Nov 17, 2017 at 5:50 PM, James Zern wrote: > Signed-off-by: James Zern > --- > libavcodec/libvpxdec.c | 25 - > 1 file changed, 25 deletions(-) > applied. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffm

Re: [FFmpeg-devel] [PATCH 1/2] hwcontext_vaapi: add support when driver return unimplemented.

2017-11-20 Thread Jun Zhao
On 2017/11/20 19:37, Mark Thompson wrote: > On 20/11/17 00:36, Jun Zhao wrote: >> From 5cbcd032de46e6a3f9563d1781776ea26728079d Mon Sep 17 00:00:00 2001 >> From: Jun Zhao >> Date: Sat, 18 Nov 2017 10:44:44 +0800 >> Subject: [PATCH 1/2] hwcontext_vaapi: add support when driver return >> unimplem

[FFmpeg-devel] [PATCH] libvpxenc, vp9: add corpus-complexity option

2017-11-20 Thread James Zern
Corpus VBR mode is a variant of standard VBR where the complexity distribution midpoint is passed in rather than calculated for a specific clip or chunk. The valid range is [0, 1]. 0 (default) uses standard VBR. Signed-off-by: James Zern --- doc/encoders.texi | 5 + libavcodec/lib

Re: [FFmpeg-devel] [avformat] Prevent undefined shift with wrap_bits > 63.

2017-11-20 Thread Dale Curtis
On Mon, Nov 20, 2017 at 2:24 PM, Michael Niedermayer wrote: > > I think that could end with the correct result > > Thanks for the review. Done. - dale From fc7fb3511aa40810e64d9dacbd33d1e9336d0c52 Mon Sep 17 00:00:00 2001 From: Dale Curtis Date: Fri, 17 Nov 2017 13:35:56 -0800 Subject: [PATCH]

Re: [FFmpeg-devel] [PATCH] ffmpeg: add return value check to suppress the build warning.

2017-11-20 Thread Michael Niedermayer
On Mon, Nov 20, 2017 at 05:07:04PM +0800, 刘歧 wrote: > > > 在 2017年11月20日,08:40,Jun Zhao 写道: > > > > > > <0001-ffmpeg-add-return-value-check-to-supress-the-build-w.patch>___ > > ffmpeg-devel mailing list > > ffmpeg-devel@ffmpeg.org > > http://ffmpeg.org/ma

Re: [FFmpeg-devel] [PATCH] avformat/mov: Propagate errors in mov_switch_root.

2017-11-20 Thread Michael Niedermayer
On Mon, Nov 20, 2017 at 12:05:02PM -0800, Jacob Trimble wrote: > Signed-off-by: Jacob Trimble > --- > libavformat/mov.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB No human bein

Re: [FFmpeg-devel] [ogg] Close ogg stream upon error when using AV_EF_EXPLODE.

2017-11-20 Thread Michael Niedermayer
On Mon, Nov 20, 2017 at 12:14:32PM -0800, Dale Curtis wrote: > Without this there can be multiple memory leaks with unknown ogg streams. > > - dale > oggdec.c |4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > 1c3989df5e9a5ac43fb48f6cacaa20a6e25d87df fix_ogg_close_v1.patch > From 4

Re: [FFmpeg-devel] [mpeg4video] Fix undefined shift on assumed 8-bit input.

2017-11-20 Thread Michael Niedermayer
On Mon, Nov 20, 2017 at 01:31:06PM -0800, Dale Curtis wrote: > On Mon, Nov 20, 2017 at 12:34 PM, Michael Niedermayer < > mich...@niedermayer.cc> wrote: > > > On Mon, Nov 20, 2017 at 12:01:11PM -0800, Dale Curtis wrote: > > > Derp, that's the wrong comment for this; I meant that for another thread.

Re: [FFmpeg-devel] [PATCH 1/3] lavu/qsv: remove unused variable

2017-11-20 Thread Li, Zhong
> On 20/11/17 09:14, Zhong Li wrote: > > suppres build warning of "variable 's' is declared but not used" > > > > Signed-off-by: Zhong Li > > --- > > libavutil/hwcontext_qsv.c | 1 - > > 1 file changed, 1 deletion(-) > > > > diff --git a/libavutil/hwcontext_qsv.c b/libavutil/hwcontext_qsv.c > > i

Re: [FFmpeg-devel] [PATCH 03/13] lavc: Use hardware config information in ff_get_format()

2017-11-20 Thread Philip Langdale
On Sat, 18 Nov 2017 19:15:32 + Mark Thompson wrote: > On 18/11/17 18:47, Mark Thompson wrote: > > This removes the dependency that hardware pixel formats previously > > had on AVHWAccel instances, meaning only those which actually do > > something need exist after this patch. > > > > Also up

Re: [FFmpeg-devel] [PATCH 05/13] lavc: Remove register mechanism for hwaccels

2017-11-20 Thread Philip Langdale
On Sat, 18 Nov 2017 18:47:05 + Mark Thompson wrote: > There is no longer any need for a list of them at runtime, because > decoders now carry the pointers to their associated hwaccels > internally. The file containing external declarations is now used to > make the list of hwaccels for config

Re: [FFmpeg-devel] [PATCH 04/13] lavc: Deprecate av_hwaccel_next() and av_register_hwaccel()

2017-11-20 Thread Philip Langdale
On Sat, 18 Nov 2017 18:47:04 + Mark Thompson wrote: > --- > doc/APIchanges | 4 > libavcodec/avcodec.h | 13 + > libavcodec/utils.c | 16 +--- > libavcodec/version.h | 3 +++ > 4 files changed, 25 insertions(+), 11 deletions(-) > > diff --git a/doc/API

Re: [FFmpeg-devel] [PATCH 06/13] lavc: Delete all fake hwaccels

2017-11-20 Thread Philip Langdale
On Sat, 18 Nov 2017 19:05:49 + Mark Thompson wrote: > On 18/11/17 18:47, Mark Thompson wrote: > > They are now unused. > > --- > > configure | 32 > > + libavcodec/mediacodec.c | > > 2 +- libavcodec/mediacodecdec_common.c | 42 > >

Re: [FFmpeg-devel] [PATCH 07/13] lavc: Mark all AVHWAccel structures as const

2017-11-20 Thread Philip Langdale
On Sat, 18 Nov 2017 18:47:07 + Mark Thompson wrote: > --- > libavcodec/avcodec.h | 2 +- > libavcodec/decode.c | 2 +- > libavcodec/dxva2_h264.c | 6 +-- > libavcodec/dxva2_hevc.c | 6 +-- > libavcodec/dxva2_mpeg2.c | 6 +-- > libavcodec/dxva2_vc1.c| 12 +++--- > lib

Re: [FFmpeg-devel] [PATCH 3/3] avcodec: Implement mpeg4 nvdec hwaccel

2017-11-20 Thread Philip Langdale
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 20 Nov 2017 22:53:00 +0100 Michael Niedermayer wrote: > On Sun, Nov 19, 2017 at 11:52:28AM -0800, Philip Langdale wrote: > > This was predictably nightmarish, given how ridiculous mpeg4 is. > > I had to stare at the cuvid parser output for a

Re: [FFmpeg-devel] [PATCH] lavf/mov.c: Guess video codec delay based on PTS while parsing MOV header.

2017-11-20 Thread Sasi Inguva
Ok. Just restricting this to H264 . On Tue, Nov 21, 2017 at 3:56 AM, Hendrik Leppkes wrote: > On Mon, Nov 20, 2017 at 11:06 PM, Michael Niedermayer > wrote: > > On Mon, Nov 20, 2017 at 09:58:05PM +0530, Sasi Inguva wrote: > >> On Sun, Nov 19, 2017 at 1:17 AM, Michael Niedermayer > >> > wrote:

Re: [FFmpeg-devel] [PATCH] lavf/mov.c: Guess video codec delay based on PTS while parsing MOV header.

2017-11-20 Thread Sasi Inguva
Reattaching Fate sample. On Tue, Nov 21, 2017 at 9:57 AM, Sasi Inguva wrote: > Signed-off-by: Sasi Inguva > --- > libavformat/mov.c| 50 ++ > ++ > tests/fate/mov.mak | 7 ++ > tests/ref/fate/mov-guess-delay-1 | 3 +++ > t

[FFmpeg-devel] [PATCH] lavf/mov.c: Guess video codec delay based on PTS while parsing MOV header.

2017-11-20 Thread Sasi Inguva
Signed-off-by: Sasi Inguva --- libavformat/mov.c| 50 tests/fate/mov.mak | 7 ++ tests/ref/fate/mov-guess-delay-1 | 3 +++ tests/ref/fate/mov-guess-delay-2 | 3 +++ tests/ref/fate/mov-guess-delay-3 | 3 +++ 5 files cha

[FFmpeg-devel] [PATCH v2 1/3] libavformat/avio: Utility function to return URLContext

2017-11-20 Thread Karthick J
--- libavformat/avio_internal.h | 8 libavformat/aviobuf.c | 13 + 2 files changed, 21 insertions(+) diff --git a/libavformat/avio_internal.h b/libavformat/avio_internal.h index c01835d..04c1ad5 100644 --- a/libavformat/avio_internal.h +++ b/libavformat/avio_internal.h

[FFmpeg-devel] [PATCH v2 2/3] libavformat/http: Handled multiple_requests option during write

2017-11-20 Thread Karthick J
--- libavformat/http.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavformat/http.c b/libavformat/http.c index 056d5f6..45c0e72 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -171,6 +171,7 @@ static int http_connect(URLContext *h, const char *path, const char *local_pa

[FFmpeg-devel] [PATCH v2 3/3] libavformat/hlsenc: Persistent HTTP connections supported as an option

2017-11-20 Thread Karthick J
--- doc/muxers.texi | 3 +++ libavformat/hlsenc.c | 48 +--- 2 files changed, 44 insertions(+), 7 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index 0bb8ad2..c1d753b 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -850,6 +850,

Re: [FFmpeg-devel] [PATCH 1/3] libavformat/avio: Utility function to return URLContext

2017-11-20 Thread Jeyapal, Karthick
>On 11/17/17, 4:31 PM, "Nicolas George" wrote: > >Le sextidi 26 brumaire, an CCXXVI, Jeyapal, Karthick a écrit : >> I have done the change as suggested. Please find the new patch attached. > >Sorry, but I still have doubts about it. > >To begin with, -1 is not an acceptable error code. > >But wha

Re: [FFmpeg-devel] [PATCH v2 2/3] libavformat/http: Handled multiple_requests option during write

2017-11-20 Thread Jeyapal, Karthick
Please ignore the below patch, and use the updated patch attached. Forgot to reset the end_chunked_post variable in the below patch. Sorry for the inconvenience caused. Regards, Karthick On 11/21/17, 10:24 AM, "Karthick J" wrote: --- libavformat/http.c | 5 + 1 file changed, 5 insertions(

Re: [FFmpeg-devel] [PATCH] Add android_capture indev

2017-11-20 Thread Felix Matouschek
No more interest? Am 02.11.2017 13:42, schrieb Felix Matouschek: Hello, I've written an indev for Android devices to allow capturing their builtin cameras. What needs to be done to merge this? Greetings, Felix ___ ffmpeg-devel mailing list ffmpeg-dev

Re: [FFmpeg-devel] libavcodec/utvideodsp : add avx2 version

2017-11-20 Thread Martin Vignali
Hello, > > If noone reviews, and you tested&reviewed it then it should be ok to > apply Ok will apply AVX2 for utvideodsp, huffyuv(enc)dsp and hapqa decoding (and fate) > especially considering you waited a month (which is longer than > needed generally) > > > > What is the recommanded time, t

<    1   2