1 deletion(-)
>
lgtm.
_______
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".
<
[email protected]> wrote:
> Armin Hasitzka via ffmpeg-devel:
> > Hi,
> >
> > we found this when testing with rejected RTMP streams.
> >
> > Best
> > Armin
>
> Thanks for the report and the patch; yet actually freeing them manually
&g
&& require_pkg_config libkvazaar "kvazaar >= 2.0.0"
kvazaar.h kvz_api_get
+enabled liblc3&& require_pkg_config liblc3 "lc3 >= 1.1.0" lc3.h
lc3_hr_setup_encoder
enabled liblensfun&& require_pkg_config liblensfun lensfun le
coder = {
+.p.name = "liblc3",
+CODEC_LONG_NAME("LC3 (Low Complexity Communication Codec)"),
+.p.type = AVMEDIA_TYPE_AUDIO,
+.p.id = AV_CODEC_ID_LC3,
+.p.capabilities = AV_CODEC_CAP_DR1,
+.p.ch_layouts = (const AVChannelLayout[])
+
avio_wl16(s->pb, pkt->size);
+avio_write(s->pb, pkt->data, pkt->size);
+return 0;
+}
+
+const FFOutputFormat ff_lc3_muxer = {
+.p.name= "lc3",
+ .p.long_name = NULL_IF_CONFIG_SMALL("LC3 (Low Complexity Communication
Codec)"),
+.p.extensions = &q
hwaccel decoding support (depends on vulkan renderer via
libplacebo)
- dnn filter libtorch backend
+- LC3/LC3plus decoding/encoding using external library liblc3
version 6.1:
--
2.44.0.478.gd926399ef9-goog
___
ffmpeg-devel mailing list
ffmpeg
on;
int flags, size = sample->size;
@@ -9592,7 +9603,9 @@ static int mov_read_packet(AVFormatContext *s, AVPacket
*pkt)
}
if (!ret)
return FFERROR_REDO;
- } else
+}
+#endif
+ else
ret = av_get_packet(sc->pb,
tic int mov_read_packet(AVFormatContext *s,
> > AVPacket *pkt)
> >
> > if (st->codecpar->codec_id == AV_CODEC_ID_EIA_608 && sample->size
> > > 8)
> > ret = get_eia608_packet(sc->pb, pkt, sample->size);
> > +#if CONFIG_IAMF
)
___
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".
/bsf/awebp2webp.c
create mode 100644 libavformat/webpdec.c
create mode 100644 tests/ref/fate/webp-anim
--
2.39.3 (Apple Git-146)
___
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe
)
___
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".
ic av_cold int webp_decode_close(AVCodecContext
*avctx)
WebPContext *s = avctx->priv_data;
av_packet_free(&s->pkt);
+ avcodec_free_context(&s->avctx_vp8);
if (s->initialized)
return ff_vp8_decode_free(avctx);
--
2.39.3 (Apple Git-146)
_
mp;& s->last_xmp) {
+memcpy(out->data + out_off, s->last_xmp, s->xmp_size);
+out_off += s->xmp_size;
+}
+
+// copy frame data
+memcpy(out->data + out_off, s->last_pkt->data + packet_start, packet_end -
packet_start);
+
+ if (key_frame)
+
hroma_h);
-else
-height = FFALIGN(canvas->height, 1 << desc->log2_chroma_h);
-
-memset(canvas->data[plane], s->transparent_yuva[plane],
- height * canvas->linesize[plane]);
-}
-}
-
-return 0;
-}
-
/*
* Blend src1 (foreground) and src2 (background) into dest, in ARGB format.
* width, height are the dimensions of src1
--
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".
cold int webp_decode_close(AVCodecContext
*avctx)
WebPContext *s = avctx->priv_data;
av_packet_free(&s->pkt);
+ ff_thread_release_ext_buffer(&s->canvas_frame);
+av_frame_free(&s->canvas_frame.f);
+av_frame_free(&s->frame);
avcodec_free_context(&s->avctx_vp8);
-if (s->initialized)
-return ff_vp8_decode_free(avctx);
+return 0;
+}
+
+static void webp_decode_flush(AVCodecContext *avctx)
+{
+WebPContext *s = avctx->priv_data;
+
+ff_thread_release_ext_buffer(&s->canvas_frame);
+}
+
+#if HAVE_THREADS
+static int webp_update_thread_context(AVCodecContext *dst, const
AVCodecContext *src)
+{
+WebPContext *wsrc = src->priv_data;
+WebPContext *wdst = dst->priv_data;
+int ret;
+
+if (dst == src)
+return 0;
+
+ff_thread_release_ext_buffer(&wdst->canvas_frame);
+if (wsrc->canvas_frame.f->data[0] &&
+(ret = ff_thread_ref_frame(&wdst->canvas_frame, &wsrc->canvas_frame))
< 0)
+return ret;
+
+wdst->vp8x_flags = wsrc->vp8x_flags;
+wdst->canvas_width= wsrc->canvas_width;
+wdst->canvas_height = wsrc->canvas_height;
+wdst->prev_anmf_flags = wsrc->anmf_flags;
+wdst->prev_width = wsrc->width;
+wdst->prev_height = wsrc->height;
+wdst->prev_pos_x = wsrc->pos_x;
+wdst->prev_pos_y = wsrc->pos_y;
+wdst->await_progress = wsrc->await_progress + 1;
+
+memcpy(wdst->background_argb, wsrc->background_argb,
sizeof(wsrc->background_argb));
+memcpy(wdst->background_yuva, wsrc->background_yuva,
sizeof(wsrc->background_yuva));
return 0;
}
+#endif
const FFCodec ff_webp_decoder = {
.p.name = "webp",
@@ -1602,9 +2189,12 @@ const FFCodec ff_webp_decoder = {
.p.type = AVMEDIA_TYPE_VIDEO,
.p.id = AV_CODEC_ID_WEBP,
.priv_data_size = sizeof(WebPContext),
+UPDATE_THREAD_CONTEXT(webp_update_thread_context),
.init = webp_decode_init,
FF_CODEC_DECODE_CB(webp_decode_frame),
.close = webp_decode_close,
+.flush = webp_decode_flush,
+.bsfs = "awebp2webp",
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
-.caps_internal = FF_CODEC_CAP_ICC_PROFILES,
+.caps_internal = FF_CODEC_CAP_ICC_PROFILES |
FF_CODEC_CAP_ALLOCATE_PROGRESS,
};
--
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".
+xmp_metadata = (s->vp8x_flags & VP8X_FLAG_ANIMATION) ?
&p->metadata : &s->frame->metadata;
+av_dict_set(xmp_metadata, "xmp", buffer, AV_DICT_DONT_STRDUP_VAL);
+
+xmp_end:
bytestream2_skip(&gb, chunk_size);
break;
+
less
@@ -1,4 +1,4 @@
-#tb 0: 1/25
+#tb 0: 1/10
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 12x8
diff --git a/tests/ref/fate/webp-rgb-lossless-palette-predictor
b/tests/ref/fate/webp-rgb-lossless-palette-predictor
index 92a4ad9810..65537f7ed1 100644
--- a/tests/ref/fate/webp-rgb-lo
tually supports seeking.
>
> The proposed solution here is sub-optimal.
>
> On Wed, Mar 27, 2024 at 11:22 PM Antoine Soulier via ffmpeg-devel <
> [email protected]> wrote:
>
>> A file format is described in Bluetooth SIG LC3 and ETSI TS 103 634, for
>> test
oder",
+.item_name = av_default_item_name,
+.option = options,
+.version= LIBAVUTIL_VERSION_INT,
+};
+
+const FFCodec ff_liblc3_encoder = {
+.p.name = "liblc3",
+CODEC_LONG_NAME("LC3 (Low Complexity Communication Codec)"),
+.p.type
;
+
+return 0;
+}
+
+static int lc3_write_packet(AVFormatContext *s, AVPacket *pkt)
+{
+avio_wl16(s->pb, pkt->size);
+avio_write(s->pb, pkt->data, pkt->size);
+return 0;
+}
+
+const FFOutputFormat ff_lc3_muxer = {
+.p.name= "lc3",
+ .p.long_name = NULL_IF
rsion= LIBAVUTIL_VERSION_INT,
+};
+
+const FFCodec ff_liblc3_encoder = {
+.p.name = "liblc3",
+CODEC_LONG_NAME("LC3 (Low Complexity Communication Codec)"),
+.p.type = AVMEDIA_TYPE_AUDIO,
+.p.id = AV_CODEC_ID_LC3,
+ .p.capabilities = AV_C
ket(AVFormatContext *s, AVPacket *pkt)
+{
+avio_wl16(s->pb, pkt->size);
+avio_write(s->pb, pkt->data, pkt->size);
+return 0;
+}
+
+const FFOutputFormat ff_lc3_muxer = {
+.p.name= "lc3",
+.p.long_name = NULL_IF_CONFIG_SMALL("LC3 (Low Complexity Commu
Am 28.03.24 um 19:11 schrieb Stefano Sabatini:
On date Thursday 2024-03-28 15:08:53 +0100, ffmpeg-devel Mailing List wrote:
Splits a packet containing a webp animations into
one non-compliant packet per frame of the animation.
Skips RIFF and WEBP chunks for those packets except
for the first
rsion= LIBAVUTIL_VERSION_INT,
+};
+
+const FFCodec ff_liblc3_encoder = {
+.p.name = "liblc3",
+CODEC_LONG_NAME("LC3 (Low Complexity Communication Codec)"),
+.p.type = AVMEDIA_TYPE_AUDIO,
+.p.id = AV_CODEC_ID_LC3,
+ .p.capabilities = AV_C
pkt->size);
+avio_write(s->pb, pkt->data, pkt->size);
+return 0;
+}
+
+const FFOutputFormat ff_lc3_muxer = {
+ .p.name= "lc3",
+.p.long_name = NULL_IF_CONFIG_SMALL("LC3 (Low Complexity Communication
Codec)"),
+.p.extensions = "lc3",
+.p.audio_codec = AV_CODEC_ID_LC3,
+.p.video_codec = AV_CODEC_ID_NONE,
+.p.flags = AVFMT_NOTIMESTAMPS,
+.init = lc3_init,
+.write_header = lc3_write_header,
+.write_packet = lc3_write_packet,
+};
--
2.44.0.478.gd926399ef9-goog
___
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".
You're right, I was not aware at all.
I have pushed a patch that does the job.
PTAL, thanks.
___
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-
d anywhere, but is under license fee.
So it makes sense to me to cover both as LC3.
_______
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@
ors if the encoder adds extra frames at the end).
On Sat, Mar 30, 2024 at 4:46 AM Paul B Mahol wrote:
>
>
> On Fri, Mar 29, 2024 at 6:30 PM Antoine Soulier via ffmpeg-devel <
> [email protected]> wrote:
>
>> A file format is described in Bluetooth SIG LC3 and E
ALIGN(par->height, 16) - par->height));
+} else if (par->codec_id == AV_CODEC_ID_AAC) {
+avio_w8(pb, 1); // AAC raw
+ } else if (par->codec_id == AV_CODEC_ID_H264 ||
+ par->codec_id == AV_CODEC_ID_MPEG4) {
+ av
->new_extradata_size[stream_type] = 0;
}
+} else if (multitrack
+ && flv->mt_extradata_cnt > track_idx
+ && flv->mt_extradata[track_idx]) {
+int ret = av_packet_add_side_data(pkt, AV_PKT_DATA_NEW_EXTRADATA,
+
> 8 && avctx->color_trc == AVCOL_TRC_SMPTE2084) {
> @@ -372,7 +374,6 @@ static int frame_data_submit(AVCodecContext *avctx,
> AVFifo *fifo,
> return AVERROR(ENOMEM);
> }
> }
> -#endif
>
> fd.duration = frame->duration;
sion= LIBAVUTIL_VERSION_INT,
+};
+
+const FFCodec ff_liblc3_encoder = {
+.p.name = "liblc3",
+CODEC_LONG_NAME("LC3 (Low Complexity Communication Codec)"),
+.p.type = AVMEDIA_TYPE_AUDIO,
+.p.id = AV_CODEC_ID_LC3,
+.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY,
+.p.ch_layouts = (const AVChannelLayout[])
+{ { AV_CHANNEL_ORDER_UNSPEC, 1 },
+ { AV_CHANNEL_ORDER_UNSPEC, 2 }, { 0 } },
+.p.supported_samplerates = (const int [])
+{ 96000, 48000, 32000, 24000, 16000, 8000, 0 },
+.p.sample_fmts = (const enum AVSampleFormat[])
+{ AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_NONE },
+.p.priv_class = &class,
+.p.wrapper_name = "liblc3",
+.priv_data_size = sizeof(LibLC3EncContext),
+.init = liblc3_encode_init,
+.close = liblc3_encode_close,
+FF_CODEC_ENCODE_CB(liblc3_encode),
+};
--
2.44.0.478.gd926399ef9-goog
___
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".
avio_wl16(s->pb, pkt->size);
+avio_write(s->pb, pkt->data, pkt->size);
+return 0;
+}
+
+const FFOutputFormat ff_lc3_muxer = {
+.p.name= "lc3",
+.p.long_name = NULL_IF_CONFIG_SMALL("LC3 (Low Complexity Communication
Codec)"),
+.p.exten
AG('m','d','t','a')) {
avio_skip(pb, key_size);
--
2.44.0.478.gd926399ef9-goog
___
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".
Thanks for the comments. I got rid of bytes_left_in_atom.
___
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject
PRIu32"\n", i, key_size);
return AVERROR_INVALIDDATA;
}
+atom.size -= key_size;
key_size -= 8;
if (type != MKTAG('m','d','t','a')) {
avio_skip(pb, key_size);
--
2.44.0.478.gd926399ef9-goog
__
)
eg. If the available capacity is 10GB and specify 80%, up to 8GB will be used.
___
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ
On Mon, Apr 1, 2024 at 11:29 AM Andreas Rheinhardt
wrote:
>
> James Zern via ffmpeg-devel:
> > On Sat, Mar 30, 2024 at 10:30 PM Andreas Rheinhardt
> > wrote:
> >>
> >> Signed-off-by: Andreas Rheinhardt
> >> ---
> >> libavcodec/libvpxenc.
case AOT_USAC_NOSBR:
if ((ret = decode_ga_specific_config(ac, avctx, gb, get_bit_alignment,
m4ac, m4ac->chan_config)) < 0)
return ret;
--
2.44.0.478.gd926399ef9-goog
_______
ffmpeg-devel m
muxer,
> but I had a feeling that maintainers will be less inclined to accept
> it and that's why I split it from this one.
> I will still try to send it if this patch is accepted.
>
>
> On Wed, Mar 27, 2024 at 4:59 PM James Almer wrote:
> >
> > On 3/27/2024 8:55 P
pos, duration;
int flags, size = sample->size;
@@ -9592,7 +9603,9 @@ static int mov_read_packet(AVFormatContext *s, AVPacket
*pkt)
}
if (!ret)
return FFERROR_REDO;
-} else
+}
+#endif
+else
ret = av_get_packet(sc->pb, pkt, sample->size);
if (ret < 0) {
if (should_retry(sc->pb, ret)) {
--
2.44.0.478.gd926399ef9-goog
___
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".
reed otherwise.
Regards,
Kieran Kunhya
On Wed, 3 Apr 2024, 16:52 Satter, Raphael (Reuters) via ffmpeg-devel, <
[email protected]> wrote:
> Dear FFMPEG community,
>
> This is Raphael Satter, a journalist with Reuters. I saw your thread on X
> about your experience with Mi
the rest of my thoughts. Microsoft are not the
only company with this attitude.
Regards,
Kieran Kunhya
>
>-
>
> Raphael
>
>
>
> *From:* Kieran Kunhya
> *Sent:* Wednesday, April 3, 2024 12:39 PM
> *To:* FFmpeg development discussions and patches
> *Cc:* Satter,
On Wed, Apr 3, 2024 at 3:47 PM Martin Storsjö wrote:
>
> This fixes assembling files starting with bare symbol declarations,
> without explicitly switching to .text first.
lgtm.
_______
ffmpeg-devel mailing list
[email protected]
https://f
hanks.
On Thu, Apr 4, 2024, 9:30 AM Andreas Rheinhardt <
[email protected]> wrote:
> Antoine Soulier via ffmpeg-devel:
> > A file format is described in Bluetooth SIG LC3 and ETSI TS 103 634, for
> > test purpose. This is the format implemented here.
> >
&g
amples, avpkt->duration);
*got_frame_ptr = 1;
--
2.44.0.478.gd926399ef9-goog
___
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".
return 0;
+}
+
+const FFOutputFormat ff_lc3_muxer = {
+.p.name= "lc3",
+.p.long_name = NULL_IF_CONFIG_SMALL("LC3 (Low Complexity Communication
Codec)"),
+.p.extensions = "lc3",
+.p.audio_codec = AV_CODEC_ID_LC3,
+.p.video_codec = AV_CODEC_ID_NONE,
+.p.flags = AVFMT_NOTIMESTAMPS,
+.init = lc3_init,
+.write_header = lc3_write_header,
+.write_packet = lc3_write_packet,
+};
--
2.44.0.478.gd926399ef9-goog
___
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".
samples);
+if (hr_mode)
+avio_wl16(s->pb, hr_mode);
+
+return 0;
+}
+
+static int lc3_write_packet(AVFormatContext *s, AVPacket *pkt)
+{
+ avio_wl16(s->pb, pkt->size);
+avio_write(s->pb, pkt->data, pkt->size);
+return 0;
+}
+
+const FFOutputFormat ff_lc3_muxer
On Sun, Apr 7, 2024 at 2:59 AM Vadim Guchenko wrote:
> +typedef DPI_AWARENESS_CONTEXT (__stdcall
> *set_thread_dpi_t)(DPI_AWARENESS_CONTEXT);
I believe most existing code uses WINAPI instead of __stdcall.
___
ffmpeg-devel mailing list
ffmpeg
D12_OBJECT_RELEASE(frame->texture);
D3D12_OBJECT_RELEASE(frame->sync_ctx.fence);
if (frame->sync_ctx.event)
--
2.44.0.windows.1
_______________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscrib
samples);
+if (hr_mode)
+avio_wl16(s->pb, hr_mode);
+
+return 0;
+}
+
+static int lc3_write_packet(AVFormatContext *s, AVPacket *pkt)
+{
+ avio_wl16(s->pb, pkt->size);
+avio_write(s->pb, pkt->data, pkt->size);
+return 0;
+}
+
+const FFOutputFormat ff_lc3_muxer
system whereas /usr/bin/env is
not ubiquitous, so that seems like a terrible idea that would achieve
the opposite result.
_______
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link
acket(AVFormatContext *s, AVPacket *pkt)
+{
+avio_wl16(s->pb, pkt->size);
+avio_write(s->pb, pkt->data, pkt->size);
+ return 0;
+}
+
+#if CONFIG_LC3_DEMUXER
+const FFInputFormat ff_lc3_demuxer = {
+ .p.name = "lc3",
+.p.long_name= NULL_IF_C
f (hr_mode)
+avio_wl16(s->pb, hr_mode);
+
+return 0;
+}
+
+static int lc3_write_packet(AVFormatContext *s, AVPacket *pkt)
+{
+avio_wl16(s->pb, pkt->size);
+avio_write(s->pb, pkt->data, pkt->size);
+return 0;
+}
+
+
+const FFOutputFormat ff_lc3_muxer = {
+
y end of
April. Once these are done and set, I'll post a patch for a news entry
which we can also put into the social media channels we have.
Cheers,
Thilo
[1] http://trac.ffmpeg.org/wiki/SponsoringPrograms/STF/2024#STFApplication
_______
ffmpeg-devel
Thanks.
On Fri, Apr 12, 2024 at 6:05 AM Stefano Sabatini wrote:
> On date Wednesday 2024-04-10 16:46:55 -0700, ffmpeg-devel Mailing List
> wrote:
> > Sure, I thought these warnings were disabled while looking at codec2.c
> > Sorry for the bad merge of t
pes and a video player.\n"
-"Example: ffmpeg -i INPUT -f nut -c:v rawvideo - | ffplay -\n"
+"Example: ffmpeg -i INPUT -f nut -c:v rawvideo - | ffplay
-loglevel warning -\n"
);
sdl->warned = 1;
}
--
hanks,
Thilo
___
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".
On Thu, Mar 28, 2024 at 7:10 AM Thilo Borgmann via ffmpeg-devel
wrote:
>
> From: Josef Zlomek
>
> Fixes: 4907
>
> Adds support for decoding of animated WebP.
>
> The WebP decoder adds the animation related features according to the specs:
> https://developers
s
Now with XMP metadata support (as string, like MOV)
Patch 5/8 is still there for making changes in lavc/webp reviewable but shall
be stashed when pushing.
-Thilo
Josef Zlomek (2):
libavcodec/webp: add support for animated WebP
libavformat/webp: add WebP demuxer
Thilo Borgmann via ffmpe
From: Thilo Borgmann via ffmpeg-devel
---
libavcodec/webp.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavcodec/webp.c b/libavcodec/webp.c
index dbcc5e73eb..3c153d78d1 100644
--- a/libavcodec/webp.c
+++ b/libavcodec/webp.c
@@ -60,8 +60,6 @@
#define VP8X_FLAG_ALPHA
From: Thilo Borgmann via ffmpeg-devel
---
libavcodec/webp.c | 50 +--
1 file changed, 44 insertions(+), 6 deletions(-)
diff --git a/libavcodec/webp.c b/libavcodec/webp.c
index 3c153d78d1..3075321e86 100644
--- a/libavcodec/webp.c
+++ b/libavcodec
From: Thilo Borgmann via ffmpeg-devel
Splits a packet containing a webp animations into
one non-compliant packet per frame of the animation.
Skips RIFF and WEBP chunks for those packets except
for the first. Copyies ICC, EXIF and XMP chunks first
into each of the packets except for the first
13 +2137,52 @@ static av_cold int webp_decode_close(AVCodecContext
*avctx)
WebPContext *s = avctx->priv_data;
av_packet_free(&s->pkt);
+ff_thread_release_ext_buffer(&s->canvas_frame);
+av_frame_free(&s->canvas_frame.f);
+av_frame_free(&s->frame);
avcodec_free_context(&s->avctx_vp8);
-if (s->initialized)
-return ff_vp8_decode_free(avctx);
+return 0;
+}
+
+static void webp_decode_flush(AVCodecContext *avctx)
+{
+WebPContext *s = avctx->priv_data;
+
+ff_thread_release_ext_buffer(&s->canvas_frame);
+}
+
+#if HAVE_THREADS
+static int webp_update_thread_context(AVCodecContext *dst, const
AVCodecContext *src)
+{
+WebPContext *wsrc = src->priv_data;
+WebPContext *wdst = dst->priv_data;
+int ret;
+
+if (dst == src)
+return 0;
+
+ff_thread_release_ext_buffer(&wdst->canvas_frame);
+if (wsrc->canvas_frame.f->data[0] &&
+(ret = ff_thread_ref_frame(&wdst->canvas_frame, &wsrc->canvas_frame))
< 0)
+return ret;
+
+wdst->vp8x_flags = wsrc->vp8x_flags;
+wdst->canvas_width= wsrc->canvas_width;
+wdst->canvas_height = wsrc->canvas_height;
+wdst->prev_anmf_flags = wsrc->anmf_flags;
+wdst->prev_width = wsrc->width;
+wdst->prev_height = wsrc->height;
+wdst->prev_pos_x = wsrc->pos_x;
+wdst->prev_pos_y = wsrc->pos_y;
+wdst->await_progress = wsrc->await_progress + 1;
+
+memcpy(wdst->background_argb, wsrc->background_argb,
sizeof(wsrc->background_argb));
+memcpy(wdst->background_yuva, wsrc->background_yuva,
sizeof(wsrc->background_yuva));
return 0;
}
+#endif
const FFCodec ff_webp_decoder = {
.p.name = "webp",
@@ -1603,9 +2190,12 @@ const FFCodec ff_webp_decoder = {
.p.type = AVMEDIA_TYPE_VIDEO,
.p.id = AV_CODEC_ID_WEBP,
.priv_data_size = sizeof(WebPContext),
+UPDATE_THREAD_CONTEXT(webp_update_thread_context),
.init = webp_decode_init,
FF_CODEC_DECODE_CB(webp_decode_frame),
.close = webp_decode_close,
+.flush = webp_decode_flush,
+.bsfs = "awebp2webp",
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
-.caps_internal = FF_CODEC_CAP_ICC_PROFILES,
+.caps_internal = FF_CODEC_CAP_ICC_PROFILES |
FF_CODEC_CAP_ALLOCATE_PROGRESS,
};
--
2.43.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".
From: Thilo Borgmann via ffmpeg-devel
---
libavcodec/webp.c | 142 +++---
1 file changed, 70 insertions(+), 72 deletions(-)
diff --git a/libavcodec/webp.c b/libavcodec/webp.c
index f882c3e187..4a244c1b67 100644
--- a/libavcodec/webp.c
+++ b/libavcodec
less
@@ -1,4 +1,4 @@
-#tb 0: 1/25
+#tb 0: 1/10
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 12x8
diff --git a/tests/ref/fate/webp-rgb-lossless-palette-predictor
b/tests/ref/fate/webp-rgb-lossless-palette-predictor
index 92a4ad9810..65537f7ed1 100644
--- a/tests/ref/fate/webp-rgb
From: Thilo Borgmann via ffmpeg-devel
---
tests/fate/image.mak | 3 +++
tests/ref/fate/webp-anim | 22 ++
2 files changed, 25 insertions(+)
create mode 100644 tests/ref/fate/webp-anim
diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index 753936ec20
From: Thilo Borgmann via ffmpeg-devel
---
libavcodec/webp.c | 42 --
1 file changed, 36 insertions(+), 6 deletions(-)
diff --git a/libavcodec/webp.c b/libavcodec/webp.c
index 4a244c1b67..35851ef3da 100644
--- a/libavcodec/webp.c
+++ b/libavcodec/webp.c
On 17.04.24 19:30, James Zern via ffmpeg-devel wrote:
On Thu, Mar 28, 2024 at 7:10 AM Thilo Borgmann via ffmpeg-devel
wrote:
From: Josef Zlomek
Fixes: 4907
Adds support for decoding of animated WebP.
The WebP decoder adds the animation related features according to the specs:
https
On 17.04.24 21:19, Thilo Borgmann via ffmpeg-devel wrote:
From: Thilo Borgmann via ffmpeg-devel
Splits a packet containing a webp animations into
one non-compliant packet per frame of the animation.
Skips RIFF and WEBP chunks for those packets except
for the first. Copyies ICC, EXIF and XMP
not having followed the November announcement and subsequent
posts too closely, lead to even more suspicion.
So, Devin, as I told you earlier, thank you very much for your mail - in case
that would have actually been some sort of misuse of our name, we’d totally
want to
become aware of.
Tha
On Wed, Apr 17, 2024 at 12:20 PM Thilo Borgmann via ffmpeg-devel
wrote:
>
> From: Thilo Borgmann
>
> Marked WIP because we'd want to introduce private bsf's first; review
> welcome before that though
> VP8 decoder decoupled again
> The whole animated sequ
Hi,
On 17.04.24 00:52, James Zern via ffmpeg-devel wrote:
On Wed, Apr 17, 2024 at 12:20 PM Thilo Borgmann via ffmpeg-devel
wrote:
From: Thilo Borgmann
Marked WIP because we'd want to introduce private bsf's first; review
welcome before that though
VP8 decoder decoupled again
On Thu, Apr 18, 2024 at 11:21 AM Thilo Borgmann via ffmpeg-devel
wrote:
>
> Hi,
>
> On 17.04.24 00:52, James Zern via ffmpeg-devel wrote:
> > On Wed, Apr 17, 2024 at 12:20 PM Thilo Borgmann via ffmpeg-devel
> > wrote:
> >>
> >> From: Thilo Borgmann
h with us.
But since they are doing things like DRM we reject doing at FFmpeg, GPAC
currently is a valid downstream project adding 'value' of some kind to
their users beyond what FFmpeg can provide.
Not surprising, since we are a library and literally every user will add
some value
s by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
_______
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/
:20 GMT+08:00, Thilo Borgmann via ffmpeg-devel
a écrit :
Hi,
On 21.04.24 10:47, Rémi Denis-Courmont wrote:
Hi,
I have been dragged privately into this issue so for the sake of transparency,
I will just sum up my side here.
Le 17 avril 2024 07:21:18 GMT+08:00, Devin Heitmueller
a écrit
git:*|https:*) git fetch --quiet --force && git reset --quiet --hard
> "origin/$branch" ;;
> esac
> )
Should be OK if tested to work with both git and https URLs in repo.
Alexander
___
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".
On 2024-04-24 22:26 +0200, Timo Rothenpieler wrote:
> On 24.04.2024 22:12, Alexander Strasser via ffmpeg-devel wrote:
> > On 2024-04-24 22:01 +0200, Timo Rothenpieler wrote:
> > > ---
> > > tests/fate.sh | 4 ++--
> > > 1 file changed, 2 insertions(+), 2 d
ayer.\n"
-"Example: ffmpeg -i INPUT -f nut -c:v rawvideo - | ffplay -\n"
+"Example: ffmpeg -i INPUT -f nut -c:v rawvideo - | ffplay
-loglevel warning -vf setpts=0 -\n"
);
sdl->warned = 1;
}
--
_
to get it fixed, an improved suggestion in
the deprecation message seems better than what we have now.
Alexander
_______________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or
}; END { print "" }'\'' > $(@:.o=.d)'
> +
> +else
> +_DEPCMD='$(DEP$(1)) $(DEP$(1)FLAGS) $($(1)DEP_FLAGS) $< 2>&1 |
> awk '\''/including/ { sub(/^.*file: */, ""); gsub(/\\/, "/"); if (!
m the students on the list, please help reviewing!
Thanks,
Thilo
___
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with su
> On Mar 25, 2024, at 1:49 AM, Andrea Mastroberti via ffmpeg-devel
> wrote:
>
> Signed-off-by: Andrea Mastroberti <[email protected]>
> ---
> doc/filters.texi | 20 -
> libavfilter/version.h | 2 +-
> l
ed to install Net::SMTP::SSL on a new machine.
Lastly you need to figure out how to integrate git with keychain on your
particular platform to avoid having your email password in a plaintext file.
- Cosmin
_______________
ffmpeg-devel mailing list
ffmpeg-devel@
to see
if those
that insist on sticking with the CLI can use one of the existing CLI based
workflows.
- Cosmin
_______
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".
ntly and securely to billions worldwide
everyday.
+
+
April 5th, 2024, FFmpeg 7.0 "Dijkstra"
A new major release, FFmpeg 7.0
"Dijkstra",
--
2.39.3 (Apple Git-146)
_______
ffmpeg-devel mailing list
[email protected]
Am 14.05.24 um 19:14 schrieb J. Dekker:
Thilo Borgmann via ffmpeg-devel writes:
---
This text including the link is also meant to be published via our socal media.
src/index | 8
1 file changed, 8 insertions(+)
diff --git a/src/index b/src/index
index d035ffa..83cc9bf 100644
// sample 0 on every seek.
> +if (!can_seek_to_key_sample(st, requested_sample, next_ts)
> && sample != requested_sample)
> +break;
> +
> +timestamp = next_ts;
> }
>
> mov_current_sample_set(sc, sample);
LGTM.
I know it's been a _long time_ since you f
ream info");
+}
+ }
return AVERROR_EOF;
}
#endif
@@ -681,7 +727,6 @@ static av_cold int eb_enc_close(AVCodecContext *avctx)
svt_metadata_array_free(&svt_enc->in_buf->metadata);
av_freep(&svt_enc->in_buf);
}
-
av_buffer_pool_uninit(&svt_enc-&
On 15.05.24 18:39, Rémi Denis-Courmont wrote:
Le tiistaina 14. toukokuuta 2024, 20.12.31 EEST Thilo Borgmann via ffmpeg-devel
a écrit :
---
This text including the link is also meant to be published via our socal
media.
src/index | 8
1 file changed, 8 insertions(+)
diff --git a
(VPX_ENCODER_ABI_VERSION >= 12) && CONFIG_LIBVPX_VP9_ENCODER
--
2.39.2
_______________
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".
mments will be fixed in V2.
/Fredrik
_______
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".
checked. Unchecked calls are however found in many
places, f.ex. libaomenc, librav1e, and matroskadec. IMO it should be consistent
across the code base, and thus stay as is in this patch.
/Fredrik
_______
ffmpeg-devel mailing list
[email protected]
On 15.05.24 20:51, Thilo Borgmann via ffmpeg-devel wrote:
On 15.05.24 18:39, Rémi Denis-Courmont wrote:
Le tiistaina 14. toukokuuta 2024, 20.12.31 EEST Thilo Borgmann via
ffmpeg-devel
a écrit :
---
This text including the link is also meant to be published via our socal
media.
src
> +
> + priv->nb_packets++;
> +
> +return 0;
> +}
> +}
It's late here and I surely must be missing something. Anyway,
why do we use a while loop here?
Best regards,
Alexander
[...]
___
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".
On Sat, Feb 10, 2024 at 12:22 AM Dariusz Marcinkiewicz via
ffmpeg-devel wrote:
>
> This exposes VP8E_SET_SCREEN_CONTENT_MODE option from libvpx.
>
> Co-authored-by: Erik Språng
> Signed-off-by: Dariusz Marcinkiewicz
> ---
> doc/encoders.texi | 3 +++
> lib
On Sun Feb 11, 2024 at 10:15 AM EST, Lynne wrote:
> From: Lynne
> Date: Fri, 19 Jan 2024 10:49:02 +1000
> Subject: [PATCH v4 2/2] lavc/vulkan_av1: port to the new stable API
>
> Most of this patch was written by Dave Airlie ,
> with some additions by me.
> ---
> configure
"
#define LIBAVCODEC_VERSION_MINOR 39
-#define LIBAVCODEC_VERSION_MICRO 100
+#define LIBAVCODEC_VERSION_MICRO 101
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \
--
2.43.0.687.g38aa6559b0-goog
__
es?
https://gist.github.com/rcombs/c2ad470bf36c5cbd3fc33e699330eb15
Alternately, we could set -text on all fate ref files, or explicitly set eol=of
for them, to ensure their line endings never get rewritten like this regardless
of git config. I think either of these solutions would fix this in fate, but
on
1401 - 1500 of 3425 matches
Mail list logo