Re: [FFmpeg-devel] [PATCH v2] configure: add check for sdl2 >= 2.23.0

2022-05-10 Thread Hendrik Leppkes
On Wed, May 11, 2022 at 7:23 AM Christopher Degawa wrote: > > sdl2 recently changed their versioning, moving the patch level to minor level > https://github.com/libsdl-org/SDL/commit/cd7c2f1de7d9e418bb554047d714dd7cacc020ff > > trac: https://trac.ffmpeg.org/ticket/9768 > > Signed-off-by: Christoph

[FFmpeg-devel] [PATCH v2] configure: add check for sdl2 >= 2.23.0

2022-05-10 Thread Christopher Degawa
sdl2 recently changed their versioning, moving the patch level to minor level https://github.com/libsdl-org/SDL/commit/cd7c2f1de7d9e418bb554047d714dd7cacc020ff trac: https://trac.ffmpeg.org/ticket/9768 Signed-off-by: Christopher Degawa --- configure | 7 +++ 1 file changed, 7 insertions(+)

Re: [FFmpeg-devel] [PATCH] configure: add check for sdl2 >= 2.23.0

2022-05-10 Thread Gyan Doshi
On 2022-05-11 04:18 am, Christopher Degawa wrote: sdl2 recently changed their versioning, moving the patch level to minor level https://github.com/libsdl-org/SDL/commit/cd7c2f1de7d9e418bb554047d714dd7cacc020ff trac: https://trac.ffmpeg.org/ticket/9768 Signed-off-by: Christopher Degawa ---

[FFmpeg-devel] (ping) Re: [PATCH] avcodec/vp9: ipred_vl_16x16_16 avx2 implementation

2022-05-10 Thread Sam Blackriver
Ср, 4 мая 2022 г. в 7:57 PM, FacelessLake : > From: Semen Belozerov > > --- > libavcodec/x86/vp9dsp_init_16bpp.c| 2 ++ > libavcodec/x86/vp9intrapred_16bpp.asm | 51 +++ > 2 files changed, 53 insertions(+) > > diff --git a/libavcodec/x86/vp9dsp_init_16bpp.c > b/libav

Re: [FFmpeg-devel] [PATCH v11 1/6] libavutil/wchar_filename.h: Add whcartoutf8, wchartoansi and utf8toansi

2022-05-10 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Soft > Works > Sent: Wednesday, May 11, 2022 12:59 AM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH v11 1/6] > libavutil/wchar_filename.h: Add whcartoutf8, wchartoansi and >

Re: [FFmpeg-devel] [PATCH v2] avfilter: use av_fopen_utf8() instead of plain fopen()

2022-05-10 Thread Soft Works
> -Original Message- > From: Martin Storsjö > Sent: Tuesday, May 10, 2022 10:12 PM > To: softworkz > Cc: ffmpeg-devel@ffmpeg.org; Soft Works > Subject: Re: [PATCH v2] avfilter: use av_fopen_utf8() instead of plain > fopen() > > On Mon, 9 May 2022, softworkz wrote: > > > From: softwor

Re: [FFmpeg-devel] [PATCH v11 1/6] libavutil/wchar_filename.h: Add whcartoutf8, wchartoansi and utf8toansi

2022-05-10 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of nil- > admir...@mailo.com > Sent: Tuesday, May 10, 2022 11:23 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v11 1/6] > libavutil/wchar_filename.h: Add whcartoutf8, wchartoansi and > utf8toansi > > > Paths ar

[FFmpeg-devel] [PATCH] configure: add check for sdl2 >= 2.23.0

2022-05-10 Thread Christopher Degawa
sdl2 recently changed their versioning, moving the patch level to minor level https://github.com/libsdl-org/SDL/commit/cd7c2f1de7d9e418bb554047d714dd7cacc020ff trac: https://trac.ffmpeg.org/ticket/9768 Signed-off-by: Christopher Degawa --- configure | 7 +++ 1 file changed, 7 insertions(+)

Re: [FFmpeg-devel] [PATCH] avfilter/alimiter:add latency compensation

2022-05-10 Thread Wang Cao
On Thu, May 5, 2022 at 2:14 PM Wang Cao wrote: > Also added 2 FATE tests to verify delay is compenated correctly > > Signed-off-by: Wang Cao > --- > doc/filters.texi| 5 +++ > libavfilter/af_alimiter.c | 90 + > tests/fate/filter-audio.mak | 24

Re: [FFmpeg-devel] [PATCH v11 1/6] libavutil/wchar_filename.h: Add whcartoutf8, wchartoansi and utf8toansi

2022-05-10 Thread nil-admirari
> Paths are strings. In other languages, paths are represented with classes, e.g. std::filesystem::path in C++ or pathlib.Path in Python. In C classes have to be emulated with structs and functions. Even plain strings would've been OK to represent paths, if there was a set of functions everyone

Re: [FFmpeg-devel] [PATCH v2] avfilter: use av_fopen_utf8() instead of plain fopen()

2022-05-10 Thread Martin Storsjö
On Mon, 9 May 2022, softworkz wrote: From: softworkz Signed-off-by: softworkz --- use av_fopen_utf8() instead of plain fopen() Unify file access operations by replacing usages of direct calls to posix fopen() v2: Remove changes to fftools for now Published-As: https://github.c

Re: [FFmpeg-devel] [PATCH v5 07/21] avdevice/avdevice: Revert "Deprecate AVDevice Capabilities API"

