e PTS, hence try to offset it so that we
--
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".
,
+.init = ff_videotoolbox_common_init,
+ .uninit = ff_videotoolbox_uninit,
+.priv_data_size = sizeof(VTContext),
+};
+
#endif /* CONFIG_VIDEOTOOLBOX */
--
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".
ual, we recommend that users, distributors, and system integrators to
upgrade unless they use current git master.
+
+
September 30th, 2024, FFmpeg 7.1 "Péter"
FFmpeg 7.1 "Péter", a new
--
2.50.0
___________
ffmpeg-devel mailing list
ff
.o jfdctfst.o jfdctint.o
--
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".
PR #20325 opened by michaelni
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20325
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20325.patch
These are taken from before the switch to GPLv3+
If people prefer, we can merge the GPLv3+ switch for these modules too and put
them under --enab
On 2025-08-20 22:58:26 +0200, Michael Niedermayer wrote:
>
> On Mon, Aug 18, 2025 at 07:22:56AM +0100, Ayose via ffmpeg-devel wrote:
> > This is a proposal to add a new filter to FFmpeg: drawvg, to draw
> > vector graphics on top of a video, using libcairo.
> >
> >
pus-chained-meta.txt
+++ b/tests/ref/fate/ogg-opus-chained-meta.txt
@@ -13,7 +13,8 @@ Stream ID: 0, frame PTS: 3528, metadata: N/A
Stream ID: 0, packet PTS: 4488, packet DTS: 4488
Stream ID: 0, frame PTS: 4488, metadata: N/A
Stream ID: 0, packet PTS: -312, packet DTS: -312
-Stream ID: 0, fram
+ b/README.md
@@ -41,6 +41,4 @@ GPL. Please refer to the LICENSE file for detailed
information.
## Contributing
-Patches should be submitted to the ffmpeg-devel mailing list using
-`git format-patch` or `git send-email`. Github pull requests should be
-avoided because they are not part of
t *gb2 = gb;
GetBitContext gbc;
if (!(pl_frag_start && pl_frag_end)) {
-ret = init_get_bits8(&gbc, e->ext.pl_data, pl_len);
+ret = init_get_bits8(&gbc, e->ext.pl_buf, pl_len);
if (ret < 0)
return ret;
@@
t is still missing is to port the
documentation to Texinfo. I used Markdown because it is what I'm
most used to. If the filter is accepted, I guess than pandoc can
do most of the required changes, so it should be easy.
_______
ffmpeg-devel mailing list
ffmp
9.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".
bavutil/macros.h"
--
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".
@@ -940,6 +940,8 @@ static int dxv_decode(AVCodecContext *avctx, AVFrame *frame,
}
break;
}
+if (avctx->coded_height / 2 / TEXTURE_BLOCK_H < 1)
+return AVERROR_INVALIDDATA;
texdsp_ctx.slice_count = av_clip(avctx->thread_count, 1,
ow if you have any questions
Best Regards
Mark Gilbert
___
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with su
_SRC_OPTIMAL,
-VK_QUEUE_FAMILY_IGNORED);
+p->nb_img_qfs > 1 ? VK_QUEUE_FAMILY_IGNORED :
p->img_qfs[0]);
vk->CmdPipelineBarrier2(cmd_buf, &(VkDependencyInfo) {
.sType = VK_STRUCTURE_TYPE_DEPENDENCY_INFO,
--
2.49.1
____
_freep(&buf);
+openmpt->module = openmpt_module_create(openmpt_cbs, s->pb,
openmpt_logfunc, s, NULL);
if (!openmpt->module)
return AVERROR_INVALIDDATA;
#endif
--
2.51.0
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
rval |= AV_CPU_FLAG_SLOW_GATHER;
}
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
b.ne0b
ret
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
late.c
@@ -1792,7 +1792,9 @@ static av_cold int decode_init_mp3on4(AVCodecContext *
avctx)
s->mp3decctx[i]->adu_mode = 1;
s->mp3decctx[i]->avctx = avctx;
s->mp3decctx[i]->mpadsp = s->mp3decctx[0]->mpadsp;
+#if USE_FLOATS
s->mp3decctx[i]-&
DARD,
+PRORES_PROFILE_HQ,
+PRORES_PROFILE_,
+PRORES_PROFILE_XQ,
+};
+
+enum {
+QUANT_MAT_PROXY = 0,
+QUANT_MAT_PROXY_CHROMA,
+QUANT_MAT_LT,
+QUANT_MAT_STANDARD,
+QUANT_MAT_HQ,
+QUANT_MAT_XQ_LUMA,
+ QUANT_MAT_DEFAULT,
+};
+
+typedef struct prores_profile {
+const char *full_name;
+uint32_ttag;
+int min_quant;
+int max_quant;
+int br_tab[NUM_MB_LIMITS];
+int quant;
+int quant_chroma;
+} prores_profile;
+
+typedef struct ProresContext {
+AVClass *class;
+DECLARE_ALIGNED(16, int16_t, blocks)[MAX_PLANES][64 * 4 *
MAX_MBS_PER_SLICE];
+DECLARE_ALIGNED(16, uint16_t, emu_buf)[16*16];
+int16_t quants[MAX_STORED_Q][64];
+int16_t quants_chroma[MAX_STORED_Q][64];
+int16_t custom_q[64];
+int16_t custom_chroma_q[64];
+const uint8_t *quant_mat;
+const uint8_t *quant_chroma_mat;
+const uint8_t *scantable;
+
+void (*fdct)(FDCTDSPContext *fdsp, const uint16_t *src,
+ ptrdiff_t linesize, int16_t *block);
+FDCTDSPContext fdsp;
+
+const AVFrame *pic;
+int mb_width, mb_height;
+int mbs_per_slice;
+int num_chroma_blocks, chroma_factor;
+int slices_width;
+int slices_per_picture;
+int pictures_per_frame; // 1 for progressive, 2 for interlaced
+int cur_picture_idx;
+int num_planes;
+int bits_per_mb;
+int force_quant;
+int alpha_bits;
+int warn;
+
+char *vendor;
+int quant_sel;
+
+int frame_size_upper_bound;
+
+int profile;
+const struct prores_profile *profile_info;
+
+int *slice_q;
+
+struct ProresThreadData *tdata;
+} ProresContext;
+
+av_cold int ff_prores_kostya_encode_init(AVCodecContext *avctx, ProresContext
*ctx,
+ enum AVPixelFormat pixfmt);
+
+uint8_t* ff_prores_kostya_write_frame_header(AVCodecContext *avctx,
ProresContext *ctx,
+ uint8_t **orig_buf, int flags,
+ enum AVColorPrimaries
color_primaries,
+ enum
AVColorTransferCharacteristic color_trc,
+ enum AVColorSpace colorspace);
+
+uint8_t* ff_prores_kostya_write_picture_header(ProresContext *ctx, uint8_t
*buf);
+
+FF_VISIBILITY_POP_HIDDEN
+
+#endif
\ No newline at end of file
--
2.50.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
l.o
opencl.o \
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
____
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
off, i = 0; i < rt->nb_rtsp_streams; ++i)
{
-char transport[MAX_URL_SIZE];
+char transport[MAX_URL_SIZE - 13];
/*
* WMS serves all UDP data over a single connection, the RTX, which
--
2.49.1
_______
ffmpeg-devel mai
D_HEVC))) {
CFDictionarySetValue(enc_info,
compat_keys.kVTVideoEncoderSpecification_EnableLowLatencyRateControl,
kCFBooleanTrue);
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
16 - 8)
+b.ne12b
+ret
+endfunc
+
function ff_vvc_dmvr_hv_8_neon, export=1
tmp0.req x7
tmp1.req x8
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an
From: IndecisiveTurtle
Adds a vulkan implementation of the reference prores kostya encoder. Provides
about 3-4x speedup over the CPU code
---
configure |1 +
libavcodec/Makefile |1 +
libavcodec/allcodecs.c
if (desc[i].type == VK_DESCRIPTOR_TYPE_STORAGE_IMAGE ||
desc[i].type == VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE) {
if (desc[i].mem_layout) {
int len = strlen(desc[i].mem_layout);
if (desc[i].mem_layout[len - 1] == 'i' &&
et_tag_id("Orientation");
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
v6.8h, v4.8b, v0.8b
+umlal v6.8h, v5.8b, v1.8b
urshr v6.4h, v6.4h, #(8 - 6)
str d6, [x13], #8
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email
AAC_RENAME(ff_cbrt_tab)[i] = CBRT(cbrt_tab_dbl[i]);
+
+av_free(cbrt_tab_dbl);
}
}
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
mf(&c->functions, &c->mft);
--
2.49.1
___________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
PR #20381 opened by averne
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20381
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20381.patch
The first few commits prepare the ground for the addition of the actual
hwaccel, in the last commit.
Provisionary benchmark:
- AMD Radeon 6700XT: 1
quot;, "Low latency mode", OFFSET(opt_enc_lowlatency),
AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, VE},
{NULL}
};
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
4, 4,1, 307200, 0x9c203210
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
eight, vb_pos, (int16_t*)gradient_tmp);
+FUNC(ff_alf_classify)(class_idx, transpose_idx, _src, _src_stride, width,
height, vb_pos, (int16_t*)gradient_tmp);
}
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
dx; idx2 < TMP_LUT_SIZE; idx2 += i)
+ tmp_lut[idx2] *= cbrt_val;
+ }
+}
+}
diff --git a/libavcodec/cbrt_tablegen_template.c
b/libavcodec/cbrt_tablegen_template.c
index 06ae152f71..4f6aa7e484 100644
--- a/libavcodec/cbrt_tablegen_template.c
+++ b/libavcodec/cbrt_tablegen_template.c
@@ -24,6 +24,7 @@
#define BUILD_TABLES 1
#include "libavutil/tablegen.h"
#include "cbrt_tablegen.h"
+#include "cbrt_tablegen_common.c"
#include "tableprint.h"
int main(void)
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
On Tue, Sep 2, 2025 at 6:13 PM Zhao Zhili via ffmpeg-devel
wrote:
>
> PR #20396 opened by Zhao Zhili (quink)
> URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20396
> Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20396.patch
>
> Firstly, the order of the parame
pters(s, id3v2_extra_meta)) < 0)
+goto close;
+if ((ret = ff_id3v2_parse_priv(s, id3v2_extra_meta)) < 0)
+ goto close;
ff_id3v2_free_extra_meta(&id3v2_extra_meta);
}
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
pth) {
+case 8:
+RVV_FNASSIGN(c->put_hevc_qpel, 0, 0, pel_pixels, rvv_128);
+RVV_FNASSIGN(c->put_hevc_epel, 0, 0, pel_pixels, rvv_128);
+break;
+default:
+break;
+ }
&format_info, sizeof(format_info {
-av_log(avctx, AV_LOG_ERROR, "Failed to query format plane count:
0x%x\n", hr);
+av_log(avctx, AV_LOG_ERROR, "Failed to query format plane count:
0x%lx\n", hr);
err = AVERROR_EXTERNAL;
goto fail;
}
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
#define CBS_PREFIX lavf_cbs
#define CBS_WRITE 0
#define CBS_TRACE 0
+#define CBS_AV1 0
#define CBS_H264 0
#define CBS_H265 0
#define CBS_H266 0
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
x\n", hr);
+av_log(avctx, AV_LOG_ERROR, "Failed to query format plane count:
0x%lx\n", hr);
err = AVERROR_EXTERNAL;
goto fail;
}
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
VERROR_INVALIDDATA;
+return AVERROR_INVALIDDATA;
#endif
+ret = openmpt_module_set_render_param(openmpt->module,
+OPENMPT_MODULE_RENDER_INTERPOLATIONFILTER_LENGTH,
+openmpt->interp);
+if (!ret) {
+av_log(s, AV_LOG_ERROR, "Invalid interpolation setting: %d\n",
openmpt->interp);
+return AVERROR(EINVAL);
+}
+
if (openmpt->subsong >= openmpt_module_get_num_subsongs(openmpt->module)) {
av_log(s, AV_LOG_ERROR, "Invalid subsong index: %d\n",
openmpt->subsong);
return AVERROR(EINVAL);
--
2.51.0
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
9715076 100644
--- a/libavutil/version.h
+++ b/libavutil/version.h
@@ -79,7 +79,7 @@
*/
#define LIBAVUTIL_VERSION_MAJOR 60
-#define LIBAVUTIL_VERSION_MINOR 12
+#define LIBAVUTIL_VERSION_MINOR 13
#define LIBAVUTIL_VERSION_MICRO 100
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBA
*displaymatrix);
+#define file_read ff_file_read
/* read file contents into a string */
char *file_read(const char *filename);
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
law);
+#endif
+#if CONFIG_PCM_MULAW_ENCODER
+pcm_ulaw_tableinit();
WRITE_ARRAY("static const", uint8_t, linear_to_ulaw);
+#endif
+#if CONFIG_PCM_VIDC_ENCODER
+pcm_vidc_tableinit();
WRITE_ARRAY("static const", uint8_t, linear_to_vidc);
+#endif
return 0;
}
--
2.49.1
_
2m.h"
+#ifndef USEC_PER_SEC
#define USEC_PER_SEC 100
+#endif
+
static AVRational v4l2_timebase = { 1, USEC_PER_SEC };
static inline V4L2m2mContext *buf_to_m2mctx(V4L2Buffer *buf)
--
2.49.1
___________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg
int h, m, s, ms;
s = av_rescale(chp->start, chp->time_base.num,
chp->time_base.den);
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
uot;libavutil/avassert.h"
-#include
+#include "libavutil/bswap.h"
#include "libavutil/rational.h"
#include "ops.h"
diff --git a/libswscale/x86/ops.c b/libswscale/x86/ops.c
index 8704f77227..3b5a060f64 100644
--- a/libswscale/x86/ops.c
+++ b/libswscale/x86/ops.c
gt;sw_format != dst->format)
return AVERROR(ENOSYS);
err = drm_map_frame(hwfc, dst, src, flags);
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
gt;encoded_frame + max_b_frames +
1) // too soon to poll
+if(ctx->submitted_frame <= ctx->encoded_frame + output_delay)
// too soon to poll
return ret;
}
}
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
TER) +=
$(FATE_PRORES)
fate-prores: $(FATE_PRORES)
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
quot;, 32) },
+{ LEVEL("4",40) },
+{ LEVEL("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"
pat), UINT32_MAX >> (32 - total), 1, num,
type, type, {
.op = SWS_OP_UNPACK,
.type = type,
.pack = pack,
--
2.49.1
___________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
/* Draw first frame opaque, others with blending */
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
reshold*thr_mult*freq_boost ||
+ spread < spread_threshold ||
+ min_energy < pns_transient_energy_r *
max_energy) {
sce->can_pns[w*16+g] = 0;
} else {
sce->can_pns[w*16+g] = 1;
--
2.49.1
_____
v16.4h, v17.4s
str d16, [x14], #8
4:
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
eslots > 1 && !decoder->eos_reached && !(avctx->flags &
AV_CODEC_FLAG_LOW_DELAY))
return AVERROR(EAGAIN);
}
--
2.49.1
___________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
.8h}, [gv0], #32
+
+subsheight, height, #1
+st1 {v26.8h,v27.8h}, [gv1], #32
+
+b.ne16b
+ret
+
.unreq gh0
.unreq gh1
.unreq gv0
--
2.49.1
_______
ffmpeg-devel mailing list -- ffmpeg-de
ix_any_func
Signed-off-by: Andreas Rheinhardt
---
libswresample/rematrix_template.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libswresample/rematrix_template.c
b/libswresample/rematrix_template.c
index b70e7489b0..450a276663 100644
--- a/libswresample/rematrix_template.c
+++ b/libswresample/rematrix_template.c
@@ -105,7 +105,7 @@ static void RENAME(mix8to2)(uint8_t *const *out_, const
uint8_t *const *in_,
}
}
-static mix_any_func_type *RENAME(get_mix_any_func)(SwrContext *s)
+static mix_any_func_type *RENAME(get_mix_any_func)(const SwrContext *s)
{
if ( !av_channel_layout_compare(&s->out_ch_layout,
&(AVChannelLayout)AV_CHANNEL_LAYOUT_STEREO)
&& ( !av_channel_layout_compare(&s->in_ch_layout,
&(AVChannelLayout)AV_CHANNEL_LAYOUT_5POINT1)
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
lt; 0) {
-av_log(ctx, AV_LOG_ERROR, "Error in parsing expr for amount: %s\n",
s->amount_str);
+av_log(ctx, AV_LOG_ERROR, "Error in parsing expr for amount: %s\n",
amount_str);
return ret;
}
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
ree = SIZE > 2 ? av_free : NULL,
\
+.free = (1 << SIZE) > 2 ? av_free : NULL,
\
.dither_size = SIZE,
\
);
--
2.49.1
_________
PR #20509 opened by mkver
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20509
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20509.patch
>From 343b38b29fe048358237807660224d8074b664df Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt
Date: Fri, 5 Sep 2025 01:09:49 +0200
Subject: [PATC
EC_VVC_DATA_H */
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
9.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
_CODEC_CAP_INIT_CLEANUP |
FF_CODEC_CAP_NOT_INIT_THREADSAFE, \
};
RKMPP_DEC(h264, AV_CODEC_ID_H264, "h264_mp4toannexb")
--
2.49.1
___________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
t->size, required_size);
+av_fast_mallocz(&ret->entries, &ret->size, required_size);
if (!ret->entries)
goto fail;
}
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
s->buf_size *
4LL)
return AVERROR_INVALIDDATA;
--
2.49.1
___________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
ff_get_buffer(avctx, frame, 0);
if (ret < 0)
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
print_val_double("surround_mix_level_ltrt",
downmix_info->surround_mix_level_ltrt, avtext_unit_decibel_str);
+print_val_double("lfe_mix_level", downmix_info->lfe_mix_level,
avtext_unit_decibel_str);
+av_bprint_finalize(&pbuf, NULL);
+}
+
static void print_displaymatrix(AVTextForma
n",
l - s->layers, s->poc);
return 0;
--
2.49.1
___________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
av_freep(&s->protocol_whitelist);
av_freep(&s->protocol_blacklist);
}
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
On Wed, Sep 3, 2025 at 2:45 PM Zhao Zhili wrote:
>
>
> On Sep 3, 2025, at 11:30, mypopy--- via ffmpeg-devel <
> [email protected]> wrote:
>
> On Tue, Sep 2, 2025 at 6:13 PM Zhao Zhili via ffmpeg-devel
> wrote:
>
>
> PR #20396 opened by Zhao Zhili (q
+ff_table_4_3_exp = (int8_t *)av_calloc(TABLE_4_3_SIZE, sizeof(int8_t));
+ff_table_4_3_value = (uint32_t *)av_calloc(TABLE_4_3_SIZE,
sizeof(uint32_t));
+#endif
+
for (int i = 1; i < TABLE_4_3_SIZE; i++) {
double f, fm;
int e, m;
--
2.49.1
_______
til/vulkan.c
+++ b/libavutil/vulkan.c
@@ -2279,7 +2279,7 @@ static int create_shader_object(FFVulkanContext *s,
FFVulkanShader *shd,
if (vk->GetShaderBinaryDataEXT(s->hwctx->act_dev, shd->object,
&shader_size, NULL) == VK_SUCCESS)
-av_log(s,
ude "avfilter.h"
#include "drawutils.h"
#include "filters.h"
-#include "filters.h"
#include "formats.h"
#include "video.h"
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
INT(LIBAVUTIL_VERSION_MAJOR, \
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
ts(&s->gb, 8);
diff --git a/libavcodec/mxpegdec.c b/libavcodec/mxpegdec.c
index 9a5110a814..8861a3969d 100644
--- a/libavcodec/mxpegdec.c
+++ b/libavcodec/mxpegdec.c
@@ -179,6 +179,12 @@ static int mxpeg_check_dimensions(MXpegDecodeContext *s,
MJpegDecodeContext *jpg
return AVERROR(EINVAL);
}
}
+if (reference_ptr->width != jpg->picture_ptr->width ||
+reference_ptr->height != jpg->picture_ptr->height ||
+reference_ptr->format != jpg->picture_ptr->format) {
+av_log(jpg->avctx, AV_LOG_ERROR, "Reference mismatching\n");
+return AVERROR_INVALIDDATA;
+}
}
return 0;
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
data.o
OBJS-$(CONFIG_ADPCM_XA_DECODER) += adpcm.o adpcm_data.o
OBJS-$(CONFIG_ADPCM_XMD_DECODER) += adpcm.o adpcm_data.o
OBJS-$(CONFIG_ADPCM_YAMAHA_DECODER) += adpcm.o adpcm_data.o
--
2.49.1
___
ffmpeg-devel mailing list -- ffmpeg
av_rescale(ts, AV_TIME_BASE, 1000),
--
2.49.1
___________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
otation(const int32_t *displaymatrix);
/* read file contents into a string */
-char *file_read(const char *filename);
+char *ff_file_read(const char *filename);
/* Remove keys in dictionary b from dictionary a */
void remove_avoptions(AVDictionary **a, AVDictionary *b);
--
2.49.1
____
l_duration = 0;
diff --git a/libavformat/oggparsevp8.c b/libavformat/oggparsevp8.c
index 676b3a0f8e..679ef64d76 100644
--- a/libavformat/oggparsevp8.c
+++ b/libavformat/oggparsevp8.c
@@ -27,7 +27,7 @@
#define VP8_HEADER_SIZE 26
-static int vp8_header(AVFormatContext *s, int idx)
+static int vp8_heade
20327 is merged, thanks.
On Mon, Sep 29, 2025 at 1:24 PM Yalda wrote:
>
> Romain,
>
> Thank you for the clarity.
> I approved. Will push in ~48 hours if there is no more concerns here.
_______
ffmpeg-devel mailing list -- ffmpeg-deve
0) {
av_free(coding_history);
return ret;
}
-coding_history[size] = 0;
+if (read_len < size)
+avio_skip(s->pb, size - read_len);
+
+coding_history[read_len] = 0;
if ((ret = av_dict_set(&s->metadata, "coding_histor
array_add_nofree(&loaded_voice_entries,
&loaded_voice_entry_capacity, entry) < 0)
+if (av_dynarray_add_nofree(&loaded_voice_entries,
&loaded_voice_entry_capacity, entry) < 0)
return AVERROR(ENOMEM);
loaded_voice_entry_count++;
} else {
for (int i = 0; i < loaded_voice_entry_capacity; i++) {
-if(!loaded_voice_entries[i]) {
+if (!loaded_voice_entries[i]) {
loaded_voice_entries[i] = entry;
loaded_voice_entry_count++;
break;
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
int sample_rate;///< samples per second
AVChannelLayout ch_layout; ///< channel layout of current buffer (see
libavutil/channel_layout.h)
+intdump_pcm; ///< flag to dump pcm
+int*dump_pcm_fds; ///< dump files
+unsigned nb_dump_pcm_fds; ///< number of dump file
+
/**
* Define the time base used by the PTS of the frames/samples
* which will pass through this link.
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
PR #20594 opened by damitha
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20594
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20594.patch
Currently metadata is dropped at the container and stream level when dash muxer
is used. This is fixing that
>From 7b3b20a1e8719ff922e509623f3763
if (is16bit)
table[j].val16[0] = single->table[j].sym;
else
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
c->core_frame_len;
+N >>= 3;
ret = decode_spectrum_ac(ac, sce->coeffs + win*128, gb, &ue->ac,
arith_reset_flag && (win == 0), lg, N);
--
2.49.1
_______
ffmpeg-devel m
case BLEND_GEOMETRIC:param->blend = blend_geometric_##nbits##bit;
break; \
+case BLEND_HARMONIC: param->blend = blend_harmonic_##nbits##bit;
break; \
case BLEND_BLEACH: param->blend = blend_bleach_##depth##bit;
break; \
case BLEND_STAIN: param-&g
, 2 deletions(-)
diff --git a/Changelog b/Changelog
index 9986e89452..42bfa1cd1d 100644
--- a/Changelog
+++ b/Changelog
@@ -7,6 +7,7 @@ version :
- gfxcapture: Windows.Graphics.Capture based window/monitor capture
- hxvs demuxer for HXVS/HXVT IP camera format
- MPEG-H 3D Audio decoding via mpeghdec
+- Bungee and Bungee Pro audio stretch filters
version 8.0:
@@ -45,7 +46,6 @@ version 8.0:
- ffprobe -codec option
- HDR10+ metadata passthrough when decoding/encoding with libaom-av1
-- Bungee audio stretch and pitch shift filter
version 7.1:
- Raw Captions with Time (RCWT) closed caption demuxer
diff --git a/doc/filters.texi b/doc/filters.texi
index 69afa5fc29..00189d41bf 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -4294,7 +4294,7 @@ Feed level (in Hz).
@section bungee
-Stretch audio timescale and/or modify pitch using Bungee Basic.
+Stretch audio timescale and/or modify pitch using Bungee.
This filter accepts the following parameters:
@table @option
@@ -4302,6 +4302,8 @@ This filter accepts the following parameters:
Controls the speed or tempo of the output audio. The default value 1 will not
change speed.
@item pitch
Sets a pitch adjustment as a frequency multiplier. The default value 1 will
have no effect on pitch.
+@item resample
+Controls whether Bungee should apply any resampling necessary to change pitch
on the input or output of the filter.
@end table
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
2);
dsp->put_vc1_mspel_pixels_tab[0][0] = put_vc1_mspel_mc00_16_sse2;
+dsp->put_vc1_mspel_pixels_tab[1][0] = put_vc1_mspel_mc00_8_sse2;
dsp->avg_vc1_mspel_pixels_tab[0][0] = avg_vc1_mspel_mc00_16_sse2;
}
if (EXTERNAL_SSSE3(cpu_flags)) {
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
const AVFilterPad scale_d3d12_inputs[] = {
+{
+ .name = "default",
+.type = AVMEDIA_TYPE_VIDEO,
+.filter_frame = scale_d3d12_filter_frame,
+},
+};
+
+static const AVFilterPad scale_d3d12_outputs[] = {
+{
+.name = "default",
+.type = AVMEDIA_TYPE_VIDEO,
+.config_props = scale_d3d12_config_props,
+},
+};
+
+#define OFFSET(x) offsetof(ScaleD3D12Context, x)
+#define FLAGS (AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM)
+
+static const AVOption scale_d3d12_options[] = {
+{ "width", "Output video width",OFFSET(w_expr),
AV_OPT_TYPE_STRING,{.str = "iw"}, .flags = FLAGS },
+{ "height", "Output video height", OFFSET(h_expr),
AV_OPT_TYPE_STRING,{.str = "ih"}, .flags = FLAGS },
+{ "format", "Output video pixel format", OFFSET(format),
AV_OPT_TYPE_PIXEL_FMT, { .i64 = AV_PIX_FMT_NONE }, INT_MIN, INT_MAX,
.flags=FLAGS },
+{ NULL }
+};
+
+AVFILTER_DEFINE_CLASS(scale_d3d12);
+
+const FFFilter ff_vf_scale_d3d12 = {
+.p.name = "scale_d3d12",
+.p.description= NULL_IF_CONFIG_SMALL("Scale video using Direct3D12"),
+.priv_size= sizeof(ScaleD3D12Context),
+.p.priv_class = &scale_d3d12_class,
+.init = scale_d3d12_init,
+.uninit = scale_d3d12_uninit,
+FILTER_INPUTS(scale_d3d12_inputs),
+FILTER_OUTPUTS(scale_d3d12_outputs),
+FILTER_SINGLE_PIXFMT(AV_PIX_FMT_D3D12),
+.p.flags = AVFILTER_FLAG_HWDEVICE,
+.flags_internal = FF_FILTER_FLAG_HWFRAME_AWARE,
+};
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
,
int V = 1 << 18;
for (j = 0; j < lumFilterSize; j++)
-Y += (unsigned)(lumSrc[j][i] * lumFilter[j]);
+Y += lumSrc[j][i] * (unsigned)lumFilter[j];
for (j = 0; j < chrFilterSize; j++)
-U += (unsigned)(chrUSrc[j][i] *
PR #20645 opened by mkver
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20645
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20645.patch
>From 549383606f01ac1cf481c0b69b923ed44fcb99d4 Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt
Date: Sat, 4 Oct 2025 07:29:35 +0200
Subject: [PATC
code > MIN_CACHE_BITS - 16)
-UPDATE_CACHE(re, &s->gb);
-
{
int cache = GET_CACHE(re, &s->gb);
int sign = (~cache) >> 31;
--
2.49.1
___________
ffmpeg-devel mailing list -- [email protected]
declare_func(void, uint8_t *, int, int);
for (size_t y = 0; y < 32; y++)
for (size_t x = 0; x < 32; x++)
--
2.49.1
_______
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
t;color_type = PNG_COLOR_TYPE_PALETTE;
break;
default:
-return -1;
+av_unreachable("Already checked via CODEC_PIXFMTS");
}
s->bits_per_pixel = ff_png_get_nb_channels(s->color_type) * s->bit_depth;
--
2.49.1
___
se2 (const uint8_t *a, const uint8_t *b, ptrdiff_t
s);
+int ff_pullup_filter_comb_ssse3(const uint8_t *a, const uint8_t *b, ptrdiff_t
s);
+int ff_pullup_filter_var_sse2 (const uint8_t *a, const uint8_t *b, ptrdiff_t
s);
av_cold void ff_pullup_init_x86(PullupContext *s)
{
#if HAVE_X86ASM
int cpu_flags = av_get_cpu_flags();
-if (EXTERNAL_MMX(cpu_flags)) {
-s->diff = ff_pullup_filter_diff_mmx;
-s->comb = ff_pullup_filter_comb_mmx;
-s->var = ff_pullup_filter_var_mmx;
+if (EXTERNAL_SSE2(cpu_flags)) {
+s->diff = ff_pullup_filter_diff_sse2;
+s->var = ff_pullup_filter_var_sse2;
+}
+if (EXTERNAL_SSSE3(cpu_flags)) {
+s->comb = ff_pullup_filter_comb_ssse3;
}
#endif
}
--
2.49.1
___
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
---
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
601 - 700 of 3425 matches
Mail list logo