[FFmpeg-devel] [PATCH v7 5/7] avcodec/webp: make init_canvas_frame static

2023-12-05 Thread Thilo Borgmann via ffmpeg-devel
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] [PATCH v7 6/7] libavformat/webp: add WebP demuxer

2023-12-05 Thread Thilo Borgmann via ffmpeg-devel
kt_dts=0 pkt_dts_time=0.00 best_effort_timestamp=0 best_effort_timestamp_time=0.00 -pkt_duration=1 -pkt_duration_time=0.04 -duration=1 -duration_time=0.04 -pkt_pos=0 -pkt_size=39276 +pkt_duration=100 +pkt_duration_time=0.10 +duration=100 +duration_time=0.10 +pkt_p

[FFmpeg-devel] [PATCH v7 7/7] fate: add test for animated WebP

2023-12-05 Thread Thilo Borgmann via ffmpeg-devel
) ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH v3 1/3] avfilter/vf_bwdif: consider chroma subsampling when enforcing minimum dimensions

2023-12-06 Thread Philip Langdale via ffmpeg-devel
hanks, --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".

Re: [FFmpeg-devel] [PATCH v3 1/3] avfilter/vf_bwdif: consider chroma subsampling when enforcing minimum dimensions

2023-12-06 Thread Cosmin Stejerean via ffmpeg-devel
> On Dec 6, 2023, at 02:44, Philip Langdale via ffmpeg-devel > wrote: > > On Sat, 2 Dec 2023 23:02:36 +0100 > Thomas Mundt wrote: > >> >> LGTM, thanks. >> > > I am going to squash the three commits and push. There's no real need > to p

Re: [FFmpeg-devel] [PATCH] avdevice/avfoundation: replace deprecated AVCaptureDevice

2023-12-06 Thread Thilo Borgmann via ffmpeg-devel
Am 06.12.23 um 13:03 schrieb xufuji456 via ffmpeg-devel: Building with iOS platform, the compiler has a warning: "'devicesWithMediaType:' is deprecated: first deprecated in iOS 10.0 - Use AVCaptureDeviceDiscoverySession instead" Signed-off-by: xufuji456 <839789...@qq

Re: [FFmpeg-devel] [PATCH v3] ffmpeg CLI multithreading

2023-12-06 Thread Cosmin Stejerean via ffmpeg-devel
y by using larger and larger frames I think that's an acceptable tradeoff for this use case. - 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".

[FFmpeg-devel] [PATCH] libavformat/dashdec.c Fix for ticket #7395

2023-12-06 Thread Evgeniy Pantyuhin via ffmpeg-devel
, root_url)); updated = 1; } -- 2.40.0.windows.1 _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH] libavformat/dashdec.c Fix for ticket #7395

2023-12-07 Thread Evgeniy Pantyuhin via ffmpeg-devel
ed string. Unfortunately I cannot provide an example MPD, but it should be easy enough to manufacture one by simply adding &v=3 or so to the BaseURL in a simple manifest. -- Best regards, Evgeniymailto:[email protected] ___________

Re: [FFmpeg-devel] [PATCH v7 3/7] avcodec/webp_parser: parse each frame into one packet

2023-12-07 Thread Cosmin Stejerean via ffmpeg-devel
ere, keeping all the animations in a single packet and decoding multiple frames from it, by essentially moving this logic to split them from the parser to the decoder? - Cosmin ___________ ffmpeg-devel mailing list [email protected] https://ffmpeg.o

Re: [FFmpeg-devel] [PATCH] lavc/libopenh264: Drop openh264 runtime version checks

2023-12-08 Thread Cosmin Stejerean via ffmpeg-devel
imum version above which runtime version checks are not needed. - 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".

Re: [FFmpeg-devel] [PATCH 0/1] fate/jpegxl: add multiframe permuted TOC image parser

