tests: allow passing dimensions to videogen

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>