[FFmpeg-devel] [PATCH] lavfi: add helper macro for OpenCL error handling.

2018-06-12 Thread Ruiling Song
Signed-off-by: Ruiling Song --- I am not sure whether do you think this would be useful? the main purpose is to make OpenCL error check code simpler. If we think this is good, I can go to replace current OpenCL filters to use this macro. for example: if (cle != CL_SUCCESS) { a

Re: [FFmpeg-devel] [PATCH v2 11/36] vaapi_encode: Choose profiles dynamically

2018-06-12 Thread Xiang, Haihao
On Fri, 2018-06-08 at 00:43 +0100, Mark Thompson wrote: > Previously there was one fixed choice for each codec (e.g. H.265 -> Main > profile), and using anything else then required an explicit option from > the user. This changes to selecting the profile based on the input format > and the set of

Re: [FFmpeg-devel] [PATCH v2 14/36] vaapi_encode: Clean up the encode quality configuration

2018-06-12 Thread Xiang, Haihao
On Fri, 2018-06-08 at 00:43 +0100, Mark Thompson wrote: > --- > libavcodec/vaapi_encode.c | 84 +-- > --- > libavcodec/vaapi_encode_h264.c | 7 ++-- > 2 files changed, 54 insertions(+), 37 deletions(-) > > diff --git a/libavcodec/vaapi_encode.c b/libavcod

Re: [FFmpeg-devel] [PATCH v3 1/2] lavfi: add opencl tonemap filter.

2018-06-12 Thread Song, Ruiling
> -Original Message- > From: Song, Ruiling > Sent: Wednesday, June 6, 2018 3:24 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Song, Ruiling > Subject: [PATCH v3 1/2] lavfi: add opencl tonemap filter. > > This filter does HDR(HDR10/HLG) to SDR conversion with tone-mapping. > > An example comma

[FFmpeg-devel] [PATCH]configure: The eac3_core bsf needs the ac3 parser

2018-06-12 Thread Carl Eugen Hoyos
Hi! Attached patch fixes a linking error reported on libav-user, other solutions are slightly more intrusive. Please comment, Carl Eugen From d65eb39bb0fb52ca2ba88445535a23aa5fca6b27 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Tue, 12 Jun 2018 10:02:44 +0200 Subject: [PATCH] configure:

Re: [FFmpeg-devel] [PATCH] avformat: remove unused MP4A_LATM flag

2018-06-12 Thread Hendrik Leppkes
On Tue, Jun 12, 2018 at 7:00 AM Gyan Doshi wrote: > > > Will push tomorrow. This flag is part of the public API, and eventhough it is entirely unused, you cannot remove public API without a proper deprecation period. - Hendrik ___ ffmpeg-devel mailing

Re: [FFmpeg-devel] [PATCH] avformat: remove unused MP4A_LATM flag

2018-06-12 Thread Gyan Doshi
On 12-06-2018 01:39 PM, Hendrik Leppkes wrote: This flag is part of the public API, and eventhough it is entirely unused, you cannot remove public API without a proper deprecation period. Ok, so looking at older flags, I need to add a define to version.h, something like #ifndef FF_API_LAVF

Re: [FFmpeg-devel] [PATCH 09/12] avformat/mxfdec: add support for clip wrapped essences

2018-06-12 Thread Marton Balint
On Tue, 12 Jun 2018, Michael Niedermayer wrote: On Sun, Jun 10, 2018 at 12:36:47PM +0200, Marton Balint wrote: Also use common code with opAtom. Fixes ticket #2776. Partially fixes ticket #5671. Fixes ticket #5866. Signed-off-by: Marton Balint --- libavformat/mxfdec.c | 281 ++

Re: [FFmpeg-devel] [PATCH 09/12] avformat/mxfdec: add support for clip wrapped essences

2018-06-12 Thread Paul B Mahol
On 6/12/18, Michael Niedermayer wrote: > On Sun, Jun 10, 2018 at 12:36:47PM +0200, Marton Balint wrote: >> Also use common code with opAtom. >> >> Fixes ticket #2776. >> Partially fixes ticket #5671. >> Fixes ticket #5866. >> >> Signed-off-by: Marton Balint >> --- >> libavformat/mxfdec.c | 281 >

Re: [FFmpeg-devel] [PATCH 3/4 v3] avcodec/vc1: rewrite vc1_decode_i_blocks to align with VC-1 spec

2018-06-12 Thread Jerome Borsboom
Change vc1_decode_i_blocks to use vc1_put_blocks_clamped and ff_vc1_i_loop_filter. Signed-off-by: Jerome Borsboom --- The v3 patch should resolve the crashing that was seen on corrupted source files. libavcodec/vc1_block.c | 79 +++--- 1 file changed

[FFmpeg-devel] Fw: [PATCH] Refactor two near-identical clauses.

2018-06-12 Thread Shlomi Fish
This message did not arrive to the list after three submissions. Begin forwarded message: Date: Tue, 12 Jun 2018 12:42:52 +0300 From: Shlomi Fish To: ffmpeg-devel@ffmpeg.org Cc: Shlomi Fish Subject: [PATCH] Refactor two near-identical clauses. Placed under the Expat licence . All tests pass.

Re: [FFmpeg-devel] [PATCH] Refactor two near-identical clauses.

2018-06-12 Thread Shlomi Fish
On Tue, 12 Jun 2018 12:53:20 +0300 Shlomi Fish wrote: > This message did not arrive to the list after three submissions. > Just for the record, the patch can also be found here: http://www.shlomifish.org/Files/files/code/0001-Refactor-two-near-identical-clauses.patch > Begin forwarded message

Re: [FFmpeg-devel] [PATCH] avformat: remove unused MP4A_LATM flag

2018-06-12 Thread James Almer
On 6/12/2018 5:33 AM, Gyan Doshi wrote: > > > On 12-06-2018 01:39 PM, Hendrik Leppkes wrote: > >> This flag is part of the public API, and eventhough it is entirely >> unused, you cannot remove public API without a proper deprecation >> period. > > Ok, so looking at older flags, I need to > >

Re: [FFmpeg-devel] [PATCH] smc: check for frame dimensions

2018-06-12 Thread Michael Niedermayer
On Mon, Jun 11, 2018 at 08:01:56AM +, Xiao Yang wrote: > sms: check for frame dimensions > smc.c |7 +++ > 1 file changed, 7 insertions(+) > e029edfa5d1c3294879861bc785691759c8ab75c > 0001-smc-check-for-frame-dimensions.patch > From 2ea1d0329ca80b5dea781dea7144cb58d16dc501 Mon Sep 1

Re: [FFmpeg-devel] [PATCH 09/12] avformat/mxfdec: add support for clip wrapped essences

2018-06-12 Thread Michael Niedermayer
On Tue, Jun 12, 2018 at 10:47:24AM +0200, Marton Balint wrote: > > > On Tue, 12 Jun 2018, Michael Niedermayer wrote: > > >On Sun, Jun 10, 2018 at 12:36:47PM +0200, Marton Balint wrote: > >>Also use common code with opAtom. > >> > >>Fixes ticket #2776. > >>Partially fixes ticket #5671. > >>Fixes

[FFmpeg-devel] [PATCH] msrle_decode_init: check frame dimensions

2018-06-12 Thread Xiao Yang
--- libavcodec/msrle.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/libavcodec/msrle.c b/libavcodec/msrle.c index adb55b1..cd952a8 100644 --- a/libavcodec/msrle.c +++ b/libavcodec/msrle.c @@ -71,6 +71,13 @@ static av_cold int msrle_decode_init(AVCodecContext *avctx) retur

[FFmpeg-devel] [PATCH] qtrle_decode_init: check frame dimensions

2018-06-12 Thread Xiao Yang
--- libavcodec/qtrle.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/libavcodec/qtrle.c b/libavcodec/qtrle.c index 670690d..1cceeff 100644 --- a/libavcodec/qtrle.c +++ b/libavcodec/qtrle.c @@ -415,6 +415,13 @@ static av_cold int qtrle_decode_init(AVCodecContext *avctx) ret

[FFmpeg-devel] [PATCH] cinvideo_decode_init: check frame dimensions

2018-06-12 Thread Xiao Yang
--- libavcodec/dsicinvideo.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/libavcodec/dsicinvideo.c b/libavcodec/dsicinvideo.c index aa08041..d0f79d9 100644 --- a/libavcodec/dsicinvideo.c +++ b/libavcodec/dsicinvideo.c @@ -73,6 +73,13 @@ static av_cold int cinvideo_decode_init(AVCo

[FFmpeg-devel] [PATCH] msvideo1_decode_init: check frame dimensions

2018-06-12 Thread Xiao Yang
--- libavcodec/msvideo1.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/libavcodec/msvideo1.c b/libavcodec/msvideo1.c index 29700f5..04c5ebb 100644 --- a/libavcodec/msvideo1.c +++ b/libavcodec/msvideo1.c @@ -73,6 +73,13 @@ static av_cold int msvideo1_decode_init(AVCodecContext *av

[FFmpeg-devel] [PATCH] cinepak_decode_init: check frame dimensions

2018-06-12 Thread Xiao Yang
--- libavcodec/cinepak.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/libavcodec/cinepak.c b/libavcodec/cinepak.c index 9b00774..3713ec0 100644 --- a/libavcodec/cinepak.c +++ b/libavcodec/cinepak.c @@ -430,6 +430,13 @@ static av_cold int cinepak_decode_init(AVCodecContext *avctx)

Re: [FFmpeg-devel] [PATCH] Limited timecode support for lavd/decklink

2018-06-12 Thread Dave Rice
> On Jun 7, 2018, at 5:01 PM, Marton Balint wrote: > > On Thu, 7 Jun 2018, Dave Rice wrote: > > [...] > >> >> Before I only tested with vitc but now have a serial cable connected as well >> and found a source tape that has distinct values for LTC and VITC timecodes. >> The LTC values are fr

Re: [FFmpeg-devel] [PATCH] avformat/movenc: fix recognization of cover image streams

2018-06-12 Thread Michael Niedermayer
On Mon, Jun 04, 2018 at 05:36:19PM +0300, Timo Teräs wrote: > For chapter images, the mov demux produces streams with disposition set > to attached_pic+timed_thumbnails. This patch fixes to properly recognize > streams that should be encoded as cover image (ones with only and only > attached_pic di

[FFmpeg-devel] [PATCH] Improve dnn_backend_native convolution speed

2018-06-12 Thread Pedro Arthur
The attached patch adds some specialized convolution functions based on the filter size. Benchmark (1190x670px image): FilterNewOld Diff (%) 9x9x1x64 | 3.093662 5.135679 39.76% 1x1x64x32| 0.912451 5.670451 83.90% 5x5x32x1 | 0.502857 0.787371 36.13% Total| 4

Re: [FFmpeg-devel] qt-faststart bug near 4GB

2018-06-12 Thread Michael Niedermayer
On Mon, Jun 11, 2018 at 12:05:20PM +, Eran Kornblau wrote: > > On Sun, Jun 10, 2018 at 01:20:10PM +, Eran Kornblau wrote: > > > > > > > > -Original Message- > > > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On > > > > Behalf Of Michael Niedermayer > > > > Sent: S

[FFmpeg-devel] [PATCH] avformat/mov: Add check for per-sample IV size.

2018-06-12 Thread Jacob Trimble
Found by Chrome's ClusterFuzz: http://crbug.com/849062. Signed-off-by: Jacob Trimble --- libavformat/mov.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 2fca025889..5d9ffa69a3 100644 --- a/libavformat/mov.c +++ b/libavfor

[FFmpeg-devel] [PATCH v2] avcodec/mediacodecdec: work around for decoding h264 with coded fields

2018-06-12 Thread Aman Gupta
From: Aman Gupta This is a hacky work-around for #7092, where the lavc h264 parser splits coded fields into separate video packets, only one of which has a PTS set. The MediaCodec#queueInputBuffer API expects a PTS along with incoming video packets, and breaks badly when the PTS is missing or in

Re: [FFmpeg-devel] [PATCH] seqvideo_decode_init:check frame dimensions

2018-06-12 Thread Michael Niedermayer
On Mon, Jun 11, 2018 at 07:07:36AM +, Xiao Yang wrote: > --- > libavcodec/tiertexseqv.c |7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/libavcodec/tiertexseqv.c b/libavcodec/tiertexseqv.c > index af39f74..2d0fa98 100644 > --- a/libavcodec/tiertexseqv.c > +++ b/libavcodec/ti

Re: [FFmpeg-devel] [PATCH 09/12] avformat/mxfdec: add support for clip wrapped essences

2018-06-12 Thread Marton Balint
On Tue, 12 Jun 2018, Michael Niedermayer wrote: On Tue, Jun 12, 2018 at 10:47:24AM +0200, Marton Balint wrote: On Tue, 12 Jun 2018, Michael Niedermayer wrote: On Sun, Jun 10, 2018 at 12:36:47PM +0200, Marton Balint wrote: Also use common code with opAtom. Fixes ticket #2776. Partially f

Re: [FFmpeg-devel] [PATCH] avformat/mpegts: parse large PMTs with multiple tables

2018-06-12 Thread Michael Niedermayer
On Mon, Jun 11, 2018 at 12:43:31AM -0700, Aman Gupta wrote: > From: Aman Gupta > > In 9152c1e4955, the mpegts parser was taught how to parse > PMT sections which contained multiple tables. That commit > fixed parsing of PMT packets from some cable providers, > which included a special SCTE table

Re: [FFmpeg-devel] [PATCH] Limited timecode support for lavd/decklink

2018-06-12 Thread Marton Balint
On Tue, 12 Jun 2018, Dave Rice wrote: On Jun 7, 2018, at 5:01 PM, Marton Balint wrote: On Thu, 7 Jun 2018, Dave Rice wrote: [...] Before I only tested with vitc but now have a serial cable connected as well and found a source tape that has distinct values for LTC and VITC timecodes.

Re: [FFmpeg-devel] [PATCH 1/2] avdevice/decklink_dec: use a custom memory allocator

2018-06-12 Thread Marton Balint
On Tue, 5 Jun 2018, Dave Rice wrote: On Jun 5, 2018, at 1:17 PM, Marton Balint wrote: On Tue, 5 Jun 2018, Dave Rice wrote: On Jun 4, 2018, at 4:21 PM, Marton Balint wrote: The default memory allocator is limited in the max number of frames available, and therefore caused frame drops if

Re: [FFmpeg-devel] qt-faststart bug near 4GB

2018-06-12 Thread Michael Niedermayer
On Mon, Jun 11, 2018 at 12:05:20PM +, Eran Kornblau wrote: > > On Sun, Jun 10, 2018 at 01:20:10PM +, Eran Kornblau wrote: > > > > > > > > -Original Message- > > > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On > > > > Behalf Of Michael Niedermayer > > > > Sent: S

Re: [FFmpeg-devel] [PATCH] cinepak_decode_init: check frame dimensions

2018-06-12 Thread Michael Niedermayer
Hi first please make sure you are subscribed to ffmpeg-devel if you want to submit patches. submited patches are discussed on the ffmpeg-devel mailing list almost always. People rarely think of CC-ing the author then 2nd you should make sure you confirm both the bug you are trying to fix as well

Re: [FFmpeg-devel] [PATCH] libavfilter/opencl.h: Add macro for setting opencl kernel

2018-06-12 Thread Song, Ruiling
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Danil Iashchenko > Sent: Tuesday, June 12, 2018 5:39 AM > To: ffmpeg-devel@ffmpeg.org > Cc: Danil Iashchenko > Subject: [FFmpeg-devel] [PATCH] libavfilter/opencl.h: Add macro for setting > o

Re: [FFmpeg-devel] [PATCH] avformat/mpegts: parse large PMTs with multiple tables

2018-06-12 Thread Aman Gupta
On Tue, Jun 12, 2018 at 3:17 PM Michael Niedermayer wrote: > On Mon, Jun 11, 2018 at 12:43:31AM -0700, Aman Gupta wrote: > > From: Aman Gupta > > > > In 9152c1e4955, the mpegts parser was taught how to parse > > PMT sections which contained multiple tables. That commit > > fixed parsing of PMT p

Re: [FFmpeg-devel] [PATCH] avformat: remove unused MP4A_LATM flag

2018-06-12 Thread Gyan Doshi
On 12-06-2018 11:00 PM, James Almer wrote: Is that correct? I assume the other changes can be committed as-is. Yes, that should do it. Revised and pushed. Thanks, Gyan ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mail