[FFmpeg-devel] ?????? [PATCH] avfilter: Proof of Concept: enable out-of-tree filters

2025-03-25 Thread yangyalei via ffmpeg-devel
opment discussions and patches" https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe". __________

[FFmpeg-devel] [PATCH] avcodec/libwebpenc_anim: support setting the duration of the last frame.

2025-02-28 Thread wangyaqiang via ffmpeg-devel
y; } LibWebPContextCommon; int ff_libwebp_error_to_averror(int err); -- 2.39.3 (Apple Git-146) ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH] avcodec/libwebpenc_anim: support setting the duration of the last frame

2025-02-28 Thread wangyaqiang via ffmpeg-devel
y; } LibWebPContextCommon; int ff_libwebp_error_to_averror(int err); -- 2.39.3 (Apple Git-146) ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH v2] avcodec/libwebpenc_anim: support setting the duration of the last frame

2025-02-28 Thread wangyaqiang via ffmpeg-devel
y; } LibWebPContextCommon; int ff_libwebp_error_to_averror(int err); -- 2.39.3 (Apple Git-146) ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH] avformat/demux: Fixed the incorrect id3 tag checking logic,

2025-02-20 Thread wangyaqiang via ffmpeg-devel
av")) { +if (id3v2_check) { if ((ret = ff_id3v2_parse_apic(s, id3v2_extra_meta)) < 0) goto close; if ((ret = ff_id3v2_parse_chapters(s, id3v2_extra_meta)) < 0) -- 2.39.3 (Apple Git-146) _______ ffmpeg

[FFmpeg-devel] [PATCH] FFMPEG: add graph reconfig capability

2025-03-23 Thread yangyalei via ffmpeg-devel
} +} +} + int avfilter_graph_config(AVFilterGraph *graphctx, void *log_ctx) { int ret; @@ -1310,6 +1467,30 @@ int avfilter_graph_config(AVFilterGraph *graphctx, void *log_ctx) return 0; } +int ff_avfilter_graph_reconfig(AVFilterGraph *graphctx, void *log_ctx) +{ +AVClass *avc = log_ctx ? *(AVClass **)log_ctx : NULL; +int ret, i; + +if (avc) +av_log(log_ctx, AV_LOG_INFO, "%s set graph reconfig\n", avc->item_name(log_ctx)); + +for (i = 0; i < graphctx->nb_filters; i++) +av_log(log_ctx, AV_LOG_INFO, "\t%s", graphctx->filters[i]->name); + +graph_clear_formats(graphctx, log_ctx); +if ((ret = graph_config_formats(graphctx, log_ctx))) +return ret; +if ((ret = graph_config_links(graphctx, log_ctx))) +return ret; +if ((ret = graph_check_links(graphctx, log_ctx))) +return ret; +if ((ret = graph_config_pointers(graphctx, log_ctx))) +return ret; + +return 0; +} + int avfilter_graph_send_command(AVFilterGraph *graph, const char *target, const char *cmd, const char *arg, char *res, int res_len, int flags) { int i, r = AVERROR(ENOSYS); -- 2.47.0 ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH] FFMPEG: add graph reconfig capability

2025-03-23 Thread yangyalei050 via ffmpeg-devel
} +} +} + int avfilter_graph_config(AVFilterGraph *graphctx, void *log_ctx) { int ret; @@ -1310,6 +1467,30 @@ int avfilter_graph_config(AVFilterGraph *graphctx, void *log_ctx) return 0; } +int ff_avfilter_graph_reconfig(AVFilterGraph *graphctx, void *log_ctx) +{ +AVClass *avc = log_ctx ? *(AVClass **)log_ctx : NULL; +int ret, i; + +if (avc) +av_log(log_ctx, AV_LOG_INFO, "%s set graph reconfig\n", avc->item_name(log_ctx)); + +for (i = 0; i < graphctx->nb_filters; i++) +av_log(log_ctx, AV_LOG_INFO, "\t%s", graphctx->filters[i]->name); + +graph_clear_formats(graphctx, log_ctx); +if ((ret = graph_config_formats(graphctx, log_ctx))) +return ret; +if ((ret = graph_config_links(graphctx, log_ctx))) +return ret; +if ((ret = graph_check_links(graphctx, log_ctx))) +return ret; +if ((ret = graph_config_pointers(graphctx, log_ctx))) +return ret; + +return 0; +} + int avfilter_graph_send_command(AVFilterGraph *graph, const char *target, const char *cmd, const char *arg, char *res, int res_len, int flags) { int i, r = AVERROR(ENOSYS); -- 2.47.0 ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH 1/1] add option in file.c: pkt_size to set max_packet_size

