Quoting Luca Barbato <lu_z...@gentoo.org>:

On 27/10/13 10:14, Peter B. wrote:
1) How do I add the reference files, required for tests to be able to diff?

You can upload to our local ftp[1] and drop me a note.

I'd like to keep the set of testvideos as small as possible, but I'm trying to improve the LCOV coverage of the FFV1 tests as high as possible.

I've seen that the current FFV1 tests were in "vcodec.mak", and if I understood it correctly, only encoding of 2 videos was tested. No decoding. Therefore, I've added additional FFV1 tests to "lossless-video.mak", and transcoded the files used for Lagarith FATE-tests to a new folder in "fate-suite/ffv1".

Next to the Lagarith testvideos, I've used 4 frames of a test-signal generated by us, because the Lagarith videos were mainly still images, and I wanted to have at least a few frames with a visual change in them. So far my files used for FFV1 testing are around 8,5 MiB in total. I have several files for different pix_fmts to test decoding as thoroughly as necessary.


All the videos used for these tests could actually be generated, but I don't know how to add commands for generating the videos in FATE automatically so they are available for the actual tests. Could anyone point me at examples for doing so?

If there are any objections or suggestions regarding this approach, I'm happy to hear about them, so I can learn.


2) How do I get a LCOV HTML report locally?

https://wiki.libav.org/GcovCoverageHowTo

Worked (almost) perfectly. Thank you very much!
I had to add "-b ." to the command shown in your Wiki, in order for lcov to find the source. So my call looks as follows:

[quote]
$ lcov -b . --directory . --capture --output-file coverage.info
[/quote]

I've already used it with my new FFV1 set, and the line-coverage for ffv1dec.c already increased.

I've seen in FFmpeg's docs about "lcov" [1], that they've included Makefile-rules, such as:

- "make lcov": for generating HTML output
- "make lcov-reset": for resetting coverage measurements

Do these also work in Libav?
(They're not mentioned in your HowTo, so I thought I'd ask)


Regards,
Pb


== References:
[1] http://www.ffmpeg.org/developer.html

_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to