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

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
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

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.

1 participant