Skip to content

FFMS2 produces broken frames when indexing m2ts files. #475

@Ravencentric

Description

@Ravencentric

The file in question is:

[BDMV][Haikyuu!! S2][Vol.01-Vol.09]\[BDMV][160120][Haikyuu!! S2][Vol.01]\BDROM\BDMV\STREAM\00007.m2ts

sha256:
4a6c334ab146268ee14bdb344c49cf9aec197d14f39a093aed92e3f8bc57676c

You can grab it from U2 at /details.php?id=31265&hit=1 or from this temporary (one week) mirror:
https://filebin.net/jjholzu2evzcxr7s/00007.m2ts (~7.5GB)

MRE

from vapoursynth import core
from vsview import set_output
from vstools import initialize_clip

clip = core.ffms2.Source("00007.m2ts")[108:]
clip = initialize_clip(clip)
set_output(clip)

Some known bad frames to look for are 6384, 18392, and 28348. Here's a comparison showing frame 6384: https://slow.pics/c/9fWKvaoT
FFMS2 only exhibits the issue when reading the original m2ts. Remuxing the file to mkv causes the issue to disappear.

Versions

vapoursynth R76
FFMS2 5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions