Re: [FFmpeg-devel] [PATCH] avutil/opt: add AV_OPT_FLAG_FORCE_CONST

2024-04-16 Thread Timo Rothenpieler
On 16/04/2024 02:07, Michael Niedermayer wrote: On Sun, Apr 14, 2024 at 10:35:57PM +0200, Timo Rothenpieler wrote: On 14.04.2024 22:30, Marton Balint wrote: On Sun, 14 Apr 2024, Timo Rothenpieler wrote: --- doc/APIchanges  |  3 +++ libavutil/opt.c | 14 ++ libavutil/opt.h

[FFmpeg-devel] [PATCH 2/6] doc/muxers/md5: apply misc consistency fixes

2024-04-16 Thread Stefano Sabatini
--- doc/muxers.texi | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index a162ab4075..710fc27eec 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -2905,26 +2905,28 @@ flag is set in the disposition of the corresponding stream

[FFmpeg-devel] [PATCH 3/6] doc/muxers: add microdvd

2024-04-16 Thread Stefano Sabatini
--- doc/muxers.texi | 5 + 1 file changed, 5 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index 710fc27eec..f94513527d 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -2928,6 +2928,11 @@ ffmpeg -i INPUT -f md5 - @end example @end itemize +@section microdvd +MicroDVD

[FFmpeg-devel] Apply misc doc/muxers fixes and extensions

2024-04-16 Thread Stefano Sabatini
Apply misc doc/muxers fixes and extensions. ___ 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".

[FFmpeg-devel] [PATCH 1/6] doc/muxers/matroskaenc: add missing options, apply misc style fixes

2024-04-16 Thread Stefano Sabatini
--- doc/muxers.texi | 44 +--- 1 file changed, 37 insertions(+), 7 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index a77472ef1b..a162ab4075 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -2846,8 +2846,44 @@ the initially reserved spac

[FFmpeg-devel] [PATCH 4/6] doc/muxers: add mkvtimestamp_v2

2024-04-16 Thread Stefano Sabatini
--- doc/muxers.texi | 8 1 file changed, 8 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index f94513527d..490d5557bf 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -2933,6 +2933,14 @@ MicroDVD subtitle format muxer. This muxer accepts a single @samp{microdvd} su

[FFmpeg-devel] [PATCH 5/6] lavf/mkvtimestamp_v2: use name in place of description in long name

2024-04-16 Thread Stefano Sabatini
--- libavformat/mkvtimestamp_v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mkvtimestamp_v2.c b/libavformat/mkvtimestamp_v2.c index dde431ab7d..1eb2daf10a 100644 --- a/libavformat/mkvtimestamp_v2.c +++ b/libavformat/mkvtimestamp_v2.c @@ -43,7 +43,7 @@ static i

[FFmpeg-devel] [PATCH 6/6] doc/muxers: add mmf

2024-04-16 Thread Stefano Sabatini
--- doc/muxers.texi | 9 + 1 file changed, 9 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index 490d5557bf..43c4865292 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -2941,6 +2941,15 @@ Write the PTS rawvideo frame to the output, as supported by the This muxer a

[FFmpeg-devel] cannot compile the ffmpeg latest on local

2024-04-16 Thread B-2014 Ariyan Kashyap
Getting this err while running ./configure --enable-shared ./configure --enable-shared nasm/yasm not found or too old. Use --disable-x86asm for a crippled build. If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the pr

[FFmpeg-devel] not able to install dependencies for ffmpeg using msys2 pacman

2024-04-16 Thread B-2014 Ariyan Kashyap
Not able to install these packages : 1. pacman -S mingw-w64-x86_64-automake 2. pacman -S mingw-w64-x86_64-autoconf 3. pacman -S mingw-w64-x86_64-theora err : pacman -S mingw-w64-x86_64-theora ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https:

Re: [FFmpeg-devel] [PATCH 4/6] doc/muxers: add mkvtimestamp_v2

