fix(encoder): tag HEVC as hvc1 in MP4/MOV for Apple player compatibility - #1507
Open
Antman1526 wants to merge 1 commit into
Open
fix(encoder): tag HEVC as hvc1 in MP4/MOV for Apple player compatibility#1507Antman1526 wants to merge 1 commit into
Antman1526 wants to merge 1 commit into
Conversation
QuickTime and Photos refuse HEVC streams tagged with the mux default 'hev1' sample entry; retag as 'hvc1' when muxing HEVC into mp4/mov.
Antman1526
force-pushed
the
hvc1-tag-for-apple-players
branch
from
August 12, 2026 12:19
358eb66 to
46e4471
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When encoding HEVC into MP4/MOV (e.g.
-c hevc_videotoolboxon macOS, orlibx265anywhere), the muxer defaults to thehev1sample-entry tag, which QuickTime and Photos refuse to play. This retags the video stream ashvc1for mp4/mov outputs.Verified with ffprobe (
codec_tag_string=hvc1) and QuickTime playback on macOS. Related to the macOS build effort in #1493 / #1362, but benefits any platform producing HEVC files for Apple devices.Note: I'm not attaching a CLA/signoff process here — happy to adjust the patch or commit format however you prefer.