Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

AVIF metadata is improperly marked as private

Open
#444 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust

Research direction

Locate the definitions and usages of NclxColourInformation, ImageMirror, PixelAspectRatio, and ImageSpatialExtentsProperty in the mp4parse source. Review how AVIF decoder initialization consumes these metadata types, then determine and implement an appropriate public, copyable or borrowed API; done means callers can use the required metadata without private-type access.

Written by the indexing model from the issue text.

Description

Hi,

Coming here from https://github.com/image-rs/image/issues/2892, I noticed that mp4parse can be just enough for initializing an image decoder before the images are actually requested. However, several structs are marked as private, making them unusable:

  • NclxColourInformation
  • ImageMirror
  • PixelAspectRatio
  • ImageSpatialExtentsProperty (critical)

Would it be possible to expose these appropriately, and if necessary, via a copyable or borrowed fully public struct?

Dominant language
Rust
Stars
448
Forks
72
Avg merge
20d 3h
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mozilla/mp4parse-rust

All issues in mozilla/mp4parse-rust

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.