2022-05-10 Thread Hendrik Leppkes
On Tue, May 10, 2022 at 7:25 PM Andreas Rheinhardt wrote: > > Diederick Niehorster: > > This reverts commit 4f49ca7bbc75a9db4cdf93f27f95a668c751f160. The next > > few patches clean up the API and implement this capability for > > avdevice/dshow. > > > > Bumping avformat and avdevice version. > > >

Re: [FFmpeg-devel] [PATCH v5 07/21] avdevice/avdevice: Revert "Deprecate AVDevice Capabilities API"

2022-05-10 Thread Andreas Rheinhardt
Diederick Niehorster: > This reverts commit 4f49ca7bbc75a9db4cdf93f27f95a668c751f160. The next > few patches clean up the API and implement this capability for > avdevice/dshow. > > Bumping avformat and avdevice version. > > Signed-off-by: Diederick Niehorster > --- > libavdevice/avdevice.c | 7

[FFmpeg-devel] [PATCH] avcodec/texturedspenc: Fix invalid shift

2022-05-10 Thread Andreas Rheinhardt
Left shifts of signed types are UB unless the results fit into the type. (Furthermore the value to be shifted need to be nonnegative.) Signed-off-by: Andreas Rheinhardt --- libavcodec/texturedspenc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/texturedspe

Re: [FFmpeg-devel] [PATCH v2 1/7] avutil/uuid: add utility library for manipulating UUIDs as specified in RFC 4122

2022-05-10 Thread Andreas Rheinhardt
Zane van Iperen: > Co-authored-by: Pierre-Anthony Lemieux > Signed-off-by: Zane van Iperen > --- > libavutil/Makefile | 2 + > libavutil/uuid.c | 155 + > libavutil/uuid.h | 137 +++ > 3 files changed, 294 inse

[FFmpeg-devel] [PATCH] avfilter/avfilter: Fix compilation with TRACE defined

2022-05-10 Thread Andreas Rheinhardt
av_get_pix_fmt_name() is used in an ff_tlog(), which is only compiled if TRACE is defined. Fixes a regression caused by f2b79c5b855b7450c8f3c15b9ec11b439cd2a294. Signed-off-by: Andreas Rheinhardt --- libavfilter/avfilter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/avfilter.

[FFmpeg-devel] [PATCH] ffmpeg: set user-set rotation for encoded streams too

2022-05-10 Thread Gyan Doshi
So far, -metadata:s:v rotate would only be applied to streamcopied video streams. --- fftools/ffmpeg.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index a85ed18b08..7c1db2162a 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -3048,6 +3048,1

[FFmpeg-devel] [PATCH] fate/matroska: Add test for remuxing DVB subtitles to Matroska

2022-05-10 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- tests/fate/matroska.mak | 10 ++ tests/ref/fate/matroska-dvbsub-remux | 52 2 files changed, 62 insertions(+) create mode 100644 tests/ref/fate/matroska-dvbsub-remux diff --git a/tests/fate/matroska.mak b/tests/

Re: [FFmpeg-devel] [PATCH 1/3] doc/encoders.texi: Document cinepak encoder

2022-05-10 Thread Tomas Härdin
ons 2022-05-04 klockan 11:41 +0200 skrev Tomas Härdin: > Ping > > I tested patch 2's output on Windows 3.1, still works fine. Could > potentially merge both documentation patches Pushing this in a day or two. FATE passes. /Tomas ___ ffmpeg-devel mail

[FFmpeg-devel] [PATCH 3/3] avformat/internal: Hide BSF stuff only used by the core APIs

2022-05-10 Thread Andreas Rheinhardt
The general demuxing API uses bitstream filters to extract extradata and the muxing API uses them in order to transform packets into the format desired by the target format. Therefore FFStream contains pointers to AVBSFContexts and lavf/internal.h includes lavc/bsf.h. Yet actually, only a few file

[FFmpeg-devel] [PATCH 2/3] avformat/internal: Move FFERROR_REDO to demux.h

2022-05-10 Thread Andreas Rheinhardt
It is demuxer-only. Signed-off-by: Andreas Rheinhardt --- libavformat/demux.h| 6 ++ libavformat/internal.h | 6 -- libavformat/lxfdec.c | 1 + libavformat/smacker.c | 1 + 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/libavformat/demux.h b/libavformat/demux.h ind

Re: [FFmpeg-devel] [PATCH 05/44] avformat/mux: Move ff_choose_chroma_location to mxfenc, its only user

2022-05-10 Thread Andreas Rheinhardt
Tomas Härdin: > lör 2022-05-07 klockan 13:27 +0200 skrev Andreas Rheinhardt: >> Signed-off-by: Andreas Rheinhardt >> --- >>  libavformat/internal.h |  5 - >>  libavformat/mux.c  | 31 --- >>  libavformat/mxfenc.c   | 31 ++- >>  3 files

Re: [FFmpeg-devel] [PATCH 05/44] avformat/mux: Move ff_choose_chroma_location to mxfenc, its only user

2022-05-10 Thread Tomas Härdin
lör 2022-05-07 klockan 13:27 +0200 skrev Andreas Rheinhardt: > Signed-off-by: Andreas Rheinhardt > --- >  libavformat/internal.h |  5 - >  libavformat/mux.c  | 31 --- >  libavformat/mxfenc.c   | 31 ++- >  3 files changed, 30 insertion