Skip to content

Better compatibility with Dolby vision#402

Merged
numandev1 merged 11 commits into
numandev1:mainfrom
XChikuX:copilot/update-docs-and-squash-commits
Jun 10, 2026
Merged

Better compatibility with Dolby vision#402
numandev1 merged 11 commits into
numandev1:mainfrom
XChikuX:copilot/update-docs-and-squash-commits

Conversation

@XChikuX

@XChikuX XChikuX commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

I also worked on this with copilot. Changes are worth looking over..

Copilot AI and others added 10 commits May 7, 2026 20:20
Agent-Logs-Url: https://github.com/XChikuX/react-native-compressor/sessions/98e6d175-52db-4405-a832-fb651d0255ee

Co-authored-by: XChikuX <5894493+XChikuX@users.noreply.github.com>
Agent-Logs-Url: https://github.com/XChikuX/react-native-compressor/sessions/98e6d175-52db-4405-a832-fb651d0255ee

Co-authored-by: XChikuX <5894493+XChikuX@users.noreply.github.com>
Agent-Logs-Url: https://github.com/XChikuX/react-native-compressor/sessions/98e6d175-52db-4405-a832-fb651d0255ee

Co-authored-by: XChikuX <5894493+XChikuX@users.noreply.github.com>
Agent-Logs-Url: https://github.com/XChikuX/react-native-compressor/sessions/98e6d175-52db-4405-a832-fb651d0255ee

Co-authored-by: XChikuX <5894493+XChikuX@users.noreply.github.com>
Agent-Logs-Url: https://github.com/XChikuX/react-native-compressor/sessions/98e6d175-52db-4405-a832-fb651d0255ee

Co-authored-by: XChikuX <5894493+XChikuX@users.noreply.github.com>
@numandev1

Copy link
Copy Markdown
Owner

@XChikuX can you resolve conflicts?

// Some inputs (e.g. iPhone .MOV files) report a "video/dolby-vision" MIME
// type that many devices cannot decode. Remap to a decodable base-layer
// codec, or fail with a clear error, before creating the decoder (#398).
ensureDecodableVideoFormat(inputFormat)

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ios change looks good to me

one android concern before merge: when we remap Dolby Vision from video/dolby-vision to video/hevc or video/avc, we only update KEY_MIME

but the same MediaFormat may still contain Dolby Vision KEY_PROFILE and KEY_LEVEL values. that can cause MediaCodec.configure() to fail because the mime is now hevc/avc but the profile is still Dolby Vision

can we also clear KEY_PROFILE and KEY_LEVEL after changing the mime, and test with one real iphone hdr .MOV on android

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will need sometime to get to this.. You have full edit permissions if you'd like to take the lead.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i have to setup this whole project in my local currently my focus is on building some proudct in agentic ai, can you fix it, i will test it by automation and merge it

@numandev1 numandev1 merged commit e27f8f1 into numandev1:main Jun 10, 2026
2 of 3 checks passed
@numandev1

Copy link
Copy Markdown
Owner

relased in 2.0.0

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.

3 participants