On 4/8/19 7:37 PM, Andreas Rheinhardt via ffmpeg-devel wrote:
> Karthick J via ffmpeg-devel:
>> ---
>> libavformat/dashenc.c | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
>&
deo) {
> +c->nr_of_streams_flushed++;
> +if (c->nr_of_streams_flushed != c->nr_of_streams_to_flush)
> +return ret;
> +
> +c->nr_of_streams_flushed = 0;
> +}
> ret = write_manifest(s, final);
>
the first megabyte of the
>>> file still returned from API? Maybe they are being cached somewhere and I
>>> did not notice.
>>>
>>
>> As far as I know, the packets read during stream info probing are
>> being cached in a buffer and returned to the caller
Jeyapal, Karthick:
>
> On 4/8/19 7:37 PM, Andreas Rheinhardt via ffmpeg-devel wrote:
>> Karthick J via ffmpeg-devel:
>>> ---
>>> libavformat/dashenc.c | 4 ++--
>>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>>
>>> diff --git
nly for HEVC, but for other
codecs as well. E.g. #6903 is about the H.264 analogue of this where
remuxing fails because the a PES packet contained two separately coded
fields the second of which lacked timestamps.
- Andreas
_______
ffmpeg-devel mailing list
ffm
_get_frame_filename(filename, MAX_FILENAME_SIZE,
s->url, wc->chunk_index - 1) < 0) {
--
2.19.2
_______
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe
gt;duration_written += av_rescale_q(pkt->pts - wc->prev_pts,
+ st->time_base,
+ (AVRational) {1, 1000});
wc->prev_pts = pkt->pts;
}
--
2.19.2
_______
ffmpeg-deve
gt;dts, pkt->duration, flags);
+av_log(s, AV_LOG_DEBUG, "Writing block at relative offset %" PRId64 " in "
+ "cluster at offset %" PRId64 "; size %d, pts %" PRId64 ", dts %"
PRId64
+ ", duration %" PRId64 ",
ing the output
> +av_log(s, AV_LOG_WARNING, "One or more streams in WebM
> output format. Streaming option will be ignored\n");
> +c->streaming = 0;
> +}
> }
>
> ctx->oformat = av_guess_format(os->for
of_streams_flushed != c->nr_of_streams_to_flush)
return ret;
--
2.20.1 (Apple Git-117)
_______
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above,
t; +Flag to enable or disable the use of global motion for block prediction.
> +The default value is true.
> +
> +@item enable-intrabc @var{boolean}
> +Flag to enable or disable block copy mode for intra block prediction.
> This mode is
> +useful for screen content. The default va
t->index, st->id);
/* update flags */
if (st->codecpar->codec_type == AVMEDIA_TYPE_DATA ||
is_intra_only(st->codecpar->codec_id))
--
1.7.10.4
_______
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".
puts_done = 1;
return 0;
+}
} else if (ost->filter) {
int i;
for (i = 0; i < ost->filter->graph->nb_inputs; i++) {
--
1.7.10.4
___________
ffmpeg-devel mailing list
[email protected]
https://ffmpe
), st->index, st->id);
/* update flags */
if (st->codecpar->codec_type == AVMEDIA_TYPE_DATA ||
is_intra_only(st->codecpar->codec_id))
--
1.7.10.4
_______
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".
ch/12783/
So, please, mark it as superseded.
Regards.
A.H.
Note: The second part is that:
https://patchwork.ffmpeg.org/patch/12791/
Only as reference.
.
___________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg
/* pcr insert gets priority over null packet insert */
if (write_pcr)
mpegts_insert_pcr_only(s, st);
else
mpegts_insert_null_packet(s);
+last_payload_size = payload_size;
/* recalculate write_pcr and possibly retransmit si_
(avctx->codec_id == AV_CODEC_ID_H264) {
av_log(avctx, AV_LOG_VERBOSE, "Entropy coding: %s;
MaxDecFrameBuffering: %"PRIu16"\n",
--
1.7.10.4
___________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailma
> On Wed, Apr 17, 2019 at 08:28:39PM +, Andreas Håkon via ffmpeg-devel
> wrote:
>
> > This patch solves the initialization of the inputs when using filters (a
> > graph filter) with the mpegts muxer.
> > This bug seems to be generated by a simple forgetting to
‐‐‐ Original Message ‐‐‐
On Thursday, 18 de April de 2019 13:14, Andreas Håkon
wrote:
> > On Wed, Apr 17, 2019 at 08:28:39PM +, Andreas Håkon via ffmpeg-devel
> > wrote:
> >
> > > This patch solves the initialization of the inputs when using filters (
fine APE_TAG_FLAG_CONTAINS_HEADER (1U << 31)
+#define APE_TAG_FLAG_LACKS_FOOTER (1U << 30)
+#define APE_TAG_FLAG_IS_HEADER(1U << 29)
+#define APE_TAG_FLAG_IS_BINARY(1U << 1)
static int ape_tag_read_field(AVFormatContext *s)
{
--
2.21.0.392.gf8f678715
> > +#define APE_TAG_FLAG_CONTAINS_HEADER (1U << 31)
>
> Isn't it enough with this one only?
Yes, only APE_TAG_FLAG_CONTAINS_HEADER is problematic. I changed all
of them because the tags are only used in unsigned contexts anyway.
_____
‐‐‐ Original Message ‐‐‐
On Thursday, 18 de April de 2019 22:13, Michael Niedermayer
wrote:
> On Thu, Apr 18, 2019 at 07:46:43AM +, Andreas Håkon via ffmpeg-devel
> wrote:
>
> > Hi,
> > This is the second part of my previous patch:
> > https://patch
return 0;
+}
} else if (ost->filter) {
int i;
for (i = 0; i < ost->filter->graph->nb_inputs; i++) {
--
1.7.10.4
___
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/f
‐‐‐ Original Message ‐‐‐
On Thursday, 18 de April de 2019 11:01, Andreas Håkon via ffmpeg-devel
wrote:
> Hi,
>
> This patch resolves one very specific use case:
>
> - When you use the mpegts muxer;
> - And use the global parameter “-copyts”;
> - And use th
;= INT_MAX - sc->nb_frames_for_fps
) {
sc->duration_for_fps += duration;
sc->nb_frames_for_fps += total_sample_count;
--
2.21.0.593.g511ec345e18-goog
--- End Message ---
___________
ffmpeg-devel mailing list
[email protected]
https://f
NT);
>> +}
>> return mpegts_write_packet_internal(s, pkt);
>> }
>> }
>>
>
> So I've created a patch for this.
>
> <0001-mpegtsenc-added-support-for-the-write_data_type-call.patch>
Ping, for this really trivial patch.
___
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".
2.17.2 (Apple Git-113)
_______
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".
","set list of options for the container format
(mp4/webm) used for dash", OFFSET(format_options_str), AV_OPT_TYPE_STRING,
{.str = NULL}, 0, 0, E},
+{ "global_sidx", "Write global SIDX atom. Applicable only for single file,
mp4 output, non-streaming mode", OFFSET(global_sidx), AV_OPT_TYPE_BOOL, { .i64
= 0 }, 0, 1, E },
{ "dash_segment_type", "set dash segment files type",
OFFSET(segment_type_option), AV_OPT_TYPE_INT, {.i64 = SEGMENT_TYPE_AUTO }, 0,
SEGMENT_TYPE_NB - 1, E, "segment_type"},
{ "auto", "select segment file format based on codec", 0,
AV_OPT_TYPE_CONST, {.i64 = SEGMENT_TYPE_AUTO }, 0, UINT_MAX, E,
"segment_type"},
{ "mp4", "make segment file in ISOBMFF format", 0, AV_OPT_TYPE_CONST,
{.i64 = SEGMENT_TYPE_MP4 }, 0, UINT_MAX, E, "segment_type"},
--
2.17.2 (Apple Git-113)
___
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".
atch is your one to h264_redundant_pps.
>
> - Mark
> _______
> ffmpeg-devel mailing list
> [email protected]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
Ticket #7807 has just been opened about this, so ping for this whole
patchset.
(Of course, a reference to ticke
..4b94b73
> --- /dev/null
> +++ b/libavfilter/vf_crop_cuda.cu
> @@ -0,0 +1,109 @@
> +/*
> + * Copyright (c) 2019, iQIYI CORPORATION. All rights reserved.
> + *
> + * Permission is hereby granted, free of charge, to any person
> obtaining a
> + * copy of this software and associated documentation files (the
> "Software"),
> + * to deal in the Software without restriction, including without
> limitation
> + * the rights to use, copy, modify, merge, publish, distribute,
> sublicense,
> + * and/or sell copies of the Software, and to permit persons to whom
> the
> + * Software is furnished to do so, subject to the following
> conditions:
> + *
> + * The above copyright notice and this permission notice shall be
> included in
> + * all copies or substantial portions of the Software.
> + *
> + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> EXPRESS OR
> + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> MERCHANTABILITY,
> + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
> EVENT SHALL
> + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
> OR OTHER
> + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
> ARISING
> + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
> OTHER
> + * DEALINGS IN THE SOFTWARE.
> + */
> +
> +extern "C" {
> +
> +__global__ void Crop_uchar(cudaTextureObject_t uchar_tex,
> + unsigned char *dst,
> + int dst_width, int dst_height, int
> dst_pitch,
> + int left, int top)
> +{
> +int xo = blockIdx.x * blockDim.x + threadIdx.x;
> +int yo = blockIdx.y * blockDim.y + threadIdx.y;
> +int xi = xo + left;
> +int yi = yo + top;
> +
> +if (yo < dst_height && xo < dst_width)
> +dst[yo*dst_pitch+xo] = (unsigned char) tex2D char>(uchar_tex, xi, yi); +}
> +
> +__global__ void Crop_uchar2(cudaTextureObject_t uchar2_tex,
> +uchar2 *dst,
> +int dst_width, int dst_height, int
> dst_pitch,
> +int left, int top)
> +{
> +int xo = blockIdx.x * blockDim.x + threadIdx.x;
> +int yo = blockIdx.y * blockDim.y + threadIdx.y;
> +int xi = xo + left;
> +int yi = yo + top;
> +
> +if (yo < dst_height && xo < dst_width)
> +dst[yo*dst_pitch+xo] = (uchar2) tex2D(uchar2_tex,
> xi, yi); +}
> +
> +__global__ void Crop_uchar4(cudaTextureObject_t uchar4_tex,
> +uchar4 *dst,
> +int dst_width, int dst_height, int
> dst_pitch,
> +int left, int top)
> +{
> +int xo = blockIdx.x * blockDim.x + threadIdx.x;
> +int yo = blockIdx.y * blockDim.y + threadIdx.y;
> +int xi = xo + left;
> +int yi = yo + top;
> +
> +if (yo < dst_height && xo < dst_width)
> +dst[yo*dst_pitch+xo] = (uchar4) tex2D(uchar4_tex,
> xi, yi); +}
> +
> +__global__ void Crop_ushort(cudaTextureObject_t ushort_tex,
> +unsigned short *dst,
> +int dst_width, int dst_height, int
> dst_pitch,
> +int left, int top)
> +{
> +int xo = blockIdx.x * blockDim.x + threadIdx.x;
> +int yo = blockIdx.y * blockDim.y + threadIdx.y;
> +int xi = xo + left;
> +int yi = yo + top;
> +
> +if (yo < dst_height && xo < dst_width)
> +dst[yo*dst_pitch+xo] = (unsigned short) tex2D short>(ushort_tex, xi, yi); +}
> +
> +__global__ void Crop_ushort2(cudaTextureObject_t ushort2_tex,
> + ushort2 *dst,
> + int dst_width, int dst_height, int
> dst_pitch,
> + int left, int top)
> +{
> +int xo = blockIdx.x * blockDim.x + threadIdx.x;
> +int yo = blockIdx.y * blockDim.y + threadIdx.y;
> +int xi = xo + left;
> +int yi = yo + top;
> +
> +if (yo < dst_height && xo < dst_width)
> +dst[yo*dst_pitch+xo] = (ushort2) tex2D(ushort2_tex,
> xi, yi); +}
> +
> +__global__ void Crop_ushort4(cudaTextureObject_t ushort4_tex,
> + ushort4 *dst,
> + int dst_width, int dst_height, int
> dst_pitch,
> + int left, int top)
> +{
> +int xo = blockIdx.x * blockDim.x + threadIdx.x;
> +int yo = blockIdx.y * blockDim.y + threadIdx.y;
> +int xi = xo + left;
> +int yi = yo + top;
> +
> +if (yo < dst_height && xo < dst_width)
> +dst[yo*dst_pitch+xo] = (ushort4) tex2D(ushort4_tex,
> xi, yi); +}
> +
> +}
--phil
___
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".
> +frame->data[0] += s->x * s->max_step[0];
> +
> +if (!(desc->flags & AV_PIX_FMT_FLAG_PAL || desc->flags &
> FF_PSEUDOPAL)) {
> +for (i = 1; i < 3; i ++) {
> +if (frame->data[i]) {
> +
On Mon, Mar 25, 2024 at 4:01 PM Andreas Rheinhardt
wrote:
>
> Right, it is an anonymous enum, not union. Amended locally.
>
> - Andreas
Can confirm this eliminates the warnings, lgtm.
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmp
AV_PIX_FMT_YUV411P, AV_PIX_FMT_YUV410P,
+AV_PIX_FMT_YUV440P, AV_PIX_FMT_GRAY8,
AV_PIX_FMT_NONE
};
@@ -162,6 +180,7 @@ static int config_props(AVFilterLink *inlink)
AV_CEIL_RSHIFT(inlink->w, s->hsub),
AV_CEIL_RSHIFT(inlink->
6 +280,13 @@ static int filter_frame(AVFilterLink *inlink, AVFrame
*inpic)
s->chroma.filter_context);
}
+if (inpic->data[3]) {
+ blur(outpic->data[3], outpic->linesize[3],
+ inpic->data[3], inpic->linesize[3],
+ inlink->
Will apply.
___
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".
100644
>> --- a/libavutil/timestamp.h
>> +++ b/libavutil/timestamp.h
>> @@ -62,6 +62,14 @@ static inline char *av_ts_make_string(char *buf, int64_t
>> ts)
>> * @param tb the timebase of the timestamp
>> * @return the buffer in input
>> */
>> +char *
t; lc3.h
lc3_hr_setup_encoder
enabled liblensfun && require_pkg_config liblensfun lensfun lensfun.h
lf_db_create
if enabled libmfx && enabled libvpl; then
--
2.44.0.396.g6e790dbe36-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".
VUTIL_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
= lc3_init,
+.write_header = lc3_write_header,
+.write_packet = lc3_write_packet,
+};
+
+const FFOutputFormat ff_lc3_plus_muxer = {
+.p.name = "lc3_plus",
+.p.long_name = NULL_IF_CONFIG_SMALL(
+ "LC3Plus (Low Complexity Communication Codec plus)"
ication Codec audio.
+ETSI TS 103 634 Low Complexity Communication Codec plus (LC3plus).
+
@item m4v @emph{video}
MPEG-4 Part 2 video
--
2.44.0.396.g6e790dbe36-goog
_______
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listin
___
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".
(this stage is completely removed), but
cannot run in-place.
Benchmarks I made show that it runs slightly faster.
On Tue, Mar 26, 2024 at 9:59 AM Paul B Mahol wrote:
>
> Isn't this using sub-optimal MDCT implementation?
>
_______
ffmpeg-devel
Arf, sorry for that. I used `git send-email -s`, perhaps it's the source of
the double signed-off.
On Tue, Mar 26, 2024 at 10:32 AM Stefano Sabatini
wrote:
> On date Tuesday 2024-03-26 16:47:35 +, ffmpeg-devel Mailing List wrote:
>
> > Signed-off-by: Antoine Soulier
d with what?
> Where is at least x86 SIMD for that MDCT?
>
>
>>
>> On Tue, Mar 26, 2024 at 9:59 AM Paul B Mahol wrote:
>>
>>>
>>> Isn't this using sub-optimal MDCT implementation?
>>>
>>
__
onstant "1000.f" are already defined elsewhere.
On Tue, Mar 26, 2024 at 10:49 AM Stefano Sabatini
wrote:
> On date Tuesday 2024-03-26 16:47:36 +, ffmpeg-devel Mailing List wrote:
> > The LC3 audio codec is the default codec of Bluetooth LE audio.
> > This i
.
On Tue, Mar 26, 2024 at 11:28 AM Andreas Rheinhardt <
[email protected]> wrote:
> Antoine Soulier via ffmpeg-devel:
> > The LC3 audio codec is the default codec of Bluetooth LE audio.
> > This is a wrapper over the liblc3 library (
> https://github.com/google
&& 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
,
+.p.id = AV_CODEC_ID_LC3,
+.p.capabilities = AV_CODEC_CAP_DR1,
+.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.396.g6e790dbe36-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".
;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.au
a single @code{lc3} audio stream.
+
@section matroska
Matroska container muxer.
--
2.44.0.396.g6e790dbe36-goog
_______
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above,
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.396.g6e790dbe36-goog
___
ffmpeg-devel mailing list
ffmpeg
me.
___
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".
codec allows you to freely change the size on frame basis.
But it's not used in this way, ack.
_______
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel
Hi,
we found this when testing with rejected RTMP streams.
Best
Armin
0001-avformat-rtmpproto-Fix-segfault.patch
Description: Binary data
___
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To
AV_FRAME_DATA_DYNAMIC_HDR_PLUS);
> +
> +if (sd) {
> +fd.hdr10_plus = av_buffer_ref(sd->buf);
> + if (!fd.hdr10_plus)
> +return AVERROR(ENOMEM);
> + }
> }
> #endif
>
> --
> 2.40.1
>
> __
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
1401 - 1500 of 3580 matches
Mail list logo