Files
ffmpeg/doc
Niklas Haas 4f5d91e43f avformat/http: allow limiting initial request size
Sometimes, HTTP sources require a lot of seeking during probing / header
parsing (especially for formats like MXF). Currently, we need to completely
tear down and re-establish the connection most times this happens, which puts
a lot of stress on the network stack and also results in transmission of
possibly many unnecessary bytes.

This patch adds an option to allow FFmpeg to request partial ranges during
the initialization stage. This is done until the initial request size is fully
read, after which we fall back to the normal behavior (i.e. infinite streaming
via an unbounded request).

The usefulness of this is limited without also specifying -multiple_requests 1,
since otherwise there is little point to requesting partial ranges to begin
with. (However, it is semantically independent, so we keep it that way.)
2026-02-07 10:02:36 +00:00
..
2023-03-01 21:59:10 +01:00
2026-01-18 03:33:04 +00:00
2025-08-03 13:48:47 +02:00
2025-10-25 13:21:50 +00:00
2024-03-18 17:59:19 +01:00
2025-08-03 13:48:47 +02:00
2024-10-06 01:32:47 +02:00
2025-09-01 19:28:35 +02:00
2026-01-18 03:33:04 +00:00
2025-08-03 13:48:47 +02:00