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

2017-08-01 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 tes

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

2017-08-01 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 + >> libavformat/cuedec.c | 2

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

2017-08-01 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 n

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

2017-08-01 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 --- libavcodec/vaapi_encode.c | 4 libavc

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

2017-08-01 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 > --- > configure | 2 + > doc/Makefile

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

2017-08-01 Thread Jun Zhao
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 multi-slice support in AVC/H.265 vaapi encoder. Signed-off-by: Wang, Yi

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

2017-08-01 Thread Jun Zhao
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 multi-slice support in AVC/H.264 vaapi encoder. Signed-off-by: Wang, Yi

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

2017-08-01 Thread Jun Zhao
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 -0400 Subject: [PATCH V2 1/4] lavc/vaapi_encode: Change the slice/parame

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

2017-08-01 Thread 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 --- configure | 2 + doc/Makefile | 1 + doc/examples/qsvenc.c | 211 ++

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

2017-08-01 Thread Li, Zhong
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Steven Liu > Sent: Friday, July 21, 2017 3:18 PM > To: FFmpeg development discussions and patches > > Subject: Re: [FFmpeg-devel] [PATCH] doc/examples/encode_video: add qsv > encoder support >

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

2017-08-01 Thread James Almer
On 8/1/2017 7:48 PM, 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 it to simply > assumin

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

2017-08-01 Thread Michael Niedermayer
On Mon, Jul 31, 2017 at 02:02:20PM +0200, Nicolas George wrote: > Signed-off-by: Nicolas George > --- > libavfilter/vf_overlay.c | 45 - > 1 file changed, 4 insertions(+), 41 deletions(-) > > diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overl

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

2017-08-01 Thread Michael Niedermayer
On Wed, Aug 02, 2017 at 12:51:17AM +0200, Steinar H. Gunderson wrote: > On Wed, Aug 02, 2017 at 12:48:38AM +0200, Steinar H. Gunderson wrote: > > Also add simple FATE tests, based on output produced by the NDI SDK. > > Here are the required samples. I couldn't find much documentation on how to > a

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

2017-08-01 Thread Michael Niedermayer
On Wed, Aug 02, 2017 at 12:48:38AM +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 i

Re: [FFmpeg-devel] [PATCH] mpegtsenc add synchronous metadata

2017-08-01 Thread Michael Niedermayer
On Tue, Aug 01, 2017 at 02:25:26PM +0200, Mark Timmerman wrote: > 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

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

2017-08-01 Thread Rodger Combs
> On Aug 1, 2017, at 18:25, James Almer wrote: > > On 8/1/2017 3:33 AM, 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/libavfor

[FFmpeg-devel] [PATCH 2/2] avcodec/hevc_cabac: Check for ff_init_cabac_decoder() failure in cabac_reinit()

2017-08-01 Thread Michael Niedermayer
Fixes: runtime error: left shift of negative value -967831544 Fixes: 2815/clusterfuzz-testcase-minimized-6062914471460864 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/hevc_cabac.c | 22 +

[FFmpeg-devel] [PATCH 1/2] avcodec/h264idct_template: Fix integer overflow in ff_h264_idct_add()

2017-08-01 Thread Michael Niedermayer
Fixes: runtime error: signed integer overflow: 26215360 + 2121330944 cannot be represented in type 'int' Fixes: 2809/clusterfuzz-testcase-minimized-4785181833560064 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg --- libavcodec/h264idct_templa

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

2017-08-01 Thread James Almer
On 8/1/2017 3:33 AM, 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 > +++ b/libavformat/flacenc.c > @@ -322,7 +32

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

2017-08-01 Thread Steinar H. Gunderson
On Wed, Aug 02, 2017 at 12:48:38AM +0200, Steinar H. Gunderson wrote: > Also add simple FATE tests, based on output produced by the NDI SDK. Here are the required samples. I couldn't find much documentation on how to add tests to FATE, so everything has been done by cargo culting. /* Steinar */ -

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