2024-04-16 Thread Andreas Rheinhardt
Stefano Sabatini: > --- > doc/muxers.texi | 8 > 1 file changed, 8 insertions(+) > > diff --git a/doc/muxers.texi b/doc/muxers.texi > index f94513527d..490d5557bf 100644 > --- a/doc/muxers.texi > +++ b/doc/muxers.texi > @@ -2933,6 +2933,14 @@ MicroDVD subtitle format muxer. > > This m

Re: [FFmpeg-devel] [PATCH] ffmpeg: Carry streamid as metadata key 'id'

2024-04-16 Thread Anton Khirnov
Quoting Tomas Härdin (2024-04-12 11:40:47) > This idea could be extended to other fields not presently considered to > be metadata, that would be handy to treat as such. > > I use the key "id" because ffprobe outputs id= for streamid. Another > option could be to collect these types of metadata th

Re: [FFmpeg-devel] cannot compile the ffmpeg latest on local

2024-04-16 Thread Frank Plowman
On 16/04/2024 11:09, B-2014 Ariyan Kashyap wrote: > Getting this err while running ./configure --enable-shared > > ./configure --enable-shared > nasm/yasm not found or too old. Use --disable-x86asm for a crippled build. > > If you think configure made a mistake, make sure you are using the latest

Re: [FFmpeg-devel] [PATCH] ffmpeg: Carry streamid as metadata key 'id'

2024-04-16 Thread James Almer
On Tue, Apr 16, 2024 at 9:38 AM Anton Khirnov wrote: > Quoting Tomas Härdin (2024-04-12 11:40:47) > > This idea could be extended to other fields not presently considered to > > be metadata, that would be handy to treat as such. > > > > I use the key "id" because ffprobe outputs id= for streamid.

[FFmpeg-devel] [PATCH 7/6] doc/protocols: Re-order HTTP options to match http.c order

2024-04-16 Thread Derek Buitenhuis
This makes the list easier to maintain. Signed-off-by: Derek Buitenhuis --- doc/protocols.texi | 112 ++--- 1 file changed, 56 insertions(+), 56 deletions(-) diff --git a/doc/protocols.texi b/doc/protocols.texi index f54600b846..5ce1ddc8f4 100644 --- a/do

[FFmpeg-devel] [PATCH 8/6] doc/protocols: Fill in missing HTTP options

2024-04-16 Thread Derek Buitenhuis
Signed-off-by: Derek Buitenhuis --- doc/protocols.texi | 30 ++ 1 file changed, 30 insertions(+) diff --git a/doc/protocols.texi b/doc/protocols.texi index 5ce1ddc8f4..60c6d831dd 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -492,6 +492,10 @@ contains th

Re: [FFmpeg-devel] [PATCH 4/6 v2] avformat/http: Add support for Retry-After header

2024-04-16 Thread Derek Buitenhuis
On 4/15/2024 6:33 PM, Stefano Sabatini wrote: > missing doc/protocols.texi update Sent patch 7 and 8 to address this. - Derek ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit l

Re: [FFmpeg-devel] [PATCH] ffmpeg: Carry streamid as metadata key 'id'

2024-04-16 Thread Tomas Härdin
mån 2024-04-15 klockan 21:33 -0300 skrev James Almer: > On 4/15/2024 9:30 PM, Michael Niedermayer wrote: > > On Mon, Apr 15, 2024 at 10:35:44AM +0200, Tomas Härdin wrote: > > > lör 2024-04-13 klockan 01:25 +0200 skrev Michael Niedermayer: > > > > On Fri, Apr 12, 2024 at 11:40:47AM +0200, Tomas Härd

Re: [FFmpeg-devel] [PATCH] ffmpeg: Carry streamid as metadata key 'id'

2024-04-16 Thread Tomas Härdin
tis 2024-04-16 klockan 09:52 -0300 skrev James Almer: > On Tue, Apr 16, 2024 at 9:38 AM Anton Khirnov > wrote: > > > Quoting Tomas Härdin (2024-04-12 11:40:47) > > > This idea could be extended to other fields not presently > > > considered to > > > be metadata, that would be handy to treat as su

Re: [FFmpeg-devel] [PATCH 7/6] doc/protocols: Re-order HTTP options to match http.c order

