[FFmpeg-devel] Compiling Error within MSYS2-mingw32-environment

2023-02-27 Thread Reiner Sombrowsky
Hello *ffmpeg* developers, I compile *ffmpeg* sources within a *Windows 11 MSYS2* *mingw64* and *mingw32* environment for using in my applications that can be downloaded for free on my homepage***www.somby.de *. Since the last 2 months I have problems with compiling within *m

Re: [FFmpeg-devel] Bump major version of swresample

2023-02-27 Thread Michael Niedermayer
essOn Sat, Feb 25, 2023 at 12:03:02AM +0800, Wang Bin wrote: > > version_major.h |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > a87056c2fe65d68b2cf5d1de06be28ea40c69b73 > 0001-Bump-major-version-of-swresample.patch > From e3e6a3833f2fba743ee9c05962e804e9e570dd75 Mon Sep 17 00:00:

Re: [FFmpeg-devel] Bump major version of swresample

2023-02-27 Thread zhilizhao(赵志立)
> On Feb 27, 2023, at 18:03, Michael Niedermayer wrote: > > essOn Sat, Feb 25, 2023 at 12:03:02AM +0800, Wang Bin wrote: >> > >> version_major.h |2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> a87056c2fe65d68b2cf5d1de06be28ea40c69b73 >> 0001-Bump-major-version-of-swresample.p

Re: [FFmpeg-devel] Bump major version of swresample

2023-02-27 Thread James Almer
On 2/27/2023 7:03 AM, Michael Niedermayer wrote: essOn Sat, Feb 25, 2023 at 12:03:02AM +0800, Wang Bin wrote: version_major.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) a87056c2fe65d68b2cf5d1de06be28ea40c69b73 0001-Bump-major-version-of-swresample.patch From e3e6a3833f2fb

Re: [FFmpeg-devel] [PATCH v2 1/8] avformat/movenc: add PCM in mp4 support

2023-02-27 Thread Tomas Härdin
lör 2023-02-25 klockan 02:28 +0800 skrev Zhao Zhili: > From: Zhao Zhili > > It's defined by ISO/IEC 23003-5. > > Fixes ticket #10185 > > Signed-off-by: Zhao Zhili > --- >  libavformat/movenc.c | 60 > +++- >  1 file changed, 59 insertions(+), 1 deletion(-

Re: [FFmpeg-devel] [PATCH v2 2/8] avformat/mov: check that pcmC box is of the expected type

2023-02-27 Thread Tomas Härdin
lör 2023-02-25 klockan 02:28 +0800 skrev Zhao Zhili: > From: Jan Ekström > > As per 23003-5:2020 this box is defined as > PCMConfig extends FullBox(‘pcmC’, version = 0, 0), which means > that version is 0 and flags should be zero. > --- >  libavformat/mov.c | 13 +++-- >  1 file changed, 1

Re: [FFmpeg-devel] [PATCH v2 3/8] avformat/mov: base the endianness on just the LSB

2023-02-27 Thread Tomas Härdin
lör 2023-02-25 klockan 02:28 +0800 skrev Zhao Zhili: > From: Jan Ekström > > As per 23003-5:2020, the rest of the bits are reserved, and thus > in the future they may be utilized for something else. > > Quote: > format_flags is a field of flags that modify the default PCM sample > format. > Unde

Re: [FFmpeg-devel] [PATCH v2 4/8] avformat/mov: fix ISO/IEC 23003-5 support

2023-02-27 Thread Tomas Härdin
lör 2023-02-25 klockan 02:28 +0800 skrev Zhao Zhili: > From: Zhao Zhili > > Missing floating-point formats support. > > Signed-off-by: Zhao Zhili > --- >  libavformat/mov.c | 47 > +++ >  1 file changed, 47 insertions(+) Should still be OK /Tomas __

Re: [FFmpeg-devel] [PATCH v2 6/8] avformat/mov: parse ISO-14496-12 ChannelLayout

