[FFmpeg-devel] [HELP] How to regression-test hwaccel/VDPAU?

wm4 nfxjfg at googlemail.com
Wed Sep 18 21:46:51 CEST 2013

On Wed, 18 Sep 2013 21:29:13 +0200
Reimar Döffinger <Reimar.Doeffinger at gmx.de> wrote:

> That is a lot of effort (one program for each of old-style VDPAU, new-style VDPAU, VAAPI and DXVA and maybe even the OSX one), doesn't allow proper regression testing (the data passed to the VDPAU decoder might change without triggering a visible change in that specific case, for non-bitexact formats like MPEG-2 and 4 different hardware and/or drivers can give different output, so we at least need per-hardware reference data), is almost useless for debugging (you see it broke, now how do you even correlate the output frame to the changed data?), and testing all formats will require you to both swap cards (no, using them at the same time doesn't really work in my experience) and reboot operating systems.
> I also have some doubts how many FATE systems we would find for that for automated testing.
> And if you have an AMD system you'll still get the random hangs when the GPU gets corrupt data. I prefer development where making a mistake does not result in a hard reboot...
> Or to put it differently: That does not sound like an improvement over visual inspection of MPlayer output to me.

Well, then let the test program test the bitstream buffers only. It
doesn't really have to use the vdpau API. This probably won't work for
libva, vda, and dxva. But mplayer doesn't support them anyway.
(Although for vda there's still this pseudo read-back decoder.)

More information about the ffmpeg-devel mailing list