diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2019-07-21 07:24:19 +0800 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2019-07-22 22:54:51 +0200 |
commit | d75c7dd45edfb78d8d37da8d589ede49f9612c22 (patch) | |
tree | eafdd2ac899d8027a3ad9d70f22b3ad4870c14c4 /tests | |
parent | 53462cea2f2a4248d7a1ffe19f4570589d624a9b (diff) | |
download | ffmpeg-streaming-d75c7dd45edfb78d8d37da8d589ede49f9612c22.zip ffmpeg-streaming-d75c7dd45edfb78d8d37da8d589ede49f9612c22.tar.gz |
fate: change the scenecut fate threshold
why change .4 to .25, it's for:
one scenecut(pkt_pts=20040) isn't detected by 0.4 threshold
why not change to 0.3 instead of 0.25:
it will miss the scenecut(pkt_pts=20040) after applying the next
patch which enables yuvj420
for fate testing, it's better to catch all scenecut scenes.
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fate/filter-video.mak | 2 | ||||
-rw-r--r-- | tests/ref/fate/filter-metadata-scenedetect | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index 1042e96..60c6be1 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -734,7 +734,7 @@ SCENEDETECT_DEPS = FFPROBE LAVFI_INDEV MOVIE_FILTER SELECT_FILTER SCALE_FILTER \ AVCODEC AVDEVICE MOV_DEMUXER SVQ3_DECODER ZLIB FATE_METADATA_FILTER-$(call ALLYES, $(SCENEDETECT_DEPS)) += fate-filter-metadata-scenedetect fate-filter-metadata-scenedetect: SRC = $(TARGET_SAMPLES)/svq3/Vertical400kbit.sorenson3.mov -fate-filter-metadata-scenedetect: CMD = run $(FILTER_METADATA_COMMAND) "sws_flags=+accurate_rnd+bitexact;movie='$(SRC)',select=gt(scene\,.4)" +fate-filter-metadata-scenedetect: CMD = run $(FILTER_METADATA_COMMAND) "sws_flags=+accurate_rnd+bitexact;movie='$(SRC)',select=gt(scene\,.25)" CROPDETECT_DEPS = FFPROBE LAVFI_INDEV MOVIE_FILTER CROPDETECT_FILTER SCALE_FILTER \ AVCODEC AVDEVICE MOV_DEMUXER H264_DECODER diff --git a/tests/ref/fate/filter-metadata-scenedetect b/tests/ref/fate/filter-metadata-scenedetect index d04054a..67c23b3 100644 --- a/tests/ref/fate/filter-metadata-scenedetect +++ b/tests/ref/fate/filter-metadata-scenedetect @@ -7,4 +7,5 @@ pkt_pts=9760|tag:lavfi.scene_score=1.000000 pkt_pts=14080|tag:lavfi.scene_score=0.838916 pkt_pts=15700|tag:lavfi.scene_score=1.000000 pkt_pts=18500|tag:lavfi.scene_score=0.474948 +pkt_pts=20040|tag:lavfi.scene_score=0.379700 pkt_pts=21760|tag:lavfi.scene_score=1.000000 |