Skip to content

ebmlmaster.c:260: UpdateDataSize: Assertion `!EBML_ElementNeedsDataSizeUpdate(i, bWithDefault)' failed. #118

@knuxyl

Description

@knuxyl

Progress 1/3: 100%
Optimizing...
Remuxing...
Reclustering...
Generating Cues from scratch
Progress 2/3: 100%
The TransferCharacteristics element at 385 is not part of profile 'matroska v2', skipping
The Primaries element at 393 is not part of profile 'matroska v2', skipping
The Range element at 397 is not part of profile 'matroska v2', skipping
The ChromaSitingHorz element at 401 is not part of profile 'matroska v2', skipping
The ChromaSitingVert element at 405 is not part of profile 'matroska v2', skipping
The Colour element at 382 is not part of profile 'matroska v2', skipping
mkclean: /home/knuxyl/foundation-source/libebml2/ebmlmaster.c:260: UpdateDataSize: Assertion `!EBML_ElementNeedsDataSizeUpdate(i, bWithDefault)' failed.
Aborted

EDIT
Error arrises when vobsub subtitles are included in the mkv container. At this point I do not know if this is a bug or just not supported.

I was getting this problem with v0.9.0 so I cloned master (reports 0.10.0) and still the same issue.
Source is from a DVD rip to lossless h264 video with an ac3 audio track and vobsub from DVD. Ffmpeg was used to encode the video with the following

ffmpeg -i "input.mkv" -c:a copy -c:s copy -c:v libx264 -vf "fieldmatch, fps=24000/1001, zscale=w=640:h=480:f=lanczos" -tune animation -preset veryslow -qp 0 -pix_fmt yuv420p -color_range tv -colorspace smpte170m -color_trc smpte170m -color_primaries smpte170m -map 0 -map_metadata -1 -max_interleave_delta 0 -y "output.mkv"

-max_interleave_delta 0 is used because ffmpeg does not properly handle timecodes or something, this fixes that.

Running the following results in the error above on 2 different machines (an intel xeon w-1290t and a amd threadripper 3945wx)

mkclean --remux --optimize output.mkv

Here is the example video, but it is not the only one giving me this exact same issue.
https://drive.google.com/file/d/1PwW8hCpensf8Zop-N98oyq4DKRXDw1tb/view?usp=sharing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions