Skip to content

Add support for H265/HEVC video in WebCodecView#235

Open
Cardy2 wants to merge 1 commit into
devfrom
add-H265-support
Open

Add support for H265/HEVC video in WebCodecView#235
Cardy2 wants to merge 1 commit into
devfrom
add-H265-support

Conversation

@Cardy2
Copy link
Copy Markdown
Contributor

@Cardy2 Cardy2 commented May 25, 2026

Changes:

  • Updated WebCodecView to handle the additional parameter sets needed to decode H265 video.
  • Removed unnecessary reconfigure calls so that no keyframe errors are hit due to reconfiguring while data is in midflight
  • Removed compression !== 'h265' condition from in VideoView createVideoView() for defaulting the use of WebCodecApi

Testing:

  • Ensure the FFMPEG driver is up-to-date with the latest changes in opensensorhub/osh-addons#master otherwise the data will not contain the needed parameter sets needed for decoding
  • Connect to any camera that has enabled H265/HEVC video data AND uses the FFMPEG driver to ingest the data (e.g. Axis, FFMPEG)
  • Open the viewer, start the video visualization, and check the console for errors

@Cardy2 Cardy2 self-assigned this May 25, 2026
@Cardy2 Cardy2 linked an issue May 25, 2026 that may be closed by this pull request
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.

Update osh-viewer to support H265/HEVC video

1 participant