2023-02-27 Thread Tomas Härdin
lör 2023-02-25 klockan 02:28 +0800 skrev Zhao Zhili: > > +    if (!layout) { > +    uint8_t *positions = av_malloc(st->codecpar- > >ch_layout.nb_channels); Could be allocated on the stack, either using a fixed-size array, a VLA or alloca(), thus avoiding a heap allocation /Tomas ___

Re: [FFmpeg-devel] [PATCH v2 5/8] avformat/isom_tags: remove ipcm from movaudio_tags

2023-02-27 Thread Tomas Härdin
lör 2023-02-25 klockan 02:28 +0800 skrev Zhao Zhili: > From: Zhao Zhili > > ipcm is defined by ISO/IEC 23003-5, not defined by quicktime. After > adding ISO/IEC 23003-5 support, we don't need it for ticket #9219. > > Signed-off-by: Zhao Zhili > --- >  libavformat/isom_tags.c | 2 -- >  1 file ch

Re: [FFmpeg-devel] [PATCH v2 7/8] avformat/movenc: write ChannelLayout box for PCM

2023-02-27 Thread Tomas Härdin
lör 2023-02-25 klockan 02:28 +0800 skrev Zhao Zhili: > > +static int mov_write_chnl_tag(AVFormatContext *s, AVIOContext *pb, > MOVTrack *track) > +{ > +    int64_t pos = avio_tell(pb); > +    int config = 0; > +    int ret; > +    uint8_t *speaker_pos = NULL; Could also be allocated on the stack

Re: [FFmpeg-devel] [PATCH] Fix broken build on Android due to broken asm-generic/termbits.h include

2023-02-27 Thread zhilizhao(赵志立)
> On Feb 23, 2023, at 23:01, Hendrik Leppkes wrote: > > On Thu, Feb 23, 2023 at 3:37 PM copypaste wrote: >> It gets included because this platform does indeed have Video4Linux so some >> of the aarch64 stuff is relevant. Furthermore I think that the HEVC stuff >> includes it. >> > > If its

Re: [FFmpeg-devel] Bump major version of swresample

2023-02-27 Thread Wang Bin
> > > There is no major changes since last bump. Is it an option to keep current > major version? > > libpostproc changes less ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit li

Re: [FFmpeg-devel] [PATCH v2 2/8] avformat/mov: check that pcmC box is of the expected type

2023-02-27 Thread Jan Ekström
On Mon, Feb 27, 2023 at 3:36 PM Tomas Härdin wrote: > > lör 2023-02-25 klockan 02:28 +0800 skrev Zhao Zhili: > > From: Jan Ekström > > > > As per 23003-5:2020 this box is defined as > > PCMConfig extends FullBox(‘pcmC’, version = 0, 0), which means > > that version is 0 and flags should be zero.

Re: [FFmpeg-devel] [PATCH v4] avcodec/pngdec: read colorspace info when decoding with AVDISCARD_ALL

2023-02-27 Thread Leo Izen
On 2/21/23 17:35, Leo Izen wrote: These chunks are lightweight and it's useful information to have when running ffmpeg -i or ffprobe, for example. --- libavcodec/pngdec.c | 136 ++- tests/ref/fate/png-icc | 8 +-- tests/ref/fate/png-side-data |

[FFmpeg-devel] [PATCH 1/2] avcodec/avutil: move dynamic HDR metadata parsing to libavutil

2023-02-27 Thread Raphaël Zumer
This patch set implements serialization for HDR10+ dynamic metadata (AVDynamicHDRPlus), which is the inverse operation of the existing ff_parse_itu_t_t35_to_dynamic_hdr10_plus() function. It also moves both functions from libavcodec to libavutil and makes them public. For consistency, the equ

[FFmpeg-devel] [PATCH 2/2] avutil: add HDR10+ dynamic metadata serialization function

2023-02-27 Thread Raphaël Zumer
See the previous patch for context. Signed-off-by: Raphaël Zumer --- libavutil/hdr_dynamic_metadata.c | 147 +++ libavutil/hdr_dynamic_metadata.h | 10 +++ libavutil/version.h | 2 +- 3 files changed, 158 insertions(+), 1 deletion(-) diff --git a/li

[FFmpeg-devel] [PATCH 1/2] avcodec/avutil: move dynamic HDR metadata parsing to libavutil

2023-02-27 Thread Raphaël Zumer
Resending this patch set due to my mail client messing with the line wrapping in the messages I sent earlier today. Below is a copy of the initial explanation. This patch set implements serialization for HDR10+ dynamic metadata (AVDynamicHDRPlus), which is the inverse operation of the existing

[FFmpeg-devel] [PATCH 2/2] avutil: add HDR10+ dynamic metadata serialization function

2023-02-27 Thread Raphaël Zumer
Resent due to my mail client incorrectly re-wrapping lines in the version I sent earlier. See the previous patch for context. Signed-off-by: Raphaël Zumer --- libavutil/hdr_dynamic_metadata.c | 147 +++ libavutil/hdr_dynamic_metadata.h | 10 +++ libavutil/version.h

Re: [FFmpeg-devel] [PATCH v2 1/8] avformat/movenc: add PCM in mp4 support

2023-02-27 Thread Jan Ekström
On Fri, Feb 24, 2023 at 8:29 PM Zhao Zhili wrote: > > From: Zhao Zhili > > It's defined by ISO/IEC 23003-5. > > Fixes ticket #10185 > > Signed-off-by: Zhao Zhili Technically if you wanted to split these commits, then this implementation would have to be limited to one audio channel streams, as

Re: [FFmpeg-devel] [PATCH] libavcodec/libfdk-aacnc: send encoder delay/padding in packet side data

2023-02-27 Thread Jonathan Gee
> On Fri, Feb 24, 2023 at 3:14 PM JonHGee wrote: > --- > libavcodec/libfdk-aacenc.c | 27 ++- > 1 file changed, 26 insertions(+), 1 deletion(-) > diff --git a/libavcodec/libfdk-aacenc.c b/libavcodec/libfdk-aacenc.c > index 54549de473..55d10990e4 100644 > --- a/libavcodec/l

Re: [FFmpeg-devel] [PATCH v7 0/4] add ARIB caption decoder using libaribcaption

2023-02-27 Thread Ridley Combs
> On Feb 23, 2023, at 04:17, TADANO Tokumei wrote: > > Ping with rebased patch set. > Some chages are added to reflect review results from outside of this ML. > > --- > This patch set add another ARIB caption decoder using libaribcaption > external library: https://github.com/xqq/libaribcaptio

Re: [FFmpeg-devel] Bump major version of swresample

2023-02-27 Thread Wang Bin
James Almer 于2023年2月27日周一 20:00写道: > On 2/27/2023 7:03 AM, Michael Niedermayer wrote: > > essOn Sat, Feb 25, 2023 at 12:03:02AM +0800, Wang Bin wrote: > >> > > > >> version_major.h |2 +- > >> 1 file changed, 1 insertion(+), 1 deletion(-) > >> a87056c2fe65d68b2cf5d1de06be28ea40c69b73 > 000

Re: [FFmpeg-devel] Bump major version of swresample

2023-02-27 Thread Zhao Zhili
> 在 2023年2月28日,09:43,Wang Bin 写道: > > James Almer 于2023年2月27日周一 20:00写道: > >>> On 2/27/2023 7:03 AM, Michael Niedermayer wrote: >>> essOn Sat, Feb 25, 2023 at 12:03:02AM +0800, Wang Bin wrote: >>> version_major.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [FFmpeg-devel] [PATCH v2 1/8] avformat/movenc: add PCM in mp4 support

2023-02-27 Thread zhilizhao(赵志立)
> On Feb 28, 2023, at 04:24, Jan Ekström wrote: > > On Fri, Feb 24, 2023 at 8:29 PM Zhao Zhili wrote: >> >> From: Zhao Zhili >> >> It's defined by ISO/IEC 23003-5. >> >> Fixes ticket #10185 >> >> Signed-off-by: Zhao Zhili > > Technically if you wanted to split these commits, then this >

[FFmpeg-devel] [PATCH v1] lavc/vp9: Add RGB* formats for VAAPI hwaccel

2023-02-27 Thread Fei Wang
Signed-off-by: Fei Wang --- libavcodec/vp9.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index 7c0a246446..7ff387faf4 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -239,6 +239,13 @@ static int update_size(AVCodecContext *avctx, int w, i