[FFmpeg-devel] [PATCH] tests/fate: add simple tests for libx264 and libx265
Tobias Rapp
t.rapp at noa-archive.com
Tue Mar 14 10:29:16 EET 2023
On 11/03/2023 18:05, Anton Khirnov wrote:
> Since these are external encoders not under our control, we cannot test
> the encoded output exactly as is done for internal encoders. We can
> still test however that the output is decodable and produces the
> expected number of frames with expected dimensions, pixel formats, and
> timestamps.
> ---
> A minimal proof of concept, more tests for these and other external
> encoders are welcome.
>
> Samples were picked at a whim, better suggestions also welcome.
> ---
> tests/Makefile | 1 +
> tests/fate-run.sh | 16 +++++++
> tests/fate/enc_external.mak | 10 +++++
> tests/ref/fate/libx264-simple | 85 +++++++++++++++++++++++++++++++++++
> tests/ref/fate/libx265-simple | 25 +++++++++++
> 5 files changed, 137 insertions(+)
> create mode 100644 tests/fate/enc_external.mak
> create mode 100644 tests/ref/fate/libx264-simple
> create mode 100644 tests/ref/fate/libx265-simple
> [...]
I think your approach for testing external (video) encoders is meaningful.
Regards, Tobias
More information about the ffmpeg-devel
mailing list