Re: [FFmpeg-devel] [PATCH v2 1/1] libavdevice/decklink: extend available actions on signal loss

2024-05-21 Thread Michael Riedl
On 5/14/24 21:39, Marton Balint wrote: > > > On Tue, 14 May 2024, Michael Riedl wrote: > >>> >>>> Deprecate the option 'draw_bars' in favor of the new option >>>> 'signal_loss_action', >>>> which controls the behavior w

[FFmpeg-devel] [PATCH v4] libavdevice/decklink: extend available actions on signal loss

2024-06-11 Thread Michael Riedl
e. The new option is more flexible for extending now and in the future. The new value 'repeat' repeats the last video frame. This is useful for very short dropouts and was not available before. Signed-off-by: Michael Riedl --- doc/indevs.texi | 16

[FFmpeg-devel] [PATCH v4] libavdevice/decklink: extend available actions on signal loss

2024-06-11 Thread Michael Riedl
ible. The new option is more flexible for extending now and in the future. The new value 'repeat' repeats the last video frame. This is useful for very short dropouts and was not available before. Signed-off-by: Michael Riedl --- doc/indevs.texi | 16

Re: [FFmpeg-devel] [PATCH] avformat/mxfenc: fix static building

2023-10-09 Thread Michael Riedl
On 9/19/23 17:12, Michael Riedl wrote: > MXF muxer requires rangecoder otherwise static linking fails. > > Signed-off-by: Michael Riedl > --- > configure | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configure b/configure > index 3bb68d3f20c.

Re: [FFmpeg-devel] [PATCH] libavdevice/decklink: extend available actions on signal loss

2023-11-02 Thread Michael Riedl
On 9/25/23 13:58, Michael Riedl wrote: > Deprecate the option 'draw_bars' in favor of the new option > 'signal_loss_action', > which controls the behavior when the input signal is not available > (including the behavior previously available through draw_bars)

Re: [FFmpeg-devel] [PATCH] libavdevice/decklink: extend available actions on signal loss

2023-11-02 Thread Michael Riedl
> Hi Michael, > > I haven't tried your patch, but a quick review suggests that while > you've declared the option as deprecated that it no longer works. > Presumably somewhere in there should be a line of code that says > something like "if (ctx->draw_bars == 0) then ctx->signal_loss_action > = SIG

Re: [FFmpeg-devel] [PATCH v2 2/2] libavformat/whip: add WebRTC-HTTP ingestion protocol (WHIP)

2023-11-06 Thread Michael Riedl
This patch is obsolete and will be superseded by today's patch for both WHIP and WHEP. ___ 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-devel] [PATCH 0/6] WebRTC sub-second live streaming support

2023-11-06 Thread Michael Riedl
This patch series adds support for WHIP and WHEP (WebRTC-HTTP ingestion protocol and WebRTC-HTTP egress protocol). It supersedes the previous patch series for WHIP. The WHIP and WHEP are defined in the following draft RFCs: - WHIP: https://datatracker.ietf.org/doc/draft-ietf-wish-whip - WHEP: http

[FFmpeg-devel] [PATCH 1/6] libavformat/http: expose actual Location header value

2023-11-06 Thread Michael Riedl
This is needed for (de)muxers which need to access the Location header as transmitted when no redirection happend. Signed-off-by: Michael Riedl --- libavformat/http.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/http.c b/libavformat/http.c index c0fe7c36d91..27f9c8e3000

[FFmpeg-devel] [PATCH 2/6] libavformat/sdp: remove whitespaces in fmtp

2023-11-06 Thread Michael Riedl
Whitespaces after semicolon breaks some servers Signed-off-by: Michael Riedl --- libavformat/sdp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/sdp.c b/libavformat/sdp.c index 68889362906..5ab017b1ba5 100644 --- a/libavformat/sdp.c +++ b/libavformat/sdp.c

[FFmpeg-devel] [PATCH 3/6] configure: add libdatachannel as external library

2023-11-06 Thread Michael Riedl
Signed-off-by: Michael Riedl --- configure | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure b/configure index 8ab658f7303..187f16b425d 100755 --- a/configure +++ b/configure @@ -223,6 +223,7 @@ External library support: --enable-libcelt enable CELT decoding via libcelt

[FFmpeg-devel] [PATCH 4/6] libavformat/webrtc: add common code for WebRTC streaming

2023-11-06 Thread Michael Riedl
Signed-off-by: Michael Riedl --- libavformat/webrtc.c | 398 +++ libavformat/webrtc.h | 70 2 files changed, 468 insertions(+) create mode 100644 libavformat/webrtc.c create mode 100644 libavformat/webrtc.h diff --git a/libavformat/webrtc.c b

