Repository navigation
fix(VideoEncoder): remove the RVC4 H.264/H.265 need for correct timestamps - #2347
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
aljazkonec1
left a comment
There was a problem hiding this comment.
After the nit is addressed and the CI re-run passes (last run: an rvc4-fwp vcpkg failure and an unrelated pytest flake), you can merge.
aljazkonec1
left a comment
There was a problem hiding this comment.
The nit is fixed; after the CI passes, you can merge.
Purpose
RVC4 H.264/H.265 needed correct device timestamps on input frames. Host-made frames without them got ≤40% of the bitrate (5-8 dB lower PSNR), and timestamps that went back stopped the output.
Specification
PTS = previous PTS + device-timestamp delta, else one frame interval of
setFrameRate(). Host timestamps are not used. Camera streams keep the same PTS.Dependencies & Potential Impact
RVC4
VideoEncoderonly. No API or shared-type change.Deployment Plan
Merge after the
testablerun passes.Testing & Validation
New on-host test and
video_encoder_testcase. On RVC4 the case fails with develop firmware and passes with this one; it also passes on RVC2.AI Usage
Assisted-by: Claude Code:claude-opus-5-5 clang-tidy clang-format
Submitted code was reviewed by a human: NO
The author is taking the responsibility for the contribution: YES
🤖 Generated with Claude Code
Summary by CodeRabbit