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

Support `lsel` for decoding progressive image

Open
#373 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust
Domain
backend

Research direction

Start by locating mp4parse's handling of mandatory boxes and AVIF progressive-image decoding; the issue does not name a source file or test. Check the referenced layer-selector specification and updated test images, then verify that images containing an lsel box with layer_id 0xFFFF can at least be decoded non-progressively.

Written by the indexing model from the issue text.

Description

https://github.com/AOMediaCodec/av1-avif/issues/180 changed standard(https://aomediacodec.github.io/av1-avif/#layer-selector-property) to require a lsel box with layer_id set to 0xFFFF in an avif image to allow progressive decoding. Updated test images are yet to be merged: https://github.com/AOMediaCodec/av1-avif/pull/191.

With this change, mp4parse will reject any progressive image due to lsel being a mandatory unsupported box. We should at least be able to decode these images non-progressively.

I hope this can get into Firefox 102 ESR release, or we have to wait very long before being able to safely serve progressive AVIF images.

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.