Re: [FFmpeg-devel] [PATCH v2] fate/hevc-conformance: add clip for persistent_rice_adaptation_enabled_flag

2020-11-21 Thread Guangxin Xu
ping. On Thu, Nov 19, 2020 at 11:01 PM Guangxin Xu wrote: > Hi folks, > Could you help upload the bits file in > https://www.itu.int/wftp3/av-arch/jctvc-site/bitstream_exchange/draft_conformance/RExt/WPP_HIGH_TP_444_8BIT_RExt_Apple_2.zip > ? > it's required by > https://patchwork.ffmpeg.org/proj

Re: [FFmpeg-devel] [PATCH 0/3] add vvc raw demuxer

2020-11-21 Thread Nuo Mi
Thanks for the replies. On Sun, Nov 22, 2020 at 5:53 AM James Almer wrote: > On 11/21/2020 2:18 PM, Mark Thompson wrote: > > On 21/11/2020 02:19, James Almer wrote: > >> On 11/20/2020 10:55 PM, Nuo Mi wrote: > >>> Hi Mark, James and all, > >>> There are two ways to implement the parser. > >>> 1.

Re: [FFmpeg-devel] [PATCH] avformat/utils: Change compute_chapters_end() from O(n²) to O(n log n)

2020-11-21 Thread Lynne
Nov 21, 2020, 18:24 by mich...@niedermayer.cc: > Fixes: Timeout (49sec -> 9sec) > Fixes: > 27427/clusterfuzz-testcase-minimized-ffmpeg_dem_FFMETADATA_fuzzer-5140589838073856 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by:

Re: [FFmpeg-devel] [PATCH 0/3] add vvc raw demuxer

2020-11-21 Thread James Almer
On 11/21/2020 2:18 PM, Mark Thompson wrote: On 21/11/2020 02:19, James Almer wrote: On 11/20/2020 10:55 PM, Nuo Mi wrote: Hi Mark, James and all, There are two ways to implement the parser. 1. use cbs like av1 parser. 2. follow h264/h265 parser method. Which is your preferred? thanks A CBS m

Re: [FFmpeg-devel] [PATCH v2] avcodec/cuviddec: fix CUDA_ERROR_INVALID_CONTEXT error found by cuda-memcheck tool

2020-11-21 Thread Timo Rothenpieler
applied ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH] avformat/utils: Change compute_chapters_end() from O(n²) to O(n log n)

2020-11-21 Thread Michael Niedermayer
On Sat, Nov 21, 2020 at 07:32:31PM +0100, Lynne wrote: > Nov 21, 2020, 18:24 by mich...@niedermayer.cc: > > > Fixes: Timeout (49sec -> 9sec) > > Fixes: > > 27427/clusterfuzz-testcase-minimized-ffmpeg_dem_FFMETADATA_fuzzer-5140589838073856 > > > > Found-by: continuous fuzzing process > > https://

Re: [FFmpeg-devel] [PATCH 1/4] avformat/iff: Check size before skip

2020-11-21 Thread Michael Niedermayer
On Sat, Nov 14, 2020 at 11:26:25PM +0100, Michael Niedermayer wrote: > Fixes: Infinite loop > Fixes: > 27292/clusterfuzz-testcase-minimized-ffmpeg_dem_IFF_fuzzer-5731168991051776 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-of

Re: [FFmpeg-devel] [PATCH 2/2] avformat/rmdec: Check for EOF in index packet reading

2020-11-21 Thread Michael Niedermayer
On Sat, Nov 14, 2020 at 11:18:15AM +0100, Michael Niedermayer wrote: > Fixes: Timeout(>10sec -> 1ms) > Fixes: > 27284/clusterfuzz-testcase-minimized-ffmpeg_dem_RM_fuzzer-630420985728 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > S

Re: [FFmpeg-devel] [PATCH] avformat/movenc: allow Apple Lossless inside mp4

2020-11-21 Thread Jan Ekström
On Fri, Nov 20, 2020 at 10:53 PM Jan Ekström wrote: > > On Fri, Nov 20, 2020 at 7:02 PM Leo Izen wrote: > > > > MP4 already supports Apple Lossless, and it can be put inside by using > > muxer=ipod, but it's not tagged as supported in mp4. The mp4ra lists > > alac as a valid fourcc inside mp4, so

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/cbs_h265_syntax_template: Better check for num_long_term_sps

2020-11-21 Thread Mark Thompson
On 21/11/2020 17:37, Michael Niedermayer wrote: On Sun, Nov 15, 2020 at 09:37:45PM +, Mark Thompson wrote: On 14/11/2020 10:18, Michael Niedermayer wrote: Fixes: index 26 out of bounds for type 'uint8_t [16]' Fixes: 24913/clusterfuzz-testcase-minimized-ffmpeg_BSF_HEVC_METADATA_fuzzer-62617

Re: [FFmpeg-devel] [PATCH] hwcontext_drm: issue DMA_BUF_IOCTL_SYNC when mapping FDs

2020-11-21 Thread Mark Thompson
On 20/11/2020 17:26, Lynne wrote: This improves performance and helps a little when given FDs without any synchronization fences. Patch attached. > From b4b0b8038bef08cf3dae9daa78eca3a675b67f89 Mon Sep 17 00:00:00 2001 > From: Lynne > Date: Fri, 20 Nov 2020 18:23:42 +0100 > Subject: [PATCH] h

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/cbs_h265_syntax_template: Better check for num_long_term_sps

