Skip to content

Why does a hosted MP4 play from the start but stall when reviewers seek?

Send a small authorized byte-range request and inspect its actual response when a hosted MP4 plays from the beginning but stalls on seeking. A server's Accept-Ranges advertisement is useful evidence, not a substitute for the request. Record status, Content-Range and access behavior. Do not conclude that missing range support is the cause until the same file's local playback and MP4 indexing have also been checked.

REVIEW AND HANDOFF: REPRODUCIBLE EVIDENCE PACKAGESAISwapLab team · Editorial methodPublished 3 min read
See the recorded exampleExplore 67 Image SkillsIndependent finishing · Check the actual file
Editorial worksheet excerpt: 206; 200; Access/416 error. See the complete table and sources below.
Editorial worksheet excerpt: 206; 200; Access/416 error. See the complete table and sources below.

Separate the evidence from the decision

Seeking can require data from another part of the file, depending on its container and player. Server, proxy, authorization and cache behavior can affect that request independently of picture decoding. This task produces a bounded response record, not a throughput benchmark or a claim that every player requires identical range behavior. It helps diagnose the delivery path before another encoding pass or paid AISwapLab generation is used to address the wrong stage.

Build the evidence

  1. 01

    Establish the input evidence

    Confirm the exact hosted object and authorized access method. Check local complete playback and seeking on the same bytes. Record whether the problem appears only after hosting, after a redirect or on a particular player. Keep the URL revision stable during the test and redact private tokens from shared reports. If access expires between the initial request and later seek, the failure may be authorization rather than range parsing or codec support.

  2. 02

    Run a controlled diagnostic

    Request a small known satisfiable interval. The example asks for the first 1024 bytes and reads at most that amount. A 206 response with a coherent Content-Range indicates a partial response for that request. A server can ignore a range and return 200 with the full representation; report that accurately rather than assuming the body is a small fragment. A 416 response needs inspection of the requested bounds and object size. Authentication and redirect responses are separate branches.

  3. 03

    Verify the actual handoff

    Repeat through the actual CDN or proxy path when that is what reviewers use. Compare its behavior with the authorized origin if access permits. Preserve response headers and the requested range without publishing credentials. Then retest player seeking and MP4 index placement. Correct partial responses do not prove that the file is complete, its index is suitable or the decoder supports its streams. Use the combined findings to choose a hosting fix, container derivative or another targeted investigation.

A bounded example

Illustrative case: the first request succeeds, but a later seek encounters an expired private link. Re-encoding the picture cannot extend that authorization. Another path may return the entire file for every range, while a faststart derivative changes startup behavior without changing that server policy. These cases show why the response record and player result remain separate. The code uses a placeholder host and is not a live bandwidth or production-hosting test.

Local workflow example

Documentation Python probe only. The placeholder host was not requested and no production network measurement was performed.

python
from urllib.request import Request, urlopen
request = Request("https://media.example.test/approved.mp4", headers={"Range":"bytes=0-1023"})
with urlopen(request, timeout=15) as response:
    print(response.status, response.headers.get("Content-Range"))
    print("bytes_read", len(response.read(1024)))

Task evidence worksheet

ResponseEvidenceNext check
206Coherent requested Content-RangePlayer and MP4 index
200Range may have been ignoredActual delivery behavior
Access/416 errorAuthorization or requested boundsDo not blame generation

Acceptance evidence

  • Use a known satisfiable range and read a bounded amount.
  • Distinguish 206, ignored-range 200, access failures and unsatisfied ranges.
  • Retest actual player seeking and container indexing separately.

Stop condition

Stop probing when the account or resource is not authorized, and do not broaden access to obtain a passing response. If the local file also fails seeking, investigate the media itself first. A range request is a delivery diagnostic; it cannot reconstruct missing pictures, validate identity or demonstrate that a generated performance preserves exact source timing.

Sources

Review the result in context.

Compare the recorded example and its documented limitations.

See the recorded example