2024-04-16 Thread Stefano Sabatini
On date Tuesday 2024-04-16 14:55:54 +0100, Derek Buitenhuis wrote: > This makes the list easier to maintain. > > Signed-off-by: Derek Buitenhuis > --- > doc/protocols.texi | 112 ++--- > 1 file changed, 56 insertions(+), 56 deletions(-) Sure, thank you. _

Re: [FFmpeg-devel] [PATCH 8/6] doc/protocols: Fill in missing HTTP options

2024-04-16 Thread Stefano Sabatini
On date Tuesday 2024-04-16 14:55:55 +0100, Derek Buitenhuis wrote: > Signed-off-by: Derek Buitenhuis > --- > doc/protocols.texi | 30 ++ > 1 file changed, 30 insertions(+) > > diff --git a/doc/protocols.texi b/doc/protocols.texi > index 5ce1ddc8f4..60c6d831dd 100644 >

[FFmpeg-devel] [PATCH] avformat/lc3: Only allow AV_CODEC_ID_LC3 in muxer

2024-04-16 Thread Andreas Rheinhardt
Also check for the number of streams and the AVCodecID generically using FF_OFMT_FLAGs. Signed-off-by: Andreas Rheinhardt --- libavformat/lc3.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/libavformat/lc3.c b/libavformat/lc3.c index 93ce720af3..16c12a98d7 1

Re: [FFmpeg-devel] [PATCH] avformat/lc3: Only allow AV_CODEC_ID_LC3 in muxer

2024-04-16 Thread Stefano Sabatini
On date Tuesday 2024-04-16 19:23:27 +0200, Andreas Rheinhardt wrote: > Also check for the number of streams and the AVCodecID generically > using FF_OFMT_FLAGs. > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/lc3.c | 14 +++--- > 1 file changed, 3 insertions(+), 11 deletions(-)

Re: [FFmpeg-devel] [PATCH 4/6] doc/muxers: add mkvtimestamp_v2

2024-04-16 Thread Stefano Sabatini
On date Tuesday 2024-04-16 12:50:19 +0200, Andreas Rheinhardt wrote: > Stefano Sabatini: > > --- > > doc/muxers.texi | 8 > > 1 file changed, 8 insertions(+) > > > > diff --git a/doc/muxers.texi b/doc/muxers.texi > > index f94513527d..490d5557bf 100644 > > --- a/doc/muxers.texi > > +++ b

Re: [FFmpeg-devel] [PATCH 4/6] doc/muxers: add mkvtimestamp_v2

2024-04-16 Thread Andreas Rheinhardt
Stefano Sabatini: > On date Tuesday 2024-04-16 12:50:19 +0200, Andreas Rheinhardt wrote: >> Stefano Sabatini: >>> --- >>> doc/muxers.texi | 8 >>> 1 file changed, 8 insertions(+) >>> >>> diff --git a/doc/muxers.texi b/doc/muxers.texi >>> index f94513527d..490d5557bf 100644 >>> --- a/doc/m

Re: [FFmpeg-devel] [PATCH] opusdsp: add ability to modify deemphasis constant

2024-04-16 Thread Michael Niedermayer
On Mon, Apr 15, 2024 at 08:28:30AM +0200, Lynne wrote: > xHE-AAC relies on the same postfilter mechanism > that Opus uses to improve clarity (albeit with a steeper > deemphasis filter, using a z=0.64). > > The code to apply it is identical, it's still just a > simple IIR low-pass filter. This comm

Re: [FFmpeg-devel] [PATCH] lavc/aarch64/fdct: add neon-optimized fdct for aarch64

2024-04-16 Thread Ramiro Polla
Hi, On Wed, Feb 14, 2024 at 10:42 AM Martin Storsjö wrote: > On Sun, 4 Feb 2024, Ramiro Polla wrote: > > > The code is imported from libjpeg-turbo-3.0.1. The neon registers used > > have been changed to avoid modifying v8-v15. > > --- > > I don't remember if we have any extra routines we need to

[FFmpeg-devel] [PATCH v2] lavc/aarch64/fdct: add neon-optimized fdct for aarch64

