Re: [FFmpeg-devel] aarch64: Implement support for elf_aux_info(3) on FreeBSD and OpenBSD

2024-07-28 Thread Rémi Denis-Courmont
Le 28 juillet 2024 07:37:51 GMT+03:00, Brad Smith a écrit : >On 2024-07-26 7:56 a.m., Rémi Denis-Courmont wrote: >> >> Le 26 juillet 2024 13:58:34 GMT+03:00, Brad Smith >> a écrit : >>> aarch64: Implement support for elf_aux_info(3) on FreeBSD and OpenBSD >>> >>> FreeBSD 12.0+, OpenBSD -cur

[FFmpeg-devel] [PATCH 0/7] avformat/dvdvideodec: Bug fixes, seeking support, and menu chapters

2024-07-28 Thread Marth64
This patch set starts with a critical bug fix to resolve packet drops, then follows on with seeking support and menu chapter marker support. In addition, some cleanup occurs and documentation/logging is improved. Seeking can be tested with mpv, ``` /mpv "av://dvdvideo:$IN" ``` Compare/view on Git

[FFmpeg-devel] [PATCH 1/7] avformat/dvdvideodec: Fix racy PTS calculation and frame drops

2024-07-28 Thread Marth64
DVDs naturally consist of segmented MPEG-PS blobs within a VOB (i.e. VOBs are not linear). NAV packs set the segment boundaries. When switching between segments, discontinuities occur and thus the subdemuxer needs to be reset. The current approach to manage this is by invoking ff_read_frame_flush()

[FFmpeg-devel] [PATCH 2/7] avformat/dvdvideodec: Implement seeking

2024-07-28 Thread Marth64
Player applications can now enjoy seeking while playing back a title. Accuracy is at the mercy of what libdvdnav offers, which is currently dvdnav_jump_to_sector_by_time(). Signed-off-by: Marth64 --- libavformat/dvdvideodec.c | 93 ++- 1 file changed, 82 inser

[FFmpeg-devel] [PATCH 3/7] avformat/dvdvideodec: Combine libdvdread and libdvdnav log callbacks

2024-07-28 Thread Marth64
The methods are effectively the same but reference different public enums, so roll them up into a macro. Signed-off-by: Marth64 --- libavformat/dvdvideodec.c | 64 +++ 1 file changed, 24 insertions(+), 40 deletions(-) diff --git a/libavformat/dvdvideodec.c b/

[FFmpeg-devel] [PATCH 4/7] avformat/dvdvideodec: Chapter markers and trimming for menus

2024-07-28 Thread Marth64
Menus can have chapter markers by way of cells, and empty menus can be detected with existing functionality. Menu selection also is in need of usability improvement. Implement chapter markers for menus, let the trim function detect empty menus, remove the unnecessary ceremony around the -pg option

[FFmpeg-devel] [PATCH 5/7] avformat/dvdvideodec: Remove unused headers

2024-07-28 Thread Marth64
Signed-off-by: Marth64 --- libavformat/dvdvideodec.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavformat/dvdvideodec.c b/libavformat/dvdvideodec.c index a908acfa7f..afc7836038 100644 --- a/libavformat/dvdvideodec.c +++ b/libavformat/dvdvideodec.c @@ -44,8 +44,6 @@ #include "libavuti

[FFmpeg-devel] [PATCH 6/7] avformat/dvdvideodec: Simplify/clarify logs, comments, and class name

2024-07-28 Thread Marth64
Signed-off-by: Marth64 --- libavformat/dvdvideodec.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/libavformat/dvdvideodec.c b/libavformat/dvdvideodec.c index afc7836038..04c5cbea8e 100644 --- a/libavformat/dvdvideodec.c +++ b/libavformat/dvdvideodec.c @@ -21,7

[FFmpeg-devel] [PATCH 7/7] doc/demuxers: update dvdvideodec documentation

2024-07-28 Thread Marth64
Signed-off-by: Marth64 --- doc/demuxers.texi | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/doc/demuxers.texi b/doc/demuxers.texi index 04293c4813..d67be0312e 100644 --- a/doc/demuxers.texi +++ b/doc/demuxers.texi @@ -384,7 +384,7 @@ Default is 0, the first langua

Re: [FFmpeg-devel] [PATCH v2 1/1] lavfi/vf_gopromax_opencl: add GoPor Max 360 video filter

