-
Notifications
You must be signed in to change notification settings - Fork 104
frontend: Add support to video decoder using CDR #3407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
patrickelectric
merged 5 commits into
bluerobotics:master
from
patrickelectric:cdr-frontend
Jul 7, 2025
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
57ef678
core: frontend: package: Add foxglove/rostmsg and rosmsg2-serialization
patrickelectric a08db72
core: frontend: components: zenoh-inspector: ZenohInspector: Handle C…
patrickelectric c1a3282
core: frontend: vite.config: Add msg to assets
patrickelectric 8dc19eb
core: frontend: public: msgs: First commit with CompresedVideo
patrickelectric 569e4c5
core: frontend: yarn: Update lock file
patrickelectric File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# foxglove_msgs/msg/CompressedVideo | ||
# A single frame of a compressed video bitstream | ||
|
||
# Generated by https://github.com/foxglove/foxglove-sdk | ||
|
||
# Timestamp of video frame | ||
#builtin_interfaces/Time timestamp | ||
# TODO: Allow merging messages on the fly | ||
# This message communicates ROS Time defined here: | ||
# https://design.ros2.org/articles/clock_and_time.html | ||
|
||
# The seconds component, valid over all int32 values. | ||
int32 sec | ||
|
||
# The nanoseconds component, valid in the range [0, 1e9), to be added to the seconds component. | ||
# e.g. | ||
# The time -1.7 seconds is represented as {sec: -2, nanosec: 3e8} | ||
# The time 1.7 seconds is represented as {sec: 1, nanosec: 7e8} | ||
uint32 nanosec | ||
|
||
|
||
|
||
# Frame of reference for the video. | ||
# | ||
# The origin of the frame is the optical center of the camera. +x points to the right in the video, +y points down, and +z points into the plane of the video. | ||
string frame_id | ||
|
||
# Compressed video frame data. | ||
# | ||
# For packet-based video codecs this data must begin and end on packet boundaries (no partial packets), and must contain enough video packets to decode exactly one image (either a keyframe or delta frame). Note: Foxglove does not support video streams that include B frames because they require lookahead. | ||
# | ||
# Specifically, the requirements for different `format` values are: | ||
# | ||
# - `h264` | ||
# - Use Annex B formatted data | ||
# - Each CompressedVideo message should contain enough NAL units to decode exactly one video frame | ||
# - Each message containing a key frame (IDR) must also include a SPS NAL unit | ||
# | ||
# - `h265` (HEVC) | ||
# - Use Annex B formatted data | ||
# - Each CompressedVideo message should contain enough NAL units to decode exactly one video frame | ||
# - Each message containing a key frame (IRAP) must also include relevant VPS/SPS/PPS NAL units | ||
# | ||
# - `vp9` | ||
# - Each CompressedVideo message should contain exactly one video frame | ||
# | ||
# - `av1` | ||
# - Use the "Low overhead bitstream format" (section 5.2) | ||
# - Each CompressedVideo message should contain enough OBUs to decode exactly one video frame | ||
# - Each message containing a key frame must also include a Sequence Header OBU | ||
uint8[] data | ||
|
||
# Video format. | ||
# | ||
# Supported values: `h264`, `h265`, `vp9`, `av1`. | ||
# | ||
# Note: compressed video support is subject to hardware limitations and patent licensing, so not all encodings may be supported on all platforms. See more about [H.265 support](https://caniuse.com/hevc), [VP9 support](https://caniuse.com/webm), and [AV1 support](https://caniuse.com/av1). | ||
string format |
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.