2024-04-16 Thread Ramiro Polla
The code is imported from libjpeg-turbo-3.0.1. The neon registers used have been changed to avoid modifying v8-v15. --- libavcodec/aarch64/Makefile | 2 + libavcodec/aarch64/fdct.h | 26 ++ libavcodec/aarch64/fdctdsp_init_aarch64.c | 39 +++ libavcodec/aarch64/fdc

[FFmpeg-devel] FFmpeg table at NAB

2024-04-16 Thread Devin Heitmueller
Hello all, I wasn't looking to start trouble, but I didn't see any discussion of this on the mailing list so wanted to bring it to the developer community's attention. I attended the NAB conference and went by the "ffmpeg" booth on Sunday. What I found was a single table with the official ffmpeg

Re: [FFmpeg-devel] [RFC] Anyone using 6.0, 4.1, 3.4 ?

2024-04-16 Thread James Almer
On 4/15/2024 5:07 AM, Michael Niedermayer wrote: On Sun, Apr 14, 2024 at 09:15:07PM -0300, James Almer wrote: On 4/14/2024 8:55 PM, Michael Niedermayer wrote: Hi I see nothing using 6.0 and 4.1 on our downstreams page, so i suggest to move 6.0 to the archieve page after 6.0.2 and 4.1 probably

[FFmpeg-devel] [PATCH 3/8] avcodec/mediacodec_wrapper: Fix unused variable warning

2024-04-16 Thread Zhao Zhili
From: Zhao Zhili --- libavcodec/mediacodec_wrapper.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/mediacodec_wrapper.c b/libavcodec/mediacodec_wrapper.c index a9c8b522e0..96c88a 100644 --- a/libavcodec/mediacodec_wrapper.c +++ b/libavcodec/mediacodec_wrapper.c @@ -365,6 +36

[FFmpeg-devel] [PATCH 4/8] avcodec/mediacodecenc: Fix return empty packet when bsf is used

2024-04-16 Thread Zhao Zhili
From: Zhao Zhili Signed-off-by: Zhao Zhili --- libavcodec/mediacodecenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mediacodecenc.c b/libavcodec/mediacodecenc.c index b59de75b9b..e562181120 100644 --- a/libavcodec/mediacodecenc.c +++ b/libavcodec/mediacodece

[FFmpeg-devel] [PATCH 5/8] avcodec/mediacodecenc: Remove write only variable

2024-04-16 Thread Zhao Zhili
From: Zhao Zhili Signed-off-by: Zhao Zhili --- libavcodec/mediacodecenc.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/libavcodec/mediacodecenc.c b/libavcodec/mediacodecenc.c index e562181120..8caaad729a 100644 --- a/libavcodec/mediacodecenc.c +++ b/libavcodec/

[FFmpeg-devel] [PATCH 1/8] configure: Lower Android API level requirement of mediandk

2024-04-16 Thread Zhao Zhili
From: Zhao Zhili AImage_delete is introduced in API level 24, while AMediaFormat_new is introduced in API level 21. We only need API level 21 to support NDK mediacodec. This change doesn't break or change of android_camera_indev since camera2ndk still needs API level 24. --- configure | 2 +- 1

[FFmpeg-devel] [PATCH 2/8] avcodec/mediacodec_wrapper: link to NDK mediacodec API directly

2024-04-16 Thread Zhao Zhili
From: Zhao Zhili Drop support of Android version before 5.0. --- configure | 2 +- libavcodec/mediacodec_wrapper.c | 164 +++- 2 files changed, 36 insertions(+), 130 deletions(-) diff --git a/configure b/configure index 47ec215f8c..d0d0e8430b

[FFmpeg-devel] [PATCH 6/8] avcodec/mediacodecenc: Add global header support

2024-04-16 Thread Zhao Zhili
From: Zhao Zhili The extradata is generated by encoding a dummy frame, then reset the encoder state by mediacodec flush(). It only works for pixel format other than AV_PIX_FMT_MEDIACODEC, since I'm not sure how to create a dummy frame safely with AV_PIX_FMT_MEDIACODEC. Signed-off-by: Zhao Zhili