2024-07-28 Thread Michael Niedermayer
On Sun, Jul 28, 2024 at 01:42:09AM +0900, TADANO Tokumei wrote: > > On 2024/07/27 13:30, TADANO Tokumei wrote: > > Add an OpenCL filter for filtering GoPro Max native .360 files > > into standard equirectangular or youtube equiangular cubemap (eac) > > projection. > > > > The .360 file contains s

[FFmpeg-devel] [PATCH 03/22] avcodec/dovi_rpuenc: also copy ext blocks to dovi ctx

2024-07-28 Thread Niklas Haas
From: Niklas Haas As the comment implies, DOVIContext.ext_blocks should also reflect the current state after ff_dovi_rpu_generate(). Fluff for now, but will be needed once we start implementing metadata compression for extension blocks as well. --- libavcodec/dovi_rpuenc.c | 12 1

[FFmpeg-devel] [PATCH 02/22] avcodec/dovi_rpudec: implement validation for compression

2024-07-28 Thread Niklas Haas
From: Niklas Haas Add some error checking. I've limited it to AV_EF_CAREFUL and AV_EF_COMPLIANT for now, because we can technically decode such RPUs just fine. --- libavcodec/dovi_rpudec.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/libavcodec/dovi_rpudec.c b/libavcodec/

[FFmpeg-devel] [PATCH 04/22] avcodec/dovi_rpuenc: eliminate unnecessary loop

2024-07-28 Thread Niklas Haas
From: Niklas Haas This struct itself contains vdr_rpu_id, so we can never match it except in the case of i == vdr_rpu_id. So just directly use this ID. --- libavcodec/dovi_rpuenc.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/libavcodec/dovi_rpuenc.c b/libavcod

[FFmpeg-devel] [PATCH 01/22] avutil/dovi_meta: document static vs dynamic ext blocks

2024-07-28 Thread Niklas Haas
From: Niklas Haas --- libavutil/dovi_meta.h | 28 +++- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/libavutil/dovi_meta.h b/libavutil/dovi_meta.h index c942d0e133..5e8a1e43d7 100644 --- a/libavutil/dovi_meta.h +++ b/libavutil/dovi_meta.h @@ -301,26 +301

[FFmpeg-devel] [PATCH 05/22] avcodec/dovi_rpuenc: respect dv_md_compression

2024-07-28 Thread Niklas Haas
From: Niklas Haas Limited mode can only ever maintain a single VDR RPU reference, and furthermore requires vdr_rpu_id == 0. So in practice, it will only ever use VDR RPU slot 0. All remaining slots get flushed in this case, to avoid leaking partial state. --- libavcodec/dovi_rpuenc.c | 26 ++

[FFmpeg-devel] [PATCH 12/22] avcodec/bsf/dovi_rpu: add new bitstream filter

2024-07-28 Thread Niklas Haas
From: Niklas Haas This can be used to strip dovi metadata, or enable/disable dovi metadata compression. Possibly more use cases in the future. --- configure | 1 + doc/bitstream_filters.texi | 23 +++ libavcodec/bitstream_filters.c | 1 + libavcodec/bsf/Makefile

[FFmpeg-devel] [PATCH 14/22] avcodec/dovi_rpu: separate static ext blocks

2024-07-28 Thread Niklas Haas
From: Niklas Haas Static and dynamic extension blocks are handled differently by metadata compression, so we need to separate the extension block array into two. --- libavcodec/dovi_rpu.h| 20 ++-- libavcodec/dovi_rpudec.c | 31 +-- libavcodec/dovi

[FFmpeg-devel] [PATCH 16/22] avcodec/dovi_rpudec: implement limited DM decompression

2024-07-28 Thread Niklas Haas
From: Niklas Haas This implements the limited DM metadata compression scheme described in chapter 9 of the dolby vision bitstream specification. The spec is a bit unclear about how to handle the presence of static metadata inside compressed frames; in that it doesn't explicitly forbid an encoder

[FFmpeg-devel] [PATCH 17/22] avcodec/dovi_rpudec: sanitize DM data before decoding

2024-07-28 Thread Niklas Haas
From: Niklas Haas Some DM types do not fill the whole struct, so just clear it entirely before going filling the decoded values. --- libavcodec/dovi_rpudec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/dovi_rpudec.c b/libavcodec/dovi_rpudec.c index 91c9e41926..9f295d4fe4 10064

[FFmpeg-devel] [PATCH 15/22] avcodec/dovi_rpudec: don't unnecessarily allocate DOVIExt

