[FFmpeg-devel] [PATCH] avcodec/alac: don't fail if channels aren't set during init() when extradata is valid

2022-07-29 Thread James Almer
The decoder is meant to use it as a fallback if the value in extradata is invalid. Regression since d199099be. Signed-off-by: James Almer --- libavcodec/alac.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libavcodec/alac.c b/libavcodec/alac.c index b232514169..8b8

Re: [FFmpeg-devel] [PATCH v2 0/3] hwcontext_vaapi: dlopen libva-x11 and libva-drm

2022-07-29 Thread Emil Velikov
Greetings Timo, On Wed, 27 Jul 2022 at 21:00, Timo Rothenpieler wrote: > That sounds incredibly broken and will of course cause stuff to break. > I see the issue lies with that magic script, not with ffmpeg. > Apologies, never meant to imply that ffmpeg is broken - far from it. Simply put libva

Re: [FFmpeg-devel] [PATCH] avcodec/ttmlenc: Deduplicate ttml_default_namespacing string

2022-07-29 Thread Jan Ekström
On Fri, Jul 29, 2022 at 11:23 AM Andreas Rheinhardt wrote: > > String literals are allowed to be deduplicated (and toolchains > are already capable of doing so), yet the same is not allowed > for named arrays (even when they contain strings). Therefore > use a const char *const pointing to an unna

Re: [FFmpeg-devel] [PATCH v2 3/3] hwcontext_vaapi: #if guard VAAPI_DRM specifics

2022-07-29 Thread Emil Velikov
On Thu, 28 Jul 2022 at 15:04, Anton Khirnov wrote: > > Quoting Emil Velikov (2022-07-22 15:27:26) > > > > Assuming I'm reading the code correctly, currently when both are > > undefined vaapi_device_create() will be basically a dummy, doing some > > basic malloc + opts parsing and erroring out. > >

Re: [FFmpeg-devel] [PATCH 1/3] avformat/mxfdec: SMPTE RDD 48:2018 support

2022-07-29 Thread Pierre-Anthony Lemieux
On Fri, Jul 29, 2022 at 4:19 PM Tomas Härdin wrote: > > fre 2022-07-29 klockan 14:14 +0200 skrev Pierre-Anthony Lemieux: > > On Fri, Jul 29, 2022 at 6:15 AM Tomas Härdin > > wrote: > > > > > > fre 2022-07-29 klockan 01:18 +0200 skrev Michael Niedermayer: > > > > On Tue, Jul 19, 2022 at 03:48:59PM

Re: [FFmpeg-devel] [PATCH 1/3] avformat/mxfdec: SMPTE RDD 48:2018 support

2022-07-29 Thread Tomas Härdin
fre 2022-07-29 klockan 14:14 +0200 skrev Pierre-Anthony Lemieux: > On Fri, Jul 29, 2022 at 6:15 AM Tomas Härdin > wrote: > > > > fre 2022-07-29 klockan 01:18 +0200 skrev Michael Niedermayer: > > > On Tue, Jul 19, 2022 at 03:48:59PM +0200, Tomas Härdin wrote: > > > > mån 2022-07-11 klockan 23:44 +

[FFmpeg-devel] [PATCH v3 2/2] ffmpeg: add video heartbeat capability to fix_sub_duration

2022-07-29 Thread Jan Ekström
From: Jan Ekström Splits the currently handled subtitle at random access point packets that can be configured to follow a specific output stream. This way the subtitle - which is known to be shown at this time can be split and passed to muxer before its full duration is yet known. Co-authored-b

[FFmpeg-devel] [PATCH v3 1/2] ffmpeg: refactor post-decoding steps for subtitles into a function

2022-07-29 Thread Jan Ekström
From: Jan Ekström This enables us to later call this when generating additional subtitles for splitting purposes. Co-authored-by: Andrzej Nadachowski Signed-off-by: Jan Ekström --- fftools/ffmpeg.c | 50 1 file changed, 29 insertions(+), 21 de

