Re: [FFmpeg-devel] [PATCH V2 2/4] lavc/vaapi_encode: Add max slices number query.

2017-08-09 Thread Jun Zhao
On 2017/8/10 5:29, Mark Thompson wrote: > On 02/08/17 06:55, Jun Zhao wrote: >> From 2a0bd4795fcf7d889c3c93b03e8698015a519260 Mon Sep 17 00:00:00 2001 >> From: Jun Zhao >> Date: Tue, 1 Aug 2017 04:16:30 -0400 >> Subject: [PATCH V2 2/4] lavc/vaapi_encode: Add max slices

[FFmpeg-devel] [PATCH] ffmpeg: fix setting field_order during muxing

2017-08-09 Thread James Almer
AVFrame.top_field_first doxy states "If the content is interlaced, is top field displayed first." And AVFieldOrder doxy defines: AV_FIELD_TB, //< Top coded first, bottom displayed first AV_FIELD_BT, //< Bottom coded first, top displayed first Fixes ticket #6577

Re: [FFmpeg-devel] [PATCH V2 1/4] lavc/vaapi_encode: Change the slice/parameter buffers to dynamic alloc.

2017-08-09 Thread Jun Zhao
On 2017/8/10 5:11, Mark Thompson wrote: > On 02/08/17 06:53, Jun Zhao wrote: >> V2: Change the slice/parameter buffers to dynamic alloc and split >> the mutil-slice support for AVC/HEVC. >> >> From 39fd7852df0c96217310c525107da06a7ec0a062 Mon Sep 17 00:00:00 2001 >> From: Jun Zhao

Re: [FFmpeg-devel] [PATCH] avcodec/mjpegenc: disable unused code with AMV

2017-08-09 Thread Davinder Singh
On Thu, Aug 10, 2017 at 6:59 AM Michael Niedermayer wrote: > On Wed, Aug 09, 2017 at 07:46:30AM +, Davinder Singh wrote: > > hi, > > > > this disables unused function amv_encode_picture() when AMV encoder is > > disabled (and mjpeg enabled). > > silences this warning:

Re: [FFmpeg-devel] [PATCH] avcodec/mjpegenc: disable unused code with AMV

2017-08-09 Thread Michael Niedermayer
On Wed, Aug 09, 2017 at 07:46:30AM +, Davinder Singh wrote: > hi, > > this disables unused function amv_encode_picture() when AMV encoder is > disabled (and mjpeg enabled). > silences this warning: > CC libavcodec/mjpegenc.o > libavcodec/mjpegenc.c:351:12: warning: unused function

Re: [FFmpeg-devel] [PATCH] lavf/movenc.c: Set sgpd and sbgp atoms to represent decoder delay for AAC.

2017-08-09 Thread Michael Niedermayer
On Wed, Aug 09, 2017 at 10:41:27PM +0100, Derek Buitenhuis wrote: > On 8/9/2017 1:00 AM, Sasi Inguva wrote: > > According to > > https://developer.apple.com/library/content/documentation/QuickTime/QTFF/QTFFAppenG/QTFFAppenG.html > > and ISO-IEC-14496-12 Section 10.1.1.1 and 10.1.1.3 > > > >

Re: [FFmpeg-devel] [PATCH 11/14] lavfi/vf_paletteuse: convert to framesync2.

