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

2021-06-11 Thread Lynne
Jun 12, 2021, 00:26 by t...@rothenpieler.org: > On 11.06.2021 17:33, Steven Liu wrote: > >> >> >>> 在 2021年6月11日,22:43,Timo Rothenpieler 写道: >>> >> Hi Timo, >> >>> >>> --- >>> configure | 2 + >>> doc/filters.texi| 46 ++ >>> libavfilter/Makefile

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

2021-06-11 Thread Timo Rothenpieler
On 12.06.2021 00:42, Timo Rothenpieler wrote: +#include +#include +#include + +int main(int argc, char **argv) +{ +const char *name = NULL; +unsigned int length = 0; +unsigned char data; + +if (argc != 2) { +return 1; +} else { +int arglen = strlen(argv[1]);

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

2021-06-11 Thread Timo Rothenpieler
--- .gitignore | 1 + compat/cuda/bin2c.c | 58 compat/cuda/ptx2c.sh| 34 configure | 17 ++ ffbuild/.gitignore | 1 + ffbuild/common.mak | 28 -- libavfilte

[FFmpeg-devel] [PATCH 1/1] synchronize the stream after copying the components

2021-06-11 Thread Gil Shapira
Hi ffmpeg-devel community, I recently encountered a problem with ffmpeg Cuda decoder. When working with Cuda frame, after calling to the `avcodec_receive_frame` function, the returned AVFrame (which contains a Cuda buffer) may contain invalid data. It doesn't happen often, the frequency of that

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

2021-06-11 Thread Timo Rothenpieler
On 11.06.2021 17:33, Steven Liu wrote: 在 2021年6月11日,22:43,Timo Rothenpieler 写道: Hi Timo, --- configure | 2 + doc/filters.texi| 46 ++ libavfilter/Makefile| 1 + libavfilter/allfilters.c| 1 + libavfilter/cuda/vec

Re: [FFmpeg-devel] [PATCH v2 23/33] avutil/opt: add av_opt_print_num

2021-06-11 Thread Diederick C. Niehorster
On Fri, Jun 11, 2021 at 10:38 PM Diederick Niehorster wrote: > > This function allows formatting an option value stored in a double (such > as the min and max fields of an AVOption, or min_value and max_value of > an AVOptionRange) properly, e.g. 1 for a AV_OPT_TYPE_PIXEL_FMT -> yuyv422. > > Usefu

Re: [FFmpeg-devel] [PATCH 25/35] avutil/opt: add av_opt_to_string

2021-06-11 Thread Diederick C. Niehorster
On Thu, Jun 10, 2021 at 12:08 PM Diederick C. Niehorster wrote: > > On Thu, Jun 10, 2021 at 11:39 AM Diederick C. Niehorster > wrote: > > So in av_opt_get(), I'd do something like this: > > AVBPrint buf; > > av_bprint_init(&buf, 0, AV_BPRINT_SIZE_AUTOMATIC); > > // 1. call internal print function

[FFmpeg-devel] [PATCH v2 33/33] avdevice/dshow: capabilities query also works on opened device

2021-06-11 Thread Diederick Niehorster
While the capabilities API is in principle meant to be used with an allocated format context belonging to an unopened device, small changes make it work for an opened dshow device as well. So hereby done. Signed-off-by: Diederick Niehorster --- libavdevice/dshow.c | 36 +++---

[FFmpeg-devel] [PATCH v2 32/33] avdevice/dshow: prevent NULL access

2021-06-11 Thread Diederick Niehorster
list_options true would crash when both a video and an audio device were specified as input. Crash would occur on line 1618 (in this new rev) because ctx->device_unique_name[otherDevType] would be NULL Signed-off-by: Diederick Niehorster --- libavdevice/dshow.c | 6 -- 1 file changed, 4 inse

[FFmpeg-devel] [PATCH v2 03/33] avdevice/dshow: query graph and sample time only once

2021-06-11 Thread Diederick Niehorster
No need to query twice, use value we've already unconditionally got. Improve variable names Signed-off-by: Diederick Niehorster --- libavdevice/dshow_pin.c | 30 +- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/libavdevice/dshow_pin.c b/libavdevice/d

