--- Luca suggested trying not to use swscale at all, keeping the pixel format constant. I wasn't able to find a way to force 422 on input, but I solved this by using GREY input (hey interlaced y8 is all the rage). Vittorio
tests/fate/filter-video.mak | 2 +- tests/ref/fate/filter-fieldorder | 50 ++++++++++++++++++++-------------------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index 20cd617..4eed26f 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -22,7 +22,7 @@ FATE_FILTER_VSYNTH-$(CONFIG_FADE_FILTER) += fate-filter-fade fate-filter-fade: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf fade=in:0:25,fade=out:25:25 FATE_FILTER_VSYNTH-$(call ALLYES, INTERLACE_FILTER FIELDORDER_FILTER) += fate-filter-fieldorder -fate-filter-fieldorder: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf interlace=tff,fieldorder=bff +fate-filter-fieldorder: CMD = framecrc -c:v pgm -i $(SRC) -vf interlace=tff,fieldorder=bff FATE_FILTER_VSYNTH-$(CONFIG_GRADFUN_FILTER) += fate-filter-gradfun fate-filter-gradfun: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf gradfun diff --git a/tests/ref/fate/filter-fieldorder b/tests/ref/fate/filter-fieldorder index 1504255..3e52841 100644 --- a/tests/ref/fate/filter-fieldorder +++ b/tests/ref/fate/filter-fieldorder @@ -1,26 +1,26 @@ #tb 0: 2/25 -0, 0, 0, 1, 202752, 0x136ad937 -0, 1, 1, 1, 202752, 0xd8500359 -0, 2, 2, 1, 202752, 0xe7784d3b -0, 3, 3, 1, 202752, 0x49b2f58e -0, 4, 4, 1, 202752, 0x12548c8e -0, 5, 5, 1, 202752, 0x244f500e -0, 6, 6, 1, 202752, 0x98c5506e -0, 7, 7, 1, 202752, 0xe7131398 -0, 8, 8, 1, 202752, 0xc0e7c1ec -0, 9, 9, 1, 202752, 0x0113d766 -0, 10, 10, 1, 202752, 0x8439cc42 -0, 11, 11, 1, 202752, 0x8db397b9 -0, 12, 12, 1, 202752, 0x7648eb88 -0, 13, 13, 1, 202752, 0xe6a513b3 -0, 14, 14, 1, 202752, 0x3c6f3b29 -0, 15, 15, 1, 202752, 0x5e4f3ef1 -0, 16, 16, 1, 202752, 0x261e0778 -0, 17, 17, 1, 202752, 0xb2ce0274 -0, 18, 18, 1, 202752, 0x849d7746 -0, 19, 19, 1, 202752, 0xadf7b1b1 -0, 20, 20, 1, 202752, 0xc4041125 -0, 21, 21, 1, 202752, 0x78e4cce8 -0, 22, 22, 1, 202752, 0x2f306542 -0, 23, 23, 1, 202752, 0x4b4bebc6 -0, 24, 24, 1, 202752, 0xb9bfbb17 +0, 0, 0, 1, 152064, 0x57c7e24e +0, 1, 1, 1, 152064, 0x951921ee +0, 2, 2, 1, 152064, 0xc6ad8deb +0, 3, 3, 1, 152064, 0x388e37da +0, 4, 4, 1, 152064, 0x9bd5de2c +0, 5, 5, 1, 152064, 0xa9d0100f +0, 6, 6, 1, 152064, 0x2a0e8d4b +0, 7, 7, 1, 152064, 0x647129a3 +0, 8, 8, 1, 152064, 0xcf39160e +0, 9, 9, 1, 152064, 0xe37df51a +0, 10, 10, 1, 152064, 0xb232df78 +0, 11, 11, 1, 152064, 0x66459dbc +0, 12, 12, 1, 152064, 0xa29023c1 +0, 13, 13, 1, 152064, 0xfedb93a3 +0, 14, 14, 1, 152064, 0x1cededc2 +0, 15, 15, 1, 152064, 0xec490dc7 +0, 16, 16, 1, 152064, 0x2091eea9 +0, 17, 17, 1, 152064, 0x9bd63fa0 +0, 18, 18, 1, 152064, 0xde5e7e88 +0, 19, 19, 1, 152064, 0x7339bcbd +0, 20, 20, 1, 152064, 0xf3df70ec +0, 21, 21, 1, 152064, 0xdeafe5e5 +0, 22, 22, 1, 152064, 0x4036bac1 +0, 23, 23, 1, 152064, 0x7ccc8430 +0, 24, 24, 1, 152064, 0xf82dc095 -- 1.8.4 _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