[FFmpeg-devel] [PATCH 5/6] libavformat/webrtc_demux: add WebRTC-HTTP egress protocol (WHEP) demuxer

2023-11-06 Thread Michael Riedl
Signed-off-by: Michael Riedl --- configure | 2 + libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/webrtc_demux.c | 231 + 4 files changed, 235 insertions(+) create mode 100644 libavformat/webrtc_demux.c

[FFmpeg-devel] [PATCH 6/6] libavformat/webrtc_mux: add WebRTC-HTTP ingestion protocol (WHIP) muxer

2023-11-06 Thread Michael Riedl
Signed-off-by: Michael Riedl --- configure| 2 + libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/webrtc_mux.c | 273 +++ 4 files changed, 277 insertions(+) create mode 100644 libavformat/webrtc_mux.c diff

[FFmpeg-devel] [PATCH v2 0/6] WebRTC sub-second live streaming support

2023-11-07 Thread Michael Riedl
ample, using a server in Amsterdam (The Netherlands) from a location in Salzburg (Austria), with RTT=18ms, an end-to-end latency of 50+18=68 ms was measured for video-only output. Michael Riedl (6): libavformat/http: expose actual Location header value libavformat/sdp: remove whitespaces in

[FFmpeg-devel] [PATCH v2 1/6] libavformat/http: expose actual Location header value

2023-11-07 Thread Michael Riedl
This is needed for (de)muxers which need to access the Location header as transmitted when no redirection happend. Signed-off-by: Michael Riedl --- libavformat/http.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/http.c b/libavformat/http.c index c0fe7c36d91..27f9c8e3000

[FFmpeg-devel] [PATCH v2 2/6] libavformat/sdp: remove whitespaces in fmtp

2023-11-07 Thread Michael Riedl
Whitespaces after semicolon breaks some servers Signed-off-by: Michael Riedl --- libavformat/sdp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/sdp.c b/libavformat/sdp.c index 68889362906..5ab017b1ba5 100644 --- a/libavformat/sdp.c +++ b/libavformat/sdp.c

[FFmpeg-devel] [PATCH v2 3/6] configure: add libdatachannel as external library

2023-11-07 Thread Michael Riedl
Signed-off-by: Michael Riedl --- configure | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure b/configure index 8ab658f7303..187f16b425d 100755 --- a/configure +++ b/configure @@ -223,6 +223,7 @@ External library support: --enable-libcelt enable CELT decoding via libcelt

[FFmpeg-devel] [PATCH v2 5/6] libavformat/webrtc_demux: add WebRTC-HTTP egress protocol (WHEP) demuxer

2023-11-07 Thread Michael Riedl
Signed-off-by: Michael Riedl --- Changelog| 4 + configure| 2 + doc/demuxers.texi| 22 +++ libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/webrtc_demux.c (new) | 246

[FFmpeg-devel] [PATCH v2 4/6] libavformat/webrtc: add common code for WebRTC streaming

2023-11-07 Thread Michael Riedl
Signed-off-by: Michael Riedl --- MAINTAINERS| 1 + libavformat/webrtc.c (new) | 410 + libavformat/webrtc.h (new) | 70 +++ 3 files changed, 481 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b66c3d09a68..840290c4514 100644

[FFmpeg-devel] [PATCH v2 6/6] libavformat/webrtc_mux: add WebRTC-HTTP ingestion protocol (WHIP) muxer

2023-11-07 Thread Michael Riedl
Signed-off-by: Michael Riedl --- Changelog | 1 + configure | 2 + doc/muxers.texi| 21 +++ libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/webrtc_mux.c (new) | 273

Re: [FFmpeg-devel] [PATCH v2 0/6] WebRTC sub-second live streaming support

2023-11-14 Thread Michael Riedl
On 11/14/23 11:05, Tomas Härdin wrote: > This patchset is missing tests. I know that we for some reason don't > really have tests for protocols, but I feel the issue is worthwhile to > bring up. I've worked a bit with WebRTC recently and it's fiddly, so > it'd be nice to have some automated thing t

[FFmpeg-devel] [PATCH] configure: fix linker error due to missing dependency

2023-11-15 Thread Michael Riedl
Add av1_parser to av1_decoder to fix undefined reference to 'ff_av1_framerate'. To reproduce: ./configure --disable-everything --disable-autodetect --enable-encoder=av1 Signed-off-by: Michael Riedl --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c