[FFmpeg-devel] [PATCH v2 31/33] Makefile/examples: cosmetics

2021-06-11 Thread Diederick Niehorster
Signed-off-by: Diederick Niehorster --- doc/examples/Makefile | 48 +-- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/doc/examples/Makefile b/doc/examples/Makefile index de707bb3ca..7988ed4226 100644 --- a/doc/examples/Makefile +++ b/doc/e

[FFmpeg-devel] [PATCH v2 30/33] doc/examples: adding device_get_capabilities example

2021-06-11 Thread Diederick Niehorster
Signed-off-by: Diederick Niehorster --- configure | 2 + doc/examples/.gitignore| 1 + doc/examples/Makefile | 1 + doc/examples/Makefile.example | 1 + doc/examples/device_get_capabilities.c | 190

[FFmpeg-devel] [PATCH v2 29/33] avformat: add avformat_alloc_input_context()

2021-06-11 Thread Diederick Niehorster
avformat_alloc_input_context function analogous to avformat_alloc_output_context2, except that it does not take a filename argument as guessing the format by just the filename does not make sense. avformat_alloc_input_context can be used e.g. with the avdevice capabilities API, which needs an alloc

[FFmpeg-devel] [PATCH v2 28/33] avdevice/dshow: cosmetics

2021-06-11 Thread Diederick Niehorster
Signed-off-by: Diederick Niehorster --- libavdevice/dshow.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c index 73113acddd..92cfaa062d 100644 --- a/libavdevice/dshow.c +++ b/libavdevice/dshow.c @@ -959,6 +959,

[FFmpeg-devel] [PATCH v2 27/33] avdevice/dshow: implement capabilities API

2021-06-11 Thread Diederick Niehorster
This implements avdevice_capabilities_create for the dshow device (avdevice_capabilities_free not needed as it would be no-op). This enables configuration discovery of DirectShow devices through the API, which is important for my use case. It enables making proper GUIs presenting users with option

[FFmpeg-devel] [PATCH v2 26/33] avdevice/dshow: when closing, set context fields back to zero

2021-06-11 Thread Diederick Niehorster
After the avdevice capabilities API is implemented, the format context may be reused after querying device capabilities in a later avformat_open_input call. To enable this reuse, after releasing resources, make sure to also set the corresponding pointers back to NULL. This correctly indicates their

[FFmpeg-devel] [PATCH v2 25/33] avdevice/dshow: move audio format helpers

2021-06-11 Thread Diederick Niehorster
Needs to be moved up in file for upcoming implementation of avdevice_capabilities_create. Signed-off-by: Diederick Niehorster --- libavdevice/dshow.c | 40 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/libavdevice/dshow.c b/libavdevice/d

[FFmpeg-devel] [PATCH v2 24/33] avdevice: Add internal helpers for querying device capabilities

2021-06-11 Thread Diederick Niehorster
Signed-off-by: Diederick Niehorster --- libavdevice/internal.h | 31 +++ libavdevice/utils.c| 48 ++ libavdevice/version.h | 2 +- 3 files changed, 80 insertions(+), 1 deletion(-) diff --git a/libavdevice/internal.h b/libavdev

[FFmpeg-devel] [PATCH v2 23/33] avutil/opt: add av_opt_print_num

2021-06-11 Thread Diederick Niehorster
This function allows formatting an option value stored in a double (such as the min and max fields of an AVOption, or min_value and max_value of an AVOptionRange) properly, e.g. 1 for a AV_OPT_TYPE_PIXEL_FMT -> yuyv422. Useful when printing more info about an option than just its value. Usage will

[FFmpeg-devel] [PATCH v2 22/33] avutil/opt: document AVOptionRange min_value > max_value

2021-06-11 Thread Diederick Niehorster
AVOptionRange needs a way to encode that an options is not set. Here i provide a documentation solution. When a range is invalid (value_min > value_max), it should be considered unset/value not available. When querying a range of formats of an avdevice, sometimes for a given format the queried opt

