Re: [FFmpeg-devel] [PATCH 3/3] avformat/mpegts: add support for non-standard NIT pid

2019-10-18 Thread Marton Balint
On Sun, 13 Oct 2019, Anthony Delannoy wrote: Ping I have mixed feelings about this, definitely seems less useful than EPG. I am asking other developers, should we add NIT as a data stream to the mpegts demuxer? Thanks, Marton ___ ffmpeg-devel m

[FFmpeg-devel] [PATCH 1/4] avcodec/vp3: sanity check cropping

2019-10-18 Thread Michael Niedermayer
This check is not based on the specification, which allows instead arbitrary croping Fixes: Timeout (32sec -> 0.1sec) Fixes: 18207/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_THEORA_fuzzer-5666242274263040 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/maste

[FFmpeg-devel] [PATCH 2/4] avcodec/decode: Also consider channels in max_samples check

2019-10-18 Thread Michael Niedermayer
Fixes: Timeout (109sec -> 0.6sec) Fixes: 18309/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INTERPLAY_ACM_fuzzer-6226598168100864 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/decode.c

[FFmpeg-devel] [PATCH 3/4] tools/target_dec_fuzzer: Adjust threshold for VP9

2019-10-18 Thread Michael Niedermayer
The threshold is chosen so that the worse frames would together not take excessive time. A better solution is welcome! Fixes: Timeout (308sec ->102ms) Fixes: 18314/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP9_fuzzer-5701689176227840 Found-by: continuous fuzzing process https://github.c

[FFmpeg-devel] [PATCH 4/4] avcodec/wmadec: Check block_align

2019-10-18 Thread Michael Niedermayer
Fixes: null pointer dereference Fixes: 18326/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMAV2_fuzzer-5071752362721280 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/wmadec.c | 2 +- 1

Re: [FFmpeg-devel] [PATCH v4] avformat/movenc: split empty text sample when duration overflow

2019-10-18 Thread Jun Li
On Wed, Oct 9, 2019 at 3:42 PM Jun Li wrote: > > > On Mon, Oct 7, 2019 at 6:36 PM Jun Li wrote: > >> >> >> On Mon, Oct 7, 2019 at 6:34 PM Jun Li wrote: >> >>> Fix #7637 >>> One empty/end sample is created and inserted between two caption lines >>> when there is a gap. >>> This patch is to split

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/ffv1: Implementation of the CRC proposal for v4

2019-10-18 Thread Michael Niedermayer
On Fri, Oct 18, 2019 at 03:09:48AM +0200, Lynne wrote: > Oct 17, 2019, 23:25 by mich...@niedermayer.cc: > Signed-off-by: Michael Niedermayer > --- > libavcodec/ffv1.h| 1 + > libavcodec/ffv1dec.c | 10 +++--- > libavcodec/ffv1enc.c | 10 +++--- > 3 files changed, 15 insertions(+), 6

[FFmpeg-devel] [PATCH] libavformat/rtsp: fix rtsp multicasts

2019-10-18 Thread Wolfgang Haupt
If an rtsp server offers a udp multicast address as response of a DESCRIBE command the rtsp client is expected to issue SETUP with "Transport: RTP/AVP/UDP;multicast". Some rtsp servers bail out otherwise. --- libavformat/rtsp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/rts

Re: [FFmpeg-devel] [PATCH v3] avcodec/libdav1d: fix setting AVFrame reordered_opaque

2019-10-18 Thread James Almer
On 10/18/2019 12:14 PM, Andrey Semashev wrote: > On 2019-10-18 15:52, James Almer wrote: >> On 10/18/2019 7:22 AM, Andrey Semashev wrote: >>> Actually reorder the values. >>> >>> Should effectively fix ticket #8300. >>> >>> Signed-off-by: James Almer >>> >>> Updated to avoid extra memory allocatio

Re: [FFmpeg-devel] [PATCH v3] avcodec/libdav1d: fix setting AVFrame reordered_opaque