2025-07-17 Thread yangsen5 via ffmpeg-devel
mprove throughput especially * with networked file systems */ if (!h->is_streamed && flags & AVIO_FLAG_WRITE) -h->min_packet_size = h->max_packet_size = 262144; +h->min_packet_size = h->max_packet_size = c->pkt_size; if (c->seekable >=

[FFmpeg-devel] [PATCH] Playout to DeckLink will wait for all buffered frames before stopping.

2025-07-07 Thread Matt via ffmpeg-devel
://ffmpeg.org/pipermail/ffmpeg-devel/2025-March/340634.html Signed-off-by: Matthew Rademaker --- libavdevice/decklink_enc.cpp | 16 1 file changed, 16 insertions(+) diff --git a/libavdevice/decklink_enc.cpp b/libavdevice/decklink_enc.cpp index cb8f91730e..5751f27de8 100644 --- a

[FFmpeg-devel] svg linked images: rendering images referenced with xlink:href attribute

2025-07-10 Thread swf2d49e--- via ffmpeg-devel
nly worked when images were base64 encoded (inlined) directly into svg. Would this cause a lot of security concerns? This would be an amazingly useful feature for my workflow at least. Best, sven --- End Message --- _______ ffmpeg-devel mailing list ff

[FFmpeg-devel] X Window Capture using FFmpeg

2025-06-30 Thread novaTopFlex via ffmpeg-devel
[Proton Mail](https://proton.me/mail/home) secure email.--- End Message --- ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected]

[FFmpeg-devel] [PATCH] swscale/options: use accurate rounding and full chroma by default

2025-06-08 Thread rcombs via ffmpeg-devel
clude "version_major.h" #define LIBSWSCALE_VERSION_MINOR 0 -#define LIBSWSCALE_VERSION_MICRO 100 +#define LIBSWSCALE_VERSION_MICRO 101 #define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \ LIBSWSCALE_VERSION_MINOR, \ -- 2.45.1

Re: [FFmpeg-devel] [PATCH] libopenmpt: fix seeking

2025-08-03 Thread kimapr via ffmpeg-devel
ne on IRC: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20096 further updates and discussion are there _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffm

Re: [FFmpeg-devel] FFmpeg 6.1.3 and 7.0.3

2025-08-05 Thread kimapr via ffmpeg-devel
On 2025/08/05 01:02, kimapr via ffmpeg-devel wrote: > Hi! it would be nice if my bug fix > >avformat/libopenmpt: fix seeking weirdness > > was backported to 6.1.3 and 7.0.3 (dunno about 5.1.7 as i haven't checked > if libopenmpt even exists there). not sure how that wou

[FFmpeg-devel] hwcontext_vulkan: transfer exclusive images to correct queue family in drm->vulkan mapping

2025-07-31 Thread vytskalt via ffmpeg-devel
ype = VK_STRUCTURE_TYPE_DEPENDENCY_INFO, -- 2.49.0 ___________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH] hwcontext_vulkan: fix memory leak in drm->vulkan mapping

2025-08-01 Thread vytskalt via ffmpeg-devel
exec); } else #endif { -- 2.49.0 _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH] libopenmpt: fix seeking

2025-07-31 Thread kimapr via ffmpeg-devel
t(AVFormatContext *s) static int read_seek_openmpt(AVFormatContext *s, int stream_idx, int64_t ts, int flags) { OpenMPTContext *openmpt = s->priv_data; +if (ts < 0) + ts = 0; openmpt_module_set_position_seconds(openmpt->module, (double)ts/AV_TIME_BASE); return 0

[FFmpeg-devel] [PATCH] libopenmpt: fix seeking

2025-07-27 Thread kimapr via ffmpeg-devel
annels * 4); +pkt->pts = llrint(pos * AV_TIME_BASE); return 0; } -- 2.49.0 ___________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH] add option in file.c: pkt_size to set max_packet_size

