[FFmpeg-devel] Zoom

2019-10-06 Thread ABDULLA SAKALLI
Dear list, I've 109 png or svg files. I create a video from it. But the video is not zoomable. I cannot zoom in or out with my mouse. Is it possible to activate the zoom option for the video. Best wishes Abdulla --- Assoc.

Re: [FFmpeg-devel] [PATCH v1] avformat/tee.c: steal bsf option before passing to fifo muxer

2019-10-06 Thread Liu Steven
> 在 2019年10月6日,上午11:37,Jun Li 写道: > > Fix #7620 > In the case tee muxer with both "bsf" and "use_fifo" parameters > wil trigger this bug. Tee muxer will first steal parameters (like "f", > "select"...) and then "use_fifo" will try reading out remaining options > and pass them to fifo as option

Re: [FFmpeg-devel] Zoom

2019-10-06 Thread Lou Logan
On Sun, Oct 6, 2019, at 12:32 PM, ABDULLA SAKALLI wrote: > Dear list, > I've 109 png or svg files. I create a video from it. But the video is not > zoomable. I cannot zoom in or out with my mouse. Is it possible to activate > the zoom option for the video. This mailing list (ffmpeg-devel) is only

[FFmpeg-devel] [PATCH] avcodec/zmbv: Simplify assigning decode_intra function pointer

2019-10-06 Thread Andreas Rheinhardt
zmbv has only one function for decoding intra frames, namely decode_intra. This can be used to simplify the process of choosing the right function pointer. This also removes spec-incompliant conversions between function pointers and pointers of type void * and thereby fixes the warning "ISO C

[FFmpeg-devel] [PATCH v1] avfilter/vf_delogo: make the interp value compute method simple

2019-10-06 Thread Steven Liu
because the interp >= 0UL comparison of an unsigned value is always true fix CID: 1454642 Signed-off-by: Steven Liu --- libavfilter/vf_delogo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_delogo.c b/libavfilter/vf_delogo.c index 376c5e850f..27a769982f

[FFmpeg-devel] [PATCH v3 0/3] avformat/mpjpegdec: various fixes

