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

fix(server): encodes iPhone 16 Pro video with unknown audio codec #13593

Merged
merged 6 commits into from
Oct 19, 2024

Conversation

alextran1502
Copy link
Contributor

@alextran1502 alextran1502 commented Oct 18, 2024

This PR introduces a fix for missing new audio codec from iPhone 16 Pro Max in FFmpeg build by picking the known codec in the audio streams.

Tested on FireFox on video that previously doesn't play because of missing encoded video, now can play successfully with sound

server/src/services/media.service.ts Outdated Show resolved Hide resolved
@mertalev
Copy link
Contributor

Could you add a unit test for this?

@alextran1502 alextran1502 merged commit 39b571a into main Oct 19, 2024
36 checks passed
@alextran1502 alextran1502 deleted the fix/encode-video-iphone16pro branch October 19, 2024 05:50
yosit pushed a commit to yosit/immich that referenced this pull request Oct 24, 2024
…mich-app#13593)

* fix(server): encodes iPhone 16 Pro video with unknown audio codec

* remove white space

* pr feedback + unit test

* remove public method keyword

* test the service

* correcting unit test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants