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

Support HEVC spatial video tags in quicktime container #675

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ public class QuickTimeMetadataDirectory extends QuickTimeDirectory
public static final int TAG_MODEL = 0x051E;
public static final int TAG_ORIGINATING_SIGNATURE = 0x051F;
public static final int TAG_PIXEL_DENSITY = 0x0520;
public static final int TAG_SPATIAL_FORMAT_VERSION = 0x0521;
public static final int TAG_SPATIAL_AGGRESSORS_SEEN = 0x0522;

public QuickTimeMetadataDirectory()
{
Expand Down Expand Up @@ -116,6 +118,8 @@ public QuickTimeMetadataDirectory()
_tagIntegerMap.put("com.apple.quicktime.model", TAG_MODEL);
_tagIntegerMap.put("com.apple.photos.originating.signature", TAG_ORIGINATING_SIGNATURE);
_tagIntegerMap.put("com.apple.quicktime.pixeldensity", TAG_PIXEL_DENSITY);
_tagIntegerMap.put("com.apple.quicktime.spatial.format-version", TAG_SPATIAL_FORMAT_VERSION);
_tagIntegerMap.put("com.apple.quicktime.spatial.aggressors-seen", TAG_SPATIAL_AGGRESSORS_SEEN);

_tagIntegerMap.put("----", 0x0400);
_tagIntegerMap.put("@PST", 0x0401);
Expand Down Expand Up @@ -233,6 +237,8 @@ public QuickTimeMetadataDirectory()
_tagNameMap.put(TAG_MODEL, "Model");
_tagNameMap.put(TAG_ORIGINATING_SIGNATURE, "Originating Signature");
_tagNameMap.put(TAG_PIXEL_DENSITY, "Pixel Density");
_tagNameMap.put(TAG_SPATIAL_FORMAT_VERSION, "Spatial Format Version");
_tagNameMap.put(TAG_SPATIAL_AGGRESSORS_SEEN, "Spatial Aggressors Seen");

_tagNameMap.put(0x0400, "iTunes Info");
_tagNameMap.put(0x0401, "Parent Short Title");
Expand Down
Loading