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
254 -stream_loop -1 -f rawvideo -s 352x288 -pix_fmt yuv420p -i $(TARGET_PATH)/tests/data/vsynth_lena.yuv \254 -stream_loop -1 -f rawvideo -s 352x288 -pix_fmt yuv420p -i $(TARGET_PATH)/tests/data/vsynth_lena.yuv \
255 -c copy -f null -t 1 -255 -c copy -f null -t 1 -
256FATE_FFMPEG-$(call REMUX, RAWVIDEO) += fate-ffmpeg-streamcopy-t256FATE_FFMPEG-$(call REMUX, RAWVIDEO) += fate-ffmpeg-streamcopy-t
257
258# Test loopback decoding and passing the output to a complex graph.
259fate-ffmpeg-loopback-decoding: tests/data/vsynth_lena.yuv
260fate-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" ""
263FATE_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 @@
1faefe475118cacc36dff3cab59baa6cf *tests/data/fate/ffmpeg-loopback-decoding.nut
26478832 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
80, 0, 0, 1, 304128, 0xe07dafdd
90, 1, 1, 1, 304128, 0xc5734e5d
100, 2, 2, 1, 304128, 0x855acdcc
110, 3, 3, 1, 304128, 0x4ad94309
120, 4, 4, 1, 304128, 0x174ebea3
130, 5, 5, 1, 304128, 0xdb416da6
140, 6, 6, 1, 304128, 0x72442b79
150, 7, 7, 1, 304128, 0x00ddf9ed
160, 8, 8, 1, 304128, 0xe7e7a773
170, 9, 9, 1, 304128, 0x7df26501
180, 10, 10, 1, 304128, 0x4f5a3eb3
190, 11, 11, 1, 304128, 0x1ad35b6c
200, 12, 12, 1, 304128, 0xec8e6f56
210, 13, 13, 1, 304128, 0xb237e0ef
220, 14, 14, 1, 304128, 0x55b26ce2
230, 15, 15, 1, 304128, 0x22920436
240, 16, 16, 1, 304128, 0x54eea0c0
250, 17, 17, 1, 304128, 0x17113686
260, 18, 18, 1, 304128, 0xeb9ae1af
270, 19, 19, 1, 304128, 0x1ba09d4c
280, 20, 20, 1, 304128, 0x0100748f
290, 21, 21, 1, 304128, 0xcc914570
300, 22, 22, 1, 304128, 0x9bc21952
310, 23, 23, 1, 304128, 0xc118d0af
320, 24, 24, 1, 304128, 0x7e4b2df0
330, 25, 25, 1, 304128, 0x1078bff2
340, 26, 26, 1, 304128, 0xeedbeda1
350, 27, 27, 1, 304128, 0x35ac0a1b
360, 28, 28, 1, 304128, 0x3644fb76
370, 29, 29, 1, 304128, 0x5efa175c
380, 30, 30, 1, 304128, 0x72c14f39
390, 31, 31, 1, 304128, 0xd7c46bb0
400, 32, 32, 1, 304128, 0x20f368ab
410, 33, 33, 1, 304128, 0x9bea7ced
420, 34, 34, 1, 304128, 0xf1b66b94
430, 35, 35, 1, 304128, 0x3e5e6815
440, 36, 36, 1, 304128, 0x6c2d5e3a
450, 37, 37, 1, 304128, 0x763046b0
460, 38, 38, 1, 304128, 0x05f71f4c
470, 39, 39, 1, 304128, 0x3db72dff
480, 40, 40, 1, 304128, 0x86e34c11
490, 41, 41, 1, 304128, 0x09334889
500, 42, 42, 1, 304128, 0xc8566851
510, 43, 43, 1, 304128, 0x4a7ec9da
520, 44, 44, 1, 304128, 0x609a176b
530, 45, 45, 1, 304128, 0x98deede0
540, 46, 46, 1, 304128, 0x59ee66a3
550, 47, 47, 1, 304128, 0x0fc5c8c2
560, 48, 48, 1, 304128, 0x0371d7b0
570, 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