diff options
author | Diego Biurrun <diego@biurrun.de> | 2018-08-14 11:07:10 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2019-02-16 18:15:38 +0100 |
commit | 896fe15dbb7b78de495c4a7dd75e7faec66778da (patch) | |
tree | 5c28dc3de13faeb034a503cb4bebf12824159ae4 /tests/fate-run.sh | |
parent | a957e9379d11f2982d615f92c30580a57ea8bb40 (diff) | |
download | ffmpeg-896fe15dbb7b78de495c4a7dd75e7faec66778da.tar.gz |
tests: Convert lavf pixfmt conversion tests to non-legacy test scripts
Also split monolithic lavf-pixfmt test into individual tests.
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-x | tests/fate-run.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh index a9dfebc364..89eef1230f 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -223,6 +223,17 @@ lavftest(){ ${base}/lavf-regression.sh $t lavf tests/vsynth1 "$target_exec" "$target_path" "$threads" "$thread_type" "$cpuflags" } +pixfmt_conversion(){ + conversion="${test#pixfmt-}" + outdir="tests/data/pixfmt" + raw_dst="$outdir/$conversion.out.yuv" + file=${outdir}/${conversion}.yuv + run_avconv $DEC_OPTS -r 1 -f image2 -c:v pgmyuv -i $raw_src \ + $ENC_OPTS -f rawvideo -t 1 -s 352x288 -pix_fmt $conversion $target_path/$raw_dst + do_avconv $file $DEC_OPTS -f rawvideo -s 352x288 -pix_fmt $conversion -i $target_path/$raw_dst \ + $ENC_OPTS -f rawvideo -s 352x288 -pix_fmt yuv444p +} + video_filter(){ filters=$1 shift |