2019-10-06 Thread Moritz Barsnick
This patches fix several bugs in the mpjpeg demuxer. I think it is not possible to create a fate test for patch 2/3 (and 3/3?), as the bugs rely both on the stream and on the HTTP header announcement, so one would need to simulate a web server. A have an actual Mobotix stream URL (found in the

[FFmpeg-devel] [PATCH v3 2/3] avformat/mpjpegdec: fix strict boundary search string

2019-10-06 Thread Moritz Barsnick
According to RFC1341, the multipart boundary indicated by the Content-Type header must be prepended by CRLF + "--", and followed by CRLF. In the case of strict MIME header boundary handling, the "--" was forgotten to add. Fixes trac #7921. A side effect is that this coincidentally breaks

[FFmpeg-devel] [PATCH v3 1/3] avformat/mpjpegdec: fix finding multipart boundary parameter

2019-10-06 Thread Moritz Barsnick
The string matching function's return value was evaluated incorrectly. Fixes trac #7920. Signed-off-by: Moritz Barsnick --- libavformat/mpjpegdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mpjpegdec.c b/libavformat/mpjpegdec.c index 84130ab718..c0ffaf616e

[FFmpeg-devel] [PATCH v3 3/3] avformat/mpjpegdec: ensure seekback for latest chunk

2019-10-06 Thread Moritz Barsnick
Not only the first, but each latest chunk must be cached to allow seekback after finding the mime boundary. Fixes trac #5023 and #5921. Signed-off-by: Moritz Barsnick --- libavformat/mpjpegdec.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libavformat/mpjpegdec.c

[FFmpeg-devel] [PATCH] avcodec/filter: Remove extra '; ' outside of functions

2019-10-06 Thread Andreas Rheinhardt
They are not allowed outside of functions. Fixes the warning "ISO C does not allow extra ‘;’ outside of a function [-Wpedantic]" when compiling with GCC and -pedantic. Signed-off-by: Andreas Rheinhardt --- libavcodec/v4l2_m2m_dec.c| 2 +- libavfilter/vf_blend.c | 10

Re: [FFmpeg-devel] [PATCH v1] avfilter/vf_delogo: make the interp value compute method simple

2019-10-06 Thread Liu Steven
> 在 2019年10月7日,下午1:06,Steven Liu 写道: > > because the interp >= 0UL comparison of an unsigned value is always true > fix CID: 1454642 > > Signed-off-by: Steven Liu > --- > libavfilter/vf_delogo.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavfilter/vf_delogo.c

[FFmpeg-devel] [PATCH v2] avfilter/vf_delogo: make the interp value compute method simple

2019-10-06 Thread Steven Liu
because the interp >= 0UL comparison of an unsigned value is always true fix CID: 1454642 Signed-off-by: Steven Liu --- libavfilter/vf_delogo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_delogo.c b/libavfilter/vf_delogo.c index 376c5e850f..3678548353

Re: [FFmpeg-devel] [PATCH v2 5/5] avformat/chromaprint: Avoid null pointer dereference

2019-10-06 Thread Andriy Gelman
On Sun, 06. Oct 01:49, Andriy Gelman wrote: > From: Andriy Gelman > > As of commit 21b2442f in the chromaprint library, selecting "-algorithm 2" > via the ffmpeg cli creates a null pointer dereference. This can be replicated > by: > ./ffmpeg -f lavfi -i sine=d=20,asetnsamples=n=1000 -f

Re: [FFmpeg-devel] [PATCH 3/4] avformat/subtitles: Check nb_subs in ff_subtitles_queue_finalize()

2019-10-06 Thread Andreas Rheinhardt
Michael Niedermayer: > Fixes: null pointer dereference > Fixes: > 17828/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5645915116797952 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by: Michael Niedermayer > --- >

Re: [FFmpeg-devel] [PATCH v2 2/5] doc/formats: Update documentation for chromaprint

2019-10-06 Thread Gyan
On 06-10-2019 11:19 AM, Andriy Gelman wrote: From: Andriy Gelman Silence detection can only be set with the -algorithm 3 option, so update the documentation. --- doc/muxers.texi | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/muxers.texi

Re: [FFmpeg-devel] [PATCH] avcodec/cinepakenc: Fix invalid shifts

2019-10-06 Thread Paul B Mahol
Still ok. On 10/6/19, Andreas Rheinhardt wrote: > Fixes: left shift of 1 by 31 places cannot be represented in type 'int'. > Affected the FATE-tests vsynth1-cinepak, vsynth2-cinepak and > vsynth_lena-cinepak. Also fixes ticket #8220. > > Signed-off-by: Andreas Rheinhardt > --- > I am resending

Re: [FFmpeg-devel] [PATCH] Fix segment muxer

2019-10-06 Thread Marton Balint
On Thu, 3 Oct 2019, just.one@yandex.ru wrote: It seems that my first attempt to send the patch failed (probably because my box where I executed "git send-email" failed reverse smtp check), so I'm going to re-send it to this same thread. --- When incoming media has non-zero start PTS,

Re: [FFmpeg-devel] [PATCH v2 2/5] doc/formats: Update documentation for chromaprint

2019-10-06 Thread Andriy Gelman
On Sun, 06. Oct 12:28, Gyan wrote: > > > On 06-10-2019 11:19 AM, Andriy Gelman wrote: > > From: Andriy Gelman > > > > Silence detection can only be set with the -algorithm 3 option, so > > update the documentation. > > --- > > doc/muxers.texi | 10 ++ > > 1 file changed, 6

Re: [FFmpeg-devel] [PATCH 1/6] avcodec/h2645_parse: Use av_fast_realloc() for nals array

2019-10-06 Thread Michael Niedermayer
On Sat, Oct 05, 2019 at 08:01:31PM -0300, James Almer wrote: > On 10/5/2019 6:41 PM, Michael Niedermayer wrote: > > Fixes: Timeout (17sec ->281ms) > > Fixes: > > 17833/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-5638346914660352 > > > > Found-by: continuous fuzzing process > >

Re: [FFmpeg-devel] [PATCH 3/4] avformat/subtitles: Check nb_subs in ff_subtitles_queue_finalize()

2019-10-06 Thread Michael Niedermayer
On Sun, Oct 06, 2019 at 05:43:00AM +, Andreas Rheinhardt wrote: > Michael Niedermayer: > > Fixes: null pointer dereference > > Fixes: > > 17828/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5645915116797952 > > > > Found-by: continuous fuzzing process > >

Re: [FFmpeg-devel] [PATCH v2 5/5] avformat/chromaprint: Avoid null pointer dereference

2019-10-06 Thread Paul B Mahol
On 10/6/19, Andriy Gelman wrote: > On Sun, 06. Oct 01:49, Andriy Gelman wrote: >> From: Andriy Gelman >> >> As of commit 21b2442f in the chromaprint library, selecting "-algorithm 2" >> via the ffmpeg cli creates a null pointer dereference. This can be >> replicated by: >> ./ffmpeg -f lavfi -i

Re: [FFmpeg-devel] [PATCH] Fix segment muxer

2019-10-06 Thread Vasily
I used that value somewhere during patch development, but I eventually settled on -1, because that "start_pts" and "end_pts" are using some other units, not the unit used by pkt->pts. So I wanted to make a distinction. Though a possibility of negative timestamps didn't come to me, so I probably

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

2019-10-06 Thread Paul B Mahol
On 10/5/19, Reino Wijnsma wrote: > On 2019-10-04T10:04:46+0200, Paul B Mahol wrote: > >> +Apply Normalized Least-Mean-Squares algorithm to first audio stream using >> second audio stream. > > Apply Normalized Least-Mean-Squares algorithm to [the] first audio stream > using [the] second audio

Re: [FFmpeg-devel] [PATCH] cuviddec: Properly check capability for chroma format

2019-10-06 Thread Timo Rothenpieler
On 04.10.2019 06:42, Holy Wu wrote: Chroma format was not checked properly as it's always set to cudaVideoChromaFormat_420 regardless of the input pixel format. Why does it remove the check for the codec being supported at all? ___ ffmpeg-devel

Re: [FFmpeg-devel] [PATCH v2 5/5] avformat/chromaprint: Avoid null pointer dereference

2019-10-06 Thread Andriy Gelman
On Sun, 06. Oct 13:56, Paul B Mahol wrote: > On 10/6/19, Andriy Gelman wrote: > > On Sun, 06. Oct 01:49, Andriy Gelman wrote: > >> From: Andriy Gelman > >> > >> As of commit 21b2442f in the chromaprint library, selecting "-algorithm 2" > >> via the ffmpeg cli creates a null pointer dereference.

Re: [FFmpeg-devel] [PATCH] avformat/matroskaenc: use r_frame_rate as fallback to set a track's DefaultDuration

2019-10-06 Thread James Almer
On 10/1/2019 12:58 PM, James Almer wrote: > Signed-off-by: James Almer > --- > libavformat/matroskaenc.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c > index a64ffdb690..37706e56c7 100644 > --- a/libavformat/matroskaenc.c >

Re: [FFmpeg-devel] [PATCH v2 2/5] doc/formats: Update documentation for chromaprint

2019-10-06 Thread Gyan
On 06-10-2019 06:43 PM, Andriy Gelman wrote: On Sun, 06. Oct 12:28, Gyan wrote: On 06-10-2019 11:19 AM, Andriy Gelman wrote: From: Andriy Gelman Silence detection can only be set with the -algorithm 3 option, so update the documentation. --- doc/muxers.texi | 10 ++ 1 file

Re: [FFmpeg-devel] [PATCH 01/10] avformat/mpjpegdec: Avoid allocation of AVIOContext

2019-10-06 Thread Michael Niedermayer
On Sun, Oct 06, 2019 at 07:01:11AM +0200, Andreas Rheinhardt wrote: > Put an AVIOContext whose lifetime doesn't extend beyond the function where > it is allocated on the stack instead of allocating and freeing it. > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/mpjpegdec.c | 10