Re: [FFmpeg-devel] [PATCH v2 1/2] lavfi/edge_common: Add 16bit versions of gaussian_blur and sobel

2022-07-29 Thread Thilo Borgmann
Hi, 1/2 adds 16 bit versions of ff_gaussian_blur and ff_sobel. 2/2 adds new mode to cropdetect. >>> >>> v3 does it the template way for 1/2 as requested on IRC. >> >> v4 fixed bug in gaussian_blur. Otherwise identical. > > v5 fixes minor things mentioned on IRC and another bug found on t

Re: [FFmpeg-devel] [PATCH 1/3] avformat/mxfdec: SMPTE RDD 48:2018 support

2022-07-29 Thread Pierre-Anthony Lemieux
On Fri, Jul 29, 2022 at 6:15 AM Tomas Härdin wrote: > > fre 2022-07-29 klockan 01:18 +0200 skrev Michael Niedermayer: > > On Tue, Jul 19, 2022 at 03:48:59PM +0200, Tomas Härdin wrote: > > > mån 2022-07-11 klockan 23:44 +0200 skrev Michael Niedermayer: > > > > > > > > +{ { > > > > 0x06,0x0e,0x2

Re: [FFmpeg-devel] [PATCH v3 2/2] ffmpeg_opt: consider HW acceleration method when selecting decoder

2022-07-29 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Ronald S. Bultje > Sent: Friday, July 29, 2022 10:50 AM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH v3 2/2] ffmpeg_opt: consider HW > acceleration method when selecting

Re: [FFmpeg-devel] [PATCH v3 2/2] ffmpeg_opt: consider HW acceleration method when selecting decoder

2022-07-29 Thread Ronald S. Bultje
Hi, On Fri, Jul 29, 2022 at 4:38 PM Xiang, Haihao < haihao.xiang-at-intel@ffmpeg.org> wrote: > libdav1d is the preferred AV1 decoder in FFmpeg, libdav1d is always used > when > running the command below even if user expects vaapi or other HW > acceleration > methods. > I think that is a pret

Re: [FFmpeg-devel] [PATCH v3 2/2] ffmpeg_opt: consider HW acceleration method when selecting decoder

2022-07-29 Thread Xiang, Haihao
On Mon, 2022-07-25 at 12:30 +0800, Xiang, Haihao wrote: > From: Haihao Xiang > > Usually a HW decoder is expected when user specifies a HW acceleration > method via -hwaccel option, however the current implementation doesn't > take HW acceleration method into account, it is possible to select a S

[FFmpeg-devel] [PATCH] avcodec/ttmlenc: Deduplicate ttml_default_namespacing string

2022-07-29 Thread Andreas Rheinhardt
String literals are allowed to be deduplicated (and toolchains are already capable of doing so), yet the same is not allowed for named arrays (even when they contain strings). Therefore use a const char *const pointing to an unnamed string literal for ttml_default_namespacing. Signed-off-by: Andre

[FFmpeg-devel] [PATCH] avcodec/proresdata: Move data only used by ff_prores_ks_encoder to it

2022-07-29 Thread Andreas Rheinhardt
In this case, this allows to inline the initial run_cb and lev_cb values. Signed-off-by: Andreas Rheinhardt --- libavcodec/proresdata.c | 27 -- libavcodec/proresdata.h | 4 --- libavcodec/proresenc_kostya.c | 54 ++- 3 files changed,

[FFmpeg-devel] [PATCHv2] avcodec: WBMP (Wireless Application Protocol Bitmap) image format

2022-07-29 Thread Peter Ross
--- v2 includes all of the Andreas Rheinhardt's suggestions. Changelog | 1 + doc/general_contents.texi | 2 + libavcodec/Makefile | 2 + libavcodec/allcodecs.c| 2 + libavcodec/codec_desc.c | 7 +++ libavcodec/codec_id.h | 1 + libavcodec/wbmpdec.c | 9