2023-12-09 Thread Thilo Borgmann via ffmpeg-devel
[1]: https://buzo.us/O.jxl sample sha256sum: 9288337dc0d37effd1f539d4e20083a8ffed757e486f4098121520c74e8de6f6 sample signature: https://buzo.us/A.asc Uploaded. -Thilo _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listi

Re: [FFmpeg-devel] [PATCH] avdevice/avfoundation: replace deprecated AVCaptureDevice

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
Am 09.12.23 um 13:09 schrieb xufuji456 via ffmpeg-devel: Building with iOS platform, the compiler has a warning: "'devicesWithMediaType:' is deprecated: first deprecated in iOS 10.0 - Use AVCaptureDeviceDiscoverySession instead" Signed-off-by: xufuji456 <839789...@qq

Re: [FFmpeg-devel] [PATCH] avdevice/avfoundation: replace deprecated AVCaptureDevice

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
Am 11.12.23 um 10:32 schrieb Thilo Borgmann via ffmpeg-devel: Am 09.12.23 um 13:09 schrieb xufuji456 via ffmpeg-devel: Building with iOS platform, the compiler has a warning: "'devicesWithMediaType:' is deprecated: first deprecated in iOS 10.0 - Use AVCaptureDeviceDiscoveryS

[FFmpeg-devel] [PATCH 0/5] avfilter: Add fsync filter

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
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. Thilo Borgmann (5): fftools

[FFmpeg-devel] [PATCH 1/5] fftools/ffmpeg: split loop for parsing and validation of -stats_* specifiers

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
type != ENC_STATS_LITERAL) { +av_freep(&c->str); +} + } if (ret < 0) return ret; -- 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] [PATCH 2/5] fftools/ffmpeg: move parsing of -stats_* specifiers to lavu/parseutils

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
ec(AVEncStatsFormatSpecifier *fmt_spec, int idx); + +/** + * Parse an enc stats format string into an array of AVEncStatsComponent. + * + * @param components Pointer to the array of AVEncStatsComponent to store + * the parsed elements. The arrary will be reallocated + *

[FFmpeg-devel] [PATCH 4/5] avfilter: Add fsync filter

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
, +AV_PIX_FMT_YUVJ440P, AV_PIX_FMT_YUVJ411P, AV_PIX_FMT_YUVJ420P, +AV_PIX_FMT_YUVJ422P, AV_PIX_FMT_YUVJ444P, +AV_PIX_FMT_YUVA444P, AV_PIX_FMT_YUVA422P, AV_PIX_FMT_YUVA420P, +AV_PIX_FMT_NONE +}; + +static const AVFilterPad avfilter_vf_fsync_outputs[] = { +{ + .name =

[FFmpeg-devel] [PATCH 3/5] reindent after last commit

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
{ AVEncStatsComponent *components; -int nb_components; +intnb_components; AVIOContext*io; } EncStats; -- 2.37.1 (Apple Git-137.1) ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org

[FFmpeg-devel] [PATCH 5/5] fate: Add fsync filter tests

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
55d +0, 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 ffmpeg-deve

Re: [FFmpeg-devel] [PATCH 4/5] avfilter: Add fsync filter

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
Am 11.12.23 um 16:07 schrieb Thilo Borgmann via ffmpeg-devel: pu --- Changelog| 1 + doc/filters.texi | 52 ++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_fsync.c | 376

Re: [FFmpeg-devel] [PATCH] avdevice/audiotoolbox: silence warning with new api

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
Am 11.12.23 um 16:28 schrieb 徐福隆 via ffmpeg-devel: Hi, Thilo: There is another patch that needs your review please. Thanks for pointing me to it. ---  libavdevice/audiotoolbox.m | 4  1 file changed, 4 insertions(+) LGTM & pushed. Thanks, T

[FFmpeg-devel] [PATCH 0/3] avcodec/libjxlenc: Add libjxl_animated encoder

2023-12-11 Thread Zsolt Vadasz via ffmpeg-devel
files changed, 197 insertions(+), 59 deletions(-) -- 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

[FFmpeg-devel] [PATCH 2/3] avcodec/libjxlenc: Move image initialization code into libjxl_encode_init_image

2023-12-11 Thread Zsolt Vadász via ffmpeg-devel
av_log(avctx, AV_LOG_ERROR, "Failed to add Image Frame\n"); return AVERROR_EXTERNAL; } /* * Run this after the last frame in the image has been passed. - * TODO support animation */ JxlEncoderCloseInput(ctx->encoder); -- 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".

