[FFmpeg-devel] FATE: testing lossless video differently

Peter B. pb at das-werkstatt.com
Sun Sep 13 18:42:15 CEST 2015

Hi :)

I'm having difficulties implement FFV1 lossless FATE tests in a way that
seems more appropriate.
I'd be grateful for advice how to deal with this:

I'd rather use "framecrc" instead of the "enc_dec" method used in
vodec.mak. Yet, the usage of framecrc in the tests for other lossless
codecs in "lossless-video.mak", only seem to validate decoding of given
source files in the fate-suite samples collection.

I've checked the BASH code of the testing functions (enc_dec(),
framecrc()) in "tests/fate-run.sh".

I was thinking about adding a new function to tests/fate-run.sh that
does something like this:
1) encode-and-convert vsynth*.yuv
2) framecrc the generated output
3) decode the generated output
4) compare framecrc of encoding with framecrc of decoding

What do you think?

Thanks in advance,

More information about the ffmpeg-devel mailing list