reading changes
2. It is questioned why a feature that exists for over a decade is there
I hope this can get back on a more constructive rail. Otherwise
I fear it just sets precedence for more to come :(
Alexander
_______
ffmpeg-devel mailing list
ffmpeg-
FF_CODEC_CAP_ICC_PROFILES | FF_CODEC_CAP_EOF_FLUSH,
>
>
> Why FF_CODEC_CAP_EOF_FLUSH?
So the encoder receives a NULL after the last frame has been submitted,
so JxlEncoderCloseInput can be called and the final frame properly emitted.
___
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".
)
___
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".
)
___
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".
gt;flags2 = avctx->flags2;
+s->avctx_vp8->pix_fmt = avctx->pix_fmt;
+ret = avcodec_open2(s->avctx_vp8, codec, NULL);
+if (ret < 0) {
+return ret;
+}
return 0;
}
@@ -1546,12 +2136,52 @@ static av_cold int webp_decode_close(AVCodecContext
*avctx)
W
ions 0: 128x128
diff --git a/tests/ref/fate/webp-rgb-lossless b/tests/ref/fate/webp-rgb-lossless
index 8dbdfd6887..1db3ce70f7 100644
--- a/tests/ref/fate/webp-rgb-lossless
+++ b/tests/ref/fate/webp-rgb-lossless
@@ -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-lossy-q80
b/tests/ref/fate/webp-rgb-lossy-q80
index f61d75ac13..cd43415b95 100644
--- a/tests/ref/fate/webp-rgb-lossy-q80
+++ b/tests/ref/fate/webp-rgb-lossy-q80
@@ -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-rgba-lossless
b/tests/ref/fate/webp-rgba-lossless
index bb654ae442..2f763c6c46 100644
--- a/tests/ref/fate/webp-rgba-lossless
+++ b/tests/ref/fate/webp-rgba-lossless
@@ -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-rgba-lossy-q80
b/tests/ref/fate/webp-rgba-lossy-q80
index d2c2aa3fce..6b114f772e 100644
--- a/tests/ref/fate/webp-rgba-lossy-q80
+++ b/tests/ref/fate/webp-rgba-lossy-q80
@@ -1,4 +1,4 @@
-#tb 0: 1/25
+#tb 0: 1/10
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 12x8
--
2.37.1 (Apple Git-137.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".
oma_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.37.1 (Apple Git-137.1)
___
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".
)
___
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".
On Friday, December 15th, 2023 at 10:12 PM, Leo Izen wrote:
> On 12/15/23 11:40, Zsolt Vadász via ffmpeg-devel wrote:
>
> > On Friday, December 15th, 2023 at 12:20 AM, Leo Izen [email protected]
> > wrote:
> >
> > > > + AVFrame *last;
> > >
Am 15.12.23 um 15:17 schrieb Andreas Rheinhardt:
Thilo Borgmann via ffmpeg-devel:
---
Changelog| 1 +
MAINTAINERS | 1 +
doc/filters.texi | 33 +
libavfilter/Makefile | 1 +
libavfilter/allfilters.c | 1 +
libavfilter/version.h
Synchronize video frames with an external mapping from a file.
Follows up on the idea in
https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2023-January/305986.html
implemented as a filter.
Not storing the frame map in a probably huge string but buffering
piece-wise. Using a fixed format string
;buf + BUF_SIZE;
+s->buf[BUF_SIZE] = '\0';
+
+ret = buf_fill(s);
+if (ret < 0)
+return ret;
+
+
+return 0;
+}
+
+static av_cold void fsync_uninit(AVFilterContext *ctx)
+{
+FsyncContext *s = ctx->priv;
+
+avio_closep(&s->avio_ctx);
+av_freep(&s->buf);
+av
56, 56,1, 115200, 0xe00dd55d
--
2.37.1 (Apple Git-137.1)
___
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected]
attempted to find if this routine is used elsewhere or if it might
have undesirable results. If there is further effort you would like me to make
before you will consider the change, please let me know and I can see what I
can do.
Thank you,
Allan Cady
Seattle WA
____
results for each CPU target
(ignoring the highest and lowest time).
https://patchwork.ffmpeg.org/patch/12325/
Thanks… -Mike
___
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link
fi.silence_end=123769.584
lavfi.silence_duration=4.173
This gives me the output I want.
Thank you,
Allan Cady
Seattle WA
0001-Fix-loss-of-precision-for-silencedetect-on-large-fil.patch
Description: Binary data
_______
ffmpeg-devel mailing list
[email protected]
h
+--
2 files changed, 280 insertions(+), 258 deletions(-)
--
2.19.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".
kip_to_keyframe = 0;
--
2.19.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".
+ read is the length of the cluster id and the cluster length
field.
+cluster_pos += 4 + read + cluster_length;
if (!(pkt->flags & AV_PKT_FLAG_KEY)) {
rv = 0;
break;
--
2.19.2
___
ffmpeg-devel mailing li
if (size <= total) {
res = AVERROR_INVALIDDATA;
--
2.19.2
_______
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@f
-
2.19.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".
matroska->current_cluster.timecode,
--
2.19.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".
troska->ctx->pb) - 4;
matroska_execute_seekhead(matroska);
if (!matroska->time_scale)
--
2.19.2
___________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-
r);
+ebml_free(matroska_cluster_parsing, &matroska->current_cluster);
ebml_free(matroska_segment, matroska);
return 0;
--
2.19.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".
tatic int matroska_read_close(AVFormatContext *s)
for (n = 0; n < matroska->tracks.nb_elem; n++)
if (tracks[n].type == MATROSKA_TRACK_TYPE_AUDIO)
av_freep(&tracks[n].audio.buf);
-ebml_free(matroska_cluster_parsing, &matroska->current_cluster);
is
// inclusive and the above sum is reduced by 1.
uint64_t cues_length = 0, cues_id = 0, bytes_read = 0;
-bytes_read += ebml_read_num(matroska, matroska->ctx->pb, 4, &cues_id);
+bytes_read += ebml_read_num(matroska, matroska->ctx->pb, 4, &cu
arse_id(matroska, syntax->def.n, id, data);
case EBML_STOP:
return 1;
default:
--
2.19.2
___________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
nd unknown-sized element other than a cluster at "
+ "0x%"PRIx64". Dropping the invalid element.\n", pos);
return AVERROR_INVALIDDATA;
}
}
--
2.19.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".
l(pb);
if (level->length != EBML_UNKNOWN_LENGTH &&
(pos + length) > (level->start + level->length)) {
--
2.19.2
_______________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-d
ck->bin.size > 0) {
+if ((!res || res == LEVEL_ENDED) && block->bin.size > 0) {
int is_keyframe = block->non_simple ? block->reference ==
INT64_MIN : -1;
uint8_t* additional = block->additional.size > 0 ?
block->additional.data : NULL;
@@ -3506,6 +3569,9 @@ static int matroska_parse_cluster(MatroskaDemuxContext
*matroska)
block->discard_padding);
}
+if (res == LEVEL_ENDED)
+cluster->pos = 0;
+
ebml_free(matroska_blockgroup, block);
memset(block, 0, sizeof(*block));
--
2.19.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".
ska_parse_cluster(MatroskaDemuxContext
*matroska)
ebml_free(matroska_blockgroup, block);
memset(block, 0, sizeof(*block));
+if (err < 0)
+ return err;
+} else if (!matroska->num_levels) {
+matroska->done = 1;
+return AVERROR_EOF;
+}
+
return r
return err;
} else if (!matroska->num_levels) {
matroska->done = 1;
return AVERROR_EOF;
--
2.19.2
___
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To un
;
if (matroska_parse_cluster(matroska) < 0 ||
!matroska->queue) {
@@ -3677,7 +3685,10 @@ static int
webm_clusters_start_with_keyframe(AVFormatContext *s)
break;
}
}
-avio_seek(s->pb, before_pos, SEEK_SET);
+
+/* Restore the status a
matroska_cluster_enter[] = {
-{ MATROSKA_ID_CLUSTER, EBML_NEST, 0, 0, { .n =
matroska_cluster_initial } },
+{ MATROSKA_ID_CLUSTER, EBML_NEST, 0, 0, { .n =
&matroska_cluster_parsing[2] } },
{ 0 }
};
--
2.19.2
___
ffmpeg-devel mailing
___
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".
a->done)
ret = matroska_resync(matroska, pos);
}
--
2.19.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".
t_int(&s->streams[0]->metadata, INITIALIZATION_RANGE,
cues_start - 1, 0);
--
2.19.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".
if (ff_alloc_extradata(st->codecpar, attachments[j].bin.size))
--
2.19.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".
don't
>> even know how to use Valgrind. I just read the
>> code. If someone more knowledgeable than I
>> could please test it...
>
> Just use "valgrind ./ffmpeg_g ..."
>
Thanks for the help, but unfortunately I can't use Valgrind on Windows.
- A
On Tue, Mar 26, 2019 at 10:07:10PM +, Allan Cady via ffmpeg-devel wrote:
> When the silencedetect filter is run against very large files, the
> output timestamps gradually lose precision as the scan proceeds
> further into the file. This is because the output is formatted (in
&g
> +avio_printf(out, "#EXTINF:%ld,
> ", lrint(duration));
> +else
> + avio_printf(out, "#EXTINF:%f,
> ", duration);
> +if (byterange_mode)
> + avio_printf(out, "#EXT-X-BYTERANGE:%"PRId64"@%"PRId64"
> ", size, pos);
> +}
> +
> +if (!prefetch && prog_date_time) {
> time_t tt, wrongsecs;
> int milli;
> struct tm *tm, tmpbuf;
> @@ -149,6 +155,8 @@ int ff_hls_write_file_entry(AVIOContext *out, int
> insert_discont,
> avio_printf(out, "#EXT-X-PROGRAM-DATE-TIME:%s.%03d%s
> ", buf0, milli, buf1);
> *prog_date_time += duration;
> }
> +if (prefetch)
> +avio_printf(out, "#EXT-X-PREFETCH:");
> if (baseurl)
> avio_printf(out, "%s", baseurl);
> avio_printf(out, "%s
> ", filename);
> diff --git a/libavformat/hlsplaylist.h b/libavformat/hlsplaylist.h
> index 54c93a3963..af35162e08 100644
> --- a/libavformat/hlsplaylist.h
> +++ b/libavformat/hlsplaylist.h
> @@ -52,7 +52,8 @@ int ff_hls_write_file_entry(AVIOContext *out, int
> insert_discont,
> double duration, int round_duration,
> int64_t size, int64_t pos, //Used only if
> HLS_SINGLE_FILE flag is set
> char *baseurl, //Ignored if NULL
> - char *filename, double *prog_date_time);
> + char *filename, double *prog_date_time,
> + int prefetch);
> void ff_hls_write_end_list (AVIOContext *out);
>
> #endif /* AVFORMAT_HLSPLAYLIST_H_ */
___
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".
for this?
Open to suggestions. Thanks all.
Allan
___________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".
re any precedent for this?
Open to suggestions. Thanks all.
Allan
_______
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 parallel decodability features",
OFFSET(frame_parallel), AV_OPT_TYPE_BOOL, {.i64 = -1}, -1, 1, VE},
{ "tiles","Tile columns x rows", OFFSET(tile_cols),
AV_OPT_TYPE_IMAGE_SIZE, { .str = NULL }, 0, 0, VE },
{ "tile-columns", "Log2
without modifying the code? I can
imagine maybe a format specifier as a filter parameter -- is there any
precedent for this?
Open to suggestions. Thanks all.
Allan
___________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/lis
of_streams_to_flush)
> +return ret;
This seems to break support for the case c->has_video is false(audio-only). For
that case c->nr_of_streams_to_flush will be 0 and will always satisfy the "if"
condition here. Hence manifest will never get written for audio-only
ame(filename, sizeof(filename),
> c->dirname, i);
> - dashenc_delete_file(s, filename);
> - }
> - }
> snprintf(filename, sizeof(filename), "%smaster.m3u8",
> c->dirname);
> dashenc_delete_file(s, filename);
> }
> @@ -1816,6 +1858,7 @@ static const AVOption options[] = {
> { "timeout", "set timeout for socket I/O operations", OFFSET(timeout),
> AV_OPT_TYPE_DURATION, { .i64 = -1 }, -1, INT_MAX, .flags = E },
> { "index_correction", "Enable/Disable segment index correction logic",
> OFFSET(index_correction), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, E },
> { "format_options","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"},
Patchset Pushed.
___
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.19.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".
ter_time != cluster_time) {
av_log(s, AV_LOG_WARNING, "Starting new cluster due to
timestamp\n");
mkv_start_new_cluster(s, pkt);
--
2.19.2
___________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/f
--
2.19.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".
IME, pts);
// put all the entries from different tracks that have the exact same
--
2.19.2
___
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-de
>seekable & AVIO_SEEKABLE_NORMAL)
av_log(s, AV_LOG_DEBUG,
"Flushing cluster at offset %" PRIu64 " bytes\n",
avio_tell(s->pb));
- else
-av_log(s, AV_LOG_DEBUG, "Flushing cluster\n");
491000 pos: 147016 size:
27925
ret: 0 st:-1 flags:1 ts:-0.645825
-ret: 0 st: 0 flags:1 dts: 0.011000 pts: 0.011000 pos: 1050 size:
27837
+ret: 0 st: 0 flags:1 dts: 0.011000 pts: 0.011000 pos: 1043 size:
27837
--
2.19.2
_______
ff
static void put_xiph_size(AVIOContext *pb, int size)
--
2.19.2
_______
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] w
cuespos = mkv_write_cues(s, mkv->cues, mkv->tracks,
s->nb_streams);
}
-ret = mkv_add_seekhead_entry(mkv->main_seekhead, MATROSKA_ID_CUES,
+ ret = mkv_add_seekhead_entry(mkv->seekhead, MATROSKA_ID_CUES,
cuespos)
ts/ref/fate/binsub-mksenc
index 2f7022442f..cd958a80bc 100644
--- a/tests/ref/fate/binsub-mksenc
+++ b/tests/ref/fate/binsub-mksenc
@@ -1 +1 @@
-5d6f6f595b38d33424c186484f1c39ee
+1d0977e91873b77b4c78b61f4f3cdec5
--
2.19.2
_______
ffmpeg-devel mailing lis
l(s->pb));
+av_log(s, AV_LOG_DEBUG,
+ "Flushing cluster at offset %" PRIu64 " bytes\n",
+ avio_tell(s->pb));
avio_flush(s->pb);
}
return 1;
@@ -2564,8 +2563,8 @@ static int mkv_write_trailer(AV
end_ebml_master(pb, master);
}
static void put_xiph_size(AVIOContext *pb, int size)
--
2.19.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".
AVCodecParameters *par = s->streams[pkt->stream_index]->codecpar;
--
2.19.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".
SKAv2;
if (mkv->mode != MODE_WEBM ||
--
2.19.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".
e:
27925
+ret: 0 st: 0 flags:1 dts: 0.491000 pts: 0.491000 pos: 146987 size:
27925
ret: 0 st:-1 flags:1 ts:-0.645825
-ret: 0 st: 0 flags:1 dts: 0.011000 pts: 0.011000 pos: 1043 size:
27837
+ret: 0 st: 0 flags:1 dts: 0.011000 pts: 0.011000 pos: 1019 size:
27837
--
2.19.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".
%d\n",
- avio_tell(pb), size, pkt->pts, pkt->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
t;info_bc, mkv);
// write tracks master
-avio_seek(pb, mkv->tracks_master.pos, SEEK_SET);
-end_ebml_master_crc32(pb, &mkv->tracks_bc, mkv, mkv->tracks_master);
+ avio_seek(pb, mkv->tracks_pos, SEEK_SET);
+end_ebml_master_crc32(pb, &mkv->tracks_bc, mkv);
// update stream durations
if (!mkv->is_live && mkv->stream_durations) {
@@ -2644,9 +2639,9 @@ static int mkv_write_trailer(AVFormatContext *s)
}
avio_seek(mkv->tags_bc, curr, SEEK_SET);
}
-if (mkv->tags.pos && !mkv->is_live) {
-avio_seek(pb, mkv->tags.pos, SEEK_SET);
-end_ebml_master_crc32(pb, &mkv->tags_bc, mkv, mkv->tags);
+if (mkv->tags_bc && !mkv->is_live) {
+avio_seek(pb, mkv->tags_pos, SEEK_SET);
+end_ebml_master_crc32(pb, &mkv->tags_bc, mkv);
}
avio_seek(pb, currentpos, SEEK_SET);
--
2.19.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".
Hello,
thanks for taking a look at this.
Hendrik Leppkes:
> On Tue, Apr 2, 2019 at 3:36 PM Andreas Rheinhardt via ffmpeg-devel
> wrote:
>>
>> Up until now, the writing process for level 1 elements (those elements
>> for which CRC-32 elements are written by defau
%d\n",
- avio_tell(pb), size, pkt->pts, pkt->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
Hendrik Leppkes:
> On Tue, Apr 2, 2019 at 3:36 PM Andreas Rheinhardt via ffmpeg-devel
> wrote:
>> @@ -383,8 +388,8 @@ static void
>> end_ebml_master_crc32_preliminary(AVIOContext *pb, AVIOContext **dyn
>> uint8_t *buf;
>> int size =
Hendrik Leppkes:
> On Tue, Apr 2, 2019 at 5:55 PM Andreas Rheinhardt via ffmpeg-devel
> wrote:
>>
>> Hello,
>>
>> thanks for taking a look at this.
>>
>> Hendrik Leppkes:
>>> On Tue, Apr 2, 2019 at 3:36 PM Andreas Rheinhardt via ffmpeg-devel
>
@var{boolean}
+Flag to enable or disable block copy mode for intra block prediction. This
mode is
+useful for screen content. The default value is true.
+
+
@end table
@section libkvazaar
--
2.21.0.392.gf8f6787159e-goog
_______
ffmpeg-devel mailing list
> Won't this leak instead when the error path above is triggered?
Yes, it will.
> Also, whats in the packet if it has a size of 0?
>
It contains side-data which is used to update the extradata (the md5
and number of samples etc. that is part of the flac STREAMINFO header
dreas
___
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".
; 0)
+ret = av_packet_ref(&mkv->cur_audio_pkt, pkt);
} else
ret = mkv_write_packet_internal(s, pkt, 0);
return ret;
--
2.19.2
_______
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/
write my commit message. I
don't care which patch gets committed, but I presume you did run
valgrind to make sure that it actually fixes #7827?
- Andreas
_______
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".
hanks.
___
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 4/4/2019 5:52 PM, Carl Eugen Hoyos wrote:
2019-04-05 2:45 GMT+02:00, Allan Cady via ffmpeg-devel
Try for example:
$ make SAMPLES=fate-suite fate-xtea
$ make SAMPLES=fate-suite fate-h264
$ make fate-acodec-flac
$ make fate-vsynth1
and also
$ make SAMPLES=fate-suite fate-list
Excellent
if (!pad_frame) {
--
2.21.0.392.gf8f6787159e-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".
st->st->nb_side_data; i++) {
const AVPacketSideData *sd_src = &ist->st->side_data[i];
--
2.19.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".
*st = s->streams[pkt->stream_index];
+ if (DISPOSITION_ATTACHED_PIC(st) && st->attached_pic.data)
+return 0;
}
return mkv_write_packet(s, pkt);
}
--
2.19.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".
eg.c | 8
libavformat/matroskaenc.c | 27 +--
2 files changed, 29 insertions(+), 6 deletions(-)
--
2.19.2
___________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubs
-pkt_pts=46080|tag:lavfi.silence_start=1.27626|tag:lavfi.silence_end=1.80751|tag:lavfi.silence_duration=0.531247
+pkt_pts=46080|tag:lavfi.silence_start=1.276259|tag:lavfi.silence_end=1.807506|tag:lavfi.silence_duration=0.531247
pkt_pts=92160
pkt_pts=138240
pkt_pts=184320
--
2.7.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".
Steve Lhomme:
> On 3/27/2019 12:18 PM, Andreas Rheinhardt via ffmpeg-devel wrote:
>> By default, the data_offset member of the AVFormatInternal of the
>> AVFormatContext associated with the MatroskaDemuxContext has not been
>> initialized explicitly by any Matroska-specific
Steve Lhomme:
> On 3/27/2019 12:18 PM, Andreas Rheinhardt via ffmpeg-devel wrote:
>> ebml_read_num had a number of flaws:
>>
>> 1. The check for read errors/EOF was totally wrong. E.g. an EBML number
>> beginning with the invalid 0x00 would be considered a read er
Steve Lhomme:
> On 3/27/2019 12:18 PM, Andreas Rheinhardt via ffmpeg-devel wrote:
>> Before this commit, the Matroska muxer would read a block when required
>> to do so, parse the block, create and return the necessary AVPackets
>> and
>> yet keep the blocks (in a
Steve Lhomme:
> On 3/27/2019 12:18 PM, Andreas Rheinhardt via ffmpeg-devel wrote:
>> The earlier code had three flaws:
>>
>> 1. The case of an unknown-sized element inside a finite-sized element
>> (which is against the specifications) was not caught.
>>
>>
Steve Lhomme:
> On 3/27/2019 12:18 PM, Andreas Rheinhardt via ffmpeg-devel wrote:
>> The earlier code set the level to zero upon seeking and after a
>> discontinuity although in both cases parsing (re)starts at a level 1
>> element.
>>
>> Also set the segment'
Steve Lhomme:
> On 3/27/2019 12:18 PM, Andreas Rheinhardt via ffmpeg-devel wrote:
>> This commit changes how levels are handled: If the level used for
>> ebml_parse ends directly after an element that has been consumed, then
>> ebml_parse ends the level itself (and any finite-
Steve Lhomme:
> On 3/27/2019 12:18 PM, Andreas Rheinhardt via ffmpeg-devel wrote:
>> By including SimpleBlocks and Blocksgroups twice in the same EbmlSyntax
>> array (with different semantics), one can reduce the duplication of the
>> other values.
>>
>>
tain hw video accelerations stuff.
>> Oh, and I did not check with Valgrind that the new lacing code doesn't
>> read uninitialized data. I don't even know how to use Valgrind. I just
>> read the code. If someone more knowledgeable than I could please test
>> it...
&
Steve Lhomme:
>> On April 7, 2019 at 11:24 AM Andreas Rheinhardt via ffmpeg-devel
>> wrote:
>>
>>
>> Steve Lhomme:
>>> On 3/27/2019 12:18 PM, Andreas Rheinhardt via ffmpeg-devel wrote:
>>>> ebml_read_num had a number of flaws:
>>>>
&
if (!os->written_len && os->segment_type == SEGMENT_TYPE_MP4)
write_styp(os->ctx->pb);
avio_flush(os->ctx->pb);
len = avio_get_dyn_buf (os->ctx->pb, &buf);
--
2.20.1 (Apple Git-117)
_______
(&pbc, 2, seq_params.chroma_sample_position);
+put_bits(&pbc, 8, 0); // padding
flush_put_bits(&pbc);
avio_write(pb, header, sizeof(header));
--
2.21.0.392.gf8f6787159e-goog
_______
ffmpeg-devel mailing list
[email protected]
https:
ck as uninitialized, so I
don't think this is a false positive -- it doesn't appear to ever be
intentionally written.
Thanks,
-Jeremy
On Mon, Apr 8, 2019 at 9:33 AM James Almer wrote:
> On 4/8/2019 9:14 AM, Jeremy Dorfman via ffmpeg-devel wrote:
> > Otherwise, AV1 encodes wi
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
> index f8d71166d4..9dd520787f 100644
> --- a/libavformat/dashenc.c
> +++ b/libavformat
commiters, even in the
last year.
I don't see Philip or Vittorio, for example.
Same guidelines were used to select the people as in the second
extension:
https://ffmpeg.org/pipermail/ffmpeg-devel/2015-October/182057.html
I emailed Marton out-of-band, but I am not in the list because a few o
t time round.
Thanks,
--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".
Aman Gupta
Gyan Doshi
Jan Ekström
Jun Zhao
Karthick Jeyapal
Mark Thompson
Martin Vignali
Peter Ross
Steven Liu
Timo Rothenpieler
Zhong Li
Question: Do you support extending the voting committte with the people
above?
Yes.
--phil
_______
ffmpeg-devel ma
t;);
return AVERROR_INVALIDDATA;
+}
return 0;
}
--
2.21.0.392.gf8f6787159e-goog
___________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmp
opy mode for intra block prediction. This
mode is
+useful for screen content. The default value is true.
+
@end table
@section libkvazaar
--
2.21.0.392.gf8f6787159e-goog
___
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mail
On 4/2/2019 9:49 PM, Sam John via ffmpeg-devel wrote:
> > ---
> > doc/encoders.texi | 46 ++
> > 1 file changed, 46 insertions(+)
> >
> > diff --git a/doc/encoders.texi b/doc/encoders.texi
> > index 94337d009c..a669ac
t;);
+c->streaming = 0;
+}
}
ctx->oformat = av_guess_format(os->format_name, NULL, NULL);
--
2.20.1 (Apple Git-117)
___________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/li
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
>&
1301 - 1400 of 3579 matches
Mail list logo