Skip to content
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

Add test-chroma testcase #735

Merged
merged 1 commit into from
May 29, 2022
Merged

Conversation

atsampson
Copy link
Collaborator

We haven't previously had an automated test that checks ld-chroma-decoder is actually producing something close to the right output...

This generates a test video using ffmpeg, encodes it into a TBC file using ld-chroma-encoder, then decodes it using ld-chroma-decoder (with various options) and compares it to the original video using ffmpeg's PSNR filter.

By default it uses ffmpeg-generated colour bars. You can give it options to use an external input video, and to write PNG files showing the input and output.

It only supports PAL at the moment, but could be extended to do NTSC once we have an NTSC encoder (CC @ifb).

@atsampson atsampson added enhancement ld-decode-tools An issue only affecting the ld-decode-tools labels May 29, 2022
@atsampson atsampson requested a review from simoninns May 29, 2022 01:12
We haven't previously had an automated test that checks
ld-chroma-decoder is actually producing something close to the right
output...

This generates a test video using ffmpeg, encodes it into a TBC file
using ld-chroma-encoder, then decodes it using ld-chroma-decoder (with
various options) and compares it to the original video using ffmpeg's
PSNR filter.

By default it uses ffmpeg-generated colour bars. You can give it options
to use an external input video, and to write PNG files showing the input
and output.

It only supports PAL at the moment, but could be extended to do NTSC
once we have an NTSC encoder.
@simoninns simoninns merged commit 89c48c4 into happycube:master May 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ld-decode-tools An issue only affecting the ld-decode-tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants