[FFmpeg-devel] [FFmpeg-web][PATCH] web/download: add signing key and verification instructions

2021-02-23 Thread Zane van Iperen
As per discussion at [1]. Patches attached. Patch 1/3 adds /node_modules/ to .gitignore Patch 2/3 adds the actual key and verification instructions Patch 3/3 adds a prominent download link for the public key. This might be bit obnoxious, but it was suggested in the original discussion. [1]: ht

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/movtextenc: Check for too many styles

2021-02-23 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: 2021年2月24日 3:53 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH 1/2] avcodec/movtextenc: Check for too > many styles > > Anton Khirnov: > > Quoting Guo, Yejun (2021-02-21 06:31:37) > >

[FFmpeg-devel] [PATCH v1] avfilter/vf_vpp_qsv: add scale mode option

2021-02-23 Thread Fei Wang
The option allow user to set diffenent scaling mode from auto/low-power/high-quality. More details: https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/mediasdk-man.md#mfxExtVPPScaling Signed-off-by: Fei Wang --- libavfilter/vf_vpp_qsv.c | 25 +++-- 1 file changed, 2

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/movtextenc: Check for too many styles

2021-02-23 Thread Philip Langdale
On Tue, 23 Feb 2021 12:16:53 +0100 Andreas Rheinhardt wrote: > Andreas Rheinhardt: > > The counter for the number of styles is written on two bytes, ergo > > anything > UINT16_MAX is invalid. This also fixes a compiler warning > > because of a tautologically true check on 64bit systems. > > > >

Re: [FFmpeg-devel] [PATCH] avformat/dv: fix timestamps of audio packets in case of dropped corrupt audio frames

2021-02-23 Thread Dave Rice
> On Feb 23, 2021, at 2:42 PM, Marton Balint wrote: > > > > On Sat, 20 Feb 2021, Dave Rice wrote: > >> Hi, >> >>> On Oct 31, 2020, at 5:15 PM, Marton Balint >> > wrote: >>> On Sat, 31 Oct 2020, Dave Rice wrote: > On Oct 31, 2020, at 3:47 PM, Marton Balint

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/movtextenc: Check for too many styles

2021-02-23 Thread Andreas Rheinhardt
Anton Khirnov: > Quoting Guo, Yejun (2021-02-21 06:31:37) >> >> >>> FYI: The C standard does not mandate the sizes for most types (the uintx_t >>> types are an exception). It also gives the compiler absolute freedom on how >>> much padding to add to a structure. A compiler could very well add

Re: [FFmpeg-devel] [PATCH 2/3] avcodec: add SGA Video decoder