2017-08-01 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 a

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

2017-08-01 Thread Jorge Ramirez
On 08/01/2017 02:54 PM, Jorge Ramirez-Ortiz wrote: diff --git a/libavcodec/Makefile b/libavcodec/Makefile index f55bd90..0fbd10a 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -6,6 +6,7 @@ HEADERS = avcodec.h \ avfft.

Re: [FFmpeg-devel] [DISCUSSION] Motion Estimation API/Library

2017-08-01 Thread Ivan Kalvachev
On 8/1/17, Clément Bœsch wrote: > On Tue, Aug 01, 2017 at 09:18:33AM +, Davinder Singh wrote: > [...] >> > In particular, the main policy of FFmpeg is to not depend on external >> > libraries for core features. Therefore, if your project is a separate >> > >> >> Just to be clear, it won't be "

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

2017-08-01 Thread Ivan Kalvachev
On 7/31/17, Henrik Gramner wrote: > On Wed, Jul 26, 2017 at 4:56 PM, Ivan Kalvachev > wrote: >> +++ b/libavcodec/x86/opus_pvq_search.asm > > Generic minor stuff: > > Use rN instead of rNq for numbered registers (q suffix is used for > named args only due to preprocessor limitations). Done. Is t

Re: [FFmpeg-devel] [PATCH] Add new MPEG bitstream filter

2017-08-01 Thread David Griffiths
Hi, that certainly does sound as though it does the same as my patch plus more. I will download libav and have a play. Cheers, David On Tue, 1 Aug 2017 at 20:59, Mark Thompson wrote: > On 01/08/17 19:05, Jan Ekstrom wrote: > > Hi, > > > > On Tue, Aug 1, 2017 at 3:22 PM, David Griffiths > > wr

Re: [FFmpeg-devel] [PATCH] Add new MPEG bitstream filter

2017-08-01 Thread Mark Thompson
On 01/08/17 19:05, Jan Ekstrom wrote: > Hi, > > On Tue, Aug 1, 2017 at 3:22 PM, David Griffiths > wrote: >> Given an MPEG1/2 stream, this bitstream filter can be used to modify >> the sequence headers. The most common use would be to change the >> aspect ration without the need for re-encoding. S

Re: [FFmpeg-devel] [PATCH] Add new MPEG bitstream filter

2017-08-01 Thread David Griffiths
Hi, I was not aware of that. I'm not that familiar with the differences between ffmpeg and libav. Do you know if the libav "coded bitstream editing" framework you mention is documented anywhere? Cheers, David On 1 August 2017 at 19:05, Jan Ekstrom wrote: > Hi, > > On Tue, Aug 1, 2017 at 3:22 PM

Re: [FFmpeg-devel] [PATCH] Add new MPEG bitstream filter

2017-08-01 Thread Jan Ekstrom
Hi, On Tue, Aug 1, 2017 at 3:22 PM, David Griffiths wrote: > Given an MPEG1/2 stream, this bitstream filter can be used to modify > the sequence headers. The most common use would be to change the > aspect ration without the need for re-encoding. Some MOD files have > the aspect ratio incorrectly

[FFmpeg-devel] [PATCH v2] avformat/hlsenc: support fmp4 single file mode

2017-08-01 Thread Steven Liu
add byterange mode of the hls fmp4 Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 83 +--- 1 file changed, 53 insertions(+), 30 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index f98f04100c..9f8472bb87 100644 --- a/l

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

2017-08-01 Thread Paul B Mahol
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 --- doc/filters.texi | 13 ++ libavfilter/Makefile | 1 + libavfilte

[FFmpeg-devel] [PATCH] configure: require pkg-config for libvmaf

2017-08-01 Thread Ashish Pratap Singh
From: Ashish Singh This patch makes the libvmaf filter use pkg-config to detect and link to libvmaf. Signed-off-by: Ashish Singh --- configure | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure b/configure index 57694f3..aa8a785 100755 --- a/configure +++ b/configu

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