2024-07-28 Thread Niklas Haas
From: Niklas Haas --- libavcodec/dovi_rpudec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/dovi_rpudec.c b/libavcodec/dovi_rpudec.c index 6ef7a88ffd..3465665961 100644 --- a/libavcodec/dovi_rpudec.c +++ b/libavcodec/dovi_rpudec.c @@ -289,7 +289,7 @@ static int

[FFmpeg-devel] [PATCH 20/22] avcodec/dovi_rpudec: error out on strange RPU formats

2024-07-28 Thread Niklas Haas
From: Niklas Haas Better safe than sorry. --- libavcodec/dovi_rpudec.c | 4 1 file changed, 4 insertions(+) diff --git a/libavcodec/dovi_rpudec.c b/libavcodec/dovi_rpudec.c index 9f295d4fe4..878950d66d 100644 --- a/libavcodec/dovi_rpudec.c +++ b/libavcodec/dovi_rpudec.c @@ -482,6 +482,10 @

[FFmpeg-devel] [PATCH 19/22] avcodec/dovi_rpuenc: slightly improve profile autodetection

2024-07-28 Thread Niklas Haas
From: Niklas Haas In the absence of an RPU header, we can consult the colorspace tags to make a more informed guess about whether we're looking at profile 5 or profile 8. --- libavcodec/dovi_rpuenc.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/libavcodec/d

[FFmpeg-devel] [PATCH 22/22] avcodec/libx265: raise strictness of missing DV error

2024-07-28 Thread Niklas Haas
From: Niklas Haas See previous commit for justification --- libavcodec/libx265.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c index 718bd21b20..325c4fdd07 100644 --- a/libavcodec/libx265.c +++ b/libavcodec/libx265.c @@ -7

[FFmpeg-devel] [PATCH 18/22] avcodec/dovi_rpuenc: implement DM metadata compression

2024-07-28 Thread Niklas Haas
From: Niklas Haas This implements limited metadata compression. To be a bit more lenient, we try and re-order the static extension blocks when testing for an exact match. For sanity, and to avoid producing bitstreams we couldn't ourselves decode, we don't accept partial matches - if some extensi

[FFmpeg-devel] [PATCH 21/22] avcodec/libsvtav1: raise strictness of missing DV error

