Re: [FFmpeg-devel] [PATCH] Avoid using the --preprocessor argument to windres

2021-06-18 Thread Martin Storsjö
On Thu, 17 Jun 2021, Martin Storsjö wrote: On Mon, 14 Jun 2021, Martin Storsjö wrote: Instead use --preprocessor-arg; in binutils 2.36, the --preprocessor flag was changed so that it no longer accepts a string containing multiple arguments, but the whole --preprocessor argument is treated as t

Re: [FFmpeg-devel] [PATCH] avfilter/select: evaluate silencedetect metadata

2021-06-18 Thread Timo Rothenpieler
On 18.06.2021 06:19, Gyan Doshi wrote: Instead of a specific option for silencedetect, it would be future-proof if it was an option called, say, metadata with a constant for silencedetect to start with. There are multiple per-frame analysis filters like blackframe, blackdetect, freezedetect..et

Re: [FFmpeg-devel] [PATCH] avfilter/select: evaluate silencedetect metadata

2021-06-18 Thread Gyan Doshi
On 2021-06-18 17:02, Timo Rothenpieler wrote: On 18.06.2021 06:19, Gyan Doshi wrote: Instead of a specific option for silencedetect, it would be future-proof if it was an option called, say, metadata with a constant for silencedetect to start with. There are multiple per-frame analysis filte

Re: [FFmpeg-devel] [PATCH] avfilter/select: evaluate silencedetect metadata

2021-06-18 Thread Timo Rothenpieler
On 18.06.2021 13:46, Gyan Doshi wrote: On 2021-06-18 17:02, Timo Rothenpieler wrote: On 18.06.2021 06:19, Gyan Doshi wrote: Instead of a specific option for silencedetect, it would be future-proof if it was an option called, say, metadata with a constant for silencedetect to start with. Ther

Re: [FFmpeg-devel] [PATCH] avfilter/select: evaluate silencedetect metadata

2021-06-18 Thread Gyan Doshi
On 2021-06-18 17:27, Timo Rothenpieler wrote: On 18.06.2021 13:46, Gyan Doshi wrote: On 2021-06-18 17:02, Timo Rothenpieler wrote: On 18.06.2021 06:19, Gyan Doshi wrote: Instead of a specific option for silencedetect, it would be future-proof if it was an option called, say, metadata with

Re: [FFmpeg-devel] [PATCH] avfilter/select: evaluate silencedetect metadata

2021-06-18 Thread Timo Rothenpieler
On 18.06.2021 14:35, Gyan Doshi wrote: The drawtext filter does not use expression evaluation for its text parameter. It implements its own logic for that, and it's purely text-replace. The expression parser does support functions, but only functions with one or two numeric arguments. So it'll

[FFmpeg-devel] [PATCH] avfilter/select: add metadata detection function

2021-06-18 Thread Timo Rothenpieler
--- doc/filters.texi | 18 ++ libavfilter/f_select.c | 79 -- libavfilter/version.h | 2 +- 3 files changed, 96 insertions(+), 3 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index da8f7d7726..05fec04b55 100644 --- a/doc/filt

Re: [FFmpeg-devel] [PATCH] lavfi/dnn_backend_openvino.c: Fix Memory Leak for RequestItem

2021-06-18 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel On Behalf Of > Shubhanshu Saxena > Sent: 2021年6月15日 1:56 > To: ffmpeg-devel@ffmpeg.org > Cc: Shubhanshu Saxena > Subject: [FFmpeg-devel] [PATCH] lavfi/dnn_backend_openvino.c: Fix > Memory Leak for RequestItem > > Fix memory leak for RequestItem

Re: [FFmpeg-devel] [PATCH] lavfi/dnn_backend_openvino.c: fix crash when target is not specified

2021-06-18 Thread Guo, Yejun
> -Original Message- > From: Guo, Yejun > Sent: 2021年6月13日 22:43 > To: ffmpeg-devel@ffmpeg.org > Cc: Guo, Yejun > Subject: [PATCH] lavfi/dnn_backend_openvino.c: fix crash when target is not > specified > > --- > libavfilter/dnn/dnn_backend_openvino.c | 6 -- > 1 file changed, 4 in