[FFmpeg-devel] [PATCH v2 21/33] avdevice: capabilities API details no longer public

2021-06-11 Thread Diederick Niehorster
Signed-off-by: Diederick Niehorster --- libavdevice/avdevice.c | 2 +- libavdevice/avdevice.h | 28 +--- libavdevice/internal.h | 33 + libavdevice/version.h | 2 +- 4 files changed, 36 insertions(+), 29 deletions(-) diff --git a/libavde

[FFmpeg-devel] [PATCH v2 00/33] avdevice (mostly dshow) enhancements

2021-06-11 Thread Diederick Niehorster
This patch series implements a series of features, mostly enhancing the dshow avdevice, but also adding new functionality to avformat and avutil. This whole patchset enabled users of the FFmpeg API to fully query and control a dshow device, making FFmpeg a nice backend for any program that needs ac

[FFmpeg-devel] [PATCH v2 20/33] avdevice/avdevice: clean up avdevice_capabilities_create

2021-06-11 Thread Diederick Niehorster
Draw implementation in line with that of avdevice_list_devices Signed-off-by: Diederick Niehorster --- libavdevice/avdevice.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libavdevice/avdevice.c b/libavdevice/avdevice.c index 695b9143af..e66906e91b 100644 --- a/libav

[FFmpeg-devel] [PATCH v2 19/33] avdevice/avdevice: Revert "Deprecate AVDevice Capabilities API"

2021-06-11 Thread Diederick Niehorster
This reverts commit 4f49ca7bbc75a9db4cdf93f27f95a668c751f160. The next few patches clean up the API and implement this capability for avdevice/dshow. Signed-off-by: Diederick Niehorster --- libavdevice/avdevice.c | 71 ++ libavdevice/avdevice.h | 5 --- l

[FFmpeg-devel] [PATCH v2 18/33] avdevice/dshow: select format with extended color info

2021-06-11 Thread Diederick Niehorster
Some DirectShow devices (Logitech C920 webcam) expose each DirectShow format they support twice, once without and once with extended color information. During format selection, both match, this patch ensures that the format with extended color information is selected if it is available, else it fal

[FFmpeg-devel] [PATCH v2 17/33] avdevice/dshow: discover source color range/space/etc

2021-06-11 Thread Diederick Niehorster
Enabled discovering a DirectShow device's color range, space, primaries, transfer characteristics and chroma location, if the device exposes that information. Sets them in the stream's codecpars. Signed-off-by: Diederick Niehorster Co-authored-by: Valerii Zapodovnikov Signed-off-by: Diederick Ni

[FFmpeg-devel] [PATCH v2 16/33] avdevice/dshow: add config dialog command for crossbar and tv tuner

2021-06-11 Thread Diederick Niehorster
The "show config dialog" command message can now also trigger dialog boxes for the crossbar connecting pins filter the analog tuner audio / analog tuner filters. _Untested_ as I do not have either device. Signed-off-by: Diederick Niehorster --- libavdevice/dshow.c | 51 +

[FFmpeg-devel] [PATCH v2 15/33] avdevice/dshow: tv_tuner_audio_dialog cleanup missing

2021-06-11 Thread Diederick Niehorster
Cleanup was missing for when the show_analog_tv_tuner_audio_dialog is true. Signed-off-by: Diederick Niehorster --- libavdevice/dshow_crossbar.c | 4 1 file changed, 4 insertions(+) diff --git a/libavdevice/dshow_crossbar.c b/libavdevice/dshow_crossbar.c index 2438683cde..961defe690 100644

[FFmpeg-devel] [PATCH v2 14/33] avdevice/dshow: accept show config dialog control message

2021-06-11 Thread Diederick Niehorster
DirectShow source will pop up its configuration dialog when AV_APP_TO_DEV_CONFIG is received. Implementation for several other possible configuration dialogs is more involved and will be provided in the next commit. Signed-off-by: Diederick Niehorster --- libavdevice/dshow.c | 29 +++

