Re: [FFmpeg-devel] [PATCH] libavformat/flvdec: add HEVC demuxing support

2021-07-25 Thread Gyan Doshi
On 2021-07-25 19:07, James Almer wrote: On 7/25/2021 10:04 AM, Xiaolei Yu wrote: Explicitly supply an HEVC codec id to enable this feature. ---   libavformat/flv.h    |  1 +   libavformat/flvdec.c | 21 ++---   2 files changed, 19 insertions(+), 3 deletions(-) This has been

[FFmpeg-devel] [PATCH] configure: add initial RISC-V support

2021-07-25 Thread Brad Smith
OpenBSD only supports riscv64 but this is an attempt at adding some of the initial bits for RISC-V support. diff --git a/configure b/configure index b3b8065188..8b5edaa01e 100755 --- a/configure +++ b/configure @@ -2021,6 +2021,7 @@ ARCH_LIST=" parisc ppc ppc64 +riscv

[FFmpeg-devel] [PATCH] Fix build failure on macos 10.12

2021-07-25 Thread Pavel Koshevoy
--- libavutil/hwcontext_videotoolbox.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libavutil/hwcontext_videotoolbox.c b/libavutil/hwcontext_videotoolbox.c index 58095a1fc9..99e117aca3 100644 --- a/libavutil/hwcontext_videotoolbox.c +++

Re: [FFmpeg-devel] [PATCH] ffmpeg: fix order between field order autodetection and override

2021-07-25 Thread Jan Ekström
On Sun, Jul 25, 2021 at 10:38 PM Paul B Mahol wrote: > > On Wed, Jul 21, 2021 at 7:29 PM Jan Ekström wrote: > > > Somehow I missed this in fbb44bc51a647862eb05ae3f9d7d49a0be9bed57 , > > even though the lines were within the context. Probably the code > > originally being after the this logic had

Re: [FFmpeg-devel] [PATCH] ffmpeg: fix order between field order autodetection and override

2021-07-25 Thread Paul B Mahol
On Wed, Jul 21, 2021 at 7:29 PM Jan Ekström wrote: > Somehow I missed this in fbb44bc51a647862eb05ae3f9d7d49a0be9bed57 , > even though the lines were within the context. Probably the code > originally being after the this logic had something to do with it, > but previously it only touched the

[FFmpeg-devel] 回复: [PATCH 2/2] avfilter/dnn_processing: Add TensorRT backend