[FFmpeg-devel] [PATCH] web: add news about IRC move (stolen from twitter)

2021-06-18 Thread Michael Niedermayer
Feel free to suggest better wording Signed-off-by: Michael Niedermayer --- src/index | 7 +++ 1 file changed, 7 insertions(+) diff --git a/src/index b/src/index index e456ed2..3f2dfa5 100644 --- a/src/index +++ b/src/index @@ -35,6 +35,13 @@ News + June 18th, 2021, IRC + +

Re: [FFmpeg-devel] [PATCH v3] avformat/libsrt: log streamid in listener mode

2021-06-18 Thread zhilizhao(赵志立)
Ping for review, thanks! > On Jun 10, 2021, at 11:58 AM, Zhao Zhili wrote: > > It's useful for test client which pass streamid to ffmpeg/ffplay. > For example, use ffmpeg to test streamid support in VLC: > ./ffmpeg -v info -re -i foo.mp4 -c copy -f mpegts -mode listener > srt://127.0.0.1:9000 >

Re: [FFmpeg-devel] [PATCH 1/2] avformat/libsrt: support bidirectional transmission

2021-06-18 Thread zhilizhao(赵志立)
Ping again. > On Jun 10, 2021, at 12:13 PM, zhilizhao(赵志立) wrote: > > Ping for review, thanks! > >> On May 19, 2021, at 12:03 AM, Zhao Zhili wrote: >> >> --- >> There is no good use case yet. Patch 2/2 is only used for test. >> >> libavformat/libsrt.c | 35 +++

[FFmpeg-devel] [PATCH V3] lavf/vf_ocr: add subregion support

2021-06-18 Thread Lingjiang Fang
fix doc errors, ping for review, thanks :) --- doc/filters.texi | 8 libavfilter/vf_ocr.c | 35 ++- 2 files changed, 42 insertions(+), 1 deletion(-) diff --git a/doc/filters.texi b/doc/filters.texi index da8f7d7726..041fd28c57 100644 --- a/doc/filte

[FFmpeg-devel] [PATCH] lavfi/dnn_backend_openvino.c: Fix Memory Leak in execute_model_ov

2021-06-18 Thread Shubhanshu Saxena
In cases where the execution inside the function execute_model_ov fails, push the RequestItem back to the request_queue before returning the error. In case pushing back fails, release the allocated memory. Signed-off-by: Shubhanshu Saxena --- libavfilter/dnn/dnn_backend_openvino.c | 12 +

Re: [FFmpeg-devel] [PATCH] Update missed irc links

2021-06-18 Thread Michael Niedermayer
On Thu, Jun 17, 2021 at 06:20:08PM -0300, James Almer wrote: > On 6/17/2021 6:01 PM, Michael Niedermayer wrote: > > Signed-off-by: Michael Niedermayer > > --- > > configure | 2 +- > > doc/writing_filters.txt | 2 +- > > 2 files changed, 2 insertions(+), 2 deletions(-) > > > > d

Re: [FFmpeg-devel] [PATCH] web: add news about IRC move (stolen from twitter)

2021-06-18 Thread James Almer
On 6/18/2021 11:18 AM, Michael Niedermayer wrote: Feel free to suggest better wording Signed-off-by: Michael Niedermayer --- src/index | 7 +++ 1 file changed, 7 insertions(+) diff --git a/src/index b/src/index index e456ed2..3f2dfa5 100644 --- a/src/index +++ b/src/index @@ -35,6 +35,1

Re: [FFmpeg-devel] [PATCH v2] avformat/hls Implement support for using AVSEEK_FLAG_BACKWARD when seeking