2024-07-28 Thread Niklas Haas
From: Niklas Haas While this is technically a spec violation, the result is still decodable (and will look perfectly fine to clients ignoring Dolby Vision metadata). It will also only happen in garbage in, garbage out scenarios. --- libavcodec/libsvtav1.c | 4 ++-- 1 file changed, 2 insertions(+

[FFmpeg-devel] [PATCH 07/22] avcodec/dovi_rpuenc: make encapsulation optional

2024-07-28 Thread Niklas Haas
From: Niklas Haas And move the choice of desired container to `flags`. This is needed to handle differing API requirements (e.g. libx265 requires the NAL RBSP, but CBS BSF requires the unescaped bytes). --- libavcodec/dovi_rpu.h| 16 ++-- libavcodec/dovi_rpuenc.c | 22 ++-

[FFmpeg-devel] [PATCH 06/22] avcodec/dovi_rpuenc: add `flags` to ff_dovi_rpu_generate()

2024-07-28 Thread Niklas Haas
From: Niklas Haas Will be used to control compression, encapsulation etc. --- libavcodec/dovi_rpu.h| 2 +- libavcodec/dovi_rpuenc.c | 2 +- libavcodec/libaomenc.c | 2 +- libavcodec/libsvtav1.c | 2 +- libavcodec/libx265.c | 3 ++- 5 files changed, 6 insertions(+), 5 deletions(-) di

[FFmpeg-devel] [PATCH 09/22] avcodec/dovi_rpu: add ff_dovi_get_metadata()

2024-07-28 Thread Niklas Haas
From: Niklas Haas Provides direct access to the AVDOVIMetadata without having to attach it to a frame. --- libavcodec/dovi_rpu.h| 9 + libavcodec/dovi_rpudec.c | 40 +++- 2 files changed, 36 insertions(+), 13 deletions(-) diff --git a/libavcodec/

[FFmpeg-devel] [PATCH 10/22] avcodec/dovi_rpuenc: add ff_dovi_configure_ext()

2024-07-28 Thread Niklas Haas
From: Niklas Haas More flexible version of ff_dovi_configure() which does not require an AVCodecContext. Usable, for example, inside a bitstream filter. --- libavcodec/dovi_rpu.h| 16 +++- libavcodec/dovi_rpuenc.c | 85 +++- 2 files changed, 72 inserti

[FFmpeg-devel] [PATCH 08/22] avcodec/dovi_rpuenc: add a flag to enable compression

2024-07-28 Thread Niklas Haas
From: Niklas Haas Keyframes must reset the metadata compression state, so we need to also signal this at rpu generation time. Default to uncompressed, because encoders cannot generally know if a given frame will be a keyframe before they finish encoding, but also cannot retroactively attach the

[FFmpeg-devel] [PATCH 13/22] avcodec/dovi_rpu: move ext blocks into dedicated struct

2024-07-28 Thread Niklas Haas
From: Niklas Haas Slightly re-organize the logic around extension blocks in order to allow expanding the state tracking in a following commit. --- libavcodec/dovi_rpu.c| 1 - libavcodec/dovi_rpu.h| 9 +++-- libavcodec/dovi_rpudec.c | 35 ++- libavcod

[FFmpeg-devel] [PATCH 11/22] avcodec/dovi_rpuenc: add configuration for compression

2024-07-28 Thread Niklas Haas
From: Niklas Haas In particular, validate that the chosen compression level is compatible with the chosen profile. --- libavcodec/dovi_rpu.h| 1 + libavcodec/dovi_rpuenc.c | 29 - 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/libavcodec/dovi_rpu.

Re: [FFmpeg-devel] aarch64: Implement support for elf_aux_info(3) on FreeBSD and OpenBSD

2024-07-28 Thread Martin Storsjö
On Sun, 28 Jul 2024, Rémi Denis-Courmont wrote: Le 28 juillet 2024 07:37:51 GMT+03:00, Brad Smith a écrit : On 2024-07-26 7:56 a.m., Rémi Denis-Courmont wrote: Le 26 juillet 2024 13:58:34 GMT+03:00, Brad Smith a écrit : aarch64: Implement support for elf_aux_info(3) on FreeBSD and OpenBS

Re: [FFmpeg-devel] [PATCH 2/2] lavc/d3d12va_encode: trim header alignment at output

2024-07-28 Thread Tong Wu
Tong Wu: >Subject: [FFmpeg-devel][PATCH 2/2] lavc/d3d12va_encode: trim header >alignment at output > >It is d3d12va's requirement that the FrameStartOffset must be aligned as per >hardware limitation. However, we could trim this alignment at output to reduce >coded size. A aligned_header_size is ad

Re: [FFmpeg-devel] [PATCH v3 1/2] libavformat/vapoursynth: Update to API version 4, load library at runtime

2024-07-28 Thread Ramiro Polla
On 2024-07-23 16:51, Stefan Oltmanns via ffmpeg-devel wrote: this is revised patch, this is the first part that just updates to the API v4 of VapourSynth. Changes in API v4: -All functions previously in header are now part of the "vssapi" object -Renames of different types and functions -YCoCg

Re: [FFmpeg-devel] [PATCH v3 2/2] libavformat/vapoursynth: Update to API version 4, load library at runtime

2024-07-28 Thread Ramiro Polla
On 2024-07-23 16:59, Stefan Oltmanns via ffmpeg-devel wrote: This is the second part for loading the library at runtime, changes compared to previous patch revisions: -No atexit anymore -No global states anymore -Moved the registry read for Windows from a separate function inside the function

Re: [FFmpeg-devel] [PATCH 1/2 v2] avformat/avisynth: remove atexit() handler

2024-07-28 Thread Ramiro Polla
On Fri, Jul 19, 2024 at 7:51 PM Stephen Hutchinson wrote: > > The atexit() handler in the avisynth demuxer was added because > there was a conflict in AvxSynth that arose due to their use > of C++ global objects, particularly in relation to having > added a logging function relying on log4cpp. > >

Re: [FFmpeg-devel] [PATCH v2] libavfilter: add PipeWire-based grab

2024-07-28 Thread Quack Doc
Is it possible to use this without using the portals API and without systemd? That would be much appreciated if so since the portal is not very flexible. As for systemd it would be great to be able to use this on non-systemd platforms. ___ ffmpeg-devel ma

Re: [FFmpeg-devel] [PATCH 2/7] avformat/dvdvideodec: Implement seeking

2024-07-28 Thread Sean McGovern
Hi Marth64, On Sun, Jul 28, 2024 at 3:35 AM Marth64 wrote: > > Player applications can now enjoy seeking while playing back > a title. Accuracy is at the mercy of what libdvdnav offers, > which is currently dvdnav_jump_to_sector_by_time(). > > Signed-off-by: Marth64 > --- > libavformat/dvdvideo

Re: [FFmpeg-devel] [PATCH 2/2] avcodec: add Mediacodec audio decoders support

2024-07-28 Thread Zhao Zhili
> On Jun 12, 2024, at 21:42, Matthieu Bouron wrote: > > --- > configure | 14 ++ > libavcodec/Makefile | 7 + > libavcodec/allcodecs.c| 7 + > libavcodec/mediacodecdec.c| 215 ++- > libavcodec/mediacodecdec_common.c | 3

Re: [FFmpeg-devel] [PATCH 2/7] avformat/dvdvideodec: Implement seeking

2024-07-28 Thread Marth64
Hi Sean_McG, good day, First of all, there is a typo in the commit message. It should say "at the mercy of dvdnav_time_search()" > I think avpriv_report_missing_feature() might be more appropriate here. But there is no missing feature, the implementation is working great with dvdnav_time_search()

Re: [FFmpeg-devel] [PATCH 1/7] avformat/dvdvideodec: Fix racy PTS calculation and frame drops

2024-07-28 Thread Marth64
I have found a whitespace error here and need to restore 2 lines of logic, but will wait a few days for comment before putting up v2. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, v

Re: [FFmpeg-devel] [PATCH] avcodec/aacenc: Correct option description for aac_coder fast

2024-07-28 Thread Marth64
Ping, thank you ___ 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/2] lavc/d3d12va_encode: trim header alignment at output