2017-08-01 Thread Tobias Rapp
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 --- doc/filters.texi | 13 ++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_premultiply.c | 30

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

2017-08-01 Thread Muhammad Faiz
Fix Ticket6519. Signed-off-by: Muhammad Faiz --- libavfilter/vf_ssim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_ssim.c b/libavfilter/vf_ssim.c index c3c204268f..dfd276e015 100644 --- a/libavfilter/vf_ssim.c +++ b/libavfilter/vf_ssim.c @@ -402,7 +402,7 @@

Re: [FFmpeg-devel] [PATCH] configure: require pkg-config for libvmaf

2017-08-01 Thread Ashish Pratap Singh
Hi, On Aug 1, 2017 7:15 PM, "Ronald S. Bultje" wrote: Hi, On Fri, Jul 21, 2017 at 6:48 AM, Ashish Pratap Singh wrote: > From: Ashish Singh > > Hi, libvmaf now has a pkg-config file. This patch makes libvmaf filter > link to > pkg-config of libvmaf. "This patch makes the libvmaf filter use

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: support fmp4 single file mode

2017-08-01 Thread Steven Liu
2017-08-01 20:41 GMT+08:00 Derek Buitenhuis : > On 7/31/2017 5:03 AM, Steven Liu wrote: >> add byterange mode of the hls fmp4 >> >> Signed-off-by: Steven Liu >> --- >> libavformat/hlsenc.c | 72 >> >> 1 file changed, 44 insertions(+), 28 delet

Re: [FFmpeg-devel] [PATCH 1/5] lavc/htmlsubtitles: improve handling broken garbage

2017-08-01 Thread Clément Bœsch
On Sat, Jul 29, 2017 at 09:27:47PM +0200, Clément Bœsch wrote: > This commit switches off forced correct nesting of tags and only keeps > it for font tags. See long explanations in the code for the rationale. > > This results in various FATE changes which I'll explain here: > > - various swapping

Re: [FFmpeg-devel] [DISCUSSION] Motion Estimation API/Library

2017-08-01 Thread Rostislav Pehlivanov
On 1 August 2017 at 14:45, Nicolas George wrote: > Le quartidi 14 thermidor, an CCXXV, Rostislav Pehlivanov a écrit : > > I think I'd rather have it as a separate module. The part of the code > could > > grow to be quite big and the API quite complex depending on the needs of > > encoders and fil

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

2017-08-01 Thread James Cowgill
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 by copying the alpha channel code from the rgba64 case found elsewhere in output.c. Fixes ticket 6555. Signed-off-by: James C

Re: [FFmpeg-devel] [PATCH] configure: require pkg-config for libvmaf

2017-08-01 Thread Ronald S. Bultje
Hi, On Fri, Jul 21, 2017 at 6:48 AM, Ashish Pratap Singh wrote: > From: Ashish Singh > > Hi, libvmaf now has a pkg-config file. This patch makes libvmaf filter > link to > pkg-config of libvmaf. "This patch makes the libvmaf filter use pkg-config to detect and link to libvmaf." I think? Ron

Re: [FFmpeg-devel] [DISCUSSION] Motion Estimation API/Library

2017-08-01 Thread Nicolas George
Le quartidi 14 thermidor, an CCXXV, Rostislav Pehlivanov a écrit : > I think I'd rather have it as a separate module. The part of the code could > grow to be quite big and the API quite complex depending on the needs of > encoders and filters. At this point in time, there are five C files and a co

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

2017-08-01 Thread Paul B Mahol
On 8/1/17, Tobias Rapp wrote: > On 01.08.2017 13:03, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> doc/filters.texi | 13 ++ >> libavfilter/Makefile | 1 + >> libavfilter/allfilters.c | 1 + >> libavfilter/vf_premultiply.c | 307 >>

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

2017-08-01 Thread Jorge Ramirez
On 08/01/2017 02:58 PM, Nicolas George wrote: Le quartidi 14 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 Review

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

