Re: [FFmpeg-devel] [PATCH] avformat/movenc: Explicitly address potential division by zero.

2017-04-19 Thread Michael Niedermayer
On Wed, Apr 19, 2017 at 12:49:38AM +0200, Hendrik Leppkes wrote: > On Wed, Apr 19, 2017 at 12:34 AM, Lucas Cooper > wrote: > > find_fps attempts to infer framerate from AVCodec's timebase. When this > > results in a frame rate that isn't explicitly marked as supported in > > av_timecode_check_fram

Re: [FFmpeg-devel] [PATCH] movenc/isom: update vpcC box to the latest draft specification

2017-04-19 Thread Michael Niedermayer
On Tue, Apr 18, 2017 at 04:58:29PM +0200, Hendrik Leppkes wrote: > On Tue, Apr 18, 2017 at 4:47 PM, Michael Niedermayer > wrote: > > On Tue, Apr 18, 2017 at 04:30:12PM +0200, Hendrik Leppkes wrote: > >> This brings our generation of the vpcC box up to date to the latest > >> draft version of the V

Re: [FFmpeg-devel] Fwd: [PATCH] added expr evaluation to drawtext - fontsize

2017-04-19 Thread Michael Niedermayer
On Tue, Apr 18, 2017 at 06:20:51PM -0700, Brett Harrison wrote: > On Mon, Apr 17, 2017 at 5:48 PM, Michael Niedermayer > wrote: > > > On Sun, Apr 16, 2017 at 10:01:01PM -0700, Brett Harrison wrote: > > > Any comments on this patch? > > > > > > -- Forwarded message -- > > > From: B

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Explicitly address potential division by zero.

2017-04-19 Thread Lucas Cooper
Michael's right. The problem is that NaN is casted to an int, resulting in rate having undefined value. Not sure how I neglected to add that part. On 19 Apr. 2017 2:32 am, "Michael Niedermayer" wrote: > On Wed, Apr 19, 2017 at 12:49:38AM +0200, Hendrik Leppkes wrote: > > On Wed, Apr 19, 2017 at

Re: [FFmpeg-devel] [PATCH 3/3] tests/fate-run.sh: Show packet flags for fate gapless tests.

2017-04-19 Thread Michael Niedermayer
On Mon, Sep 26, 2016 at 11:42:52AM -0700, Sasi Inguva wrote: > Signed-off-by: Sasi Inguva > --- > tests/fate-run.sh| 2 +- > tests/ref/fate/gaplessenc-itunes-to-ipod-aac | 32 > ++-- > tests/ref/fate/gaplessenc-pcm-to-mov-aac | 32 > +

Re: [FFmpeg-devel] Added require fallback for libmfx in the case that pkg-config cannot find libmfx

2017-04-19 Thread Aaron Levinson
On 4/14/2017 6:51 PM, Aaron Levinson wrote: From e0c73c054add0137901d0bf7a7893e42e7e566c8 Mon Sep 17 00:00:00 2001 From: Aaron Levinson Date: Fri, 14 Apr 2017 18:38:37 -0700 Subject: [PATCH] Added require fallback for libmfx in the case that pkg-config cannot find libmfx Purpose: Added require

Re: [FFmpeg-devel] [PATCH] this is the gsos qualification task which use psychoacoustic system to detect transients in vorbis encoder.

2017-04-19 Thread Michael Niedermayer
On Sun, Apr 16, 2017 at 10:23:05PM -0400, 汲如意 wrote: > Hi, I am sorry for my mistakes. I have fixed them. And attachment is the > patch which fix error in first one. Thanks. this segfaults make fate-vorbis-encode ffmpeg -i fate-suite//audio-reference/luckynight_2ch_44kHz_s16.wav -c:a vorbis -s

[FFmpeg-devel] [Patch] NVENC Surface Allocation Reduction