[FFmpeg-devel] [PATCH 1/3] avcodec/libjxlenc: Move JxlBasicInfo to LibJxlEncodeContext

2023-12-11 Thread Zsolt Vadász via ffmpeg-devel
ze) != JXL_ENC_SUCCESS) { +if (JxlEncoderAddImageFrame(ctx->options, &jxl_fmt, frame->data[0], jxl_fmt.align * info->ysize) != JXL_ENC_SUCCESS) { av_log(avctx, AV_LOG_ERROR, "Failed to add Image Frame\n"); return AVERROR_EXTERNAL; } -- 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".

[FFmpeg-devel] [PATCH 3/3] avcodec/libjxlenc: Add libjxl_animated encoder

2023-12-11 Thread Zsolt Vadász via ffmpeg-devel
.p.type = AVMEDIA_TYPE_VIDEO, +.p.id = AV_CODEC_ID_JPEGXL, +.priv_data_size = sizeof(LibJxlEncodeContext), +.init = libjxl_animated_encode_init, +FF_CODEC_ENCODE_CB(libjxl_animated_encode_frame), +.close = libjxl_encode_close, + .p.capabilities = AV_CODEC_CAP

Re: [FFmpeg-devel] [PATCH] lavd/avfoundation: Use correct preprocessing directive

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
0) -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".

Re: [FFmpeg-devel] [PATCH] lavd/avfoundation: Use correct preprocessing directive

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
ed. -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".

Re: [FFmpeg-devel] [PATCH v7 3/7] avcodec/webp_parser: parse each frame into one packet

2023-12-12 Thread Thilo Borgmann via ffmpeg-devel
Am 08.12.23 um 03:02 schrieb Cosmin Stejerean via ffmpeg-devel: On Dec 7, 2023, at 9:42 AM, Andreas Rheinhardt wrote: According to https://developers.google.com/speed/webp/docs/riff_container#extended_file_format metadata chunks are stored after the image data; if you split the data into

Re: [FFmpeg-devel] [PATCH 2/5] fftools/ffmpeg: move parsing of -stats_* specifiers to lavu/parseutils

2023-12-13 Thread Thilo Borgmann via ffmpeg-devel
Am 13.12.23 um 13:00 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-11 16:07:22) --- fftools/ffmpeg.h | 31 +-- fftools/ffmpeg_enc.c | 3 +- fftools/ffmpeg_mux_init.c | 152 +++- libavutil/parseutils.c| 176

Re: [FFmpeg-devel] [PATCH 2/5] fftools/ffmpeg: move parsing of -stats_* specifiers to lavu/parseutils

2023-12-13 Thread Thilo Borgmann via ffmpeg-devel
Am 13.12.23 um 13:08 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-13 13:05:35) Am 13.12.23 um 13:00 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-11 16:07:22) --- fftools/ffmpeg.h | 31 +-- fftools/ffmpeg_enc.c | 3

Re: [FFmpeg-devel] [PATCH 2/5] fftools/ffmpeg: move parsing of -stats_* specifiers to lavu/parseutils

2023-12-13 Thread Thilo Borgmann via ffmpeg-devel
Am 13.12.23 um 13:39 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-13 13:15:27) Am 13.12.23 um 13:08 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-13 13:05:35) Am 13.12.23 um 13:00 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/libjxlenc: Move JxlBasicInfo to LibJxlEncodeContext