[FFmpeg-devel] [PATCH v2 13/33] avdevice: adding control message requesting to show config dialog

2021-06-11 Thread Diederick Niehorster
This control message can be used to programmatically ask a device to show one of its configuration dialogs. Adding documentation of this message's int argument. Bumping avdevice version. Signed-off-by: Diederick Niehorster --- doc/indevs.texi| 34 ++ lib

[FFmpeg-devel] [PATCH v2 12/33] avdevice/dshow: implement control_message interface

2021-06-11 Thread Diederick Niehorster
This allows programmatic users of avdevice to start and stop the DirectShow Capture graph (i.e. receive frames or not). This is important because now the buffer fills up and starts dropping samples when enqueued packets are not read out immediately after the demuxer is opened. Signed-off-by: Diede

[FFmpeg-devel] [PATCH v2 11/33] avformat: add control_message function to AVInputFormat

2021-06-11 Thread Diederick Niehorster
Control messages are useful for programmatic control of not only outdevs but also indevs. Bumping avformat version. Signed-off-by: Diederick Niehorster --- libavdevice/avdevice.c | 8 +--- libavformat/avformat.h | 6 ++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/lib

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

2021-06-11 Thread 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 -- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/fftools/cmdutils.c b/fftools/cmd

[FFmpeg-devel] [PATCH v2 09/33] avdevice/dshow: add media type info to get_device_list

2021-06-11 Thread Diederick Niehorster
The list returned by get_device_list now contains info about what media type(s), if any, can be provided by each device. Signed-off-by: Diederick Niehorster --- libavdevice/dshow.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c index 5d7f065a

[FFmpeg-devel] [PATCH v2 08/33] avdevice: add info about media types(s) to AVDeviceInfo

2021-06-11 Thread Diederick Niehorster
An avdevice, regardless of whether its category says its an audio or video device, may provide access to devices providing different media types, or even single devices providing multiple media types. Also, some devices may provide no media types. dshow is an example encompassing all of these cases

[FFmpeg-devel] [PATCH v2 07/33] avdevice/dshow: list_devices: show media type(s) per device

2021-06-11 Thread Diederick Niehorster
the list_devices option of dshow didn't indicate whether a specific device provides audio or video output. This patch iterates through all media formats of all pins exposed by the device to see what types it provides for capture, and prints this to the console for each device. Importantly, this now

[FFmpeg-devel] [PATCH v2 06/33] avdevice/dshow: implement get_device_list

2021-06-11 Thread Diederick Niehorster
Needed to enable programmatic discovery of DirectShow devices Signed-off-by: Diederick Niehorster --- libavdevice/dshow.c | 80 + 1 file changed, 73 insertions(+), 7 deletions(-) diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c index 389daa6380.

[FFmpeg-devel] [PATCH v2 05/33] avdevice/dshow: set no-seek flags

