History

fate/ffmpeg: add test for time limited sub2video instance

Utilizes a subpicture sample with one decodable subpicture for the test. Based on a failing test case in reported by Michael in https://ffmpeg.org/pipermail/ffmpeg-devel/2019-February/240398.html which at the time had no test case for it. Additionally, this is the first test case for the presentation graphics format.

Jan Ekström committed 6 years ago

Commit c149f161 parent 9c8a5fd2 files · +18 −0Browse files

Unified · Split

2 files
  1. tests/fate/ffmpeg.mak +10 −0
  2. tests/ref/fate/sub2video_time_limited +8 −0
tests/fate/ffmpeg.mak+10−0
@@ -65,6 +65,16 @@ fate-sub2video_basic: CMD = framecrc \ · 64 unmodified lines
65 -filter_complex "sws_flags=+accurate_rnd+bitexact\;[0:s:0]scale" \65 -filter_complex "sws_flags=+accurate_rnd+bitexact\;[0:s:0]scale" \
66 -c:v rawvideo66 -c:v rawvideo
67 67
68# Time-limited run with a sample that doesn't require seeking and
69# contains samples within the initial period.
70FATE_SAMPLES_FFMPEG-$(call ALLYES, SUP_DEMUXER PGSSUB_DECODER AVFILTER) += fate-sub2video_time_limited
71fate-sub2video_time_limited: CMD = framecrc \
72 -i $(TARGET_SAMPLES)/sub/pgs_sub.sup \
73 -vsync passthrough -copyts \
74 -t 15 \
75 -filter_complex "sws_flags=+accurate_rnd+bitexact\;[0:s:0]scale" \
76 -c:v rawvideo
77
68FATE_FFMPEG-$(call ALLYES, PCM_S16LE_DEMUXER PCM_S16LE_MUXER PCM_S16LE_DECODER PCM_S16LE_ENCODER) += fate-unknown_layout-pcm78FATE_FFMPEG-$(call ALLYES, PCM_S16LE_DEMUXER PCM_S16LE_MUXER PCM_S16LE_DECODER PCM_S16LE_ENCODER) += fate-unknown_layout-pcm
69fate-unknown_layout-pcm: $(AREF)79fate-unknown_layout-pcm: $(AREF)
70fate-unknown_layout-pcm: CMD = md5 \80fate-unknown_layout-pcm: CMD = md5 \
tests/ref/fate/sub2video_time_limited+8−0
@@ -0,0 +1,8 @@
1#tb 0: 1/25
2#media_type 0: video
3#codec_id 0: rawvideo
4#dimensions 0: 1920x1080
5#sar 0: 0/1
60, 2, 2, 1, 8294400, 0x00000000
70, 2, 2, 1, 8294400, 0xa87c518f
80, 10, 10, 1, 8294400, 0xa87c518f

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t