Skip to content
This repository was archived by the owner on Apr 7, 2025. It is now read-only.
This repository was archived by the owner on Apr 7, 2025. It is now read-only.

Crashing when processing video files #31

@sridhard

Description

@sridhard

For some video files dash encryptor is crashing with the below stack

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.elementData(ArrayList.java:418)
at java.util.ArrayList.get(ArrayList.java:431)
at org.mp4parser.muxer.container.mp4.FragmentedMp4SampleList$1.getSampleEntry(FragmentedMp4SampleList.java:204)
at com.castlabs.dash.dashfragmenter.representation.RepresentationBuilderImpl.createTraf(RepresentationBuilderImpl.java:514)
at com.castlabs.dash.dashfragmenter.representation.RepresentationBuilderImpl.createMoof(RepresentationBuilderImpl.java:310)
at com.castlabs.dash.dashfragmenter.representation.RepresentationBuilderImpl.get(RepresentationBuilderImpl.java:288)
at com.castlabs.dash.dashfragmenter.representation.RepresentationBuilderImpl.getIndexSegment(RepresentationBuilderImpl.java:338)
at com.castlabs.dash.dashfragmenter.encrypt2.ManifestCreation.addSegmentBase(ManifestCreation.java:166)
at com.castlabs.dash.dashfragmenter.cmdlines.Encrypt2Command.run(Encrypt2Command.java:226)
at com.castlabs.dash.dashfragmenter.Main.main(Main.java:59)

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