2023-12-13 Thread Zsolt Vadász via ffmpeg-devel
On Tuesday, December 12th, 2023 at 9:17 PM, Leo Izen wrote: > On 12/11/23 12:05, Zsolt Vadász via ffmpeg-devel wrote: > > > --- > > libavcodec/libjxlenc.c | 45 +- > > 1 file changed, 23 insertions(+), 22 deletions(-) > >

Re: [FFmpeg-devel] [PATCH 2/5] fftools/ffmpeg: move parsing of -stats_* specifiers to lavu/parseutils

2023-12-13 Thread Thilo Borgmann via ffmpeg-devel
Am 13.12.23 um 17:28 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-13 13:50:09) Am 13.12.23 um 13:39 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-13 13:15:27) Am 13.12.23 um 13:08 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg

[FFmpeg-devel] [PATCH v2 0/1] avcodec/libjxlenc: Add libjxl_animated encoder

2023-12-13 Thread Zsolt Vadász via ffmpeg-devel
s(+), 39 deletions(-) -- 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".

[FFmpeg-devel] [PATCH v2 1/1] avcodec/libjxlenc: Add libjxl_animated encoder

2023-12-13 Thread Zsolt Vadász via ffmpeg-devel
e_init, +FF_CODEC_ENCODE_CB(libjxl_animated_encode_frame), +.close = libjxl_encode_close, +.p.capabilities = AV_CODEC_CAP_OTHER_THREADS | +AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE | +AV_CODEC_CAP_DELAY, +.caps_internal= FF_CODEC_CAP_NOT_INIT_THREADSAFE | +FF_CODEC_CAP_AUTO_THREADS | FF_CODEC_CAP_INIT_CLEANUP | +FF_CODEC_CAP_ICC_PROFILES | FF_CODEC_CAP_EOF_FLUSH, +.p.pix_fmts = libjxl_pix_fmts, .p.priv_class = &libjxl_encode_class, .p.wrapper_name = "libjxl", }; -- 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".

Re: [FFmpeg-devel] [FFmpeg-cvslog] fftools/ffmpeg: convert to a threaded architecture

2023-12-14 Thread Thilo Borgmann via ffmpeg-devel
11 [opt] frame #7: 0x00010002aeb8 ffmpeg_g`main(argc=, argv=) at ffmpeg.c:1050 [opt] frame #8: 0x000102c1908c dyld`start + 520 -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".

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg_sched: actually initialize/destroy schedule_lock

2023-12-14 Thread Thilo Borgmann via ffmpeg-devel
Am 14.12.23 um 10:17 schrieb Anton Khirnov: --- fftools/ffmpeg_sched.c | 6 ++ 1 file changed, 6 insertions(+) Fixes --assert-level=2 for me. LGTM. -Thilo ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman

Re: [FFmpeg-devel] [PATCH 2/5] fftools/ffmpeg: move parsing of -stats_* specifiers to lavu/parseutils

2023-12-14 Thread Thilo Borgmann via ffmpeg-devel
Am 14.12.23 um 06:23 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-13 19:17:04) Am 13.12.23 um 17:28 schrieb Anton Khirnov: It is bad practice to design library features around the needs and limitations of a single specific caller. The callers here would be the CLI

Re: [FFmpeg-devel] [PATCH 2/5] fftools/ffmpeg: move parsing of -stats_* specifiers to lavu/parseutils

2023-12-14 Thread Thilo Borgmann via ffmpeg-devel
Am 14.12.23 um 18:51 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-14 11:34:11) Am 14.12.23 um 06:23 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-13 19:17:04) Am 13.12.23 um 17:28 schrieb Anton Khirnov: It is bad practice to design library

[FFmpeg-devel] [PATCH 0/2] avfilter: Add fsync filter

2023-12-14 Thread Thilo Borgmann via ffmpeg-devel
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

[FFmpeg-devel] [PATCH 1/2] avfilter: Add fsync filter

2023-12-14 Thread Thilo Borgmann via ffmpeg-devel
MT_NONE +}; + +static const AVFilterPad avfilter_vf_fsync_outputs[] = { +{ +.name = "default", + .type = AVMEDIA_TYPE_VIDEO, +.config_props = fsync_config_props, + }, +}; + +const AVFilter ff_vf_fsync = { +.name = "fsync", +.description = NULL_IF_CONFIG_SMALL("Synchronize video frames from external source."), +.init = fsync_init, +.uninit= fsync_uninit, +.priv_size = sizeof(FsyncContext), +.priv_class= &fsync_class, +.activate = activate, +FILTER_PIXFMTS_ARRAY(pix_fmts), +FILTER_INPUTS(ff_video_default_filterpad), +FILTER_OUTPUTS(avfilter_vf_fsync_outputs), +.flags = AVFILTER_FLAG_METADATA_ONLY, +}; -- 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] [PATCH 2/2] fate: Add fsync filter tests

2023-12-14 Thread Thilo Borgmann via ffmpeg-devel
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]

Re: [FFmpeg-devel] [PATCH] avfoundation: Fix version checks

2023-12-15 Thread Thilo Borgmann via ffmpeg-devel
^ Alternatively, we could use these more modern APIs, if enclosed in suitable @available() checks. --- libavdevice/avfoundation.m | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) Pushed, thanks! -Thilo _______ ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avfoundation: Fix version checks

2023-12-15 Thread Martin Storsjö via ffmpeg-devel
would need to check the FATE status as well.) // Martin ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject

Re: [FFmpeg-devel] [PATCH] avfoundation: Fix version checks

2023-12-15 Thread Thilo Borgmann via ffmpeg-devel
Am 15.12.23 um 12:32 schrieb Martin Storsjö via ffmpeg-devel: On Fri, 15 Dec 2023, Zhao Zhili wrote: On Dec 15, 2023, at 18:11, Martin Storsjö wrote: _VERSION_MAX_ALLOWED indicates what version is available in the SDK, while _VERSION_MIN_REQUIRED is the version we can assume is available

Re: [FFmpeg-devel] [RFC] fftools/ffmpeg and libavdevice/sdl issue

2023-12-15 Thread Alexander Strasser via ffmpeg-devel
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-

Re: [FFmpeg-devel] [PATCH v2 1/1] avcodec/libjxlenc: Add libjxl_animated encoder

2023-12-15 Thread Zsolt Vadász via ffmpeg-devel
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] [PATCH v8 1/5] avcodec/webp: remove unused definitions

2023-12-15 Thread Thilo Borgmann via ffmpeg-devel
) ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH v8 0/5] webp: add support for animated WebP decoding

2023-12-15 Thread Thilo Borgmann via ffmpeg-devel
) ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH v8 2/5] libavcodec/webp: add support for animated WebP decoding

2023-12-15 Thread Thilo Borgmann via ffmpeg-devel
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

[FFmpeg-devel] [PATCH v8 4/5] libavformat/webp: add WebP demuxer

2023-12-15 Thread Thilo Borgmann via ffmpeg-devel
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".

[FFmpeg-devel] [PATCH v8 3/5] avcodec/webp: make init_canvas_frame static

2023-12-15 Thread Thilo Borgmann via ffmpeg-devel
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] [PATCH v8 5/5] fate: add test for animated WebP

2023-12-15 Thread Thilo Borgmann via ffmpeg-devel
) ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH v2 1/1] avcodec/libjxlenc: Add libjxl_animated encoder

2023-12-15 Thread Zsolt Vadász via ffmpeg-devel
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; > > >

Re: [FFmpeg-devel] [PATCH 1/2] avfilter: Add fsync filter

2023-12-16 Thread Thilo Borgmann via ffmpeg-devel
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

[FFmpeg-devel] [PATCH v3 0/2] avfilter: Add fsync filter

2023-12-16 Thread Thilo Borgmann via ffmpeg-devel
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

[FFmpeg-devel] [PATCH v3 1/2] avfilter: Add fsync filter

