Re: [FFmpeg-devel] [PATCH 1/9] configure: [loongson] revert no-expensive-optimizations

2018-08-27 Thread Shiyou Yin
>-Original Message- >From: ffmpeg-devel-boun...@ffmpeg.org [mailto:ffmpeg-devel-boun...@ffmpeg.org] >On Behalf Of >Shiyou Yin >Sent: Saturday, August 25, 2018 11:04 AM >To: 'FFmpeg development discussions and patches' >Subject: Re: [FFmpeg-devel] [PATCH 1/9] configure: [loongson] revert

Re: [FFmpeg-devel] [PATCH V2] examples/vaapi_dec_scaling: add a vaapi decoding/scaling sample

2018-08-27 Thread Mark Thompson
On 23/08/18 14:08, Jun Zhao wrote: > add a vaapi decoding/scaling sample. > > Signed-off-by: Jun Zhao > --- > configure|2 + > doc/examples/Makefile|1 + > doc/examples/vaapi_dec_scaling.c | 377 > ++ > 3 files

Re: [FFmpeg-devel] [PATCH 1/2] avcodec: add MatchWare Screen Capture Codec

2018-08-27 Thread Rostislav Pehlivanov
On Sat, 25 Aug 2018 at 21:04, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > configure | 1 + > libavcodec/Makefile | 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/avcodec.h| 1 + > libavcodec/codec_desc.c | 7 ++ > libavcodec/mwsc.c | 192

Re: [FFmpeg-devel] [PATCH 2/2] avcodec: add WinCAM Motion Video decoder

2018-08-27 Thread Rostislav Pehlivanov
On Sat, 25 Aug 2018 at 21:12, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > configure | 1 + > libavcodec/Makefile | 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/avcodec.h| 1 + > libavcodec/codec_desc.c | 7 ++ > libavcodec/wcmv.c | 247

Re: [FFmpeg-devel] [PATCH 3/4] lavf/movenc: Fail when codec tag is invalid for format

2018-08-27 Thread James Almer
On 8/27/2018 4:57 PM, John Stebbins wrote: > Fixes ticket #6897 > --- > libavformat/movenc.c | 40 +--- > 1 file changed, 29 insertions(+), 11 deletions(-) > > diff --git a/libavformat/movenc.c b/libavformat/movenc.c > index 8a3b651514..dd6281d210 100644 > ---

Re: [FFmpeg-devel] [PATCH 3/4] lavf/movenc: Fail when codec tag is invalid for format

2018-08-27 Thread James Almer
On 8/27/2018 5:48 PM, John Stebbins wrote: > On 08/27/2018 01:29 PM, James Almer wrote: >> On 8/27/2018 4:57 PM, John Stebbins wrote: >>> Fixes ticket #6897 >>> --- >>> libavformat/movenc.c | 40 +--- >>> 1 file changed, 29 insertions(+), 11 deletions(-) >>>

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/mscc: fix several bugs

