[FFmpeg-devel] [PATCH] avfilter/vf_libvmaf: fix pre convert to framesync2 bugs

2017-08-02 Thread Ashish Pratap Singh
From: Ashish Singh Hi, it fixes the errors while converting to framesync2. libvmaf was changed recently, double *score variable is removed in the new version since it's not used anywhere. This patch fixes all the warnings and segmentation faults. Signed-off-by: Ashish Singh

Re: [FFmpeg-devel] [PATCH] Implement NewTek NDI support

2017-08-02 Thread Maksym Veremeyenko
On 30.07.2017 17:19, Marton Balint wrote: [...] Subject: [PATCH] lavd: implement NewTek NDI muxer/demuxer support lavd: implement NewTek NDI input/output device support fixed [...] - Dolby E decoder and SMPTE 337M demuxer +- NewTek NDI muxer/demuxer NewTek NDI input/output device

Re: [FFmpeg-devel] [PATCH] swscale/utils.c: Fix incorrect error when calling sws_setColorspaceDetails

2017-08-02 Thread Michael Niedermayer
On Thu, Aug 03, 2017 at 12:18:01AM +0100, Mark Boorer wrote: > Fixes: When converting yuv -> yuv and changing any of srcRange, > dstRange, brightness, contrast, or saturation the context would not be > re-initialized as required. > --- > libswscale/utils.c | 3 +++ > 1 file changed, 3

[FFmpeg-devel] [PATCH v2] avfilter/vf_ssim: fix temp size calculation

2017-08-02 Thread Muhammad Faiz
Also use av_mallocz_array. Fix Ticket6519. Signed-off-by: Muhammad Faiz --- libavfilter/vf_ssim.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_ssim.c b/libavfilter/vf_ssim.c index c3c204268f..d8c049177c 100644 ---

Re: [FFmpeg-devel] [PATCH v4 1/3] speedhq: fix behavior of single-field decoding

2017-08-02 Thread Michael Niedermayer
On Wed, Aug 02, 2017 at 06:08:28PM +0200, Steinar H. Gunderson wrote: > The height convention for decoding frames with only a single field made sense > for compatibility with legacy decoders, but doesn't really match the > convention > used by NDI, which is the primary (only?) user. Thus, change

Re: [FFmpeg-devel] [PATCH] avfilter/vf_ssim: align temp size

2017-08-02 Thread Muhammad Faiz
On Wed, Aug 2, 2017 at 8:57 PM, Ronald S. Bultje wrote: > Hi, > > On Wed, Aug 2, 2017 at 8:45 AM, Tobias Rapp wrote: > >> On 02.08.2017 14:04, Ronald S. Bultje wrote: >> >>> On Wed, Aug 2, 2017 at 3:10 AM, Tobias Rapp >>>

Re: [FFmpeg-devel] [PATCH] avfilter/vf_ssim: align temp size

2017-08-02 Thread Muhammad Faiz
On Wed, Aug 2, 2017 at 6:48 PM, Tobias Rapp wrote: > On 02.08.2017 12:31, Muhammad Faiz wrote: >> >> On Wed, Aug 2, 2017 at 2:10 PM, Tobias Rapp >> wrote: >>> >>> On 01.08.2017 17:01, Muhammad Faiz wrote: Fix Ticket6519.

Re: [FFmpeg-devel] [PATCH v4 2/3] speedhq: add FATE tests

2017-08-02 Thread Michael Niedermayer
On Wed, Aug 02, 2017 at 06:08:46PM +0200, Steinar H. Gunderson wrote: > Also add simple FATE tests, based on output produced by the NDI SDK. > --- > tests/Makefile | 1 + > tests/fate/speedhq.mak | 7 +++ > tests/ref/fate/speedhq-422 | 6

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

2017-08-02 Thread Mark Thompson
On 02/08/17 08:32, Jorge Ramirez-Ortiz wrote: > ... > diff --git a/compat/v4l2/v4l2-common.h b/compat/v4l2/v4l2-common.h > diff --git a/compat/v4l2/videodev2.h b/compat/v4l2/videodev2.h These are discussed in other threads. I don't really have any comment either way. > diff --git a/configure

[FFmpeg-devel] [PATCH] swscale/utils.c: Fix incorrect error when calling sws_setColorspaceDetails

