mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
tests/ffmpeg: add test for HEIF automatic tile merging
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -267,3 +267,16 @@ FATE_FFMPEG-$(call ENCDEC2, MPEG2VIDEO, FFV1, NUT, HSTACK_FILTER PIPE_PROTOCOL F
|
||||
# test matching by stream disposition
|
||||
fate-ffmpeg-spec-disposition: CMD = framecrc -i $(TARGET_SAMPLES)/mpegts/pmtchange.ts -map '0:disp:visual_impaired+descriptions:1' -c copy
|
||||
FATE_SAMPLES_FFMPEG-$(call FRAMECRC, MPEGTS,,) += fate-ffmpeg-spec-disposition
|
||||
|
||||
# test heif image merging using internally defined filtegraphs
|
||||
# picking the stream group if not mapping any specific stream
|
||||
fate-ffmpeg-heif-merge: CMD = framecrc -i $(TARGET_SAMPLES)/heif-conformance/C007.heic
|
||||
FATE_SAMPLES_FFMPEG-$(call FRAMECRC, MOV, HEVC, HEVC_PARSER) += fate-ffmpeg-heif-merge
|
||||
|
||||
# mapping the stream group
|
||||
fate-ffmpeg-heif-merge-mapped: CMD = framecrc -i $(TARGET_SAMPLES)/heif-conformance/C007.heic -map '[0:g:0]'
|
||||
FATE_SAMPLES_FFMPEG-$(call FRAMECRC, MOV, HEVC, HEVC_PARSER) += fate-ffmpeg-heif-merge-mapped
|
||||
|
||||
# binding the internal filtegraph with a caller defined filtergraph
|
||||
fate-ffmpeg-heif-merge-filtergraph: CMD = framecrc -i $(TARGET_SAMPLES)/heif-conformance/C007.heic -filter_complex "sws_flags=+accurate_rnd+bitexact\;[0:g:0]scale=w=1280:h=720[out]" -map "[out]"
|
||||
FATE_SAMPLES_FFMPEG-$(call FRAMECRC, MOV, HEVC, HEVC_PARSER SCALE_FILTER) += fate-ffmpeg-heif-merge-filtergraph
|
||||
|
||||
6
tests/ref/fate/ffmpeg-heif-merge
Normal file
6
tests/ref/fate/ffmpeg-heif-merge
Normal file
@@ -0,0 +1,6 @@
|
||||
#tb 0: 1/1
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 2560x1440
|
||||
#sar 0: 0/1
|
||||
0, 0, 0, 1, 5529600, 0x3bf5d001
|
||||
6
tests/ref/fate/ffmpeg-heif-merge-filtergraph
Normal file
6
tests/ref/fate/ffmpeg-heif-merge-filtergraph
Normal file
@@ -0,0 +1,6 @@
|
||||
#tb 0: 1/1
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 1280x720
|
||||
#sar 0: 0/1
|
||||
0, 0, 0, 1, 1382400, 0x0f97ebd5
|
||||
6
tests/ref/fate/ffmpeg-heif-merge-mapped
Normal file
6
tests/ref/fate/ffmpeg-heif-merge-mapped
Normal file
@@ -0,0 +1,6 @@
|
||||
#tb 0: 1/1
|
||||
#media_type 0: video
|
||||
#codec_id 0: rawvideo
|
||||
#dimensions 0: 2560x1440
|
||||
#sar 0: 0/1
|
||||
0, 0, 0, 1, 5529600, 0x3bf5d001
|
||||
Reference in New Issue
Block a user