Re: [FFmpeg-devel] [PATCH v2 0/6] WebRTC sub-second live streaming support

2023-11-27 Thread Michael Riedl
On 11/15/23 22:45, Michael Niedermayer wrote: > On Tue, Nov 14, 2023 at 01:59:48PM +0100, Michael Riedl wrote: >> On 11/14/23 11:05, Tomas Härdin wrote: >>> This patchset is missing tests. I know that we for some reason don't >>> really have tests for protocols, bu

Re: [FFmpeg-devel] [PATCH] libavdevice/decklink: extend available actions on signal loss

2023-11-28 Thread Michael Riedl
Ping ___ 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".

[FFmpeg-devel] [PATCH v2 0/1] Updated decklink patch

2024-04-23 Thread Michael Riedl
Michael Riedl (1): libavdevice/decklink: extend available actions on signal loss doc/indevs.texi | 16 libavdevice/decklink_common.h | 1 + libavdevice/decklink_common_c.h | 7 +++ libavdevice/decklink_dec.cpp| 23 ++- libavdevice

[FFmpeg-devel] [PATCH v2 1/1] libavdevice/decklink: extend available actions on signal loss

2024-04-23 Thread Michael Riedl
ible. The new option is more flexible for extending now and in the future. The new value 'repeat' repeats the last video frame. This is useful for very short dropouts and was not available before. Signed-off-by: Michael Riedl --- doc/indevs.texi | 16

Re: [FFmpeg-devel] [PATCH v2 1/1] libavdevice/decklink: extend available actions on signal loss

2024-05-14 Thread Michael Riedl
memory leak introduced by the patch because the destructor of decklink_input_callback is never called, which leaves one last video frame unreleased. I'll work on fixing this memory leak and send an update soon. If you have any more comments or concerns, please let me know. Best regards,

[FFmpeg-devel] [PATCH v3 0/1] Updated decklink patch

2024-05-14 Thread Michael Riedl
Hi, This patch adds the possibility to specify an action to be taken when a signal loss is detected on a decklink device. Version 3 of this patch fixes a memory leak present in v2. Thanks to Marton Balint for reviewing the patch. Kind regards, Michael Michael Riedl (1): libavdevice

[FFmpeg-devel] [PATCH v3 1/1] libavdevice/decklink: extend available actions on signal loss

2024-05-14 Thread Michael Riedl
ible. The new option is more flexible for extending now and in the future. The new value 'repeat' repeats the last video frame. This is useful for very short dropouts and was not available before. Signed-off-by: Michael Riedl --- doc/indevs.texi | 16

Re: [FFmpeg-devel] [PATCH] libavdevice/decklink: extend available actions on signal loss

2024-03-05 Thread Michael Riedl
Ping.  Anything missing or wrong with this patch? ___ 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 "unsubscri

[FFmpeg-devel] [PATCH 1/2] libavformat/http: expose actual Location header value

2023-09-19 Thread Michael Riedl
This is needed for muxers which need to access the Location header as transmitted when no redirection happen. Signed-off-by: Michael Riedl --- libavformat/http.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/http.c b/libavformat/http.c index c0fe7c36d91..27f9c8e3000 100644

[FFmpeg-devel] [PATCH 2/2] libavformat/whip: add WebRTC-HTTP ingestion protocol (WHIP)

2023-09-19 Thread Michael Riedl
This is based on the library libdatachannel, which is much more lightweight than other libraries like libwebrtc. At the same time, using this library avoids reimplementing parts of WebRTC in FFmpeg. Signed-off-by: Michael Riedl --- configure| 5 + libavformat/Makefile

[FFmpeg-devel] [PATCH 1/2] libavformat/http: expose actual Location header value

2023-09-19 Thread Michael Riedl
This is needed for muxers which need to access the Location header as transmitted when no redirection happen. Signed-off-by: Michael Riedl --- libavformat/http.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/http.c b/libavformat/http.c index c0fe7c36d91..27f9c8e3000 100644

[FFmpeg-devel] [PATCH 2/2] libavformat/whip: add WebRTC-HTTP ingestion protocol (WHIP)

2023-09-19 Thread Michael Riedl
This is based on the library libdatachannel, which is much more lightweight than other libraries like libwebrtc. At the same time, using this library avoids reimplementing parts of WebRTC in FFmpeg. Signed-off-by: Michael Riedl --- configure| 5 + libavformat/Makefile

[FFmpeg-devel] [PATCH 1/2] libavformat/http: expose actual Location header value

2023-09-19 Thread Michael Riedl
This is needed for muxers which need to access the Location header as transmitted when no redirection happen. Signed-off-by: Michael Riedl --- libavformat/http.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/http.c b/libavformat/http.c index c0fe7c36d91..27f9c8e3000 100644

[FFmpeg-devel] [PATCH 2/2] libavformat/whip: add WebRTC-HTTP ingestion protocol (WHIP)

2023-09-19 Thread Michael Riedl
This is based on the library libdatachannel, which is much more lightweight than other libraries like libwebrtc. At the same time, using this library avoids reimplementing parts of WebRTC in FFmpeg. Signed-off-by: Michael Riedl --- configure| 5 + libavformat/Makefile

[FFmpeg-devel] [PATCH] avformat/mxfenc: fix static building

2023-09-19 Thread Michael Riedl
MXF muxer requires rangecoder otherwise static linking fails. Signed-off-by: Michael Riedl --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 3bb68d3f20c..9d4297ea68f 100755 --- a/configure +++ b/configure @@ -3532,7 +3532,7

[FFmpeg-devel] [PATCH v2 1/2] libavformat/http: expose actual Location header value

2023-09-25 Thread Michael Riedl
This is needed for muxers which need to access the Location header as transmitted when no redirection happen. Signed-off-by: Michael Riedl --- libavformat/http.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/http.c b/libavformat/http.c index c0fe7c36d91..27f9c8e3000 100644

[FFmpeg-devel] [PATCH v2 2/2] libavformat/whip: add WebRTC-HTTP ingestion protocol (WHIP)

2023-09-25 Thread Michael Riedl
This is based on the library libdatachannel, which is much more lightweight than other libraries like libwebrtc. At the same time, using this library avoids reimplementing parts of WebRTC in FFmpeg. Signed-off-by: Michael Riedl --- configure| 5 + libavformat/Makefile

[FFmpeg-devel] [PATCH] libavdevice/decklink: extend available actions on signal loss

2023-09-25 Thread Michael Riedl
ible. The new option is more flexible for extending now and in the future. The new value 'repeat' repeats the last video frame. This is useful for very short dropouts and was not available before. Signed-off-by: Michael Riedl --- doc/indevs.texi | 16

Re: [FFmpeg-devel] [PATCH] libavdevice/decklink: extend available actions on signal loss

2024-01-09 Thread Michael Riedl
On 11/28/23 16:48, Devin Heitmueller wrote: > My apologies, I saw your remarks that this didn't change backward > compatibility but failed to reply. I have no further issues with this > patch. > > Thanks, > > Devin Ping. Can this please be merged? Thanks. ___

[FFmpeg-devel] [PATCH] avfilter/vf_showinfo: add wallclock option

2022-08-10 Thread Michael Riedl
Signed-off-by: Michael Riedl --- libavfilter/vf_showinfo.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index 2c8514fc80..1953f777c7 100644 --- a/libavfilter/vf_showinfo.c +++ b/libavfilter/vf_showinfo.c @@ -43,6 +43,7

[FFmpeg-devel] [PATCH v2] avfilter/vf_showinfo: add wallclock option

2022-08-17 Thread Michael Riedl
Signed-off-by: Michael Riedl --- libavfilter/vf_showinfo.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index 2c8514fc80..1953f777c7 100644 --- a/libavfilter/vf_showinfo.c +++ b/libavfilter/vf_showinfo.c @@ -43,6 +43,7

Re: [FFmpeg-devel] [PATCH v2] avfilter/vf_showinfo: add wallclock option

2022-08-17 Thread Michael Riedl
On 17.08.2022 10:43, Nicolas George wrote: Michael Riedl (12022-08-17): Signed-off-by: Michael Riedl --- libavfilter/vf_showinfo.c | 11 +++ 1 file changed, 11 insertions(+) What is the intended use case? It seems to me very ad-hoc. A fftools option to add a timestamp to each log

[FFmpeg-devel] API documentation

2022-08-24 Thread Michael Riedl
Hi, I saw on the FFmpeg website that for some stable versions there is no API documentation. The latest stable documentation (for version 4.1) is four years old. We managed to build the API documentation for 5.1 (https://ffmpeg-docs.tools.nativewaves.com/5.1/index.html) and other stable versions

Re: [FFmpeg-devel] [PATCH v2] avfilter/vf_showinfo: add wallclock option

2022-08-25 Thread Michael Riedl
The patchset allows to control whether to print date, time or both. In practical use, I ended up printing a line with the date on startup and print only time information, e.g. like this: 01:40:42.467 ffmpeg version 5.1... 01:40:42.467 built with ... 01:40:42.468 Execution Date: 2022-08-16 01:40