2017-04-19 Thread Ben Chang
Hi, This patch aims to reduce the number of input/output surfaces NVENC allocates per session. Previous default sets allocated surfaces to 32 (unless there is user specified param or lookahead involved). Having large number of surfaces consumes extra video memory (esp for higher resolution enco

Re: [FFmpeg-devel] [PATCH] ffmpeg; check return code of avcodec_send_frame when flushing encoders

2017-04-19 Thread Marton Balint
On Tue, 18 Apr 2017, Michael Niedermayer wrote: On Tue, Apr 18, 2017 at 08:46:24PM +0200, Marton Balint wrote: On Tue, 18 Apr 2017, Michael Niedermayer wrote: On Tue, Apr 18, 2017 at 07:09:30AM +0200, Nicolas George wrote: Le nonidi 29 germinal, an CCXXV, Michael Niedermayer a écrit : +

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

2017-04-19 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 38 libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_deflicker.c | 455 + 4 files changed, 495 insertions(+) create mode 100644 libavfilter/vf_defl

Re: [FFmpeg-devel] libavutil/thread.h: Fixed g++ build error when ASSERT_LEVEL is greater than 1

2017-04-19 Thread Marton Balint
On Mon, 17 Apr 2017, James Almer wrote: On 4/17/2017 5:39 AM, Clément Bœsch wrote: On Sun, Apr 16, 2017 at 05:20:02PM -0700, Aaron Levinson wrote: From 9e6a9e2b8d58f17c661a3f455e03c95587ec7b18 Mon Sep 17 00:00:00 2001 From: Aaron Levinson Date: Sun, 16 Apr 2017 17:13:31 -0700 Subject: [PATC

Re: [FFmpeg-devel] [PATCH]lavf/mov: Only copy extradata if it exists.

2017-04-19 Thread Carl Eugen Hoyos
2017-04-18 16:33 GMT+02:00 Michael Niedermayer : > On Tue, Apr 18, 2017 at 10:59:31AM +0200, Carl Eugen Hoyos wrote: >> Hi! >> >> Attached patch fixes an ubsan warning like the following here: >> libavformat/mov.c:2332:13: runtime error: null pointer passed as argument 2, >> which is declared to ne

Re: [FFmpeg-devel] [PATCH]lavc/motion_est: Fix undefined negative left shifts

2017-04-19 Thread Carl Eugen Hoyos
2017-04-18 16:28 GMT+02:00 Michael Niedermayer : > On Tue, Apr 18, 2017 at 11:04:34AM +0200, Carl Eugen Hoyos wrote: >> Hi! >> >> Attached patch fixes the following ubsan errors: >> libavcodec/motion_est.c:959:42: runtime error: left shift of negative >> value -16 >> libavcodec/motion_est.c:960:42:

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

2017-04-19 Thread James Almer
On 4/19/2017 6:04 PM, Paul B Mahol wrote: Signed-off-by: Paul B Mahol --- doc/filters.texi | 38 libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_deflicker.c | 455 + 4 files changed, 495 inse

Re: [FFmpeg-devel] [PATCH] avcodec/aac_adtstoasc: fix ASC passthrough on small frames

2017-04-19 Thread James Almer
On 4/17/2017 8:59 PM, Michael Niedermayer wrote: On Wed, Apr 12, 2017 at 09:52:41PM -0300, James Almer wrote: ASC frames smaller than AAC_ADTS_HEADER_SIZE were being discarded. Signed-off-by: James Almer --- libavcodec/aac_adtstoasc_bsf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 delet

Re: [FFmpeg-devel] [PATCH v2] libavformat/tcp: fix return code for tcp_accept

2017-04-19 Thread Simon Thelen
On 17-04-08 at 14:21, Simon Thelen wrote: > ff_accept can return AVERROR(ETIMEDOUT) and errno will be 0 (or > undefined), return ret instead and return ff_neterror() in > ff_poll_interrupt instead of AVERROR(errno) to parse WSAGetLastError on > Windows. > --- > v2 rewords the commit message to bett