2024-07-28 Thread Lynne via ffmpeg-devel
On 28/07/2024 15:06, Tong Wu wrote: Tong Wu: Subject: [FFmpeg-devel][PATCH 2/2] lavc/d3d12va_encode: trim header alignment at output It is d3d12va's requirement that the FrameStartOffset must be aligned as per hardware limitation. However, we could trim this alignment at output to reduce coded

Re: [FFmpeg-devel] [PATCH 1/2 v2] avformat/avisynth: remove atexit() handler

2024-07-28 Thread Stephen Hutchinson
On 7/28/24 9:38 AM, Ramiro Polla wrote: @@ -1134,6 +1089,7 @@ static av_cold int avisynth_read_close(AVFormatContext *s) return AVERROR_UNKNOWN; avisynth_context_destroy(s->priv_data); +dlclose(avs_library.library); Maybe it's best to wrap this around an if (avs_library.lib

Re: [FFmpeg-devel] [PATCH v2 1/1] lavfi/vf_gopromax_opencl: add GoPor Max 360 video filter

2024-07-28 Thread TADANO Tokumei
On 2024/07/28 18:26, Michael Niedermayer wrote: On Sun, Jul 28, 2024 at 01:42:09AM +0900, TADANO Tokumei wrote: On 2024/07/27 13:30, TADANO Tokumei wrote: Add an OpenCL filter for filtering GoPro Max native .360 files into standard equirectangular or youtube equiangular cubemap (eac) projectio

[FFmpeg-devel] [PATCH] lavu/riscv: Revert d808070, removing AV_READ_TIME

2024-07-28 Thread Nathan E. Egge
The implementation of ff_read_time() for RISC-V uses rdtime which has precision on existing hardware too low (!) for benchmarking purposes. Deleting this implementation falls back on clock_gettime() which was added as the default ff_read_time() implementation in 33e4cc9. Below are metrics gathere

[FFmpeg-devel] [PATCH] lavc/bswapdsp: add RV Zvbb bswap16 and bswap32

2024-07-28 Thread Rémi Denis-Courmont
--- libavcodec/riscv/Makefile| 1 + libavcodec/riscv/bswapdsp_init.c | 11 ++- libavcodec/riscv/bswapdsp_rvvb.S | 52 3 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 libavcodec/riscv/bswapdsp_rvvb.S diff --git a/libavcodec/riscv/M

[FFmpeg-devel] [PATCH] lavc/rv34dsp: use saturating add/sub for R-V V DC add

2024-07-28 Thread Rémi Denis-Courmont
T-Head C908 (cycles): rv34_idct_dc_add_c: 113.2 rv34_idct_dc_add_rvv_i32: 48.5 (before) rv34_idct_dc_add_rvv_i32: 39.5 (after) --- libavcodec/riscv/rv34dsp_rvv.S | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/libavcodec/riscv/rv34dsp_rvv.S b/libavcode

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/pngdec: use 8-bit sBIT cap for indexed PNGs per spec

2024-07-28 Thread Leo Izen
On 7/19/24 12:04 PM, Leo Izen wrote: The PNG specification[1] says that sBIT entries must be at most the bit depth specified in IHDR, unless the PNG is indexed-color, in which case sBIT must be between 1 and 8. We should not reject valid sBITs on PNGs with indexed color. [1]: https://www.w3.org/

[FFmpeg-devel] [PATCH 1/2] avformat/mov: Avoid overflow in dts

2024-07-28 Thread Michael Niedermayer
This basically ignores the overflow without undefined behavior, alternatively we could detect and error out Fixes: signed integer overflow: 6310596683470275584 + 7660622966157213696 cannot be represented in type 'long' Fixes: 70433/clusterfuzz-testcase-minimized-ffmpeg_IO_DEMUXER_fuzzer-5483347

[FFmpeg-devel] [PATCH 2/2] avformat/matroskadec: Check desc_bytes so bits fit in 64bit

2024-07-28 Thread Michael Niedermayer
Likely a tighter check can be done Fixes: signed integer overflow: 3305606804154370442 * 8 cannot be represented in type 'long' Fixes: 70449/clusterfuzz-testcase-minimized-ffmpeg_dem_WEBM_DASH_MANIFEST_fuzzer-4771166007918592 Found-by: continuous fuzzing process https://github.com/google/oss-f

Re: [FFmpeg-devel] [PATCH v2 1/1] lavfi/vf_gopromax_opencl: add GoPor Max 360 video filter

2024-07-28 Thread TADANO Tokumei
On 2024/07/29 1:30, TADANO Tokumei wrote: On 2024/07/28 18:26, Michael Niedermayer wrote: On Sun, Jul 28, 2024 at 01:42:09AM +0900, TADANO Tokumei wrote: On 2024/07/27 13:30, TADANO Tokumei wrote: Add an OpenCL filter for filtering GoPro Max native .360 files into standard equirectangular or

Re: [FFmpeg-devel] [PATCH] avcodec/aacenc: Correct option description for aac_coder fast

2024-07-28 Thread Leo Izen
On 7/14/24 1:00 AM, Marth64 wrote: The description advertises fast as "Default fast search", but this has not been the default for a long time (current default is twoloop). Signed-off-by: Marth64 --- libavcodec/aacenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liba

Re: [FFmpeg-devel] [PATCH v4 1/2] libavformat/vapoursynth: Update to API version 4, load library at runtime

2024-07-28 Thread Stefan Oltmanns via ffmpeg-devel
Am 28.07.24 um 15:09 schrieb Ramiro Polla: if (st->codecpar->format == AV_PIX_FMT_NONE) { -    av_log(s, AV_LOG_ERROR, "Unsupported VS pixel format %s\n", info->format->name); +    if(vs->vsapi->getVideoFormatName(&info->format, vsfmt)) +    av_log(s, AV_LOG_ERROR, "Unsupport

Re: [FFmpeg-devel] [PATCH v3 2/2] libavformat/vapoursynth: Update to API version 4, load library at runtime

2024-07-28 Thread Stefan Oltmanns via ffmpeg-devel
Am 28.07.24 um 15:15 schrieb Ramiro Polla: +    void *vslibrary = NULL; +#ifdef _WIN32 +    const HKEY hkeys[] = {HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE}; +    LONG r; +    WCHAR vss_path[512]; +    DWORD buf_size = sizeof(vss_path) - 2; +    char *vss_path_utf8; +    int i; + +    for (i = 0; i <

[FFmpeg-devel] [PATCH 3/4] avformat/avisynth: remove library allocation from global state

2024-07-28 Thread Stephen Hutchinson
As part of this, the mutexes are no longer necessary, and avisynth_read_close needs to check that avs->avs_library.library still exists before it attempts to call avisynth_context_destroy and dlclose. Signed-off-by: Stephen Hutchinson --- libavformat/avisynth.c | 133

[FFmpeg-devel] [PATCH 4/4] avformat/avisynth: move avs_planes* consts into relevant function

2024-07-28 Thread Stephen Hutchinson
These consts are only used in the switch(planar) case located in avisynth_create_stream_video and nowhere else in the demuxer, so move them into that function directly. Signed-off-by: Stephen Hutchinson --- libavformat/avisynth.c | 22 +++--- 1 file changed, 11 insertions(+), 11