History

fate/ffmpeg: add a test for loopback decoding

James Almer committed 2 years ago

Commit d925b2e1 parent 8ff4a4a2 files · +64 −0Browse files

Unified · Split

2 files
  1. tests/fate/ffmpeg.mak +7 −0
  2. tests/ref/fate/ffmpeg-loopback-decoding +57 −0
tests/fate/ffmpeg.mak+7−0
@@ -254,3 +254,10 @@ fate-ffmpeg-streamcopy-t: CMD = ffmpeg · 253 unmodified lines
254254 -stream_loop -1 -f rawvideo -s 352x288 -pix_fmt yuv420p -i $(TARGET_PATH)/tests/data/vsynth_lena.yuv \
255255 -c copy -f null -t 1 -
256256 FATE_FFMPEG-$(call REMUX, RAWVIDEO) += fate-ffmpeg-streamcopy-t
257+
258+# Test loopback decoding and passing the output to a complex graph.
259+fate-ffmpeg-loopback-decoding: tests/data/vsynth_lena.yuv
260+fate-ffmpeg-loopback-decoding: CMD = transcode \
261+ "rawvideo -s 352x288 -pix_fmt yuv420p" $(TARGET_PATH)/tests/data/vsynth_lena.yuv nut \
262+ "-map 0:v:0 -c:v mpeg2video -f null - -flags +bitexact -dec 0:0 -filter_complex '[0:v][dec:0]hstack[stack]' -map '[stack]' -c:v ffv1" ""
263+FATE_FFMPEG-$(call ENCDEC2, MPEG2VIDEO, FFV1, NUT, HSTACK_FILTER PIPE_PROTOCOL FRAMECRC_MUXER) += fate-ffmpeg-loopback-decoding
tests/ref/fate/ffmpeg-loopback-decoding+57−0
@@ -0,0 +1,57 @@
1+faefe475118cacc36dff3cab59baa6cf *tests/data/fate/ffmpeg-loopback-decoding.nut
2+6478832 tests/data/fate/ffmpeg-loopback-decoding.nut
3+#tb 0: 1/25
4+#media_type 0: video
5+#codec_id 0: rawvideo
6+#dimensions 0: 704x288
7+#sar 0: 0/1
8+0, 0, 0, 1, 304128, 0xe07dafdd
9+0, 1, 1, 1, 304128, 0xc5734e5d
10+0, 2, 2, 1, 304128, 0x855acdcc
11+0, 3, 3, 1, 304128, 0x4ad94309
12+0, 4, 4, 1, 304128, 0x174ebea3
13+0, 5, 5, 1, 304128, 0xdb416da6
14+0, 6, 6, 1, 304128, 0x72442b79
15+0, 7, 7, 1, 304128, 0x00ddf9ed
16+0, 8, 8, 1, 304128, 0xe7e7a773
17+0, 9, 9, 1, 304128, 0x7df26501
18+0, 10, 10, 1, 304128, 0x4f5a3eb3
19+0, 11, 11, 1, 304128, 0x1ad35b6c
20+0, 12, 12, 1, 304128, 0xec8e6f56
21+0, 13, 13, 1, 304128, 0xb237e0ef
22+0, 14, 14, 1, 304128, 0x55b26ce2
23+0, 15, 15, 1, 304128, 0x22920436
24+0, 16, 16, 1, 304128, 0x54eea0c0
25+0, 17, 17, 1, 304128, 0x17113686
26+0, 18, 18, 1, 304128, 0xeb9ae1af
27+0, 19, 19, 1, 304128, 0x1ba09d4c
28+0, 20, 20, 1, 304128, 0x0100748f
29+0, 21, 21, 1, 304128, 0xcc914570
30+0, 22, 22, 1, 304128, 0x9bc21952
31+0, 23, 23, 1, 304128, 0xc118d0af
32+0, 24, 24, 1, 304128, 0x7e4b2df0
33+0, 25, 25, 1, 304128, 0x1078bff2
34+0, 26, 26, 1, 304128, 0xeedbeda1
35+0, 27, 27, 1, 304128, 0x35ac0a1b
36+0, 28, 28, 1, 304128, 0x3644fb76
37+0, 29, 29, 1, 304128, 0x5efa175c
38+0, 30, 30, 1, 304128, 0x72c14f39
39+0, 31, 31, 1, 304128, 0xd7c46bb0
40+0, 32, 32, 1, 304128, 0x20f368ab
41+0, 33, 33, 1, 304128, 0x9bea7ced
42+0, 34, 34, 1, 304128, 0xf1b66b94
43+0, 35, 35, 1, 304128, 0x3e5e6815
44+0, 36, 36, 1, 304128, 0x6c2d5e3a
45+0, 37, 37, 1, 304128, 0x763046b0
46+0, 38, 38, 1, 304128, 0x05f71f4c
47+0, 39, 39, 1, 304128, 0x3db72dff
48+0, 40, 40, 1, 304128, 0x86e34c11
49+0, 41, 41, 1, 304128, 0x09334889
50+0, 42, 42, 1, 304128, 0xc8566851
51+0, 43, 43, 1, 304128, 0x4a7ec9da
52+0, 44, 44, 1, 304128, 0x609a176b
53+0, 45, 45, 1, 304128, 0x98deede0
54+0, 46, 46, 1, 304128, 0x59ee66a3
55+0, 47, 47, 1, 304128, 0x0fc5c8c2
56+0, 48, 48, 1, 304128, 0x0371d7b0
57+0, 49, 49, 1, 304128, 0xd81c18cf

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