2017-08-01 Thread Tobias Rapp
On 01.08.2017 13:03, Paul B Mahol wrote: Signed-off-by: Paul B Mahol --- doc/filters.texi | 13 ++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_premultiply.c | 307 --- 4 files changed, 277 insert

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

2017-08-01 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 libavcodec/v4l2-common.h | 7 +- libavdevice/v4l2.c | 2 +- l

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

2017-08-01 Thread Nicolas George
Le quartidi 14 thermidor, an CCXXV, Paul B Mahol a écrit : > Signed-off-by: Paul B Mahol > --- > doc/filters.texi | 13 ++ > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + > libavfilter/vf_premultiply.c | 307 > -

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

2017-08-01 Thread Nicolas George
Le quartidi 14 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 > Reviewed-by: Jorge Ramirez-Ortiz If nob

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

2017-08-01 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 insertions(+) diff --git a/libavcodec/v4l2-common.c b/libavcodec/v4l2-common.c index

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

2017-08-01 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 --- configure | 6 ++- libavcodec/Makefile | 1 + libavcodec

[FFmpeg-devel] V4L2 M2M codecs [v2]

2017-08-01 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 i

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: support fmp4 single file mode

2017-08-01 Thread Derek Buitenhuis
On 7/31/2017 5:03 AM, Steven Liu wrote: > add byterange mode of the hls fmp4 > > Signed-off-by: Steven Liu > --- > libavformat/hlsenc.c | 72 > > 1 file changed, 44 insertions(+), 28 deletions(-) > > diff --git a/libavformat/hlsenc.c b/libav

[FFmpeg-devel] [PATCH] Add new MPEG bitstream filter

