Skip to content

Parse meta box and related boxes in in QTFF format #433

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

Closed
wants to merge 2 commits into from

Conversation

stefwalter
Copy link

In the QTFF format (ie: Quicktime .MOV files) the 'meta' atom
has is a container box instead of a full box. We add a flag
on the stream to indicate this difference in behavior once we
know we are parsing a QTFF format file.

This includes these atoms/boxes:

  • 'keys' which are the named keys in a QTFF 'meta' box
  • 'ilst' which typically follows the 'keys' atom within 'meta'
  • 'data' usually the the contents of an ilst atom

The 'data' box has many data types. Each type is described by the
enumeration ItifTypes. Only support for those that have a test
file have been implemented so far:

  • UTF8
  • BE_UNSIGNED_INT
  • BE_SIGNED_INT
  • BE_FLOAT32

@stefwalter
Copy link
Author

To get the test to pass, a video file is necessary. I am getting permission from the photographer for the video to be included in the test suite.

In the QTFF format (ie: Quicktime .MOV files) the 'meta' atom
has is a container box instead of a full box. We add a flag
on the stream to indicate this difference in behavior once we
know we are parsing a QTFF format file.

Fixes gpac#309
This includes these atoms/boxes:
 * 'keys' which are the named keys in a QTFF 'meta' box
 * 'ilst' which typically follows the 'keys' atom within 'meta'
 * 'data' usually the the contents of an ilst atom

The 'data' box has many data types. Each type is described by the
enumeration ItifTypes. Only support for those that have a test
file have been implemented so far:

 * UTF8
 * BE_UNSIGNED_INT
 * BE_SIGNED_INT
 * BE_FLOAT32
@stefwalter
Copy link
Author

iphone.mov

Here is the file necessary to get the test suite to pass. I have permission from the photographer to use it here:

https://download.tsi.telecom-paristech.fr/gpac/mp4box.js/mov/iphone.mov

@DenizUgur
Copy link
Member

Could you please re-open this PR for the next branch?

@DenizUgur DenizUgur closed this May 26, 2025
@stefwalter
Copy link
Author

@DenizUgur I'm working on this. How do I get the tests to work. QUnit based tests seems to have been removed (from package.json). What has replaced it?

@DenizUgur
Copy link
Member

Nothing has replaced it yet. I'm planning on adding a new testsuite but until then you don't need to worry about the tests.

@stefwalter
Copy link
Author

Worked on this here #459 ... a few more tasks related to testing needed, but broadly ready.

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.

2 participants