2023-12-16 Thread Thilo Borgmann via ffmpeg-devel
;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

[FFmpeg-devel] [PATCH v3 2/2] fate: Add fsync filter tests

2023-12-16 Thread Thilo Borgmann via ffmpeg-devel
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]

[FFmpeg-devel] Patch request to timestamp.h for silencedetect filter

2019-03-25 Thread Allan Cady via ffmpeg-devel
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 ____

Re: [FFmpeg-devel] [PATCH] libavcodec Adding ff_v210_planar_unpack AVX2

2019-03-26 Thread Mike Stoner via ffmpeg-devel
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

[FFmpeg-devel] [PATCH] Fix loss of precision for silencedetect on large files

2019-03-26 Thread Allan Cady via ffmpeg-devel
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

[FFmpeg-devel] [PATCH 00/21] New Version

2019-03-27 Thread Andreas Rheinhardt via ffmpeg-devel
+-- 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".

[FFmpeg-devel] [PATCH 01/21] avformat/matroskadec: Remove unused variables

2019-03-27 Thread Andreas Rheinhardt via ffmpeg-devel
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".

[FFmpeg-devel] [PATCH 03/21] avformat/matroskadec: Get rid of cluster size field assumption

2019-03-27 Thread Andreas Rheinhardt via ffmpeg-devel
+ 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

[FFmpeg-devel] [PATCH 02/21] avformat/matroskadec: Don't zero unnecessarily

2019-03-27 Thread Andreas Rheinhardt via ffmpeg-devel
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

[FFmpeg-devel] [PATCH 04/21] avformat/matroskadec: Use generic size check for signed integers

2019-03-27 Thread Andreas Rheinhardt via ffmpeg-devel
- 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".

[FFmpeg-devel] [PATCH 07/21] avformat/matroskadec: Remove redundant initialization

2019-03-27 Thread Andreas Rheinhardt via ffmpeg-devel
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".

[FFmpeg-devel] [PATCH 05/21] avformat/matroskadec: Set offset of first cluster

2019-03-27 Thread Andreas Rheinhardt via ffmpeg-devel
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-

[FFmpeg-devel] [PATCH 09/21] avformat/matroskadec: Remove non-incremental parsing of clusters

2019-03-27 Thread Andreas Rheinhardt via ffmpeg-devel
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".

[FFmpeg-devel] [PATCH 10/21] avformat/matroskadec: Don't keep old blocks

2019-03-27 Thread Andreas Rheinhardt via ffmpeg-devel
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);

[FFmpeg-devel] [PATCH 08/21] avformat/matroskadec: Improve error messages

2019-03-27 Thread Andreas Rheinhardt via ffmpeg-devel
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

[FFmpeg-devel] [PATCH 11/21] avformat/matroskadec: Treat SimpleBlock as EBML_BIN

2019-03-27 Thread Andreas Rheinhardt via ffmpeg-devel
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

[FFmpeg-devel] [PATCH 13/21] avformat/matroskadec: Improve length check

2019-03-27 Thread Andreas Rheinhardt via ffmpeg-devel
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".

[FFmpeg-devel] [PATCH 12/21] avformat/matroskadec: Remove redundant variable declaration

2019-03-27 Thread Andreas Rheinhardt via ffmpeg-devel
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

[FFmpeg-devel] [PATCH 15/21] avformat/matroskadec: Redo level handling

2019-03-27 Thread Andreas Rheinhardt via ffmpeg-devel
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".

[FFmpeg-devel] [PATCH 16/21] avformat/matroskadec: Make cluster parsing level compatible

2019-03-27 Thread Andreas Rheinhardt via ffmpeg-devel
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

[FFmpeg-devel] [PATCH 17/21] avformat/matroskadec: Don't reset cluster position

2019-03-27 Thread Andreas Rheinhardt via ffmpeg-devel
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

[FFmpeg-devel] [PATCH 14/21] avformat/matroskadec: Use proper levels after discontínuity