2021-02-23 Thread Carl Eugen Hoyos
Am Di., 23. Feb. 2021 um 20:27 Uhr schrieb Paul B Mahol : > > On Tue, Feb 23, 2021 at 8:20 PM Carl Eugen Hoyos wrote: > > > Am Di., 23. Feb. 2021 um 18:32 Uhr schrieb Paul B Mahol > >: > > > > > +static int decode_palette(GetByteContext *gb, uint32_t *pal) > > > +{ > > > +GetBitContext gbit;

Re: [FFmpeg-devel] [PATCH] avformat/dv: fix timestamps of audio packets in case of dropped corrupt audio frames

2021-02-23 Thread Marton Balint
On Sat, 20 Feb 2021, Dave Rice wrote: Hi, On Oct 31, 2020, at 5:15 PM, Marton Balint mailto:c...@passwd.hu>> wrote: On Sat, 31 Oct 2020, Dave Rice wrote: On Oct 31, 2020, at 3:47 PM, Marton Balint mailto:c...@passwd.hu>> wrote: On Sat, 31 Oct 2020, Dave Rice wrote: Hi Marton, On Oct 31, 2

Re: [FFmpeg-devel] [PATCH] avcodec/exr: simplify piz decompression

2021-02-23 Thread Paul B Mahol
will apply soon ___ 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".

Re: [FFmpeg-devel] [PATCH 2/3] avcodec: add SGA Video decoder

2021-02-23 Thread Paul B Mahol
On Tue, Feb 23, 2021 at 8:20 PM Carl Eugen Hoyos wrote: > Am Di., 23. Feb. 2021 um 18:32 Uhr schrieb Paul B Mahol >: > > > +static int decode_palette(GetByteContext *gb, uint32_t *pal) > > +{ > > +GetBitContext gbit; > > + > > +if (bytestream2_get_bytes_left(gb) < 18) > > +return

Re: [FFmpeg-devel] [PATCH 2/3] avcodec: add SGA Video decoder

2021-02-23 Thread Carl Eugen Hoyos
Am Di., 23. Feb. 2021 um 18:32 Uhr schrieb Paul B Mahol : > +static int decode_palette(GetByteContext *gb, uint32_t *pal) > +{ > +GetBitContext gbit; > + > +if (bytestream2_get_bytes_left(gb) < 18) > +return AVERROR_INVALIDDATA; > + > +memset(pal, 0, 16 * sizeof(*pal)); > +

Re: [FFmpeg-devel] [PATCH 2/3] avcodec: add SGA Video decoder

2021-02-23 Thread James Almer
On 2/23/2021 2:25 PM, Paul B Mahol wrote: Signed-off-by: Paul B Mahol --- libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/codec_desc.c | 7 + libavcodec/codec_id.h | 1 + libavcodec/sga.c| 525 5 files cha

[FFmpeg-devel] [PATCH 2/3] avcodec: add SGA Video decoder

2021-02-23 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/codec_desc.c | 7 + libavcodec/codec_id.h | 1 + libavcodec/sga.c| 525 5 files changed, 535 insertions(+) create mode 100644 libavc

[FFmpeg-devel] [PATCH 1/3] avcodec: add SGA PCM decoder

2021-02-23 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/codec_desc.c | 7 +++ libavcodec/codec_id.h | 1 + libavcodec/pcm.c| 9 + libavcodec/utils.c | 1 + 6 files changed, 20 insertions(+) diff --git a/libavcodec/Makefi

[FFmpeg-devel] [PATCH 3/3] avformat: add Digital Pictures SGA game demuxer

2021-02-23 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/sga.c| 388 +++ 3 files changed, 390 insertions(+) create mode 100644 libavformat/sga.c diff --git a/libavformat/Makefile b/libavformat/Mak

Re: [FFmpeg-devel] [PATCH v2 02/18] cbs_h264: Add support for frame packing arrangement SEI messages

2021-02-23 Thread James Almer
On 2/21/2021 4:51 PM, Mark Thompson wrote: --- libavcodec/cbs_h264.h | 23 libavcodec/cbs_h2645.c| 6 + libavcodec/cbs_h264_syntax_template.c | 39 +++ 3 files changed, 68 insertions(+) diff --git a/libavcodec/cbs

Re: [FFmpeg-devel] Please provide the FFMPEG public key (GPG/PGP)

2021-02-23 Thread Zane van Iperen
we should really add this instruction to the Download page! Zane, could you send a patch for ffmpeg-web about this pls? Thanks, Thilo Sure. Am about to sleep, will do sometime tomorrow! Zane ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https

Re: [FFmpeg-devel] Please provide the FFMPEG public key (GPG/PGP)

2021-02-23 Thread Thilo Borgmann
Hi, Am 23.02.21 um 12:37 schrieb Zane van Iperen: > On 23/2/21 5:30 pm, Michael Witten wrote: >> Please send to this mailing list an email that embeds the PGP/GPG >> public key used to sign files provided by the FFMPEG project. >> > > It doesn't account for trust, but you can just import the key

[FFmpeg-devel] [PATCH 1/3] libswscale/x86/yuv2yuvX: Removes unrolling for mmx and mmxext

2021-02-23 Thread Alan Kelly
--- This is so that tails of size 8 may safely be processed libswscale/x86/yuv2yuvX.asm | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/libswscale/x86/yuv2yuvX.asm b/libswscale/x86/yuv2yuvX.asm index 521880dabe..b6294cb919 100644 --- a/libswscale/x86/yuv2yuvX.as

[FFmpeg-devel] [PATCH 3/3] tests/checkasm/sw_scale: adds additional tests sizes for yux2yuvX

2021-02-23 Thread Alan Kelly
--- tests/checkasm/sw_scale.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/checkasm/sw_scale.c b/tests/checkasm/sw_scale.c index a10118704b..3ac0f9082f 100644 --- a/tests/checkasm/sw_scale.c +++ b/tests/checkasm/sw_scale.c @@ -68,8 +68,8 @@ static void check_yuv2

[FFmpeg-devel] [PATCH 2/3] libswscale/x86/swscale: Only call ff_yuv2yuvX functions if the input size is > 0

2021-02-23 Thread Alan Kelly
--- libswscale/x86/swscale.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libswscale/x86/swscale.c b/libswscale/x86/swscale.c index 1e865914cb..71961a9ae0 100644 --- a/libswscale/x86/swscale.c +++ b/libswscale/x86/swscale.c @@ -206,7 +206,8 @@ static void yuv2yuvX_ ##o

[FFmpeg-devel] Re: [PATCH 11/19] avformat/matroskadec: Support FlagOriginal

2021-02-23 Thread Anton Khirnov
Quoting Andreas Rheinhardt (2021-02-22 05:05:29) > Andreas Rheinhardt: > > Needs a CountedElement in order to distinguish the case of the element > > not being present and the element being present with a value of zero. > > > > Signed-off-by: Andreas Rheinhardt > > --- > > libavformat/matroska.h

[FFmpeg-devel] Re: [PATCH 1/2] avcodec/movtextenc: Check for too many styles

2021-02-23 Thread Anton Khirnov
Quoting Guo, Yejun (2021-02-21 06:31:37) > > > > > > > FYI: The C standard does not mandate the sizes for most types (the uintx_t > > types are an exception). It also gives the compiler absolute freedom on how > > much padding to add to a structure. A compiler could very well add megabytes > > of

Re: [FFmpeg-devel] [RFC] Event loop

2021-02-23 Thread Nicolas George
Mark Thompson (12021-02-20): > I'm not entirely sure where this discussion was going, but I believe > the original questions would have been simple to answer if anyone had > bothered to read the documentation. > > Adding a file descriptor referring to something independent of libuv > (such as an a

Re: [FFmpeg-devel] [PATCH] avformat/Makefile: Remove unnecessary dependencies on vocdec

2021-02-23 Thread Paul B Mahol
probably ok ___ 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".

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/movtextenc: Check for too many styles

2021-02-23 Thread Andreas Rheinhardt
Andreas Rheinhardt: > The counter for the number of styles is written on two bytes, ergo > anything > UINT16_MAX is invalid. This also fixes a compiler warning > because of a tautologically true check on 64bit systems. > > Signed-off-by: Andreas Rheinhardt > --- > A better solution would be to er

Re: [FFmpeg-devel] Please provide the FFMPEG public key (GPG/PGP)

2021-02-23 Thread Zane van Iperen
On 23/2/21 5:30 pm, Michael Witten wrote: Please send to this mailing list an email that embeds the PGP/GPG public key used to sign files provided by the FFMPEG project. It doesn't account for trust, but you can just import the key yourself in the meantime: $ gpg --verify ffmpeg-4.3.2.tar.xz

[FFmpeg-devel] [PATCH] avformat/Makefile: Remove unnecessary dependencies on vocdec

2021-02-23 Thread Andreas Rheinhardt
Commit 0d1229f1d2b8f26dd50c6be7917bb8ed8cb95364 factored the main part of the voc demuxer's read_packet function out; yet when this Libav commit was merged in f99195d56f4aab266926724ca1cfae822df4df16, the dependency of the other users of this function on vocdec.o was unnecessarily kept. This commit

Re: [FFmpeg-devel] [PATCH 01/15] avformat/asf: Move ff_asf_audio_conceal_none to its only user

2021-02-23 Thread Andreas Rheinhardt
Andreas Rheinhardt: > It is only used inside code guarded by #ifdef DEBUG, i.e. it is normally > unused. > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/asf.c | 6 -- > libavformat/asf.h | 1 - > libavformat/asfdec_f.c | 8 +++- > 3 files changed, 7 insertions(+), 8 d

Re: [FFmpeg-devel] [PATCH v1 1/1] Matroid patch: add support for writing additional metadata to filename

2021-02-23 Thread Nicolas George
tak-matroid (12021-02-22): > * Support micro seconds for image2 strftime filename > * Support micro seconds for segment strftime filename > * Support duration for segment output > * Allow split on keyframe with NOPTS > * Add EXT-X-PROGRAM-DATE-TIME parsing to hls.c > * Add global timestamp (gts) me

Re: [FFmpeg-devel] [PATCH 2/3] libavformat/hls: add support for SAMPLE-AES decryption in HLS demuxer

2021-02-23 Thread Nachiket Tarate
Hello Steven, This patch enables SAMPLE-AES decryption for MPEG-TS format only and not for fragmented MP4 format. In the next version of the patch, I will add a check for it. Best Regards, Nachiket Tarate On Mon, Feb 1, 2021 at 12:48 PM Steven Liu wrote: > > > > 2021年1月28日 下午11:11,Nachiket Ta