[FFmpeg-devel] [PATCH 7/8] avcodec/mediacodecenc: add AV_CODEC_CAP_ENCODER_FLUSH support

2024-04-16 Thread Zhao Zhili
From: Zhao Zhili Signed-off-by: Zhao Zhili --- libavcodec/mediacodecenc.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/libavcodec/mediacodecenc.c b/libavcodec/mediacodecenc.c index 64816ccf0a..c87a0d86c5 100644 --- a/libavcodec/mediacodecenc.c +++ b/libav

[FFmpeg-devel] [PATCH 8/8] fftools: Fix implicit-const-int-float-conversion warning

2024-04-16 Thread Zhao Zhili
From: Zhao Zhili --- fftools/cmdutils.c | 2 +- fftools/ffmpeg_opt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index 2120fc7935..a8f5c6d89b 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c @@ -311,7 +311,7 @@ static i

[FFmpeg-devel] [PATCH v1 1/6] avcodec/evc: Set the AV_FRAME_FLAG_KEY flag for a decoded frame when the decoded packet contains a keyframe

2024-04-16 Thread Dawid Kozinski
Signed-off-by: Dawid Kozinski --- libavcodec/libxevd.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavcodec/libxevd.c b/libavcodec/libxevd.c index c6c7327e65..e864bd5200 100644 --- a/libavcodec/libxevd.c +++ b/libavcodec/libxevd.c @@ -391,6 +391,11 @@ static int libxevd_receive_fra

[FFmpeg-devel] [PATCH v1 2/6] avformat/nut: Added EVC codec tag to the list of supported codec_id-codec_tag pairs for NUT muxer

2024-04-16 Thread Dawid Kozinski
Signed-off-by: Dawid Kozinski --- libavformat/nut.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/nut.c b/libavformat/nut.c index 9692336ece..8c536719b1 100644 --- a/libavformat/nut.c +++ b/libavformat/nut.c @@ -47,6 +47,7 @@ const AVCodecTag ff_nut_video_tags[] = { { AV_CO

[FFmpeg-devel] [PATCH v1 3/6] avcodec/bitstream_filters: Declaration of the ff_evc_frame_merge_bsf variable has been moved to the appropriate following the alphabetical order

2024-04-16 Thread Dawid Kozinski
Signed-off-by: Dawid Kozinski --- libavcodec/bitstream_filters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/bitstream_filters.c b/libavcodec/bitstream_filters.c index 12860c332b..138246c50e 100644 --- a/libavcodec/bitstream_filters.c +++ b/libavcodec/bitstream_

[FFmpeg-devel] [PATCH v1 4/6] avformat/avi: Added EVC codec tag to the list of supported codec_id-codec_tag pairs for AVI muxer

2024-04-16 Thread Dawid Kozinski
Signed-off-by: Dawid Kozinski --- libavformat/riff.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/riff.c b/libavformat/riff.c index 157976583c..306dc3b47a 100644 --- a/libavformat/riff.c +++ b/libavformat/riff.c @@ -506,6 +506,7 @@ const AVCodecTag ff_codec_bmp_tags[] = {

[FFmpeg-devel] [PATCH v1 5/6] avcodec/evc: Reference to ISO_IEC_23094-1-2020 document section for EVC_MAX_APS_COUNT enum has been fixed

2024-04-16 Thread Dawid Kozinski
Signed-off-by: Dawid Kozinski --- libavcodec/evc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/evc.h b/libavcodec/evc.h index e493455a42..d68dc74997 100644 --- a/libavcodec/evc.h +++ b/libavcodec/evc.h @@ -106,15 +106,15 @@ enum EVCSliceType { }; enum

[FFmpeg-devel] [PATCH v1 6/6] avformat/evc: Small fixes in documentation

2024-04-16 Thread Dawid Kozinski
Signed-off-by: Dawid Kozinski --- libavformat/evc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/evc.c b/libavformat/evc.c index fabccb054c..2f4c74fe51 100644 --- a/libavformat/evc.c +++ b/libavformat/evc.c @@ -233,7 +233,7 @@ static int evcc_write(AVIOConte