2017-08-01 Thread David Griffiths
Given an MPEG1/2 stream, this bitstream filter can be used to modify the sequence headers. The most common use would be to change the aspect ration without the need for re-encoding. Some MOD files have the aspect ratio incorrectly set to 4:3 (see https://en.wikipedia.org/wiki/MOD_and_TOD). --- doc

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

2017-08-01 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 M

Re: [FFmpeg-devel] [DISCUSSION] Motion Estimation API/Library

2017-08-01 Thread Rostislav Pehlivanov
On 1 August 2017 at 12:30, Clément Bœsch wrote: > On Tue, Aug 01, 2017 at 09:18:33AM +, Davinder Singh wrote: > [...] > > > In particular, the main policy of FFmpeg is to not depend on external > > > libraries for core features. Therefore, if your project is a separate > > > > > > > Just to b

[FFmpeg-devel] why -autobsf in fflags of libavformat/segment.c from ffmpeg3.2

2017-08-01 Thread 宋沛儒
I want to use autobsf in segment muxer, but I found changes in https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/45f5c5573203a48acb2dd6fbf18f4b0c25b7aff0 which removes the autobsf fflags ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpe

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

2017-08-01 Thread Александр Слободенюк
This patch was reviewed by Derek Buitenhuis last month and later ignored, no idea why. (archive: http://ffmpeg-devel.ffmpeg.narkive.com/vnPIkBwh/patch-avformat-riff-h-remove-unused-function-parameter-const-avcodectag-tags-of-void-ff-put-bmp) 0001-avformat-riff.h-remove-unused-function-parameter

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

2017-08-01 Thread Александр Слободенюк
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 this tag as MPEG2VIDEO, and then read the header (all by ffmpeg), it will inter

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/diracdsp: fix integer overflow

2017-08-01 Thread Michael Niedermayer
On Sat, Jul 29, 2017 at 04:27:52PM +0200, Michael Niedermayer wrote: > Fixes: runtime error: signed integer overflow: 11 * 225726413 cannot be > represented in type 'int' > Fixes: 2764/clusterfuzz-testcase-minimized-5382561922547712 > > Found-by: continuous fuzzing process > https://github.com/g

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/dirac_vlc: Fix invalid shift

2017-08-01 Thread Michael Niedermayer
On Fri, Jul 28, 2017 at 08:50:42PM +0200, Michael Niedermayer wrote: > On Fri, Jul 28, 2017 at 02:44:34AM +0100, Rostislav Pehlivanov wrote: > > On 28 July 2017 at 02:22, Michael Niedermayer > > wrote: > > > > > Fixes: runtime error: shift exponent 65 is too large for 64-bit type > > > 'residual'

Re: [FFmpeg-devel] [DISCUSSION] Motion Estimation API/Library

2017-08-01 Thread Clément Bœsch
On Tue, Aug 01, 2017 at 09:18:33AM +, Davinder Singh wrote: [...] > > In particular, the main policy of FFmpeg is to not depend on external > > libraries for core features. Therefore, if your project is a separate > > > > Just to be clear, it won't be "external" library like OpenCV... > > >

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

2017-08-01 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 13 ++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_premultiply.c | 307 --- 4 files changed, 277 insertions(+), 45 deletions(-) diff --git a/doc/

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

2017-08-01 Thread Nicolas George
Le quartidi 14 thermidor, an CCXXV, Paul B Mahol a écrit : > Signed-off-by: Paul B Mahol > --- > doc/filters.texi | 13 ++ > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + > libavfilter/vf_unpremultiply.c | 431 > +

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

2017-08-01 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 13 ++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_unpremultiply.c | 431 + 4 files changed, 446 insertions(+) create mode 100644 libavfilt

Re: [FFmpeg-devel] [DISCUSSION] Motion Estimation API/Library

2017-08-01 Thread Davinder Singh
Hi Nicolas, On Tue, Aug 1, 2017 at 11:57 AM Nicolas George wrote: > Le quartidi 14 thermidor, an CCXXV, Davinder Singh a écrit : > > As we've been planning since forever ( > > https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/snow.h#L182, > > http://ffmpeg.org/pipermail/ffmpeg-devel/2016-J

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

2017-08-01 Thread Nicolas George
Le quartidi 14 thermidor, an CCXXV, Rodger Combs a écrit : > --- > Changelog| 2 + > doc/demuxers.texi| 8 ++ > libavformat/Makefile | 1 + > libavformat/allformats.c | 1 + > libavformat/cuedec.c | 215 > +++ > l

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

2017-08-01 Thread Steven Liu
2017-08-01 15:16 GMT+08:00 Rodger Combs : > Variables may be declared at the top of a scope block in ffmpeg. yes, this is not a rule, just a suggest, for the code read clear. > >> On Aug 1, 2017, at 01:50, Steven Liu wrote: >> >> 2017-08-01 14:33 GMT+08:00 Rodger Combs >

Re: [FFmpeg-devel] [PATCH 2/7] lavf/segment: add option to segment by chapter

2017-08-01 Thread Steven Liu
2017-08-01 15:18 GMT+08:00 Rodger Combs : > This was pretty confusing whether it uses strlcpy or strncpy, so I'm > switching it to AVBPrintf. That's a better way :D > >> On Aug 1, 2017, at 01:54, Steven Liu wrote: >> >> 2017-08-01 14:33 GMT+08:00 Rodger Combs > >: >

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

2017-08-01 Thread Rodger Combs
Variables may be declared at the top of a scope block in ffmpeg. > On Aug 1, 2017, at 01:50, Steven Liu wrote: > > 2017-08-01 14:33 GMT+08:00 Rodger Combs >: >> --- >> doc/muxers.texi | 4 >> libavformat/segment.c | 24 >> 2 file

Re: [FFmpeg-devel] [PATCH 2/7] lavf/segment: add option to segment by chapter

2017-08-01 Thread Rodger Combs
This was pretty confusing whether it uses strlcpy or strncpy, so I'm switching it to AVBPrintf. > On Aug 1, 2017, at 01:54, Steven Liu wrote: > > 2017-08-01 14:33 GMT+08:00 Rodger Combs >: >> --- >> doc/muxers.texi | 6 + >> libavformat/segment.c | 65