2018-08-27 Thread Carl Eugen Hoyos
2018-08-26 18:05 GMT+02:00, Paul B Mahol : > switch (avctx->bits_per_coded_sample) { > -case 8: avctx->pix_fmt = AV_PIX_FMT_GRAY8; break; > +case 8: avctx->pix_fmt = AV_PIX_FMT_PAL8; break; Do you have a sample that looks correct with this particular change? Can you share it?

Re: [FFmpeg-devel] [PATCH 3/4] lavf/movenc: Fail when codec tag is invalid for format

2018-08-27 Thread John Stebbins
On 08/27/2018 02:03 PM, James Almer wrote: > On 8/27/2018 5:48 PM, John Stebbins wrote: >> On 08/27/2018 01:29 PM, James Almer wrote: >>> On 8/27/2018 4:57 PM, John Stebbins wrote: Fixes ticket #6897 --- libavformat/movenc.c | 40 +--- 1

Re: [FFmpeg-devel] [PATCH 3/4] lavf/movenc: Fail when codec tag is invalid for format

2018-08-27 Thread John Stebbins
On 08/27/2018 01:29 PM, James Almer wrote: > On 8/27/2018 4:57 PM, John Stebbins wrote: >> Fixes ticket #6897 >> --- >> libavformat/movenc.c | 40 +--- >> 1 file changed, 29 insertions(+), 11 deletions(-) >> >> diff --git a/libavformat/movenc.c

[FFmpeg-devel] [PATCH 3/3] lavf/movenc: Fail when codec tag is invalid for format

2018-08-27 Thread John Stebbins
Fixes ticket #6897 --- libavformat/movenc.c | 46 +--- 1 file changed, 30 insertions(+), 16 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 8a3b651514..bce7ad0939 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@

[FFmpeg-devel] [PATCH 3/3] lavf/movenc: Fail when codec tag is invalid for format

2018-08-27 Thread John Stebbins
Fixes ticket #6897 --- libavformat/movenc.c | 46 +--- 1 file changed, 30 insertions(+), 16 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 8a3b651514..3ebc7abd8b 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@

Re: [FFmpeg-devel] [PATCH 1/9] configure: [loongson] revert no-expensive-optimizations

2018-08-27 Thread Michael Niedermayer
On Mon, Aug 27, 2018 at 04:10:01PM +0800, Shiyou Yin wrote: > > > >-Original Message- > >From: ffmpeg-devel-boun...@ffmpeg.org > >[mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > >Shiyou Yin > >Sent: Saturday, August 25, 2018 11:04 AM > >To: 'FFmpeg development discussions and

[FFmpeg-devel] [PATCH] lavc/qsvenc: dump BufferSizeInKB message

2018-08-27 Thread Zhong Li
Signed-off-by: Zhong Li --- libavcodec/qsvenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index c2c2911..611449c 100644 --- a/libavcodec/qsvenc.c +++ b/libavcodec/qsvenc.c @@ -160,8 +160,8 @@ static void

Re: [FFmpeg-devel] [PATCH] avfilter/vf_interlace: fix numerical options

2018-08-27 Thread Thomas Mundt
Am Fr., 24. Aug. 2018 um 15:05 Uhr schrieb Paul B Mahol : > On 8/23/18, Thomas Mundt wrote: > > Currently numerical option values are misinterpreted in vf_interlace > > filter. > > Patch attached. > > > > Regards, > > Thomas > > > > ok > Thanks. Can you please push it?

Re: [FFmpeg-devel] [PATCH v3 00/41] VAAPI encode and related stuff

2018-08-27 Thread Mark Thompson
On 23/08/18 00:44, Mark Thompson wrote: > I think patches 1-8 are uncontentious, I'll push them in a few days if there > are no objections. Applied these. Thanks, - Mark ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

[FFmpeg-devel] [PATCH 3/4] lavf/movenc: Fail when codec tag is invalid for format

2018-08-27 Thread John Stebbins
Fixes ticket #6897 --- libavformat/movenc.c | 40 +--- 1 file changed, 29 insertions(+), 11 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 8a3b651514..dd6281d210 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@

Re: [FFmpeg-devel] [PATCH] ffmpeg: correct units for raw pts in -progress report

2018-08-27 Thread Michael Niedermayer
On Sun, Aug 26, 2018 at 11:53:16AM +0530, Gyan Doshi wrote: > On 09-08-2018 10:09 AM, Gyan Doshi wrote: > > > > > >On 08-08-2018 12:47 AM, Nicolas George wrote: > >>Gyan Doshi (2018-08-08): > >>>That will just defer the breaking change. > >> > >>That will leave people time to notice the change and

[FFmpeg-devel] [PATCH] lavf/mov: Fix PCM audio w/ bit depth > 16

2018-08-27 Thread John Stebbins
This type of audio is defined by the QT spec, but can be found in non-QT branded files in the wild. Fixes ticket #7376 --- libavformat/mov.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/libavformat/mov.c b/libavformat/mov.c index 8915e3b9e0..3d4f6bcb21 100644 ---

Re: [FFmpeg-devel] [PATCH] avfilter/vf_interlace: fix numerical options

2018-08-27 Thread Paul B Mahol
On 8/27/18, Thomas Mundt wrote: > Am Fr., 24. Aug. 2018 um 15:05 Uhr schrieb Paul B Mahol : > >> On 8/23/18, Thomas Mundt wrote: >> > Currently numerical option values are misinterpreted in vf_interlace >> > filter. >> > Patch attached. >> > >> > Regards, >> > Thomas >> > >> >> ok >> > > Thanks.

Re: [FFmpeg-devel] [PATCH] lavf/movenc: Fail when codec tag is invalid for format

2018-08-27 Thread Michael Niedermayer
On Sat, Aug 25, 2018 at 09:04:44AM -0700, John Stebbins wrote: > Fixes ticket #6897 > --- > libavformat/movenc.c | 40 +--- > 1 file changed, 29 insertions(+), 11 deletions(-) breaks make -j12 fate-mov-gpmf-remux [mp4 @ 0x26a5b40] Could not find tag for codec

Re: [FFmpeg-devel] [PATCH 1/2] avcodec: add MatchWare Screen Capture Codec

2018-08-27 Thread Rostislav Pehlivanov
On Mon, 27 Aug 2018 at 19:20, Rostislav Pehlivanov wrote: > > > On Sat, 25 Aug 2018 at 21:04, Paul B Mahol wrote: > >> Signed-off-by: Paul B Mahol >> --- >> configure | 1 + >> libavcodec/Makefile | 1 + >> libavcodec/allcodecs.c | 1 + >> libavcodec/avcodec.h|

Re: [FFmpeg-devel] [PATCH 3/3] configure: speedup x2-x8

2018-08-27 Thread Michael Niedermayer
On Mon, Aug 27, 2018 at 11:41:26AM -0300, James Almer wrote: > On 8/25/2018 6:15 PM, Michael Niedermayer wrote: > > On Sat, Aug 25, 2018 at 06:11:10PM +, avih wrote: > >> For overview see: > >> http://ffmpeg.org/pipermail/ffmpeg-devel/2018-August/233665.html > >> > >> Attached is patch 3/3

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

2018-08-27 Thread Mark Thompson
On 21/08/18 01:51, myp...@gmail.com wrote: > On Tue, Aug 21, 2018 at 8:05 AM Mark Thompson wrote: >> >> On 30/07/18 12:42, Jun Zhao wrote: >>> Enable multi-slice support in AVC/H.264 vaapi encoder. >>> >>> Signed-off-by: Wang, Yi A >>> Signed-off-by: Jun Zhao >>> --- >>>

Re: [FFmpeg-devel] [PATCH] ffmpeg: correct units for raw pts in -progress report

2018-08-27 Thread Gyan Doshi
On 26-08-2018 11:53 AM, Gyan Doshi wrote: On 09-08-2018 10:09 AM, Gyan Doshi wrote: On 08-08-2018 12:47 AM, Nicolas George wrote: Gyan Doshi (2018-08-08): That will just defer the breaking change. That will leave people time to notice the change and allow old and new scripts to work

Re: [FFmpeg-devel] [PATCH] lavf/movenc: Fail when codec tag is invalid for format

2018-08-27 Thread John Stebbins
On 08/27/2018 10:59 AM, Michael Niedermayer wrote: > On Sat, Aug 25, 2018 at 09:04:44AM -0700, John Stebbins wrote: >> Fixes ticket #6897 >> --- >> libavformat/movenc.c | 40 +--- >> 1 file changed, 29 insertions(+), 11 deletions(-) > breaks make -j12

Re: [FFmpeg-devel] [PATCH] avfilter/vf_interlace: fix numerical options

2018-08-27 Thread Thomas Mundt
Am Mo., 27. Aug. 2018 um 19:40 Uhr schrieb Paul B Mahol : > On 8/27/18, Thomas Mundt wrote: > > Am Fr., 24. Aug. 2018 um 15:05 Uhr schrieb Paul B Mahol < > one...@gmail.com>: > > > >> On 8/23/18, Thomas Mundt wrote: > >> > Currently numerical option values are misinterpreted in vf_interlace >

[FFmpeg-devel] [PATCH 2/4] lavf/movenc: Add GoPro metadata to permitted mp4 "codecs"

2018-08-27 Thread John Stebbins
--- libavformat/movenc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 72a6e12d52..8a3b651514 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -6778,6 +6778,7 @@ const AVCodecTag codec_mp4_tags[] = { { AV_CODEC_ID_EVRC

[FFmpeg-devel] [PATCH 1/4] lavf/mov: add AVCodecTag entry for GoPro metadata

2018-08-27 Thread John Stebbins
This allows for validation of the track type --- libavformat/isom.c | 5 + libavformat/isom.h | 1 + libavformat/mov.c | 3 +++ 3 files changed, 9 insertions(+) diff --git a/libavformat/isom.c b/libavformat/isom.c index ce66d1bcd4..ca9d22e4f7 100644 --- a/libavformat/isom.c +++

Re: [FFmpeg-devel] [PATCH 2/2] avcodec: add WinCAM Motion Video decoder

2018-08-27 Thread Michael Niedermayer
Hi On Mon, Aug 27, 2018 at 07:31:21PM +0100, Rostislav Pehlivanov wrote: > On Sat, 25 Aug 2018 at 21:12, Paul B Mahol wrote: [...] > > + > > +blocks = bytestream2_get_le16(); > > +if (blocks > 5) { > > +GetByteContext bgb; > > +int x = 0, size; > > + > > +if

[FFmpeg-devel] [PATCH] avformat/vpcc: fix values in VP9 level detection heuristics

2018-08-27 Thread James Almer
The levels are stored as decimal values, not hexadecimal. Signed-off-by: James Almer --- libavformat/vpcc.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/libavformat/vpcc.c b/libavformat/vpcc.c index 79514483af..e0b7f288a6 100644 ---

[FFmpeg-devel] [PATCH] ffmpeg: block output == input for files

2018-08-27 Thread Gyan Doshi
With some regularity, we have users trying to update input files using ffmpeg, usually for the purposes of tagging, but occasionally for changing the encoding or something else. Other apps like mp4box or taggers edit the files in-place i.e. destination file is same as the source. FFmpeg

Re: [FFmpeg-devel] [PATCH] ffmpeg: correct units for raw pts in -progress report

2018-08-27 Thread Gyan Doshi
On 28-08-2018 01:29 AM, Michael Niedermayer wrote: LGTM thanks PS: these fields seem not documented anywhere, neither the new nor the old or iam looking at the wrong places Will add documentation. This patch pushed as 26dc76324564fc572689509c2efb7f1cb8f41a45 Thanks, Gyan

Re: [FFmpeg-devel] [PATCH V2] examples/vaapi_dec_scaling: add a vaapi decoding/scaling sample

2018-08-27 Thread myp...@gmail.com
On Tue, Aug 28, 2018 at 2:14 AM Mark Thompson wrote: > > On 23/08/18 14:08, Jun Zhao wrote: > > add a vaapi decoding/scaling sample. > > > > Signed-off-by: Jun Zhao > > --- > > configure|2 + > > doc/examples/Makefile|1 + > >

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

2018-08-27 Thread myp...@gmail.com
On Tue, Aug 28, 2018 at 2:07 AM Mark Thompson wrote: > > On 21/08/18 01:51, myp...@gmail.com wrote: > > On Tue, Aug 21, 2018 at 8:05 AM Mark Thompson wrote: > >> > >> On 30/07/18 12:42, Jun Zhao wrote: > >>> Enable multi-slice support in AVC/H.264 vaapi encoder. > >>> > >>> Signed-off-by: Wang,

Re: [FFmpeg-devel] [PATCH 3/3] configure: speedup x2-x8

2018-08-27 Thread James Almer
On 8/25/2018 6:15 PM, Michael Niedermayer wrote: > On Sat, Aug 25, 2018 at 06:11:10PM +, avih wrote: >> For overview see: >> http://ffmpeg.org/pipermail/ffmpeg-devel/2018-August/233665.html >> >> Attached is patch 3/3 which was at "main.patch" of that message. >> >> After the previous

Re: [FFmpeg-devel] [PATCH 3/3] configure: speedup x2-x8

2018-08-27 Thread avih
Thanks. I was similarly frustrated with the long runtime of configure, hence I decided to try and do something about it. Luckily, it it was only about 50 LOC which were responsible for it. It could have been much more daunting if the slowness was all over the place. Finding those 50 lines was

Re: [FFmpeg-devel] [PATCH 2/2] decklink: Add support for output of Active Format Description (AFD)

2018-08-27 Thread Vittorio Giovara
On Wed, Aug 22, 2018 at 9:53 PM, Devin Heitmueller < dheitmuel...@ltnglobal.com> wrote: > Implement support for including AFD in decklink output. This > includes making sure the AFD data is preserved when going from > an AVFrame to a V210 packet (needed for 10-bit support). > > Updated to

Re: [FFmpeg-devel] [PATCH 2/2] decklink: Add support for output of Active Format Description (AFD)

2018-08-27 Thread Devin Heitmueller
Hello Vittorio, Thanks for the feedback. > > I think you should add an entry in ff_decode_frame_props() so that pkt side > data can propagate to frame side data > -- > Vittorio I’ve got a whole patch series related to capture of AFD from decklink and getting it through the pipeline (to be

Re: [FFmpeg-devel] [PATCH 2/2] decklink: Add support for output of Active Format Description (AFD)

2018-08-27 Thread Devin Heitmueller
> On Aug 26, 2018, at 11:34 AM, Marton Balint wrote: > > Hello Marton, Ok, I’ll take another pass and send an updated patch. Devin --- Devin Heitmueller - LTN Global Communications dheitmuel...@ltnglobal.com ___ ffmpeg-devel mailing list