2019-03-27 Thread Andreas Rheinhardt via ffmpeg-devel
; 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

[FFmpeg-devel] [PATCH 18/21] avformat/matroskadec: Combine two arrays

2019-03-27 Thread Andreas Rheinhardt via ffmpeg-devel
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] [PATCH 19/21] avformat/matroskadec: Add SilentTracks to cluster syntax

2019-03-27 Thread Andreas Rheinhardt via ffmpeg-devel
___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH 20/21] avformat/matroskadec: Redo EOF handling

2019-03-27 Thread Andreas Rheinhardt via ffmpeg-devel
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".

[FFmpeg-devel] [PATCH 21/21] avformat/matroskadec: Typos and cosmetics

2019-03-27 Thread Andreas Rheinhardt via ffmpeg-devel
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".

[FFmpeg-devel] [PATCH 06/21] avformat/matroskadec: Don't copy attached pictures

2019-03-27 Thread Andreas Rheinhardt via ffmpeg-devel
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".

Re: [FFmpeg-devel] [PATCH 00/21] New Version

2019-03-27 Thread Andreas Rheinhardt via ffmpeg-devel
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

Re: [FFmpeg-devel] [PATCH] Fix loss of precision for silencedetecton large files

2019-03-27 Thread Allan Cady via ffmpeg-devel
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

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: Port support for LHLS from lavf/dashenc

2019-03-28 Thread Jeyapal, Karthick via ffmpeg-devel
> +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".

Re: [FFmpeg-devel] [PATCH] Fix loss of precision for silencedetecton large files

2019-03-29 Thread Allan Cady via ffmpeg-devel
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: [FFmpeg-devel] [PATCH] Fix loss of precision for silencedetect on large files

2019-03-29 Thread Allan Cady via ffmpeg-devel
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".

[FFmpeg-devel] [PATCH] Added more commandline options for libaom encoder.

2019-03-29 Thread Sam John via ffmpeg-devel
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

Re: [FFmpeg-devel] [PATCH] Fix loss of precision for silencedetect on large files

2019-03-29 Thread Allan Cady via ffmpeg-devel
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

Re: [FFmpeg-devel] [PATCH 1/1] Prevent writing manifest files multiple times

2019-04-01 Thread Jeyapal, Karthick via ffmpeg-devel
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

Re: [FFmpeg-devel] [PATCH 2/2] avformat/dashenc: Add support for Global SIDX

2019-04-02 Thread Jeyapal, Karthick via ffmpeg-devel
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".

[FFmpeg-devel] [PATCH 00/15] Matroska muxer patches

2019-04-02 Thread Andreas Rheinhardt via ffmpeg-devel
(-) -- 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".

[FFmpeg-devel] [PATCH 01/15] avformat/matroskaenc: Fix relative timestamp check

2019-04-02 Thread Andreas Rheinhardt via ffmpeg-devel
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

[FFmpeg-devel] [PATCH 02/15] avformat/matroskaenc: Fix BlockGroup size calculation

2019-04-02 Thread Andreas Rheinhardt via ffmpeg-devel
-- 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".

[FFmpeg-devel] [PATCH 03/15] avformat/matroskaenc: Slightly improve size bounds for cues

2019-04-02 Thread Andreas Rheinhardt via ffmpeg-devel
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

[FFmpeg-devel] [PATCH 07/15] avformat/matroskaenc: Improve log message

2019-04-02 Thread Andreas Rheinhardt via ffmpeg-devel
>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");

[FFmpeg-devel] [PATCH 04/15] avformat/matroskaenc: Don't waste bytes in EBML Header

2019-04-02 Thread Andreas Rheinhardt via ffmpeg-devel
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

[FFmpeg-devel] [PATCH 08/15] avformat/matroskaenc: Remove redundant check

2019-04-02 Thread Andreas Rheinhardt via ffmpeg-devel
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

<    8   9   10   11   12   13   14   15   16   17   >