2021-06-11 Thread Diederick Niehorster
avdevice/dshow is a realtime device and as such does not support seeking. Therefore, its demuxer format should define the AVFMT_NOBINSEARCH, AVFMT_NOGENSEARCH and AVFMT_NO_BYTE_SEEK flags. With these flags set, attempting to seek (with, e.g., avformat_seek_file()) correctly yields -1 (operation not

[FFmpeg-devel] [PATCH v2 04/33] avdevice/dshow: handle unknown sample time

2021-06-11 Thread Diederick Niehorster
GetTime may return an error indication that the sample has not timestamps, or may return a NULL start time. In those cases, fall back to graph time. Better debug message in case sample dropped: could now be audio or video frame Signed-off-by: Diederick Niehorster --- libavdevice/dshow_pin.c | 19

[FFmpeg-devel] [PATCH v2 02/33] avdevice/dshow: add use_video_device_timestamps to docs

2021-06-11 Thread Diederick Niehorster
Signed-off-by: Diederick Niehorster --- doc/indevs.texi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/indevs.texi b/doc/indevs.texi index b377924c2f..685b1357a6 100644 --- a/doc/indevs.texi +++ b/doc/indevs.texi @@ -611,6 +611,12 @@ Save the currently used video capture filter dev

[FFmpeg-devel] [PATCH v2 01/33] avdevice/dshow: implement option to use device video timestamps

2021-06-11 Thread Diederick Niehorster
The dshow avdevice ignores timestamps for video frames provided by the DirectShow device, instead using wallclock time, apparently because the implementer of this code had a device that provided unreliable timestamps. Me (and others) would like to use the device's timestamps. The new use_video_devi

Re: [FFmpeg-devel] [PATCH] lavf/rtmp: Add option to set TCP_NODELAY for rtmp

2021-06-11 Thread Thilo Borgmann
Am 11.06.21 um 21:07 schrieb Thilo Borgmann: Hi, $subject seems to be useful depending on the network. v2 attached with updates to documentation and code. Please check if I missed the point of it. Follow-up to add the remark also to TCP documentation. -Thilo From 69e6fb2acab42811c442eddafd

Re: [FFmpeg-devel] [PATCH] lavf/rtmp: Add option to set TCP_NODELAY for rtmp

2021-06-11 Thread Thilo Borgmann
Hi, $subject seems to be useful depending on the network. v2 attached with updates to documentation and code. Please check if I missed the point of it. Thanks! -Thilo From 79f1589ba5d9224146d71c2605ca4cc02c852cb2 Mon Sep 17 00:00:00 2001 From: Nick Ruff Date: Fri, 11 Jun 2021 21:02:02 +0200

Re: [FFmpeg-devel] [PATCH v2 2/2] lavfi/vf_vpp_qsv: fix the time_base for outlink

2021-06-11 Thread Rogozhkin, Dmitry V
On Fri, 2021-06-11 at 10:19 +0800, Haihao Xiang wrote: > Since commit 89ffcd1, the status pts of the output link is set to a > value in the input link time base, not in the output link time base > when > EOF is reached. Usually this pst value is larger than the required > one > because the output l

Re: [FFmpeg-devel] [PATCH 20/24] sws: add a function for scaling dst slices

2021-06-11 Thread Anton Khirnov
Quoting Michael Niedermayer (2021-06-11 17:01:20) > On Thu, Jun 10, 2021 at 05:49:48PM +0200, Anton Khirnov wrote: > > Quoting Michael Niedermayer (2021-06-01 15:02:27) > > > On Mon, May 31, 2021 at 09:55:11AM +0200, Anton Khirnov wrote: > > > > Currently existing sws_scale() accepts as input a use

Re: [FFmpeg-devel] [PATCH 24/35] avutil/opt: AVOptionRange gains is_set field.

2021-06-11 Thread Diederick C. Niehorster
On Tue, Jun 8, 2021 at 1:45 AM Andreas Rheinhardt wrote: > This has absolutely nothing to do with full/limited range, but rather > whether the AVOptionRange contains an interval or a single value. > (Not that I know why this needs to be set explicitly and not implicitly > via is_range = value_min

Re: [FFmpeg-devel] [RFC] Removal of Valerii Zapodovnikov

2021-06-11 Thread Paul B Mahol
Outrageous! On Fri, Jun 11, 2021 at 4:49 PM Nicolas George wrote: > Thilo Borgman (12021-06-10): > > some of you might have realized that I've removed Valerii Zapodovnikov > > from our mailing list after [1]. > > > > I did this in my function as a mailing list admin because I think our > > guide

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

2021-06-11 Thread Lingjiang Fang
On Sat, 5 Jun 2021 22:42:26 +0200 Gustav Grusell wrote: > Before, seeking in hls streams would always seek to the next keyframe > after the given timestamp. With this fix, if AVSEEK_FLAG_BACKWARD is > set, seeking will be to the first keyframe of the segment containing > the given timestamp. Thi

Re: [FFmpeg-devel] [PATCH] lavf/rtmp: Add option to set TCP_NODELAY for rtmp

2021-06-11 Thread Thilo Borgmann
Hi, Am 09.06.21 um 12:41 schrieb Nicolas George: > Thilo Borgman (12021-06-09): >> $subject seems to be useful depending on the network. > > It looks premature. TCP_NODELAY should only ever used when the network > code already takes care of writing data in a single system call. This is > not what

Re: [FFmpeg-devel] [PATCH] dashenc: Write out DASH manifest immediately in streaming mode

2021-06-11 Thread Kevin LaFlamme
Does my last explanation make sense or if not could you point me to where this reasoning is incorrect? Kevin LaFlamme Director of Engineering (Front End) 774.265.0382 (m) aiera.com On Jun 8, 2021, 8:52 PM -0400, Kevin LaFlamme , wrote: > I just realized there’s probably a more straightforward expl

Re: [FFmpeg-devel] [PATCH 0/4] avdevice/dshow: implement capabilities API

2021-06-11 Thread Nicolas George
Anton Khirnov (12021-06-11): > And it would be really really REALLY nice if you finally learned to > distinguish between your personal opinions, official project policy, and > objective truth. Have you missed the part where I ask you to give arguments? Regards, -- Nicolas George signature.a

Re: [FFmpeg-devel] [PATCH 0/4] avdevice/dshow: implement capabilities API

2021-06-11 Thread Anton Khirnov
Quoting Nicolas George (2021-06-11 14:14:57) > Anton Khirnov (12021-06-09): > > > > There is no timeline, it depends on someone sitting down and doing the > > > > work. The options proposed so far were > > > > 1) merging libavdevice into libavformat > > > > 2) making libavdevice into an independent

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