2021-06-18 Thread Gustav Grusell
On Sun, Jun 13, 2021 at 5:14 PM Lingjiang Fang wrote: > On Sat, 12 Jun 2021 23:14:16 +0200 > Gustav Grusell wrote: > > > On Sat, Jun 12, 2021 at 6:51 PM Lingjiang Fang > > wrote: > > > > > On Sat, 12 Jun 2021 14:16:22 +0200 > > > Gustav Grusell wrote: > > > > > > > On Fri, Jun 11, 2021 at 6:29

Re: [FFmpeg-devel] [PATCH v2] avfilter: compress CUDA PTX code if possible

2021-06-18 Thread Timo Rothenpieler
On 18.06.2021 22:45, Philip Langdale wrote: On Sat, 12 Jun 2021 18:47:50 +0200 Timo Rothenpieler wrote: --- .gitignore | 1 + compat/cuda/ptx2c.sh| 34 configure | 17 ++ ffbuild/.gitignore | 1 + ffbu

Re: [FFmpeg-devel] [PATCH v2 10/33] fftools: provide media type info for devices

2021-06-18 Thread Diederick C. Niehorster
On Thu, Jun 17, 2021 at 3:41 AM Andreas Rheinhardt wrote: > > Diederick Niehorster: > > fftools now print info about what media type(s), if any, are provided by > > sink and source avdevices. > > > > Signed-off-by: Diederick Niehorster > > --- > > fftools/cmdutils.c | 34

[FFmpeg-devel] [PATCH 2/3] avcodec/decode: add an internal codec flag to signal a decoder sets all output frame properties

2021-06-18 Thread James Almer
Decoders like cuviddec ignore and overwrite all the properties set by the generic code as derived from AVCodecInternal.last_pkt_props. This flag ensures libavcodec will not store and potentially queue input packets that ultimately will not be used. Signed-off-by: James Almer --- libavcodec/de

[FFmpeg-devel] [PATCH 1/3] avcodec/decode: fetch packets from the pkt_props FIFO on every frame returned

2021-06-18 Thread James Almer
Fixes memleaks on decoders that don't call ff_decode_frame_props(). Signed-off-by: James Almer --- libavcodec/decode.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavcodec/decode.c b/libavcodec/decode.c index 75bc7ad98e..44f0b11546 100644 --- a/libavcodec/decode

[FFmpeg-devel] [PATCH 3/3] avcodec/cuviddec: signal that the decoder sets all output frame properties

2021-06-18 Thread James Almer
Fixes memleaks described in ticket #9082. Signed-off-by: James Almer --- libavcodec/cuviddec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/cuviddec.c b/libavcodec/cuviddec.c index d8c7f23a37..e15c51 100644 --- a/libavcodec/cuviddec.c +++ b/libavcodec/cuviddec.c @@ -1116,6

Re: [FFmpeg-devel] [PATCH v2] avfilter: compress CUDA PTX code if possible

2021-06-18 Thread Philip Langdale
On Sat, 12 Jun 2021 18:47:50 +0200 Timo Rothenpieler wrote: > --- > .gitignore | 1 + > compat/cuda/ptx2c.sh| 34 > configure | 17 ++ > ffbuild/.gitignore | 1 + > ffbuild/bin2c.c | 76 +++

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

2021-06-18 Thread Philip Langdale
On Fri, 11 Jun 2021 16:43:07 +0200 Timo Rothenpieler wrote: > --- > configure | 2 + > doc/filters.texi| 46 ++ > libavfilter/Makefile| 1 + > libavfilter/allfilters.c| 1 + > libavfilter/cuda/vector_helpers.cuh |

Re: [FFmpeg-devel] [PATCH v2] avcodec/ccaption_dec: Make real-time latency configurable

2021-06-18 Thread Pavel Koshevoy
On Thu, Jun 17, 2021 at 7:07 PM Pavel Koshevoy wrote: > > > On Sun, Jun 13, 2021 at 3:49 PM Pavel Koshevoy > wrote: > >> >> >> On Sat, Jun 5, 2021 at 11:40 AM Pavel Koshevoy >> wrote: >> >>> Un-hardcode the 200ms minimum latency between emitting subtitle events >>> so that those that wish to re