This repository was archived by the owner on Feb 21, 2026. It is now read-only.
Implement functional VP8 encoder with spec-compliant bitstream output#12
Open
Implement functional VP8 encoder with spec-compliant bitstream output#12
Conversation
Co-authored-by: sipsorcery <197660+sipsorcery@users.noreply.github.com>
Co-authored-by: sipsorcery <197660+sipsorcery@users.noreply.github.com>
Co-authored-by: sipsorcery <197660+sipsorcery@users.noreply.github.com>
Co-authored-by: sipsorcery <197660+sipsorcery@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add simple VP8 encoder in C# to match decoder
Add VP8 encoder infrastructure and core components
Feb 2, 2026
Co-authored-by: sipsorcery <197660+sipsorcery@users.noreply.github.com>
Co-authored-by: sipsorcery <197660+sipsorcery@users.noreply.github.com>
Copilot
AI
changed the title
Add VP8 encoder infrastructure and core components
Implement functional VP8 encoder with keyframe support
Feb 2, 2026
Co-authored-by: sipsorcery <197660+sipsorcery@users.noreply.github.com>
Copilot
AI
changed the title
Implement functional VP8 encoder with keyframe support
Correct author attribution in encoder files
Feb 2, 2026
Co-authored-by: sipsorcery <197660+sipsorcery@users.noreply.github.com>
sipsorcery
approved these changes
Feb 2, 2026
Co-authored-by: sipsorcery <197660+sipsorcery@users.noreply.github.com>
Co-authored-by: sipsorcery <197660+sipsorcery@users.noreply.github.com>
Copilot
AI
changed the title
Correct author attribution in encoder files
Fix VP8 encoder bitstream format issues for WebRTC compatibility
Feb 2, 2026
Co-authored-by: sipsorcery <197660+sipsorcery@users.noreply.github.com>
Copilot
AI
changed the title
Fix VP8 encoder bitstream format issues for WebRTC compatibility
Implement VP8 encoder with keyframe support (WIP - bitstream compatibility issue)
Feb 2, 2026
Co-authored-by: sipsorcery <197660+sipsorcery@users.noreply.github.com>
Copilot
AI
changed the title
Implement VP8 encoder with keyframe support (WIP - bitstream compatibility issue)
Implement VP8 encoder with keyframe support
Feb 2, 2026
Co-authored-by: sipsorcery <197660+sipsorcery@users.noreply.github.com>
Copilot
AI
changed the title
Implement VP8 encoder with keyframe support
Implement functional VP8 encoder with spec-compliant bitstream output
Feb 2, 2026
Copilot stopped work on behalf of
sipsorcery due to an error
February 2, 2026 20:38
Copilot stopped work on behalf of
sipsorcery due to an error
February 2, 2026 20:55
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Implements a working VP8 encoder capable of producing valid bitstreams for keyframes using intra-prediction. The encoder was initially producing frames that failed decode with
VPX_CODEC_MEM_ERRORdue to bitstream format violations.Implementation
Core Encoder (
vp8_encoder.cs)Bitstream Format Fixes
(width-1, height-1)per specmb_no_coeff_skipflag before macroblock dataIntegration (
VP8Codec.cs)EncodeVideo()methodUsage
Limitations
Files Changed
src/vp8_encoder.cs- Complete encoder implementationsrc/VP8Codec.cs- Integrationsrc/onyxe_int.cs- Encoder structuressrc/fdctllm.cs- Forward DCTsrc/quantize.cs- Quantizationtest/VP8.Net.UnitTest/VP8EncoderWorkingTest.cs- Tests✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.