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

2018-06-11 Thread Gyan Doshi
Will push tomorrow. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH v2 09/36] vaapi_encode: Allocate picture-private data in generic code

2018-06-11 Thread Xiang, Haihao
On Fri, 2018-06-08 at 00:43 +0100, Mark Thompson wrote: > --- > libavcodec/vaapi_encode.c | 15 --- > libavcodec/vaapi_encode.h | 4 > 2 files changed, 16 insertions(+), 3 deletions(-) > > diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c > index cedf3d3549..ed6

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

2018-06-11 Thread Michael Niedermayer
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 > ---

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

2018-06-11 Thread Xiao Yang
sms: check for frame dimensions 0001-smc-check-for-frame-dimensions.patch Description: 0001-smc-check-for-frame-dimensions.patch ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

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

2018-06-11 Thread Xiao Yang
--- libavcodec/smc.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/libavcodec/smc.c b/libavcodec/smc.c index 3cb4834..fc1d308 100644 --- a/libavcodec/smc.c +++ b/libavcodec/smc.c @@ -421,6 +421,13 @@ static av_cold int smc_decode_init(AVCodecContext *avctx) s->avctx = avctx;

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

2018-06-11 Thread Xiao Yang
--- 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/tiertexseqv.c @@ -222,6 +222,13 @@ static av_cold int seqvideo_decode_init(AV

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

2018-06-11 Thread Danil Iashchenko
--- libavfilter/opencl.h| 15 ++ libavfilter/vf_convolution_opencl.c | 43 libavfilter/vf_overlay_opencl.c | 44 +++- libavfilter/vf_unsharp_opencl.c | 57 ++--- 4 files changed, 46

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg_opt: Add -toeof option to stop writing relative to EOF

2018-06-11 Thread Lou Logan
On Mon, Jun 11, 2018, at 1:00 PM, Morten With wrote: > > Also, was this the correct way to send in a revised patch? I'm completely > new to this. Yes, that is acceptable. We are not too picky about that. It can be helpful to rename the subject, such as [PATCH v2], if desired: especially if multip

Re: [FFmpeg-devel] [PATCH]ffplay: Don't crash if stream_cycle_channel() is called before initialization

2018-06-11 Thread Marton Balint
On Mon, 11 Jun 2018, Carl Eugen Hoyos wrote: Hi! Attached patch fixes a crash if SDL sends a keydown event before stream and window initialization is finished, ticket #7252. Wow, current ffplay code assumes that no keypress or mouse events will come before the window is shown. Strange thin

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg_opt: Add -toeof option to stop writing relative to EOF

2018-06-11 Thread Morten With
Yeah, I was thinking that there seemed to be very little validation of -sseof combinations. That's why I initially didn't add any of those for -toeof. You are correct, that is missing, I'll add that once your patch is done then. Also, was this the correct way to send in a revised patch? I'm compl

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg_opt: Add -toeof option to stop writing relative to EOF

2018-06-11 Thread Gyan Doshi
On 12-06-2018 12:48 AM, Morten With wrote: commit message to "stop reading"), here is the revised patch attached. Maybe I missed it, but in the new patch, you don't vet ss against toeof i.e. for a 10-second file, -ss 7 -toeof -4 should be declared invalid. Also, this isn't an issue with

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg_opt: Add -toeof option to stop writing relative to EOF

2018-06-11 Thread Morten With
2018-06-10 22:07 GMT+02:00 Jan Ekström : > > Yes, programmatic things for things like these are often better. That > said, the question regarding sseof can be answered by "the person who > merged this stuff was OK with all the asterisks/caveats around it". > > Think of MPEG-TS, for example. I thin

Re: [FFmpeg-devel] [RFC][PATCH][Type 2] Revert "doc/developer.texi: Add a code of conduct"

2018-06-11 Thread Ivan Kalvachev
On 6/10/18, Josh de Kock wrote: > On 2018/05/14 17:50, Derek Buitenhuis wrote: >> It was never enforced, and there is no documented way to enforce it, >> rendering it useless. >> >> [...] > > I think this is the best thing to do first. We could always re-add a > more 'proper' CoC later, but for no

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

2018-06-11 Thread Timo Teras
On Mon, 4 Jun 2018 17:36:19 +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 disposi

[FFmpeg-devel] [PATCH 3/3] avcodec/videotoolboxenc: fix invalid session on iOS

2018-06-11 Thread Thomas Guillem
Cf. comment. Restart the VT session when the APP goes from foreground to background and vice versa. --- libavcodec/videotoolboxenc.c | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index 1060

[FFmpeg-devel] [PATCH 2/3] avcodec/videotoolboxenc: split initialization

2018-06-11 Thread Thomas Guillem
Split vtenc_init() into vtenc_init() (VTEncContext initialization) and vtenc_configure_encoder() (creates the vt session). This commit will allow to restart the vt session while encoding. --- libavcodec/videotoolboxenc.c | 48 +--- 1 file changed, 28 insertions(+),

[FFmpeg-devel] [PATCH 1/3] avcodec/videotoolboxenc: fix mutex/cond leak in error path

2018-06-11 Thread Thomas Guillem
The leak could happen when the vtenc_create_encoder() function failed. --- libavcodec/videotoolboxenc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index 7796a685c2..9f2a71b15d 100644 --- a/libavcodec/videotoo

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

2018-06-11 Thread Eran Kornblau
> 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: Saturday, June 9, 2018 9:17 PM > > > To: FFmpeg development discussions and

[FFmpeg-devel] [PATCH] examples/vaapi_dec_scaling: init export

2018-06-11 Thread Jun Zhao
add a vaapi decoding/scaling sample. Signed-off-by: Jun Zhao --- configure| 2 + doc/examples/Makefile| 1 + doc/examples/vaapi_dec_scaling.c | 375 +++ 3 files changed, 378 insertions(+) create mode 100644 doc/examples

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

2018-06-11 Thread Aman Gupta
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 (0xc0) before the standard program map table (0x2). Sometimes, however,