2021-06-11 Thread Steven Liu
> 在 2021年6月11日,22:43,Timo Rothenpieler 写道: Hi Timo, > > --- > configure | 2 + > doc/filters.texi| 46 ++ > libavfilter/Makefile| 1 + > libavfilter/allfilters.c| 1 + > libavfilter/cuda/vector_helpers.cuh | 14 +- > l

Re: [FFmpeg-devel] [PATCH 0/4] avdevice/dshow: implement capabilities API

2021-06-11 Thread Anton Khirnov
Quoting Diederick C. Niehorster (2021-06-10 15:29:57) > > The problem is that libavdevice is a separate library from libavformat, > > but fundamentally depends on accessing libavformat internals. > > Ah ok, so this is at first instance about cleanup/separation, not > necessarily about adding new f

Re: [FFmpeg-devel] [PATCH] sws: rename SwsContext.swscale to convert_unscaled

2021-06-11 Thread Michael Niedermayer
On Thu, Jun 10, 2021 at 05:13:23PM +0200, Anton Khirnov wrote: > That function pointer is now used only for unscaled conversion. > --- > libswscale/aarch64/swscale_unscaled.c | 2 +- > libswscale/arm/swscale_unscaled.c | 6 +-- > libswscale/ppc/yuv2yuv_altivec.c | 4 +- > libswscale/sw

Re: [FFmpeg-devel] [PATCH 20/24] sws: add a function for scaling dst slices

2021-06-11 Thread Michael Niedermayer
On Thu, Jun 10, 2021 at 05:49:48PM +0200, Anton Khirnov wrote: > Quoting Michael Niedermayer (2021-06-01 15:02:27) > > On Mon, May 31, 2021 at 09:55:11AM +0200, Anton Khirnov wrote: > > > Currently existing sws_scale() accepts as input a user-determined slice > > > of input data and produces an ind

Re: [FFmpeg-devel] [RFC] Removal of Valerii Zapodovnikov

2021-06-11 Thread Nicolas George
Thilo Borgman (12021-06-10): > some of you might have realized that I've removed Valerii Zapodovnikov > from our mailing list after [1]. > > I did this in my function as a mailing list admin because I think our > guidelines for the mailing list are mandatory for everyone to be > welcome here. > Pl

Re: [FFmpeg-devel] [PATCH] BugFix #9283: correct setting of key_frame flag in AVFrame using cuviddec on interlaced h264