2019-10-18 Thread Andrey Semashev
On 2019-10-18 15:52, James Almer wrote: On 10/18/2019 7:22 AM, Andrey Semashev wrote: Actually reorder the values. Should effectively fix ticket #8300. Signed-off-by: James Almer Updated to avoid extra memory allocations on 64-bit platforms. Signed-off-by: Andrey Semashev Please stop sen

Re: [FFmpeg-devel] [PATCH v3] avcodec/libdav1d: fix setting AVFrame reordered_opaque

2019-10-18 Thread James Almer
On 10/18/2019 7:22 AM, Andrey Semashev wrote: > Actually reorder the values. > > Should effectively fix ticket #8300. > > Signed-off-by: James Almer > > Updated to avoid extra memory allocations on 64-bit platforms. > > Signed-off-by: Andrey Semashev Please stop sending patches by other peop

[FFmpeg-devel] Bye packets

2019-10-18 Thread
Hi everyone, I have one question regarding bye packets. Actually I’m creating some project which depends on WIFI RAK5206 electronic board. I’m using ffmpeg library to obtain video and audio stream and I have issue where I can start and stop stream 4 times, but when I want to start 5th I get err

Re: [FFmpeg-devel] [PATCH v3] avcodec/libdav1d: fix setting AVFrame reordered_opaque

2019-10-18 Thread Hendrik Leppkes
On Fri, Oct 18, 2019 at 12:22 PM Andrey Semashev wrote: > > Actually reorder the values. > > Should effectively fix ticket #8300. > > Signed-off-by: James Almer > > Updated to avoid extra memory allocations on 64-bit platforms. > Lets not do this, the code for this is really ugly. - Hendrik ___

Re: [FFmpeg-devel] [PATCH] avcodec/libdav1d: fix setting AVFrame reordered_opaque

2019-10-18 Thread Andrey Semashev
On 2019-10-18 10:01, Andrey Semashev wrote: On 2019-10-18 02:16, James Almer wrote: On 10/17/2019 7:46 PM, Andrey Semashev wrote: On 2019-10-18 01:28, James Almer wrote: On 10/17/2019 7:13 PM, Andrey Semashev wrote: On 2019-10-17 23:11, James Almer wrote: Actually reorder the values. Should

[FFmpeg-devel] [PATCH v3] avcodec/libdav1d: fix setting AVFrame reordered_opaque

2019-10-18 Thread Andrey Semashev
Actually reorder the values. Should effectively fix ticket #8300. Signed-off-by: James Almer Updated to avoid extra memory allocations on 64-bit platforms. Signed-off-by: Andrey Semashev --- libavcodec/libdav1d.c | 46 ++- 1 file changed, 45 insertions

Re: [FFmpeg-devel] [PATCH] lavc/qsvenc: Fix bitrate_limit to allow AVC encode in limited bitrate

2019-10-18 Thread Fu, Linjie
> -Original Message- > From: Fu, Linjie > Sent: Tuesday, October 15, 2019 15:56 > To: ffmpeg-devel@ffmpeg.org > Cc: Fu, Linjie > Subject: [PATCH] lavc/qsvenc: Fix bitrate_limit to allow AVC encode in limited > bitrate > > MFXVideoENCODE_Query calls CheckVideoParamQueryLike in MSDK and >

[FFmpeg-devel] [PATCH] lavc/qsvdec: remove unused check_dec_param

2019-10-18 Thread Linjie Fu
Signed-off-by: Linjie Fu --- libavcodec/qsvdec.c | 27 --- 1 file changed, 27 deletions(-) diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c index ae5023989c..0d34021b42 100644 --- a/libavcodec/qsvdec.c +++ b/libavcodec/qsvdec.c @@ -164,33 +164,6 @@ static inline uns

Re: [FFmpeg-devel] [PATCH] avcodec/libdav1d: fix setting AVFrame reordered_opaque

2019-10-18 Thread Andrey Semashev
On 2019-10-18 02:16, James Almer wrote: On 10/17/2019 7:46 PM, Andrey Semashev wrote: On 2019-10-18 01:28, James Almer wrote: On 10/17/2019 7:13 PM, Andrey Semashev wrote: On 2019-10-17 23:11, James Almer wrote: Actually reorder the values. Should effectively fix ticket #8300. Signed-off-by