Repository navigation
Image variant with H.264 and H.265 (proprietary codecs) - #17
Merged
Merged
Conversation
A second image, <version>-codecs, uses a CEF build of the same version with H.264 and H.265 software decoding (video, MSE, WebRTC receive). The Dockerfile takes CEF_URL; docker/cef-codecs holds the Chromium patches and the build's URL and SHA-1; a tag codecs-<version> builds and pushes the variant. Licensing is the user's responsibility (docs/proprietary-codecs.md). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017ybuzgBaGxuB5UiaE8dRa4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017ybuzgBaGxuB5UiaE8dRa4
WebRTC H.265 could not be tested end to end, so the build no longer offers it (H.265 stays for video and MSE, tested). New CEF build r2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017ybuzgBaGxuB5UiaE8dRa4
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.
The normal image uses the CEF project's build, which has only royalty-free codecs (VP8, VP9, AV1). Pages that play H.264 or H.265 stay black in it, for example the WebRTC previews of other media functions (
RTCRtpReceiver.getCapabilities('video')lists no H264).This adds an image variant,
<version>-codecs, with a CEF build of the same version (144.0.21) that also decodes H.264 and H.265 in software. The function's own code is unchanged.What changes
docker/Dockerfile: newARG CEF_URL(empty = the CEF project's build, as before).docker/cef-codecs/: the three Chromium patches (media HEVC, FFmpeg HEVC configuration, WebRTC H.265 software decoder) andcef.envwith the URL and SHA-1 of the build..github/workflows/container-codecs.yaml: a tagcodecs-<version>builds that commit with the CEF build and pushes<version>-codecsandcodecs. Normalv*.*.*releases are not touched.docs/proprietary-codecs.md(how it is built, what was tested), README section, CHANGELOG,tests/codecs/codecs.html.Tested (local image from this branch with the new CEF, software rendering),
tests/codecs/codecs.html: all OK.canPlayTypeand MSE: H.264 and H.265.Before the workflow can run, the CEF build (144 MB, SHA-1
01be7c32bca594271a83b73410ee3de607d1288e) has to be attached to a releasecef-144.0.21-codecsof this repository under the name incef.env.🤖 Generated with Claude Code
https://claude.ai/code/session_017ybuzgBaGxuB5UiaE8dRa4