2021-06-11 Thread Timo Rothenpieler
On 11.06.2021 12:27, stuhlo wrote: From: stuhlo This fixes setting of `key_frame` flag in AVFrame when input h264 packets represents individual fields of interlaced video. In this case, pairs of two consecutive fields represents a single decoded picture and have identical `CurrPicIdx`, howeve

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

2021-06-11 Thread Timo Rothenpieler
--- configure | 2 + doc/filters.texi| 46 ++ libavfilter/Makefile| 1 + libavfilter/allfilters.c| 1 + libavfilter/cuda/vector_helpers.cuh | 14 +- libavfilter/version.h | 2 +- libavfilter/vf_format

Re: [FFmpeg-devel] [PATCH] avformat: make AVStream.pts_wrap_bits public

2021-06-11 Thread Michael Niedermayer
On Fri, Jun 11, 2021 at 09:34:10AM -0300, James Almer wrote: > On 6/11/2021 9:03 AM, Michael Niedermayer wrote: > > On Thu, Jun 10, 2021 at 03:27:37PM -0300, James Almer wrote: > > > On 6/10/2021 3:18 PM, Michael Niedermayer wrote: > > > > On Wed, Jun 09, 2021 at 03:07:41PM -0300, James Almer wrote

Re: [FFmpeg-devel] [PATCH 0/4] avdevice/dshow: implement capabilities API

2021-06-11 Thread Nicolas George
Diederick C. Niehorster (12021-06-10): > Let me respond on two levels. > > Before exploring the design space of a separation of libavdevice and > libavformat below, I think it is important to first comment on the > current state (and whether the AVDevice Capabilities part of my patch > series shou

Re: [FFmpeg-devel] [PATCH] avformat: make AVStream.pts_wrap_bits public

2021-06-11 Thread James Almer
On 6/11/2021 9:03 AM, Michael Niedermayer wrote: On Thu, Jun 10, 2021 at 03:27:37PM -0300, James Almer wrote: On 6/10/2021 3:18 PM, Michael Niedermayer wrote: On Wed, Jun 09, 2021 at 03:07:41PM -0300, James Almer wrote: It can be useful to library users, and is currently being used by ffmpeg.c

Re: [FFmpeg-devel] [PATCH 0/4] avdevice/dshow: implement capabilities API

2021-06-11 Thread Nicolas George
Anton Khirnov (12021-06-09): > > > There is no timeline, it depends on someone sitting down and doing the > > > work. The options proposed so far were > > > 1) merging libavdevice into libavformat > > > 2) making libavdevice into an independent library with an independent > > >API > > > 3) movi

Re: [FFmpeg-devel] [PATCH] avformat: make AVStream.pts_wrap_bits public

2021-06-11 Thread Michael Niedermayer
On Thu, Jun 10, 2021 at 03:27:37PM -0300, James Almer wrote: > On 6/10/2021 3:18 PM, Michael Niedermayer wrote: > > On Wed, Jun 09, 2021 at 03:07:41PM -0300, James Almer wrote: > > > It can be useful to library users, and is currently being used by ffmpeg.c > > > > > > Suggested-by: Hendrik Leppke

[FFmpeg-devel] [PATCH] BugFix #9283: correct setting of key_frame flag in AVFrame using cuviddec on interlaced h264

2021-06-11 Thread stuhlo
From: stuhlo This fixes setting of `key_frame` flag in AVFrame when input h264 packets represents individual fields of interlaced video. In this case, pairs of two consecutive fields represents a single decoded picture and have identical `CurrPicIdx`, however, only the first field is entirely i

[FFmpeg-devel] [PATCH] avformat/dashenc: use av_match_ext()

2021-06-11 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/dashenc.c | 16 +++- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 8a626c1..b7622bc 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -330,

Re: [FFmpeg-devel] [PATCH] avformat/http: Stop cookie_dict leaking on errors.

2021-06-11 Thread Robert Bengtsson-Ölund
On Wed, 2 Jun 2021 at 08:55, Steven Liu wrote: > > LGTM > > > Thanks > Steven Hi everyone Am I supposed to do something for this to get applied or is it just a matter of time until someone picks it up? Best regards /Robert ___ ffmpeg-devel mailing li