2017-08-09 Thread Clément Bœsch
On Mon, Jul 31, 2017 at 02:02:24PM +0200, Nicolas George wrote: [...] > @@ -1052,13 +1070,10 @@ static const AVFilterPad paletteuse_inputs[] = { > { > .name = "default", > .type = AVMEDIA_TYPE_VIDEO, > -.filter_frame = filter_frame, > -

Re: [FFmpeg-devel] lavc/vaapi_encode_h265: respect "slices" option in h265 vaapi encoder

2017-08-09 Thread Mark Thompson
On 02/08/17 06:57, Jun Zhao wrote: > From 82eb7d1c3120081a7073cfb379802a28c769ae18 Mon Sep 17 00:00:00 2001 > From: Jun Zhao > Date: Tue, 1 Aug 2017 23:07:34 -0400 > Subject: [PATCH V2 4/4] lavc/vaapi_encode_h265: respect "slices" option in > h265 vaapi encoder > > Enable

Re: [FFmpeg-devel] lavc/vaapi_encode_h264: respect "slices" option in h264 vaapi encoder

2017-08-09 Thread Mark Thompson
On 02/08/17 06:56, Jun Zhao wrote: > From f9b42385faedd64dacf613785c393c7b025237c9 Mon Sep 17 00:00:00 2001 > From: Jun Zhao > Date: Tue, 1 Aug 2017 23:05:44 -0400 > Subject: [PATCH V2 3/4] lavc/vaapi_encode_h264: respect "slices" option in > h264 vaapi encoder > > Enable

Re: [FFmpeg-devel] [PATCH] lavf/movenc.c: Set sgpd and sbgp atoms to represent decoder delay for AAC.

2017-08-09 Thread Derek Buitenhuis
On 8/9/2017 1:00 AM, Sasi Inguva wrote: > According to > https://developer.apple.com/library/content/documentation/QuickTime/QTFF/QTFFAppenG/QTFFAppenG.html > and ISO-IEC-14496-12 Section 10.1.1.1 and 10.1.1.3 > > Signed-off-by: Sasi Inguva > --- > libavformat/movenc.c

Re: [FFmpeg-devel] [PATCH V2 2/4] lavc/vaapi_encode: Add max slices number query.

2017-08-09 Thread Mark Thompson
On 02/08/17 06:55, Jun Zhao wrote: > From 2a0bd4795fcf7d889c3c93b03e8698015a519260 Mon Sep 17 00:00:00 2001 > From: Jun Zhao > Date: Tue, 1 Aug 2017 04:16:30 -0400 > Subject: [PATCH V2 2/4] lavc/vaapi_encode: Add max slices number query. > > Add max slices number query. > >

Re: [FFmpeg-devel] [PATCH] build: Allow libffmpeg to be built for Chromium-based browsers

2017-08-09 Thread James Le Cuirot
On Sat, 29 Jul 2017 11:40:30 +0200 Nicolas George wrote: > Le decadi 10 thermidor, an CCXXV, James Le Cuirot a écrit : > > This Makefile snippet allows libffmpeg to be created without the help > > of Chromium's build system. It uses the CONFIG_SHARED variable to > > decide

Re: [FFmpeg-devel] [PATCH V2 1/4] lavc/vaapi_encode: Change the slice/parameter buffers to dynamic alloc.

2017-08-09 Thread Mark Thompson
On 02/08/17 06:53, Jun Zhao wrote: > V2: Change the slice/parameter buffers to dynamic alloc and split > the mutil-slice support for AVC/HEVC. > > From 39fd7852df0c96217310c525107da06a7ec0a062 Mon Sep 17 00:00:00 2001 > From: Jun Zhao > Date: Mon, 31 Jul 2017 22:46:23

Re: [FFmpeg-devel] [PATCH] avcodec/aacdec: Fix PCE channel_layout verification

2017-08-09 Thread Michael Niedermayer
On Wed, Jul 26, 2017 at 03:29:02PM -0300, nsug...@3way.com.ar wrote: > From: Nicolas Sugino > > --- > libavcodec/aacdec_template.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) applied thanks [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [WIP] libcodec2 wrapper + de/muxer in FFmpeg

2017-08-09 Thread Michael Niedermayer
On Tue, Aug 08, 2017 at 11:49:45PM +0200, Tomas Härdin wrote: [...] > ffmpeg.c |3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > 5bd20883fdc12aefa609fc803fe5709069b3e9a0 > 0003-Don-t-complain-about-codec2-s-700-bit-s-modes-in-ffm.patch > From

Re: [FFmpeg-devel] [PATCH] build: Allow libffmpeg to be built for Chromium-based browsers

2017-08-09 Thread James Le Cuirot
On Sat Jul 29 12:20:05 EEST 2017 Reimar Döffinger wrote: > On 28.07.2017, at 12:07, James Le Cuirot wrote: > > diff --git a/ffbuild/libffmpeg.mak b/ffbuild/libffmpeg.mak > > new file mode 100644 > > index 000..992cf3c > > --- /dev/null > > +++ b/ffbuild/libffmpeg.mak > > @@ -0,0 +1,21 @@ >

[FFmpeg-devel] Mov/mp4 demuxer failing on mp4 file (Sample size is too large)

2017-08-09 Thread Robert Krüger
Hi, can someone tell me what this hints at? Is this more likely a broken file or a missing feature of the demuxer? Unfortunately I cannot make the file available due to legal issues but if I know where to look, I could try to find a sample with similar characteristics. [mov,mp4,m4a,3gp,3g2,mj2 @

Re: [FFmpeg-devel] [PATCH] JPEG2000: SSE optimisation of DWT decoding

2017-08-09 Thread Michael Bradshaw
On Tue, Aug 8, 2017 at 2:09 AM, maxime taisant wrote: > > [...] > +void (*dwt_decode)(DWTContext *s, void *t); Why the global variable? It seems unnecessary, and as Clément pointed out, is unsafe and should not be used in the FFmpeg code base (at least not without a

[FFmpeg-devel] [PATCHv5 3/4] libavcodec: v4l2: add codec formats

2017-08-09 Thread Jorge Ramirez-Ortiz
In addition, enable the multi planar raw formats. Reviewed-by: Jorge Ramirez Tested-by: Jorge Ramirez --- libavcodec/v4l2_fmt.c | 38 +- 1 file changed, 37 insertions(+), 1 deletion(-) diff

[FFmpeg-devel] [PATCHv5 4/4] libavcodec: v4l2: add support for v4l2 mem2mem codecs

2017-08-09 Thread Jorge Ramirez-Ortiz
This patchset enhances Alexis Ballier's original patch and validates it using Qualcomm's Venus hardware (driver recently landed upstream [1]). This has been tested on Qualcomm's DragonBoard 410c and 820c Configure/make scripts have been validated on Ubuntu 10.04 and 16.04.

[FFmpeg-devel] [PATCHv5 1/4] Move lavd/v4l2-common.* to lavc

2017-08-09 Thread Jorge Ramirez-Ortiz
From: Alexis Ballier In preparation to support the integation of the V4L2 API for encoding and decoding, move v4l2 related files to libavcodec. v4l2-common was renamed to v4l2_fmt for clarity (v4l2-common.h belongs to the V4L2 API) Signed-off-by: Alexis Ballier

[FFmpeg-devel] [PATCHv5 2/4] libavcodec: v4l2: add pack_flags to the conversion tables

2017-08-09 Thread Jorge Ramirez-Ortiz
From: Alexis Ballier Extend the mapping function to use the v4l2 conversion tables. Reviewed-by: Jorge Ramirez Tested-by: Jorge Ramirez --- libavcodec/v4l2_fmt.c | 63

[FFmpeg-devel] V4L2 M2M version 5

2017-08-09 Thread Jorge Ramirez-Ortiz
This commit fixes the broken build on platforms not support v4l2_m2m but supporting v4l - this has been tested on ubuntu 10.04, 2.6.xx kernel. It also fixes a regression introduced in libavcodec/Makefile with v4. Fate suite and encoders/decoders tested as per the comments in the main functional

Re: [FFmpeg-devel] [PATCHv4 3/4] libavcodec: v4l2: add codec formats

2017-08-09 Thread Jorge Ramirez
On 08/09/2017 09:39 AM, Jorge Ramirez wrote: The previous version was missing the last field which would have left it un-initialized (so just added a null flag since I assume this was simply an error case that would not be processed?) I will fix it in v5 and enable the two flags for clarity

Re: [FFmpeg-devel] [PATCH] dynaudnorm: Increment input outside of the FFMIN macro so it doesn't get double incremented.

2017-08-09 Thread Paul B Mahol
On 8/9/17, andyndeanna wrote: > Greetings, > > Please find attached a patch for the dynaudnorm filter. Under certain > conditions, the output to the filter will clip at the beginning. This can > be demonstrated with the following: > > ffmpeg -filter_complex

[FFmpeg-devel] [PATCH] avcodec/mjpegenc: disable unused code with AMV

2017-08-09 Thread Davinder Singh
hi, this disables unused function amv_encode_picture() when AMV encoder is disabled (and mjpeg enabled). silences this warning: CC libavcodec/mjpegenc.o libavcodec/mjpegenc.c:351:12: warning: unused function 'amv_encode_picture' [-Wunused-function] static int amv_encode_picture(AVCodecContext

Re: [FFmpeg-devel] [PATCHv4 3/4] libavcodec: v4l2: add codec formats

2017-08-09 Thread Jorge Ramirez
On 08/09/2017 07:51 AM, Jorge Ramirez wrote: On 08/09/2017 03:37 AM, Michael Niedermayer wrote: On Tue, Aug 08, 2017 at 06:07:07PM +0200, Jorge Ramirez-Ortiz wrote: In addition, enable the multi planar raw formats. Reviewed-by: Jorge Ramirez Tested-by: Jorge