2020-11-21 Thread Michael Niedermayer
On Sun, Nov 15, 2020 at 09:37:45PM +, Mark Thompson wrote: > On 14/11/2020 10:18, Michael Niedermayer wrote: > > Fixes: index 26 out of bounds for type 'uint8_t [16]' > > Fixes: > > 24913/clusterfuzz-testcase-minimized-ffmpeg_BSF_HEVC_METADATA_fuzzer-6261760693370880 > > > > Found-by: continu

[FFmpeg-devel] [PATCH] avformat/utils: Change compute_chapters_end() from O(n²) to O(n log n)

2020-11-21 Thread Michael Niedermayer
Fixes: Timeout (49sec -> 9sec) Fixes: 27427/clusterfuzz-testcase-minimized-ffmpeg_dem_FFMETADATA_fuzzer-5140589838073856 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/utils.c | 43 +

Re: [FFmpeg-devel] [PATCH 0/3] add vvc raw demuxer

2020-11-21 Thread Mark Thompson
On 21/11/2020 02:19, James Almer wrote: On 11/20/2020 10:55 PM, Nuo Mi wrote: Hi Mark, James and all, There are two ways to implement the parser. 1. use cbs like av1 parser. 2. follow h264/h265 parser method. Which is your preferred? thanks A CBS module for VVC is needed regardless of how the

[FFmpeg-devel] [PATCH] avformat/hls: Fixes #EXT-X-PROGRAM-DATE-TIME value of existing segments from getting over written with new value when appending new segments to an existing playlist file

2020-11-21 Thread Vignesh Ravichandran
Signed-off-by: Vignesh Ravichandran --- libavformat/hlsenc.c | 35 +++ 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index cbfd8f7c0d..030a2d3b97 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc

Re: [FFmpeg-devel] [PATCH 2/4] avdevice/decklink: add AV_OPT_FLAG_DEPRECATED flag for list_devices

2020-11-21 Thread Engi Gang
im stupid sorry On Sat, Nov 21, 2020 at 2:57 PM Reto Kromer wrote: > Engi Gang wrote: > > >unsubscribe > > Please follow the instruction given at the end of each single > message: > > >> To unsubscribe, visit link above, or email > >> ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". >

Re: [FFmpeg-devel] [PATCH 2/4] avdevice/decklink: add AV_OPT_FLAG_DEPRECATED flag for list_devices

2020-11-21 Thread Reto Kromer
Engi Gang wrote: >unsubscribe Please follow the instruction given at the end of each single message: >> To unsubscribe, visit link above, or email >> ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". >To unsubscribe, visit link above, or email >ffmpeg-devel-requ...@ffmpeg.org with sub

[FFmpeg-devel] [PATCH 3/3] avcodec/mlpdec: Avoid code duplication when initializing VLCs

2020-11-21 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/mlpdec.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/libavcodec/mlpdec.c b/libavcodec/mlpdec.c index ec346868c6..ed25b71d2d 100644 --- a/libavcodec/mlpdec.c +++ b/libavcodec/mlpdec.c @@ -206,15 +206,14 @@ s

[FFmpeg-devel] [PATCH 2/3] avcodec/mlpdec: Make decoders init-threadsafe

2020-11-21 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/mlpdec.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libavcodec/mlpdec.c b/libavcodec/mlpdec.c index 1a2c0f29ac..ec346868c6 100644 --- a/libavcodec/mlpdec.c +++ b/libavcodec/mlpdec.c @@ -30,6 +30,7 @@ #include "lib

[FFmpeg-devel] [PATCH 1/3] avcodec/mlp: Make initializing CRCs thread-safe

2020-11-21 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/mlp.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/libavcodec/mlp.c b/libavcodec/mlp.c index ddbab60c4e..74363c3b95 100644 --- a/libavcodec/mlp.c +++ b/libavcodec/mlp.c @@ -23,6 +23,7 @@ #include "libavu

Re: [FFmpeg-devel] [PATCH 4/4] avdevice/decklink_dec: fix warning for unused variable

2020-11-21 Thread Marton Balint
On Sat, 21 Nov 2020, lance.lmw...@gmail.com wrote: From: Limin Wang Signed-off-by: Limin Wang --- libavdevice/decklink_dec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavdevice/decklink_dec.cpp b/libavdevice/decklink_dec.cpp index 049e133..2e41b58 100644 --- a/l

Re: [FFmpeg-devel] [PATCH 2/4] avdevice/decklink: add AV_OPT_FLAG_DEPRECATED flag for list_devices

2020-11-21 Thread Marton Balint
On Sat, 21 Nov 2020, lance.lmw...@gmail.com wrote: From: Limin Wang and claim the option deprecated in the description. No, the description should stay as is. Adding the flag is enough, the deprecation will be printed if the user asks for the list of options based on the flag. Regards,

Re: [FFmpeg-devel] [PATCH 1/4] avdevice/decklink: use boolean for list_devices option

2020-11-21 Thread Marton Balint
On Sat, 21 Nov 2020, lance.lmw...@gmail.com wrote: From: Limin Wang For the document(indevs.texi and outdevs.texi) used it as boolean. Signed-off-by: Limin Wang --- libavdevice/decklink_dec_c.c | 2 +- libavdevice/decklink_enc_c.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) dif

Re: [FFmpeg-devel] [PATCH 2/4] avdevice/decklink: add AV_OPT_FLAG_DEPRECATED flag for list_devices

2020-11-21 Thread Engi Gang
unsubscribe On Sat, Nov 21, 2020 at 4:08 AM wrote: > From: Limin Wang > > and claim the option deprecated in the description. > > Signed-off-by: Limin Wang > --- > libavdevice/decklink_dec_c.c | 3 ++- > libavdevice/decklink_enc_c.c | 3 ++- > 2 files changed, 4 insertions(+), 2 deletions(-)