Skip to content

Add support for H265/HEVC in FFMPEG#211

Merged
drewbotts merged 2 commits into
opensensorhub:masterfrom
Botts-Innovative-Research:ffmpeg-support-for-h265
May 21, 2026
Merged

Add support for H265/HEVC in FFMPEG#211
drewbotts merged 2 commits into
opensensorhub:masterfrom
Botts-Innovative-Research:ffmpeg-support-for-h265

Conversation

@Cardy2
Copy link
Copy Markdown
Contributor

@Cardy2 Cardy2 commented May 20, 2026

OSH H265 video data doesn't contain the needed parameter sets (VPS/SPS/PPS extracted from Hvcc extradata) to decode H265 video in the viewer or any downstream client.

PR adds a method to get the HVCC annexB extradata so that it is included downstream

Testing:

Test the video plays successfully using one of the paths below:

Transcoder Path

  • Since the osh-viewer updates for handling H265 had not yet been merged, the video transcoder can be used to convert the format to a viewable codec
  • Add the video transcoder under the processing tab, add the ffmpeg sensor as the "Video Source" and set the input/output codecs (H265 OR HEVC -> MJPEG OR H264) so that the video is playable in the viewer

Direct osh-viewer path

  • Optionally, in order to test the H265 handling directly with the viewer, clone the botts:osh-viewer project & check out this branch:
    https://github.com/Botts-Innovative-Research/osh-viewer/tree/add-hevc-support

  • after checkout, do an npm install then npm run dev

  • in the viewer with dev tools open, add the node, then a video visualization with the ffmpeg driver

  • check the console for any errors

@drewbotts drewbotts self-requested a review May 21, 2026 17:29
@drewbotts drewbotts merged commit 6e10c57 into opensensorhub:master May 21, 2026
1 check passed
@Cardy2 Cardy2 changed the title Add support for H264/HEVC in FFMPEG Add support for H265/HEVC in FFMPEG May 25, 2026
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 FFMPEG driver to support H265/HEVC

2 participants