Skip to content

[ce-oem] Implement video codec test encoder PSNR scenario for carmel project (New)#1744

Merged
weizhenwu merged 3 commits intomainfrom
carmel-video-codec
Feb 25, 2025
Merged

[ce-oem] Implement video codec test encoder PSNR scenario for carmel project (New)#1744
weizhenwu merged 3 commits intomainfrom
carmel-video-codec

Conversation

@weizhenwu
Copy link
Copy Markdown
Contributor

Description

Implement video codec tests for carmel project, this PR included gst_encoder_psnr scenario.
The tests will get video input from a filesrc and re-encode to target resolution and framerate. Then check the result video clip metadata and psnr value.

Tested encoders:

  • v4l2h264enc
  • v4l2h265enc

Tested resolutions and framerate:

  • 3840x2160 30fps
  • 1920x1088 120fps
  • 1280x720 240fps
  • 640x480 30fps

Resolved issues

N/A

Documentation

N/A

Tests

sideload submissions: https://certification.canonical.com/hardware/202408-34242/submission/413305/

@weizhenwu weizhenwu added the ce-oem The PR only contains to the ce-oem provider under the contrib area label Feb 24, 2025
Copy link
Copy Markdown
Collaborator

@stanley31huang stanley31huang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@weizhenwu weizhenwu merged commit 3dda724 into main Feb 25, 2025
10 checks passed
@weizhenwu weizhenwu deleted the carmel-video-codec branch February 25, 2025 05:18
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.30%. Comparing base (77728a6) to head (f57d6c3).
Report is 129 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1744   +/-   ##
=======================================
  Coverage   49.30%   49.30%           
=======================================
  Files         373      373           
  Lines       40454    40454           
  Branches     6834     6834           
=======================================
  Hits        19946    19946           
  Misses      19783    19783           
  Partials      725      725           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

stanley31huang pushed a commit that referenced this pull request Mar 28, 2025
…project (New) (#1744)

Implement encoder PSNR scenario for carmel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ce-oem The PR only contains to the ce-oem provider under the contrib area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants