Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for failing tests due to IndexOutOfRangeException in DefaultMp4SampleList, Fix for FragmentedMp4Writer producing invalid MP4 file #466

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

jimm98y
Copy link

@jimm98y jimm98y commented May 13, 2023

Currently many tests are failing because of an IndexOutOfRangeException in DefaultMp4SampleList on line 74. "entries" are empty because parseDetails has not been called to populate them.

Additionally, FragmentedMp4Writer was producing an invalid mp4 files with all samples in the "trun" box having zero size. This is also fixed and I've added a test for the FragmentedMp4Writer that now produces playable mp4 file.

Also fixes #334.

Finally, H265 muxing now produces a valid mp4 file that can be played in both Media player on Windows and VLC/ffmpeg.

@jimm98y jimm98y changed the title Fix for failing tests due to IndexOutOfRangeException in DefaultMp4SampleList Fix for failing tests due to IndexOutOfRangeException in DefaultMp4SampleList, Fix for FragmentedMp4Writer producing invalid MP4 file May 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

raw h265 convert to mp4 does not work (main method of H265TrackImpl.java)
1 participant