2025-07-31 Thread yangsen5 via ffmpeg-devel
mprove throughput especially * with networked file systems */ if (!h->is_streamed && flags & AVIO_FLAG_WRITE) -h->min_packet_size = h->max_packet_size = 262144; +h->min_packet_size = h->max_packet_size = c->pkt_size; if (c->seekable >=

Re: [FFmpeg-devel] FFmpeg 6.1.3 and 7.0.3

2025-08-04 Thread kimapr via ffmpeg-devel
i haven't checked if libopenmpt even exists there). not sure how that would work from my side _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffm

[FFmpeg-devel] [PATCH] avcodec/sanm: Check w,h,left,top (PR #20268)

2025-08-17 Thread michaelni via ffmpeg-devel
>avctx, "overly large frame\n"); +return AVERROR_PATCHWELCOME; +} + switch (codec) { case 1: case 3: -- 2.49.1 ___________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-dev

[FFmpeg-devel] [PATCH] avcodec/d3d12va_encode: texture array support for HEVC (PR #20273)

2025-08-18 Thread ArazIusubov via ffmpeg-devel
D3D12_RESOURCE_FLAGS resource_flags; + +/** + * In texture array mode, the D3D12 uses the same texture array (resource)for all + * pictures. + */ +ID3D12Resource *texture_array; + +/** + * A combination of AVD3D12VAFrameFlags. Unless AV_D3D12VA_FRAME_FLAG_NONE is set, + * autodetected flags will be OR'd based on the device and frame features during + * av_hwframe_ctx_init(). + */ +AVD3D12VAFrameFlags flags; } AVD3D12VAFramesContext; #endif /* AVUTIL_HWCONTEXT_D3D12VA_H */ diff --git a/libavutil/version.h b/libavutil/version.h index 5cde712c9f..27b9fe73d8 100644 --- a/libavutil/version.h +++ b/libavutil/version.h @@ -79,7 +79,7 @@ */ #define LIBAVUTIL_VERSION_MAJOR 60 -#define LIBAVUTIL_VERSION_MINOR 9 +#define LIBAVUTIL_VERSION_MINOR 10 #define LIBAVUTIL_VERSION_MICRO 100 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ -- 2.49.1 ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH] swscale/swscale_internal: Use more precisse gamma (PR #20274)

2025-08-18 Thread michaelni via ffmpeg-devel
peg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH] avformat/lrcdec: Fix fate-sub-lrc-ms-remux on x86-32 (PR #20277)

2025-08-18 Thread michaelni via ffmpeg-devel
rt = lrint((mm * 60 + ss) * AV_TIME_BASE); if (prefix[1] == '-') { *start = - *start; } -- 2.49.1 ___________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visi

[FFmpeg-devel] [PATCH] fate-dependencies (PR #20278)

2025-08-18 Thread ngaullier via ffmpeg-devel
REF) mov aac FATE_GAPLESSINFO-$(CONFIG_FFPROBE) = $(FATE_GAPLESSINFO_PROBE-yes) -- 2.49.1 ___________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH] avcodec/d3d12va_encode: D3D12 AV1 encoding support (PR #20552)

2025-09-19 Thread ArazIusubov via ffmpeg-devel
PR #20552 opened by ArazIusubov URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20552 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20552.patch Implement AV1 hardware encoding using Direct3D 12 Video API (D3D12VA). D3D12 AV1 headers are available starting with Windows SDK 10.0.26100, so

[FFmpeg-devel] [QUESTION] VVC, codec parameters

2025-09-18 Thread hugo.portisch--- via ffmpeg-devel
extra data exist for VVC or is it a bug? ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] Fix 3 bigsleep issues in exr (PR #20550)

2025-09-18 Thread michaelni via ffmpeg-devel
ROR_PATCHWELCOME; +} + lo_usize = AV_RL64(src + 8); lo_size = AV_RL64(src + 16); ac_size = AV_RL64(src + 24); -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avcodec/exr: Simple check for available channels (PR #20551)

2025-09-18 Thread michaelni via ffmpeg-devel
7;)) & s->has_channel)) { + s->is_luma = 1; +} else { +avpriv_request_sample(s->avctx, "Uncommon channel combination"); +ret = AVERROR(AVERROR_PATCHWELCOME); +goto fail; +} /* Check if all channels are set with an offset or if the channels * are causing an overflow */ -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avcodec/tiffenc: support writing ICC profiles (PR #20493)

2025-09-20 Thread jianhuaw via ffmpeg-devel
= encode_close, -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] Add support for Panasonic V-Log transfer function (PR #20561)

2025-09-20 Thread Lynne via ffmpeg-devel
,'f')) +if (bytestream2_get_be32(&gb) != MKBETAG('p','r','r','f')) return AVERROR_INVALIDDATA; int header_len = bytestream2_get_be16(&gb); diff --git a/libavcodec/prores_raw_parser.c b/libavcodec/prores_raw_parser.c index d0dfdd9e86..fb690f243d 100644 --- a/libavcodec/prores_raw_parser.c +++ b/libavcodec/prores_raw_parser.c @@ -46,7 +46,7 @@ static int prores_raw_parse(AVCodecParserContext *s, AVCodecContext *avctx, if (bytestream2_get_be32(&gb) != buf_size) /* Packet size */ return buf_size; -if (bytestream2_get_le32(&gb) != MKTAG('p','r','r','f')) /* Frame header */ +if (bytestream2_get_be32(&gb) != MKBETAG('p','r','r','f')) /* Frame header */ return buf_size; int header_size = bytestream2_get_be16(&gb); -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] lavc/vvc: Store RefStruct references to referenced PSs/headers in slice (PR #20557)

2025-09-19 Thread frankplow via ffmpeg-devel
ps.h @@ -266,8 +266,9 @@ typedef struct VVCSH { } VVCSH; struct VVCContext; +struct VVCFrameContext; -int ff_vvc_decode_frame_ps(VVCFrameParamSets *fps, struct VVCContext *s); +int ff_vvc_decode_frame_ps(struct VVCFrameContext *fc, struct VVCContext *s); int ff_vvc_decode_aps(VVCParamSets *ps, const Cod

[FFmpeg-devel] [PATCH] avcodec/aarch64/vvc: Implement dmvr_v_8 (PR #20563)

2025-09-20 Thread welder via ffmpeg-devel
2b +ret +endfunc + function ff_vvc_dmvr_h_8_neon, export=1 movrel x7, X(ff_vvc_inter_luma_dmvr_filters) add x7, x7, x4, lsl #1 -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] T

[FFmpeg-devel] [PATCH] avformat/tls_openssl: Don't call functions inside FFMIN (PR #20576)

2025-09-22 Thread mkver via ffmpeg-devel
buf, size); if (ret > 0) -- 2.49.1 ___________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] configure: Add missing dependencies for AHX decoder (PR #20581)

2025-09-22 Thread mkver via ffmpeg-devel
= flush, -.p.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, - AV_SAMPLE_FMT_FLT, - AV_SAMPLE_FMT_NONE }, +CODEC_SAMPLEFMTS(AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_FLT), .bsfs = "ahx_to_mp

[FFmpeg-devel] [PATCH] avformat/mccenc: Various stuff (PR #20556)

2025-09-19 Thread mkver via ffmpeg-devel
+charstr[5]; }; static struct ValidTimeCodeRate valid_time_code_rates[] = { -- 2.49.1 >From 33209282b4cf4de1c5be85c0b4b25e7a764fe00b Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Fri, 19 Sep 2025 20:56:10 +0200 Subject: [PATCH 10/11] avformat/mccenc: Hardcode codec names Signed-off-by: Andreas Rheinhardt --- libavformat/mccenc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavformat/mccenc.c b/libavformat/mccenc.c index 1fbeebfe0f..c64d53805d 100644 --- a/libavformat/mccenc.c +++ b/libavformat/mccenc.c @@ -437,9 +437,7 @@ static int mcc_init(AVFormatContext *avf) } else if (st->codecpar->codec_id != AV_CODEC_ID_SMPTE_436M_ANC) { av_log(avf, AV_LOG_ERROR, - "mcc muxer supports only codec %s or codec %s\n", - avcodec_get_name(AV_CODEC_ID_SMPTE_436M_ANC), - avcodec_get_name(AV_CODEC_ID_EIA_608)); + "mcc muxer supports only codec smpte_436m_anc or codec eia_608\n"); return AVERROR(EINVAL); } -- 2.49.1 >From 927e0f8368f203069f6a5e1b9d592a840bde8a90 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Fri, 19 Sep 2025 20:56:36 +0200 Subject: [PATCH 11/11] avformat/mccdec: Constify data Signed-off-by: Andreas Rheinhardt --- libavformat/mccdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mccdec.c b/libavformat/mccdec.c index 71882d13a9..e9b6fa14b4 100644 --- a/libavformat/mccdec.c +++ b/libavformat/mccdec.c @@ -158,7 +158,7 @@ struct ValidTimeCodeRate { charstr[5]; }; -static struct ValidTimeCodeRate valid_time_code_rates[] = { +static const struct ValidTimeCodeRate valid_time_code_rates[] = { { .rate = { .num = 24, .den = 1 }, .str = "24" }, { .rate = { .num = 25, .den = 1 }, .str = "25" }, { .rate = { .num = 3, .den = 1001 }, .str = "30DF" }, -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] Animated webp decoder (PR #20568)

2025-09-21 Thread michaelni via ffmpeg-devel
PR #20568 opened by michaelni URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20568 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20568.patch simply updated and rebased to current git master is it ok as is or should we ignore ANMF chunks if strict_std_compliance > FF_COMPLIANCE_EXPERIME

[FFmpeg-devel] [PATCH] avformat/dhav: Factrorize some code in get_duration() (PR #20560)

2025-09-19 Thread michaelni via ffmpeg-devel
ret = av_timegm(&timeinfo) * 1000LL - start; fail: av_freep(&buffer); avio_seek(s->pb, start_pos, SEEK_SET); -return 0; +return ret; } static int dhav_read_header(AVFormatContext *s) -- 2.49.1 ___________ ffmpeg-devel mailing list --

[FFmpeg-devel] [PATCH] avformat/dhav: Fix off by length of read element error (PR #20559)

2025-09-20 Thread michaelni via ffmpeg-devel
16); -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] ID3v2 fixes for FLAC, add V-Log transfer function (PR #20533)

2025-09-16 Thread Lynne via ffmpeg-devel
decode_frame(AVCodecContext *avctx, return AVERROR_INVALIDDATA; /* ProRes RAW frame */ -if (bytestream2_get_le32(&gb) != MKTAG('p','r','r','f')) +if (bytestream2_get_be32(&gb) != MKBETAG('p','r','r','f')) return AVERROR_INVALIDDATA; int header_len = bytestream2_get_be16(&gb); diff --git a/libavcodec/prores_raw_parser.c b/libavcodec/prores_raw_parser.c index d0dfdd9e86..fb690f243d 100644 --- a/libavcodec/prores_raw_parser.c +++ b/libavcodec/prores_raw_parser.c @@ -46,7 +46,7 @@ static int prores_raw_parse(AVCodecParserContext *s, AVCodecContext *avctx, if (bytestream2_get_be32(&gb) != buf_size) /* Packet size */ return buf_size; -if (bytestream2_get_le32(&gb) != MKTAG('p','r','r','f')) /* Frame header */ +if (bytestream2_get_be32(&gb) != MKBETAG('p','r','r','f')) /* Frame header */ return buf_size; int header_size = bytestream2_get_be16(&gb); -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] Don't link all of libavfilter in checkasm (PR #20529)

2025-09-15 Thread mkver via ffmpeg-devel
*color, ptrdiff_t color_stride, return transparent ? FF_ALPHA_TRANSPARENT : 0; } +static av_cold inline void +ff_color_detect_dsp_init(FFColorDetectDSPContext *dsp, int depth, + enum AVColorRange color_range) +{ +dsp->detect_range = depth > 8 ? ff_detect_range16_

[FFmpeg-devel] [PATCH] avcodec/decode: Inline EXIF Orientation tag value (PR #20530)

2025-09-15 Thread mkver via ffmpeg-devel
al.h @@ -36,6 +36,8 @@ #include "exif.h" #include "version_major.h" +#define EXIF_ORIENTATION_TAG 0x112 + #if LIBAVCODEC_VERSION_MAJOR < 63 /* Used by the AVI demuxer */ int avpriv_exif_decode_ifd(void *logctx, const uint8_t *buf, int size, -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [POLL] [VOTE] code.ffmpeg.org vs. ML

2025-09-17 Thread softworkz . via ffmpeg-devel
all within just 2 seconds. For that little detail alone: F softworkz _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avcodec/h274: Make H274FilmGrainDatabase a shared object (PR #20549)

2025-09-18 Thread mkver via ffmpeg-devel
ase AV_FILM_GRAIN_PARAMS_H274: -ret = ff_h274_apply_film_grain(fc->ref->frame_grain, fc->ref->frame, -&s->h274db, fgp); + ret = ff_h274_apply_film_grain(fc->ref->frame_grain, fc->ref->frame, fgp); if (ret < 0) return ret; break; diff --git a/libavcodec/vvc/dec.h b/libavcodec/vvc/dec.h index 5f8065b38b..bfb8a2e20d 100644 --- a/libavcodec/vvc/dec.h +++ b/libavcodec/vvc/dec.h @@ -222,7 +222,6 @@ typedef struct VVCContext { CodedBitstreamFragment current_frame; VVCParamSets ps; -H274FilmGrainDatabase h274db; int temporal_id;///< temporal_id_plus1 - 1 int poc_tid0; -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] Revert "avformat/tls_openssl: add av_assert0() for tls_shared" (PR #20548)

2025-09-18 Thread mkver via ffmpeg-devel
48,7 +846,6 @@ static int tls_open(URLContext *h, const char *uri, int flags, AVDictionary **op TLSShared *s = &c->tls_shared; int ret; -av_assert0(s); if ((ret = ff_tls_open_underlying(s, h, uri, options)) < 0) goto fail; -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [PATCH v2] ogg/vorbis: implement header packet skip in chained ogg bitstreams.

2025-10-18 Thread Yalda via ffmpeg-devel
e in particular we need to wait for. _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH 2/3] avformat/whip whep: reanme whip prefix to rtc for common RTC structures

2025-10-18 Thread baigao via ffmpeg-devel
--- libavformat/rtc.c | 564 ++--- libavformat/rtc.h | 60 ++--- libavformat/whip.c | 180 +++ 3 files changed, 402 insertions(+), 402 deletions(-) diff --git a/libavformat/rtc.c b/libavformat/rtc.c index 2dc0383d3e..8c848b6026 100644 --- a/l

[FFmpeg-devel] [PATCH] improve error messages when strerror_r is not available (PR #20680)

2025-10-18 Thread timblechmann via ffmpeg-devel
ror_entries[] = { #ifdef EWOULDBLOCK { EERROR_TAG(EWOULDBLOCK), "Operation would block" }, #endif -#endif +#endif // !HAVE_STRERROR_R && !defined(HAVE_STRERROR_S) }; int av_strerror(int errnum, char *errbuf, size_t errbuf_size) @@ -245,6 +249,8 @@ int av_strerror(int errnum, char *errbuf, size_t errbuf_size) } else { #if HAVE_STRERROR_R ret = AVERROR(strerror_r(AVUNERROR(errnum), errbuf, errbuf_size)); +#elif defined(HAVE_STRERROR_S) +ret = AVERROR(strerror_s(errbuf, errbuf_size, AVUNERROR(errnum))); #else ret = -1; #endif -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH 3/3] avformat/whip whep: add whep support

2025-10-18 Thread baigao via ffmpeg-devel
--- configure| 1 + libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/rtc.c| 895 +-- libavformat/rtc.h| 38 +- libavformat/rtpdec.c | 6 +- libavformat/rtpdec.h | 11 + libavformat/whep

[FFmpeg-devel] [PATCH] avcodec/d3d12va_encode: D3D12 H264 encoding support (PR #20707)

2025-10-18 Thread ArazIusubov via ffmpeg-devel
uot;4.1", 41) }, +{ LEVEL("4.2", 42) }, +{ LEVEL("5",50) }, +{ LEVEL("5.1", 51) }, +{ LEVEL("5.2", 52) }, +{ LEVEL("6",60) }, +{ LEVEL("6.1", 61) }, +{ LEVEL("6.2", 62) }, +#undef LEVEL + +

[FFmpeg-devel] [PATCH] libavutil: fix memory leak of drmVersion (PR #20678)

2025-10-18 Thread timblechmann via ffmpeg-devel
Device(&device); +drmFreeVersion(info); break; } drmFreeVersion(info); -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] Avoid using MMX in me_cmp (PR #20705)

2025-10-18 Thread mkver via ffmpeg-devel
t *c, AVCodecContext *avctx) c->hadamard8_diff[0] = ff_hadamard8_diff16_sse2; c->hadamard8_diff[1] = ff_hadamard8_diff_sse2; #endif -if (!(cpu_flags & AV_CPU_FLAG_SSE2SLOW) && avctx->codec_id != AV_CODEC_ID_SNOW) { +if (avctx->codec_id != AV_CODEC_ID_SNOW) { c->sad[0]= ff_sad16_sse2; c->vsad[4] = ff_vsad_intra16_sse2; if (!(avctx->flags & AV_CODEC_FLAG_BITEXACT)) { c->vsad[0] = ff_vsad16_approx_sse2; } +} else { +// Snow does not abide by the alignment requirements +// of blk1, so we use special versions without them for it. +c->sad[0]= ff_sad16u_sse2; + +c->vsad[4] = ff_vsad_intra16u_sse2; +if (!(avctx->flags & AV_CODEC_FLAG_BITEXACT)) { +c->vsad[0] = ff_vsad16u_approx_sse2; +} } if (avctx->flags & AV_CODEC_FLAG_BITEXACT) { c->pix_abs[1][3] = ff_sad8_xy2_sse2; -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] libavformat/asfdec_f: add asf video average framerate support

2025-10-18 Thread ZhangXu via ffmpeg-devel
opy and convert language codes to the frontend if (asf->streams[i].stream_language_index < 128) { const char *rfc1766 = asf->stream_languages[asf->streams[i].stream_language_index]; -- 2.25.1 ___ ffmpeg-devel mailing

[FFmpeg-devel] [PATCH 0/3] avformat/whip whep: Add basic WHEP support based on the WHIP implementation

2025-10-18 Thread baigao via ffmpeg-devel
(+), 1487 deletions(-) create mode 100644 libavformat/rtc.c create mode 100644 libavformat/rtc.h create mode 100644 libavformat/whep.c -- 2.51.0 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to ffmpeg-devel-le

[FFmpeg-devel] [PATCH] avcodec/liblc3: add support for multiple sample formats. (PR #20601)

2025-10-18 Thread cenzhanquan1 via ffmpeg-devel
000, 48000, 32000, 24000, 16000, 8000), -CODEC_SAMPLEFMTS(AV_SAMPLE_FMT_FLTP), +CODEC_SAMPLEFMTS(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16P), .priv_data_size = sizeof(LibLC3EncContext), .init = liblc3_encode_init, .close = liblc3_encode_close, -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] Added new celt with opus 1.5.2 (PR #20716)

2025-10-18 Thread Jamaika1 via ffmpeg-devel
de(celt->dec, pkt->data, pkt->size, pcm, c->frame_size); +err = opus_custom_decode(celt->dec, pkt->data, pkt->size, pcm, c->frame_size); if (err < 0) return ff_celt_error_to_averror(err); if (celt->discard) { -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] [WIP] libavformat/dashenc: preserve metadata in dashenc (PR #20596)

2025-10-18 Thread damitha via ffmpeg-devel
t;metadata, s->metadata, 0); +av_dict_copy(&os->ctx->metadata, s->streams[i]->metadata, 0); if ((ret = avformat_write_header(os->ctx, NULL)) < 0) return ret; -- 2.49.1 ___________ ffmpeg-devel mailing list -- ffmpeg-deve

[FFmpeg-devel] [PATCH] avcodec/g723_1enc: Make min_err 64bit (PR #20658)

2025-10-18 Thread michaelni via ffmpeg-devel
cb_param(&optim, impulse_resp, buf, pulse_cnt, SUBFRAME_LEN); if (p->pitch_lag[index >> 1] < SUBFRAME_LEN - 2) { -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] Nuke a few MMX functions, HpelDSP patches (PR #20582)

2025-10-18 Thread mkver via ffmpeg-devel
PR #20582 opened by mkver URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20582 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20582.patch >From 45f89dbd435e83ed76acc410b14a44dce1a72f95 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 21 Sep 2025 22:51:18 +0200 Subject: [PAT

[FFmpeg-devel] Re: [PATCH] ffv1enc_vulkan: fix empty struct build error on msvc

2025-10-18 Thread Lynne via ffmpeg-devel
On 30/09/2025 03:44, Koushik Dutta via ffmpeg-devel wrote: Signed-off-by: Koushik Dutta --- libavcodec/ffv1enc_vulkan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/ffv1enc_vulkan.c b/libavcodec/ffv1enc_vulkan.c index 259bc75d4c..a54180a98b 100644 --- a/libavcodec

[FFmpeg-devel] [PATCH] avfilter/vf_colorspace: Make array smaller (PR #20575)

2025-10-18 Thread mkver via ffmpeg-devel
] = { +static const char *const delinearize_funcs[] = { [AVCOL_TRC_BT709] = "inverse_eotf_bt1886", [AVCOL_TRC_BT2020_10] = "inverse_eotf_bt1886", }; -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [PATCH] WIP: avfilter: add Bungee audio stretch filter (PR #20697)

2025-10-18 Thread john--- via ffmpeg-devel
at this time. John _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] WIP: libavcodec/vulkan_encode_av1: fix non-monotonic DTS (PR #20713)

2025-10-18 Thread my4ng via ffmpeg-devel
h - 1; +fh->frame_height_minus_1 = avctx->height - 1; +fh->render_width_minus_1 = fh->frame_width_minus_1; +fh->render_height_minus_1 = fh->frame_height_minus_1; + + ((CodedBitstreamAV1Context *)enc->cbs->priv_data)->seen_frame_header

[FFmpeg-devel] [PATCH] avcodec/Makefile: Remove h263 decoder->mpeg4videodec.o dependency (PR #20665)

2025-10-18 Thread mkver via ffmpeg-devel
;c.codec_id == AV_CODEC_ID_MPEG4) ret = ff_mpeg4_decode_video_packet_header(h); else +#endif ret = h263_decode_gob_header(h); if(ret>=0) return pos; -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avformat/whip: Drop invalid group:BUNDLE from SDP in single-stream cases

2025-10-18 Thread baigao via ffmpeg-devel
WHIP_SDP_CREATOR_IP); +if (whip->audio_par && whip->video_par) +av_bprintf(&bp, "a=group:BUNDLE 0 1\r\n"); + if (whip->audio_par) { if (whip->audio_par->codec_id == AV_CODEC_ID_OPUS) acodec_name = "opus"; -- 2.51

[FFmpeg-devel] [PATCH 2/3] avformat/whip whep: reanme whip prefix to rtc for common RTC structures

2025-10-18 Thread baigao via ffmpeg-devel
--- libavformat/rtc.c | 564 ++--- libavformat/rtc.h | 60 ++--- libavformat/whip.c | 180 +++ 3 files changed, 402 insertions(+), 402 deletions(-) diff --git a/libavformat/rtc.c b/libavformat/rtc.c index 2dc0383d3e..8c848b6026 100644 --- a/l

[FFmpeg-devel] [PATCH v3 0/3] avformat/whip whep: Add basic WHEP support based on the WHIP implementation

2025-10-18 Thread baigao via ffmpeg-devel
can be found here: https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=15659 Changes in v2: - add missing configure modification Changes in v3: - configure: fix build with --disable-openssl -- 2.51.0 ___ ffmpeg-devel mailing list -- ffmpeg

[FFmpeg-devel] [PATCH] Don't reset last{pts,dts} on new sequentialized ogg streams. (PR #20637)

2025-10-18 Thread toots via ffmpeg-devel
acket PTS: 0, packet DTS: 0 +Stream ID: 0, packet PTS: 1323, packet DTS: 1323 Stream ID: 0, new metadata: encoder=Lavc61.19.100 libvorbis:title=Second Stream -Stream ID: 0, frame PTS: 0, metadata: encoder=Lavc61.19.100 libvorbis:title=Second Stream -Stream ID: 0, packet PTS: 128, packet DTS:

[FFmpeg-devel] [PATCH 0/3] avformat/whip whep: Add basic WHEP support based on the WHIP implementation

2025-10-18 Thread baigao via ffmpeg-devel
=15659 Changes in v2: - add missing configure modification Thansks, baigao -- 2.51.0 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avcodec/tiff_common: Remove unused ff_tadd_*_metadata() funcs (PR #20592)

2025-10-18 Thread mkver via ffmpeg-devel
etByteContext *gb, int le, int is_signed, AVDictionary **metadata); - /** Adds a string of count characters * into the metadata dictionary. */ -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [DISCUSSION] Adding ARM64EC support to FFmpeg

2025-10-17 Thread harish.rajaselvan--- via ffmpeg-devel
bn or gyan.dev), so that people targeting this platform can have access to FFmpeg builds for this target. Looking forward to your feedback. Thanks, Harish Raja Selvan ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to f

[FFmpeg-devel] [PATCH] avfilter: add avfilter_forward_command API for recursive command processing. (PR #20621)

2025-10-17 Thread cenzhanquan1 via ffmpeg-devel
+ const char *arg, char *res, int res_len, int flags); + /** * Filter activation function. * -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] WIP: CoreVideo: add support for kCVPixelFormatType_422YpCbCr8_yuvs (PR #20679)

2025-10-17 Thread timblechmann via ffmpeg-devel
#endif #if HAVE_KCVPIXELFORMATTYPE_444YPCBCR16BIPLANARVIDEORANGE AV_PIX_FMT_P416, +#endif +#if HAVE_KCVPIXELFORMATTYPE_422YPCBCR8_YUVS +AV_PIX_FMT_YUYV422, #endif AV_PIX_FMT_BGRA, }; -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an em

[FFmpeg-devel] [PATCH] Warming NASM 3.01rc7 redefining multi-line macro `STORE_DIFFx2' (PR #20681)

2025-10-17 Thread Jamaika1 via ffmpeg-devel
doesn't have this yet %endif %endif -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [PATCH] libavcodec/g723_1enc: Fix crash

2025-10-13 Thread zsolt.kovacs--- via ffmpeg-devel
Hello, I can't share any test cases, the crashes only happened in prod and I can't send those files. The patch looks good, I will test it with some files that caused the crashes, I just need to get to it. Thanks, Zsolt _______ ffmpeg-devel ma

[FFmpeg-devel] [PATCH] vf_noise (PR #20699)

2025-10-17 Thread mkver via ffmpeg-devel
8 @@ typedef struct ThreadData { {#name"_seed", "set component #"#x" noise seed", OFFSET(param.seed), AV_OPT_TYPE_INT, {.i64=-1}, -1, INT_MAX, FLAGS},\ {#name"_strength", "set component #"#x" strength", OFFSET(param.streng

[FFmpeg-devel] [PATCH] avcodec/x86/hpeldsp_init: Remove check for inline mmx (PR #20691)

2025-10-17 Thread mkver via ffmpeg-devel
ags = av_get_cpu_flags(); -if (INLINE_MMX(cpu_flags)) +if (EXTERNAL_MMX(cpu_flags)) hpeldsp_init_mmx(c, flags); if (EXTERNAL_MMXEXT(cpu_flags)) -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email

[FFmpeg-devel] [PATCH 1/3] avformat/whip whep: create rtc for common RTC code shared by whip and whep

2025-10-17 Thread baigao via ffmpeg-devel
--- libavformat/Makefile |2 +- libavformat/{whip.c => rtc.c} | 856 +--- libavformat/rtc.h | 220 ++ libavformat/whip.c| 1386 + 4 files changed, 264 insertions(+), 2200 deletions(-) copy libavformat/{whip

[FFmpeg-devel] [PATCH] avcodec/x86/h264_qpel: Don't instantiate unused functions (PR #20687)

2025-10-17 Thread mkver via ffmpeg-devel
EL_H264_H_XMM(avg_, ssse3) QPEL_H264_V_XMM(put_, ssse3, sse2) -QPEL_H264_V_XMM(avg_, ssse3, sse2) QPEL_H264_HV_XMM(put_, ssse3) QPEL_H264_HV_XMM(avg_, ssse3) -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send

[FFmpeg-devel] [PATCH] ohdec error handling (PR #20587)

2025-09-23 Thread mkver via ffmpeg-devel
queue); +ff_thread_free(s, mutex_cond_offsets); + return 0; } @@ -718,7 +722,6 @@ static const AVCodecHWConfigInternal *const oh_hw_configs[] = { NULL }; -#define OFFSET(x) offsetof(OHCodecDecContext, x) #define VD (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM) static const AVOption ohcodec_vdec_options[] = { {"codec_name", "Select codec by name", -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] lavc/x86: Deduplicate constants (PR #20590)

2025-09-23 Thread mkver via ffmpeg-devel
e pw_bi_12 pw_4096 %define max_pixels_8 pw_255 %define max_pixels_10 pw_1023 -pw_bi_8:times 16 dw (1 << 8) -max_pixels_12: times 16 dw ((1 << 12)-1) +%define max_pixels_12 pw_4095 cextern pd_1 cextern pb_0 -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] libavcodec/riscv: add RVV optimized sao_edge_filter for HEVC (PR #20593)

2025-09-24 Thread CheryDan via ffmpeg-devel
_filter[3] = +c->sao_edge_filter[4] = ff_hevc_sao_edge_filter_8_rvv; +break; +default: +break; +} +} + if (!(flags & AV_CPU_FLAG_RVV_I32) || !(flags & AV_CPU_FLAG_RVB)) return; -- 2.49.1 _____

[FFmpeg-devel] [PATCH] avcodec/x86/apv_dsp: Don't export arrays unnecessarily (PR #20588)

2025-09-23 Thread mkver via ffmpeg-devel
64, -64 dw 84, 35, 35, -84 -const tmatrix_col_odd +tmatrix_col_odd: dw 89, 75, 50, 18 dw 75, -18, -89, -50 dw 50, -89, 18, 75 -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an

[FFmpeg-devel] [PATCH] avcodec/bsf/ahx_to_mp2: Don't output uninitialized data (PR #20591)

2025-09-23 Thread mkver via ffmpeg-devel
if (ret < 0) { av_packet_unref(pkt); return ret; } +memset(pkt->data + original_size, 0, 1044 - original_size); } return 0; -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To un

[FFmpeg-devel] [PATCH] swscale/ppc/swscale_ppc_template: Fix av_unused placement (PR #20618)

2025-09-26 Thread mkver via ffmpeg-devel
d char src_vF; +av_unused vector unsigned char src_v0, src_v1, permS; vector signed short src_v, filter_v; vector signed int val_v, val_s; FIRST_LOAD(src_v0, srcPos, src, permS); -- 2.49.1 ___ ffmpeg-devel m

[FFmpeg-devel] [PATCH] Various libmpeghdec patches (PR #20602)

2025-09-24 Thread mkver via ffmpeg-devel
te = out_info.sampleRate; frame->pts = out_info.ticks; frame->time_base.num = 1; @@ -235,7 +235,7 @@ static int mpegh3dadec_decode_frame(AVCodecContext *avctx, AVFrame *frame, return ret; memcpy(frame->extended_data[0], s->decoder_buffer, - avctx->ch_layout.nb_channels * avctx->frame_size * + avctx->ch_layout.nb_channels * frame->nb_samples * sizeof(*s->decoder_buffer) /* only AV_SAMPLE_FMT_S32 is supported */); *got_frame_ptr = 1; -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [PATCH v2] ogg/vorbis: implement header packet skip in chained ogg bitstreams.

2025-09-27 Thread Yalda via ffmpeg-devel
___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avfilter/boxblur: add AVX2 horizontal pass (PR #20714)

2025-10-18 Thread MakarDev via ffmpeg-devel
t_ref, 2, src, 2, len, radius); +call_new(dst_new, 2, src, 2, len, radius); +if (memcmp(dst_ref, dst_new, len * sizeof(uint16_t))) + fail(); +bench_new(dst_new, 2, src, 2, len, radius); +} +} +} + +void checkasm_check_boxblur(void); +void checkasm_check_boxblur(void) +{ +check_row8(); +report("boxblur_row8"); +check_row16(); +report("boxblur_row16"); +} + + -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Forgejo PR to add libomt OpenMediaTransport support

2025-10-18 Thread ffmpeg--- via ffmpeg-devel
GIN/../OMT/lib" Mac: ./configure --enable-libomt --extra-cflags="-I$(pwd)/../OMT/include" --extra-ldflags="-L$(pwd)/../OMT/lib -Wl,-rpath,@loader_path/../OMT/lib" Please let me know if you have any questions Best Regards Mark Gilbert ________

[FFmpeg-devel] Re: [PATCH v2] ogg/vorbis: implement header packet skip in chained ogg bitstreams.

2025-10-18 Thread Yalda via ffmpeg-devel
Romain, Thank you for the clarity. I approved. Will push in ~48 hours if there is no more concerns here. ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avcodec/vvc/dec: Always clear tab in tl_create() (PR #20670)

2025-10-18 Thread michaelni via ffmpeg-devel
OR(ENOMEM); } -- 2.49.1 ___________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avcodec/av1dec: fix decoding with pix_fmt set (PR #20720)

2025-10-19 Thread cgutman via ffmpeg-devel
; pix_fmts[i] != pix_fmt; i++) +if (pix_fmts[i] == avctx->pix_fmt) { +s->pix_fmt = pix_fmt; +return 1; +} ret = ff_get_format(avctx, pix_fmts); -- 2.49.1 _______ ffmpeg-devel mailing li

[FFmpeg-devel] [PATCH] avcodec/liblc3dec: support sample format negotiation and planar layout. (PR #20723)

2025-10-19 Thread cenzhanquan1 via ffmpeg-devel
;data[ch], 1); + LC3_PCM_FORMAT_FLOAT, pcm_data, stride); if (ret < 0) return AVERROR_INVALIDDATA; -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] lavc/vvc: Ensure seq_decode is always updated with SPS (PR #20717)

2025-10-19 Thread frankplow via ffmpeg-devel
s->seq_decode = (s->seq_decode + 1) & 0xff; } if (old_sps) { -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avformat/mov: Add support for uuid-based senc box (PR #20719)

2025-10-19 Thread Hendi48 via ffmpeg-devel
if (!sc->spherical) av_log(c->fc, AV_LOG_WARNING, "Invalid spherical metadata found\n"); +} else if (av_uuid_equal(uuid, uuid_piff_senc)) { +mov_read_senc(c, pb, atom); } return 0; -- 2.49.1 _______ ffmpeg-dev

[FFmpeg-devel] [PATCH] checkasm/hevc_sao.c: add sign for sao offset_val (PR #20730)

2025-10-21 Thread CheryDan via ffmpeg-devel
le (0) -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [POLL][VOTE] Preferred Issue Tracker

2025-10-20 Thread Lynne via ffmpeg-devel
On 20/10/2025 18:14, Michael Niedermayer wrote: Hi everyone We currently have 2 issue trackers (trac and forgejo), Previous discussion: "[RFC] Issue tracker" and "trac ticket statistics" https://lists.ffmpeg.org/archives/list/[email protected]/thread/HS46O6K62MHR

[FFmpeg-devel] Re: [RFC] C++

2025-10-20 Thread Lynne via ffmpeg-devel
On 20/10/2025 19:50, Tomas Härdin via ffmpeg-devel wrote: Hi I'm writing this email to get a feel for how everyone feels about making more use of C++ in the codebase. I am only proposing using C++ *internally*, and only where it makes sense. I am not suggesting a "move" to C+

[FFmpeg-devel] [PATCH] ff-tmp-sanm-unhack (PR #20306)

2025-08-21 Thread michaelni via ffmpeg-devel
x, &gb, xoff, yoff); +av_free(bitstream); } else { /* this happens a lot in RA1: The individual files are meant to * be played in sequence, with some referencing objects STORed -- 2.49.1 _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH] Announce FFmpeg 8.0

2025-08-21 Thread Lynne via ffmpeg-devel
On 21/08/2025 15:44, Jacob Lifshay via ffmpeg-devel wrote: On August 20, 2025 10:47:03 PM PDT, Lynne via ffmpeg-devel wrote: +Hardware accelerated decoding: Vulkan VP9, VAAPI VVC, OpenHarmony H264/5 +Hardware accelerated encoding: Vulkan AV1, OpenHarmony H264/5 +Filters

<    1   2   3   4   5   6   7   8   9   10   >