2017-08-02 Thread Mark Boorer
Fixes: When converting yuv -> yuv and changing any of srcRange, dstRange, brightness, contrast, or saturation the context would not be re-initialized as required. --- libswscale/utils.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libswscale/utils.c b/libswscale/utils.c index

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

2017-08-02 Thread Carl Eugen Hoyos
2017-08-03 0:40 GMT+02:00 Tomas Härdin : > Decoding a .c2 file is straightforward however, thanks to the header: > > ffmpeg -i report2074.c2 out.wav The probe score is too high. I suspect you should also check for the major version, the score should be MAX/2 if the first

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

2017-08-02 Thread Tomas Härdin
Hi Posting this to both [ffmpeg-devel] and [Freetel-codec2] in hopes of maximum feedback. I've been spending the last few days getting codec2 (http://freedv.org/ ) hooked up in libavcodec, and a set of muxers and demuxers for both raw codec2 streams and the recently created .c2 format. codec2 is

Re: [FFmpeg-devel] [PATCH] swscale: fix gbrap16 alpha channel issues

2017-08-02 Thread Michael Niedermayer
On Wed, Aug 02, 2017 at 03:32:04PM +0100, James Cowgill wrote: > Hi, > > On 02/08/17 14:18, Michael Niedermayer wrote: > > On Tue, Aug 01, 2017 at 02:46:22PM +0100, James Cowgill wrote: > >> Fixes filter-pixfmts-scale test failing on big-endian systems due to > >> alpSrc not being cast to (const

Re: [FFmpeg-devel] [RFC]libswscale: Sanitize isRGBinInt() and isBGRinInt()

2017-08-02 Thread Carl Eugen Hoyos
2017-07-25 21:27 GMT+02:00 Michael Niedermayer : > On Mon, Jul 24, 2017 at 08:00:51PM +0200, Carl Eugen Hoyos wrote: >> Attached is a PoC for a code simplification that imo makes a logic in >> libswscale easier to read and also fixes the Big Endian fate failure. >> If this

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

2017-08-02 Thread Jorge Ramirez
On 08/02/2017 10:51 PM, Reimar Döffinger wrote: On 02.08.2017, at 19:53, Jorge Ramirez wrote: On 08/02/2017 07:40 PM, Hendrik Leppkes wrote: On Wed, Aug 2, 2017 at 7:14 PM, Jorge Ramirez wrote: I just think is wrong and I am a

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

2017-08-02 Thread Reimar Döffinger
On 02.08.2017, at 19:53, Jorge Ramirez wrote: > On 08/02/2017 07:40 PM, Hendrik Leppkes wrote: >> On Wed, Aug 2, 2017 at 7:14 PM, Jorge Ramirez >> wrote: >>> I just think is wrong and I am a bit surprised we could have no real >>>

Re: [FFmpeg-devel] [mov] Bail when invalid sample data is present.

2017-08-02 Thread Carl Eugen Hoyos
2017-07-31 23:40 GMT+02:00 Dale Curtis : > [mov] Bail when invalid sample data is present. Could you provide such a sample? Could the patch stop demuxing samples that are supported so far? Carl Eugen ___ ffmpeg-devel mailing

Re: [FFmpeg-devel] Testing JPEG 2000 over MPEG TS

2017-08-02 Thread Aaron Boxer
Sorry, it looks like this is a packet capture of mpeg ts. On Wed, Aug 2, 2017 at 1:26 PM, Aaron Boxer wrote: > > > On Wed, Aug 2, 2017 at 12:02 PM, Carl Eugen Hoyos > wrote: > >> 2017-08-02 14:07 GMT+02:00 Aaron Boxer : >> > On Sun, Jul

Re: [FFmpeg-devel] Testing JPEG 2000 over MPEG TS

2017-08-02 Thread Aaron Boxer
On Wed, Aug 2, 2017 at 12:02 PM, Carl Eugen Hoyos wrote: > 2017-08-02 14:07 GMT+02:00 Aaron Boxer : > > On Sun, Jul 23, 2017 at 6:16 PM, Carl Eugen Hoyos wrote: > > > >> 2017-07-22 15:39 GMT+02:00 Aaron Boxer : > >> > >> > GStreamer

Re: [FFmpeg-devel] Testing JPEG 2000 over MPEG TS

2017-08-02 Thread Carl Eugen Hoyos
2017-08-02 14:07 GMT+02:00 Aaron Boxer : > On Sun, Jul 23, 2017 at 6:16 PM, Carl Eugen Hoyos wrote: > >> 2017-07-22 15:39 GMT+02:00 Aaron Boxer : >> >> > GStreamer project now has a working muxer/demuxer for >> > J2K over MPEG TS. >> >> Did you test it? > > I

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

2017-08-02 Thread Jorge Ramirez
On 08/02/2017 07:40 PM, Hendrik Leppkes wrote: On Wed, Aug 2, 2017 at 7:14 PM, Jorge Ramirez wrote: I just think is wrong and I am a bit surprised we could have no real argument on the matter. I've asked for your arguments on why v4l2 is so special that it

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

2017-08-02 Thread Hendrik Leppkes
On Wed, Aug 2, 2017 at 7:14 PM, Jorge Ramirez wrote: > > I just think is wrong and I am a bit surprised we could have no real > argument on the matter. > I've asked for your arguments on why v4l2 is so special that it warrants special treatment above any other

Re: [FFmpeg-devel] [PATCH] doc/examples/encode_video: add qsv encoder support

2017-08-02 Thread Mark Thompson
On 02/08/17 07:28, Nicolas George wrote: > L'octidi 8 thermidor, an CCXXV, Li, Zhong a écrit : >> It is similar to hw_device_match_type_in_name() in ffmpeg_hw.c: >> if (strstr(codec_name, type_name)) >>return type; > > I must say, I really do not like the idea of having an API

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

2017-08-02 Thread Jorge Ramirez
I am probably not the best person to discuss why other libraries/codecs are managed the way they are(I lack the background and I would probably be spawning discussions that have been already had); We could ask it the other way around: do you propose that every single application that wants to

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

2017-08-02 Thread Nicolas George
Le quintidi 15 thermidor, an CCXXV, Jorge Ramirez a écrit : Could at least one of you trim their mail once in a while please? > I am probably not the best person to discuss why other libraries/codecs are > managed the way they are(I lack the background and I would probably be > spawning

[FFmpeg-devel] [PATCH v4 1/3] speedhq: fix behavior of single-field decoding

2017-08-02 Thread Steinar H. Gunderson
The height convention for decoding frames with only a single field made sense for compatibility with legacy decoders, but doesn't really match the convention used by NDI, which is the primary (only?) user. Thus, change it to simply assuming that if the two fields overlap, the frame is meant to be

[FFmpeg-devel] [PATCH v4 3/3] Add myself as speedhq maintainer, per request.

2017-08-02 Thread Steinar H. Gunderson
--- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ae0e08d121..ce5e1dae08 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -233,6 +233,7 @@ Codecs: smvjpegdec.c Ash Hughes snow* Michael

[FFmpeg-devel] [PATCH v4 2/3] speedhq: add FATE tests

2017-08-02 Thread Steinar H. Gunderson
Also add simple FATE tests, based on output produced by the NDI SDK. --- tests/Makefile | 1 + tests/fate/speedhq.mak | 7 +++ tests/ref/fate/speedhq-422 | 6 ++ tests/ref/fate/speedhq-422-singlefield | 6 ++ 4 files changed, 20

Re: [FFmpeg-devel] [PATCH]v6 Opus Pyramid Vector Quantization Search in x86 SIMD asm

2017-08-02 Thread Henrik Gramner
On Tue, Aug 1, 2017 at 11:46 PM, Ivan Kalvachev wrote: > On 7/31/17, Henrik Gramner wrote: >> Use rN instead of rNq for numbered registers (q suffix is used for >> named args only due to preprocessor limitations). > > Is this documented? Not sure, but

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

2017-08-02 Thread Jorge Ramirez
On 08/02/2017 04:34 PM, Hendrik Leppkes wrote: On Wed, Aug 2, 2017 at 3:30 PM, Jorge Ramirez wrote: On 08/02/2017 02:43 PM, Hendrik Leppkes wrote: On Wed, Aug 2, 2017 at 11:39 AM, Jorge Ramirez wrote: On 08/02/2017 09:33 AM,

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

2017-08-02 Thread Ashish Pratap Singh
Hi, On Aug 2, 2017 19:18, "Nicolas George" wrote: Le quintidi 15 thermidor, an CCXXV, Ashish Pratap Singh a écrit : > +FFDualInputContext dinput; dualinput is about to be removed, please see the patch series two days ago. Regards, -- Ok Nicolas George

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

2017-08-02 Thread Hendrik Leppkes
On Wed, Aug 2, 2017 at 3:30 PM, Jorge Ramirez wrote: > On 08/02/2017 02:43 PM, Hendrik Leppkes wrote: >> >> On Wed, Aug 2, 2017 at 11:39 AM, Jorge Ramirez >> wrote: >>> >>> On 08/02/2017 09:33 AM, Hendrik Leppkes wrote: On

Re: [FFmpeg-devel] [PATCH] swscale: fix gbrap16 alpha channel issues

2017-08-02 Thread James Cowgill
Hi, On 02/08/17 14:18, Michael Niedermayer wrote: > On Tue, Aug 01, 2017 at 02:46:22PM +0100, James Cowgill wrote: >> Fixes filter-pixfmts-scale test failing on big-endian systems due to >> alpSrc not being cast to (const int32_t**). >> >> Also fixes distortions in the output alpha channel values

Re: [FFmpeg-devel] [PATCH 5/7] lavf/flacenc: support writing attached pictures

2017-08-02 Thread James Almer
On 8/2/2017 3:30 AM, Rodger Combs wrote: > --- > libavformat/flacenc.c | 285 > +++--- > 1 file changed, 250 insertions(+), 35 deletions(-) > > diff --git a/libavformat/flacenc.c b/libavformat/flacenc.c > index b894f9e..9768b6a 100644 [...] > @@

Re: [FFmpeg-devel] [PATCH v3 2/3] speedhq: add FATE tests

2017-08-02 Thread James Almer
On 8/2/2017 4:39 AM, Steinar H. Gunderson wrote: > Also add simple FATE tests, based on output produced by the NDI SDK. > --- > tests/Makefile | 1 + > tests/fate/vcodec.mak | 2 ++ > tests/ref/fate/speedhq-422 | 6 ++ >

Re: [FFmpeg-devel] [PATCH] avfilter/vf_ssim: align temp size

2017-08-02 Thread Ronald S. Bultje
Hi, On Wed, Aug 2, 2017 at 8:45 AM, Tobias Rapp wrote: > On 02.08.2017 14:04, Ronald S. Bultje wrote: > >> On Wed, Aug 2, 2017 at 3:10 AM, Tobias Rapp >> wrote: >> >>> On 01.08.2017 17:01, Muhammad Faiz wrote: >>> Fix Ticket6519.

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

2017-08-02 Thread Nicolas George
Le quintidi 15 thermidor, an CCXXV, Ashish Pratap Singh a écrit : > +FFDualInputContext dinput; dualinput is about to be removed, please see the patch series two days ago. Regards, -- Nicolas George ___ ffmpeg-devel mailing list

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

2017-08-02 Thread Hendrik Leppkes
On Wed, Aug 2, 2017 at 11:39 AM, Jorge Ramirez wrote: > On 08/02/2017 09:33 AM, Hendrik Leppkes wrote: >> >> On Tue, Aug 1, 2017 at 2:54 PM, Jorge Ramirez-Ortiz >> wrote: >>> >>> From: Alexis Ballier >>> >>>

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

2017-08-02 Thread Jorge Ramirez
On 08/02/2017 02:43 PM, Hendrik Leppkes wrote: On Wed, Aug 2, 2017 at 11:39 AM, Jorge Ramirez wrote: On 08/02/2017 09:33 AM, Hendrik Leppkes wrote: On Tue, Aug 1, 2017 at 2:54 PM, Jorge Ramirez-Ortiz wrote: From: Alexis Ballier

Re: [FFmpeg-devel] [PATCH] avformat/riff.h : remove unused function parameter "const AVCodecTag *tags" of "void ff_put_bmp_header()"

2017-08-02 Thread Michael Niedermayer
On Tue, Aug 01, 2017 at 02:55:31PM +0300, Александр Слободенюк wrote: > This patch was reviewed by Derek Buitenhuis last month and later ignored, no > idea > why. > > (archive: >

Re: [FFmpeg-devel] [PATCH] avformat/riff: remove useless tag correlation 'mpg2'->MPEG1VIDEO.

2017-08-02 Thread Michael Niedermayer
On Tue, Aug 01, 2017 at 02:50:27PM +0300, Александр Слободенюк wrote: > This is actually a bug, that just doesn't affect anything. > First of all, the logic of functions that work with ff_codec_bmp_tags > is "One tag -- one codec id", or "one codec id for one tag". > > Also if you write

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

2017-08-02 Thread Michael Niedermayer
On Wed, Aug 02, 2017 at 09:32:51AM +0200, Jorge Ramirez-Ortiz wrote: > From: Alexis Ballier > > In addition, enable the multi planar raw formats. > > Reviewed-by: Jorge Ramirez > Tested-by: Jorge Ramirez >

Re: [FFmpeg-devel] [PATCH 6/7] lavf/flacenc: avoid buffer overread with unexpected extradata sizes

2017-08-02 Thread Michael Niedermayer
On Wed, Aug 02, 2017 at 01:30:44AM -0500, Rodger Combs wrote: > --- > libavformat/flacenc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/flacenc.c b/libavformat/flacenc.c > index 9768b6a..1906aee 100644 > --- a/libavformat/flacenc.c > +++

[FFmpeg-devel] [PATCH] avfilter: add vmafmotion filter

2017-08-02 Thread Ashish Pratap Singh
From: Ashish Singh Signed-off-by: Ashish Singh --- doc/filters.texi| 19 +++ libavfilter/Makefile| 1 + libavfilter/allfilters.c| 1 + libavfilter/vf_vmafmotion.c | 404

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

2017-08-02 Thread Jorge Ramirez
On 08/02/2017 12:16 PM, Mark Thompson wrote: On 02/08/17 08:32, Jorge Ramirez-Ortiz wrote: From: Alexis Ballier This patchset enhances Alexis Ballier's original patch and validates it using Qualcomm's Venus hardware (driver recently landed upstream [1]). This has been

Re: [FFmpeg-devel] [PATCH] avfilter/vf_ssim: align temp size

2017-08-02 Thread Tobias Rapp
On 02.08.2017 14:04, Ronald S. Bultje wrote: Hi, On Wed, Aug 2, 2017 at 3:10 AM, Tobias Rapp wrote: On 01.08.2017 17:01, Muhammad Faiz wrote: Fix Ticket6519. Signed-off-by: Muhammad Faiz --- libavfilter/vf_ssim.c | 2 +- 1 file changed, 1

Re: [FFmpeg-devel] Testing JPEG 2000 over MPEG TS

2017-08-02 Thread Aaron Boxer
On Sun, Jul 23, 2017 at 6:16 PM, Carl Eugen Hoyos wrote: > 2017-07-22 15:39 GMT+02:00 Aaron Boxer : > > > GStreamer project now has a working muxer/demuxer for J2K over MPEG TS. > > Did you test it? > I have acquired a test capture of VSF TR1 video from a

Re: [FFmpeg-devel] [PATCH] avfilter/vf_ssim: align temp size

2017-08-02 Thread Ronald S. Bultje
Hi, On Wed, Aug 2, 2017 at 3:10 AM, Tobias Rapp wrote: > On 01.08.2017 17:01, Muhammad Faiz wrote: > >> Fix Ticket6519. >> >> Signed-off-by: Muhammad Faiz >> --- >> libavfilter/vf_ssim.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >>

Re: [FFmpeg-devel] [PATCH] avfilter/vf_ssim: align temp size

2017-08-02 Thread Tobias Rapp
On 02.08.2017 12:31, Muhammad Faiz wrote: On Wed, Aug 2, 2017 at 2:10 PM, Tobias Rapp wrote: On 01.08.2017 17:01, Muhammad Faiz wrote: Fix Ticket6519. Signed-off-by: Muhammad Faiz --- libavfilter/vf_ssim.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [FFmpeg-devel] [PATCH] avfilter/vf_ssim: align temp size

2017-08-02 Thread Muhammad Faiz
On Wed, Aug 2, 2017 at 2:10 PM, Tobias Rapp wrote: > On 01.08.2017 17:01, Muhammad Faiz wrote: >> >> Fix Ticket6519. >> >> Signed-off-by: Muhammad Faiz >> --- >> libavfilter/vf_ssim.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff

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

2017-08-02 Thread Mark Thompson
On 02/08/17 08:32, Jorge Ramirez-Ortiz wrote: > From: Alexis Ballier > > 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

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

2017-08-02 Thread Jorge Ramirez
On 08/02/2017 09:33 AM, Hendrik Leppkes wrote: On Tue, Aug 1, 2017 at 2:54 PM, Jorge Ramirez-Ortiz wrote: From: Alexis Ballier This patchset enhances Alexis Ballier's original patch and validates it using Qualcomm's Venus hardware (driver

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

2017-08-02 Thread Jorge Ramirez
On 08/02/2017 10:29 AM, Nicolas George wrote: Le quintidi 15 thermidor, an CCXXV, Jorge Ramirez-Ortiz a écrit : From: Alexis Ballier In preparation to support the integation of the V4L2 API for encoding and decoding, move v4l2 related files to libavcodec. Signed-off-by:

[FFmpeg-devel] [PATCH] mpegtsenc add synchronous metadata - retry

2017-08-02 Thread Mark Timmerman
Add synchronous metadata to mpegtsenc * Added AV_CODEC_ID_SYNCHRONOUS_METADATA * PMT will have metadata_descriptor and metadata_std_descriptor in accordance with MISB ST 1402.2 * stream_type will be 0x15 metadata carried in PES packets * stream_id will be 0xfc metadata stream Users must supply

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

2017-08-02 Thread Nicolas George
Le quintidi 15 thermidor, an CCXXV, Jorge Ramirez-Ortiz a écrit : > From: Alexis Ballier > > In preparation to support the integation of the V4L2 API for encoding > and decoding, move v4l2 related files to libavcodec. > > Signed-off-by: Alexis Ballier

[FFmpeg-devel] [PATCH v3 3/3] Add myself as speedhq maintainer, per request.

2017-08-02 Thread Steinar H. Gunderson
--- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ae0e08d121..ce5e1dae08 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -233,6 +233,7 @@ Codecs: smvjpegdec.c Ash Hughes snow* Michael

[FFmpeg-devel] [PATCH v3 2/3] speedhq: add FATE tests

2017-08-02 Thread Steinar H. Gunderson
Also add simple FATE tests, based on output produced by the NDI SDK. --- tests/Makefile | 1 + tests/fate/vcodec.mak | 2 ++ tests/ref/fate/speedhq-422 | 6 ++ tests/ref/fate/speedhq-422-singlefield | 6 ++ 4 files changed, 15

[FFmpeg-devel] [PATCH v3 1/3] speedhq: fix behavior of single-field decoding

2017-08-02 Thread Steinar H. Gunderson
The height convention for decoding frames with only a single field made sense for compatibility with legacy decoders, but doesn't really match the convention used by NDI, which is the primary (only?) user. Thus, change it to simply assuming that if the two fields overlap, the frame is meant to be

Re: [FFmpeg-devel] [PATCH] speedhq: fix behavior of single-field decoding

2017-08-02 Thread Steinar H. Gunderson
On Wed, Aug 02, 2017 at 03:18:49AM +0200, Michael Niedermayer wrote: > This seems to break a full "make fate" OK, removing the offending line and resending. /* Steinar */ -- Homepage: https://www.sesse.net/ ___ ffmpeg-devel mailing list

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

2017-08-02 Thread Tobias Rapp
On 01.08.2017 17:33, Paul B Mahol wrote: On 8/1/17, Tobias Rapp wrote: On 01.08.2017 15:31, Paul B Mahol wrote: On 8/1/17, Tobias Rapp wrote: On 01.08.2017 13:03, Paul B Mahol wrote: Signed-off-by: Paul B Mahol ---

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

2017-08-02 Thread Hendrik Leppkes
On Tue, Aug 1, 2017 at 2:54 PM, Jorge Ramirez-Ortiz wrote: > From: Alexis Ballier > > This patchset enhances Alexis Ballier's original patch and validates > it using Qualcomm's Venus hardware (driver recently landed upstream > [1]). > > This

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

2017-08-02 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-common.c | 63

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

2017-08-02 Thread Jorge Ramirez-Ortiz
From: Alexis Ballier In addition, enable the multi planar raw formats. Reviewed-by: Jorge Ramirez Tested-by: Jorge Ramirez --- libavcodec/v4l2-common.c | 30 ++ 1 file changed, 30

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

2017-08-02 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. Signed-off-by: Alexis Ballier Reviewed-by: Jorge Ramirez-Ortiz ---

[FFmpeg-devel] version 3: V4L2 M2M codecs

2017-08-02 Thread Jorge Ramirez-Ortiz
The following patchset adds support for V4L2 mem2mem codecs. This feature gives ffmpeg access to any hardware codec implementing the V4L2 API. Since the number of hardware codecs implementing this API is expected to increase, we believe it will be benefitial to all users to integrate its support

[FFmpeg-devel] [PATCH 7/7] lavf/flacenc: generate timestamps internally

2017-08-02 Thread Rodger Combs
--- libavformat/flacenc.c| 87 ++-- tests/ref/acodec/flac| 4 +- tests/ref/acodec/flac-exact-rice | 4 +- tests/ref/seek/acodec-flac | 36 - 4 files changed, 106 insertions(+), 25 deletions(-) diff --git

[FFmpeg-devel] [PATCH 5/7] lavf/flacenc: support writing attached pictures

2017-08-02 Thread Rodger Combs
--- libavformat/flacenc.c | 285 +++--- 1 file changed, 250 insertions(+), 35 deletions(-) diff --git a/libavformat/flacenc.c b/libavformat/flacenc.c index b894f9e..9768b6a 100644 --- a/libavformat/flacenc.c +++ b/libavformat/flacenc.c @@ -21,10 +21,13

[FFmpeg-devel] [PATCH 6/7] lavf/flacenc: avoid buffer overread with unexpected extradata sizes

2017-08-02 Thread Rodger Combs
--- libavformat/flacenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/flacenc.c b/libavformat/flacenc.c index 9768b6a..1906aee 100644 --- a/libavformat/flacenc.c +++ b/libavformat/flacenc.c @@ -322,7 +322,7 @@ static int flac_write_trailer(struct

[FFmpeg-devel] [PATCH 3/7] lavf/segment: copy stream dispositions in output

2017-08-02 Thread Rodger Combs
--- libavformat/segment.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/segment.c b/libavformat/segment.c index 590f62b..ef0a915 100644 --- a/libavformat/segment.c +++ b/libavformat/segment.c @@ -182,6 +182,7 @@ static int segment_mux_init(AVFormatContext *s) }

[FFmpeg-devel] [PATCH 4/7] lavf/segment: write attached pictures to all segments by default

2017-08-02 Thread Rodger Combs
--- doc/muxers.texi | 4 libavformat/segment.c | 40 +--- 2 files changed, 33 insertions(+), 11 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index 23ef2e7..93147e1 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -1576,6

[FFmpeg-devel] [PATCH 1/7] lavf: add cue sheet demuxer

2017-08-02 Thread Rodger Combs
--- Changelog| 2 + doc/demuxers.texi| 17 libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/cuedec.c | 246 +++ libavformat/version.h| 2 +- 6 files changed, 268 insertions(+), 1

Re: [FFmpeg-devel] [PATCH] doc/examples/encode_video: add qsv encoder support

2017-08-02 Thread Nicolas George
L'octidi 8 thermidor, an CCXXV, Li, Zhong a écrit : > It is similar to hw_device_match_type_in_name() in ffmpeg_hw.c: > if (strstr(codec_name, type_name)) >return type; I must say, I really do not like the idea of having an API example making that terrible construct official. If

Re: [FFmpeg-devel] [PATCH 1/7] lavf: add cue sheet demuxer

2017-08-02 Thread Rodger Combs
> On Aug 1, 2017, at 02:58, Nicolas George wrote: > > Le quartidi 14 thermidor, an CCXXV, Rodger Combs a écrit : >> --- >> Changelog| 2 + >> doc/demuxers.texi| 8 ++ >> libavformat/Makefile | 1 + >> libavformat/allformats.c | 1 + >>

Re: [FFmpeg-devel] [PATCH 07/14] lavfi/vf_overlay: use framesync2 options.

2017-08-02 Thread Nicolas George
Le quintidi 15 thermidor, an CCXXV, Michael Niedermayer a écrit : > removing these elements causes command lines using them to fail > for example: > > ./ffmpeg -i matrixbench_mpeg2.mpg -i lena.pnm -filter_complex > 'overlay=10:main_h-overlay_h-10:pass' -qscale 2 -t 1 file.avi Oh, the shorthand

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

2017-08-02 Thread Jun Zhao
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. Signed-off-by: Jun Zhao ---

Re: [FFmpeg-devel] [PATCH V2] doc/examples: Add a qsv encoder example

2017-08-02 Thread Steven Liu
2017-08-03 1:27 GMT+08:00 Zhong Li : > It is an evolution from the exmaple "encode_video.c" to support qsv encoder. > > V1->V2: Split to a separated qsv encoding example, instead of a patch > based on encode_video.c > > Signed-off-by: Zhong Li > --- >