2021-07-25 Thread Xiaowei Wang
The original idea was to submit cpp code directly into ffmpeg, however, after the patch was ready, I was told that this was not a good idea, so I wrapped the TensorRT cpp implementations in c interfaces (https://github.com/DutchPiPi/nv-tensorrt-wrapper) and removed the cpp file. Thanks,

Re: [FFmpeg-devel] [PATCH] avfilter/avf_concat: fix EOF timestamp

2021-07-25 Thread Nicolas George
Paul B Mahol (12021-07-25): > Signed-off-by: Paul B Mahol > --- > libavfilter/avf_concat.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/libavfilter/avf_concat.c b/libavfilter/avf_concat.c > index cb46f52a04..8bb5a5d618 100644 > --- a/libavfilter/avf_concat.c >

[FFmpeg-devel] [PATCH] avfilter/avf_concat: fix EOF timestamp

2021-07-25 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/avf_concat.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavfilter/avf_concat.c b/libavfilter/avf_concat.c index cb46f52a04..8bb5a5d618 100644 --- a/libavfilter/avf_concat.c +++ b/libavfilter/avf_concat.c @@ -402,7 +402,10

[FFmpeg-devel] [PATCH 2/2] avfilter/dnn_processing: Add TensorRT backend

2021-07-25 Thread Xiaowei Wang
The backend can be called as: -vf dnn_processing=dnn_backend=tensorrt:model="model":input=:output= As TensorRT provides C++ API rather than C, the TensorRT implementation is separated into a wrapper. The wrapper is placed in https://github.com/DutchPiPi/nv-tensorrt-wrapper Please build & install

[FFmpeg-devel] [PATCH 1/2] avfilter/dnn/dnn_backend_trt: Update with master and sign-off

2021-07-25 Thread Xiaowei Wang
Signed-off-by: Xiaowei Wang --- configure | 6 +- libavfilter/dnn/Makefile | 1 + libavfilter/dnn/dnn_backend_tensorrt.c | 77 +++ libavfilter/dnn/dnn_backend_tensorrt.h | 72 +++ libavfilter/dnn/dnn_interface.c| 10 +

[FFmpeg-devel] [PATCH 1/2] avfilter/dnn/dnn_backend_trt: Update with master and sign-off

2021-07-25 Thread Xiaowei Wang
0001-avfilter-dnn-dnn_backend_trt-Update-with-master-and-.patch Description: 0001-avfilter-dnn-dnn_backend_trt-Update-with-master-and-.patch ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To

[FFmpeg-devel] [PATCH 1/2] tools/target_dec_fuzzer: Adjust threshold for VP6F

2021-07-25 Thread Michael Niedermayer
Fixes: Timeout Fixes: 34791/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP6F_fuzzer-4571038838030336 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- tools/target_dec_fuzzer.c | 1 + 1 file

[FFmpeg-devel] [PATCH 2/2] avcodec/webp: Check available space in loop in decode_entropy_coded_image()

2021-07-25 Thread Michael Niedermayer
Fixes: Timeout Fixes: 35401/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WEBP_fuzzer-5714401821851648 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/webp.c | 3 +++ 1 file changed, 3

Re: [FFmpeg-devel] [PATCH 2/2] avfilter/dnn_processing: Add TensorRT backend

2021-07-25 Thread James Almer
On 7/25/2021 8:58 AM, Xiaowei Wang wrote: The backend can be called as: -vf dnn_processing=dnn_backend=tensorrt:model="model":input=:output= As TensorRT provides C++ API rather than C, the TensorRT implementation is separated into a wrapper. The wrapper is placed

Re: [FFmpeg-devel] [PATCH] libavformat/flvdec: add HEVC demuxing support

2021-07-25 Thread James Almer
On 7/25/2021 10:04 AM, Xiaolei Yu wrote: Explicitly supply an HEVC codec id to enable this feature. --- libavformat/flv.h| 1 + libavformat/flvdec.c | 21 ++--- 2 files changed, 19 insertions(+), 3 deletions(-) This has been rejected time and time again, last time not

[FFmpeg-devel] [PATCH] libavformat/flvdec: add HEVC demuxing support

2021-07-25 Thread Xiaolei Yu
Explicitly supply an HEVC codec id to enable this feature. --- libavformat/flv.h| 1 + libavformat/flvdec.c | 21 ++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/libavformat/flv.h b/libavformat/flv.h index 3571b90279..7cb1b72b4c 100644 ---

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/argo: use bits_per_coded_sample instead of bits_per_raw_sample

2021-07-25 Thread Michael Niedermayer
On Mon, Jul 19, 2021 at 10:53:40AM +1000, Zane van Iperen wrote: > Will apply this and parts 3-8 of part 1 soon. thanks for looking into this [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Everything should be made as simple as possible, but not simpler. --

Re: [FFmpeg-devel] [PATCH 2/2] avfilter/dnn_processing: Add TensorRT backend

2021-07-25 Thread Jean-Baptiste Kempf
On Sun, 25 Jul 2021, at 13:58, Xiaowei Wang wrote: > libavfilter/dnn/trt_class_wrapper.cpp | 731 - So, you add files in the first patch, and then delete it on the second one??? -- Jean-Baptiste Kempf - President +33 672 704 734

Re: [FFmpeg-devel] [PATCH] avformat/yuv4mpegenc: add support for yuva444p

2021-07-25 Thread Michael Niedermayer
On Sat, Jul 24, 2021 at 06:08:37PM +0200, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavformat/yuv4mpegenc.c | 13 + > 1 file changed, 13 insertions(+) LGTM thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB If you fake or

Re: [FFmpeg-devel] Patch JPEG2000 Parser: Fix parsing of tile-part header

2021-07-25 Thread Shaun Simpson
Hi Jan, I am glad these patches help, thank you for looking into this. > It also seems like it would make sense to have a minimal sample of > such bit stream type in our FATE test set so we can figure out if the > parsing of such streams fails in the future. Yes, I have been looking at samples

Re: [FFmpeg-devel] [PATCH] lavd/lavfi.c: Set time_base for 608 cc to container time_base.

2021-07-25 Thread Thilo Borgmann
Am 16.07.21 um 09:45 schrieb Thilo Borgmann: > Hi, > when transcoding 608 cc, the cc stream frame pts is set to the same value as its container frame's pts. However, the time_base is always set to 1/9 (default) in the initialization stage. Which causes timing issues