Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg.c: allow forcing input framerate on streamcopy

2019-04-05 Thread Leo Izen
On 4/4/19 5:11 AM, Michael Niedermayer wrote: On Wed, Jan 09, 2019 at 05:26:53PM -0500, Leo Izen wrote: --- fftools/ffmpeg.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) Does this behave as intended when there is also an audio stream ? It depends on what you

[FFmpeg-devel] [PATCH] avfilter/af_asetnsamples: fix sample queuing.

2019-04-05 Thread Nikolas Bowe via ffmpeg-devel
When asetnsamples uses output samples < input samples, remaining samples build up in the fifo over time. Fix this by marking the filter as ready again if there are enough samples. Regression since ef3babb2c70f564dc1634b3f29c6e35a2b2dc239 --- libavfilter/af_asetnsamples.c | 8 ++-- 1 file

[FFmpeg-devel] [PATCH] libavutil/hwcontext_opencl.c: fix bug in `opencl_get_plane_format`

2019-04-05 Thread Jarek Samic
The `opencl_get_plane_format` function was incorrectly determining the value used to set the image channel order. This resulted in all RGB pixel formats being set to the `CL_RGBA` pixel format, regardless of whether or not they actually *were* RGBA. This patch fixes the issue by using the

Re: [FFmpeg-devel] [PATCH v2] lavf/rtsp.c: Fix stimeout option not applied on http tunnel

2019-04-05 Thread Jun Li
On Fri, Apr 5, 2019 at 11:50 AM Jun Li wrote: > stimeout option is already used in tcp transport, since > http is based on tcp, pass the option to http for tunneling > case. > --- > libavformat/rtsp.c | 10 -- > 1 file changed, 8 insertions(+), 2 deletions(-) > > diff --git

[FFmpeg-devel] [PATCH v2] lavf/rtsp.c: Fix stimeout option not applied on http tunnel

2019-04-05 Thread Jun Li
stimeout option is already used in tcp transport, since http is based on tcp, pass the option to http for tunneling case. --- libavformat/rtsp.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 033095905d..8349840c96

Re: [FFmpeg-devel] [PATCH] avcodec/agm: Fix integer overflow with w/h

2019-04-05 Thread Michael Niedermayer
On Fri, Apr 05, 2019 at 09:54:51AM +0200, Paul B Mahol wrote: > On 4/5/19, Michael Niedermayer wrote: > > Fixes: negation of -2147483648 cannot be represented in type 'int'; cast to > > an unsigned type to negate this value to itself > > Fixes: > >

Re: [FFmpeg-devel] [PATCH v1] lavf/rtsp.c: Fix stimeout option not applied on http tunnel

2019-04-05 Thread Michael Niedermayer
On Fri, Apr 05, 2019 at 01:20:31AM -0700, Jun Li wrote: > stimeout option is already used in tcp transport, since > http is based on tcp, pass the option to http for tunneling > case. > --- > libavformat/rtsp.c | 8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git

Re: [FFmpeg-devel] [PATCH 13/21] avformat/matroskadec: Improve length check

2019-04-05 Thread Michael Niedermayer
On Wed, Mar 27, 2019 at 12:18:44PM +0100, Andreas Rheinhardt via ffmpeg-devel wrote: > The earlier code had three flaws: > > 1. The case of an unknown-sized element inside a finite-sized element > (which is against the specifications) was not caught. > > 2. The error message wasn't helpful: It

[FFmpeg-devel] [PATCH] swscale/ppc: VSX-optimize non-full-chroma yuv2rgb_2

2019-04-05 Thread Lauri Kasanen
./ffmpeg -f lavfi -i yuvtestsrc=duration=1:size=1200x1440 -sws_flags fast_bilinear \ -s 1200x720 -f null -vframes 100 -pix_fmt $i -nostats \ -cpuflags 0 -v error - 32-bit mul, power8 only. ~2x speedup: rgb24 24431 UNITS in yuv2packed2, 16384 runs, 0 skips 13783 UNITS

[FFmpeg-devel] [PATCH v1] lavf/rtsp.c: Fix stimeout option not applied on http tunnel

2019-04-05 Thread Jun Li
stimeout option is already used in tcp transport, since http is based on tcp, pass the option to http for tunneling case. --- libavformat/rtsp.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 033095905d..2ca1aca94e 100644

Re: [FFmpeg-devel] [PATCH] avcodec/agm: Fix integer overflow with w/h

2019-04-05 Thread Paul B Mahol
On 4/5/19, Michael Niedermayer wrote: > Fixes: negation of -2147483648 cannot be represented in type 'int'; cast to > an unsigned type to negate this value to itself > Fixes: > 13999/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AGM_fuzzer-5644405991538688 > > Found-by: continuous fuzzing

Re: [FFmpeg-devel] [RFC] fate-samples entry in MAINTAINERS

2019-04-05 Thread Michael Niedermayer
On Tue, Mar 12, 2019 at 02:15:28PM +0100, Michael Niedermayer wrote: > Hi > > I think we should add a entry for fate-samples to MAINTAINERS > so that people who need a file uploaded know with whom to talk > if the file is not being uploaded from a post to the ML > > if people agree. Who can i