1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 bear-320x240.webm - WebM encode of bear.1280x720.mp4 resized to 320x240.
6 bear-320x240-video-only.webm - The video track of bear-320x240.webm.
7 bear-320x240-audio-only.webm - The audio track of bear-320x240.webm.
8 bear-vp9.webm - VP9 video only WebM file.
9 bear-vp9-opus.webm - VP9 Video with Opus Audio.
10 bear-vp8-webvtt.webm - WebM VP8 video with WebVTT subtitle track.
11 bear-vp8a.webm - WebM VP8 video with alpha channel.
12 bear-vp8a-odd-dimensions.webm - WebM VP8 video with alpha channel and odd dimensions.
13 bear-opus.webm - Opus Audio only WebM file.
14 bear-opus-end-trimming.webm - File to test end trimming. It has one byte
15 artificially added so that there is maximum
16 padding at the end. It is an Opus Audio only WebM
18 no_streams.webm - Header, Info, & Tracks element from bear-320x240.webm slightly corrupted so it looks
19 like there are no tracks.
20 nonzero-start-time.webm - Has the same headers as bear-320x240.webm but the first cluster of this file
21 is the second cluster of bear-320x240.webm. This creates the situation where
22 the media data doesn't start at time 0.
23 bear-320x240-live.webm - bear-320x240.webm remuxed w/o a duration and using clusters with unknown sizes.
24 ffmpeg -i bear-320x240.webm -acodec copy -vcodec copy -f webm pipe:1 > bear-320x240-live.webm
25 vp8-I-frame-160x240 - The first I frame of a 160x240 reencode of bear-320x240.webm.
26 vp8-I-frame-320x120 - The first I frame of a 320x120 reencode of bear-320x240.webm.
27 vp8-I-frame-320x240 - The first I frame of bear-320x240.webm.
28 vp8-I-frame-320x480 - The first I frame of a 320x480 reencode of bear-320x240.webm.
29 vp8-I-frame-640x240 - The first I frame of a 640x240 reencode of bear-320x240.webm.
30 vp8-corrupt-I-frame - A copy of vp8-I-frame-320x240 w/ all bytes XORed w/ 0xA5.
32 AAC test data from MPEG-DASH demoplayer (44100 Hz, stereo)
33 Duration of each packet is (1024/44100 Hz), approximately 23.22 ms.
34 aac-44100-packet-0 - timestamp: 0ms
35 aac-44100-packet-1 - timestamp: 23.22ms
36 aac-44100-packet-2 - timestamp: 46.44ms
37 aac-44100-packet-3 - timestamp: 69.66ms
39 Vorbis test data from bear.ogv (44100 Hz, 16 bits, stereo)
40 vorbis-extradata - Vorbis extradata section
41 vorbis-packet-0 - timestamp: 0ms, duration: 0ms
42 vorbis-packet-1 - timestamp: 0ms, duration: 0ms
43 vorbis-packet-2 - timestamp: 0ms, duration: 0ms
44 vorbis-packet-3 - timestamp: 2902ms, duration: 0ms
47 bear-1280x720-a_frag-cenc.mp4 - A fragmented MP4 version of the audio track of bear-1280x720.mp4 encrypted (ISO CENC) using key ID [1] and key [2].
48 bear-1280x720-a_frag-cenc-key_rotation.mp4 - A fragmented MP4 version of the audio track of bear-1280x720.mp4 encrypted (ISO CENC) using key ID [1] and key [2] with key rotation [3].
49 bear-1280x720-a_frag-cenc_clear-all.mp4 - Same as bear-1280x720-a_frag-cenc.mp4 but no fragments are encrypted.
50 bear-1280x720-v_frag-cenc.mp4 - A fragmented MP4 version of the video track of bear-1280x720.mp4 encrypted (ISO CENC) using key ID [1] and key [2].
51 bear-1280x720-v_frag-cenc-key_rotation.mp4 - A fragmented MP4 version of the video track of bear-1280x720.mp4 encrypted (ISO CENC) using key ID [1] and key [2] with key rotation [3].
52 bear-1280x720-v_frag-cenc_clear-all.mp4 - Same as bear-1280x720-v_frag-cenc.mp4 but no fragments are encrypted.
53 bear-1280x720-a_frag-cenc_missing-saiz-saio.mp4 - An invalid file similar to bear-1280x720-a_frag-cenc.mp4 but has no saiz and saio boxes. To save space, it has only one encrypted sample.
54 bear-320x240-16x9-aspect-av_enc-av.webm - bear-320x240-16x9-aspect.webm with audio & video encrypted using key ID [1] and key [2]
55 bear-320x240-av_enc-av.webm - bear-320x240.webm with audio & video encrypted using key ID [1] and key [2].
56 bear-320x240-av_enc-av_clear-1s.webm - Same as bear-320x240-av_enc-av.webm but with no frames in the first second encrypted.
57 bear-320x240-av_enc-av_clear-all.webm - Same as bear-320x240-av_enc-av.webm but with no frames encrypted.
58 bear-640x360-av_enc-av.webm - bear-640x360.webm with audio & video encrypted using key ID [1] and key [2].
59 bear-320x240-av_enc-v.webm - bear-320x240.webm with video track encrypted using key ID [1] and key [2].
60 bear-320x240-av_enc-a.webm - bear-320x240.webm with audio track encrypted using key ID [1] and key [2].
61 bear-320x240-v_enc-v.webm - bear-320x240-video-only.webm encrypted using key ID [1] and key [2].
62 bear-320x240-v-vp9_enc-v.webm - bear-vp9.webm VP9 video only encrypted using key ID [1] and key [2].
63 bear-320x240-opus-a_enc-a.webm - bear-opus.webm encrypted using key ID [1] and key[2].
64 bear-320x240-opus-av_enc-av.webm - bear-vp9-opus.webm with audio & video encrypted using key ID [1] and key[2].
65 bear-320x240-opus-av_enc-v.webm - bear-vp9-opus.webm with video track encrypted using key ID [1] and key[2].
66 bear-640x360-a_frag-cenc.mp4 - A fragmented MP4 version of the audio track of bear-640x360.mp4 encrypted (ISO CENC) using key ID [1] and key [2].
67 bear-640x360-a_frag-cenc-key_rotation.mp4 - A fragmented MP4 version of the audio track of bear-640x360.mp4 encrypted (ISO CENC) using key ID [1] and key [2] with key rotation [3].
68 bear-640x360-v_frag-cenc.mp4 - A fragmented MP4 version of the video track of bear-640x360.mp4 encrypted (ISO CENC) using key ID [1] and key [2].
69 bear-640x360-v_frag-cenc-key_rotation.mp4 - A fragmented MP4 version of the video track of bear-640x360.mp4 encrypted (ISO CENC) using key ID [1] and key [2] with key rotation [3].
70 bear-a_enc-a.webm - bear-320x240-audio-only.webm encrypted using key ID [1] and key [2].
71 frame_size_change-av_enc-v.webm - third_party/WebKit/LayoutTests/media/resources/frame_size_change.webm encrypted using key ID [1] and key [2].
74 [1] 30313233343536373839303132333435
75 [2] ebdd62f16814d27b68ef122afce4ae3c
76 [3] KeyIds and Keys are created by left rotating key ID [1] and key [2] using
77 std::rotate for every new crypto period. This is only for testing. The
78 actual key rotation algorithm is often much more complicated.
80 // Container Tests (additional containers derived from bear.ogv)
81 bear.ac3 -- created using "avconv -i bear.ogv -f ac3 -b 192k bear.ac3".
82 bear.adts -- created using "avconv -i bear.ogv -f adts -strict experimental bear.adts".
83 bear.aiff -- created using "avconv -i bear.ogv -f aiff bear.aiff".
84 bear.asf -- created using "avconv -i bear.ogv -f asf bear.asf".
85 bear.avi -- created using "avconv -i bear.ogv -f avi -b 192k bear.avi".
86 bear.eac3 -- created using "avconv -i bear.ogv -f eac3 bear.eac3".
87 bear.flac -- created using "avconv -i bear.ogv -f flac bear.flac".
88 bear.flv -- created using "avconv -i bear.ogv -f flv bear.flv".
89 bear.h261 -- created using "avconv -i bear.ogv -f h261 -s:0 cif bear.h261".
90 bear.h263 -- created using "avconv -i bear.ogv -f h263 -s:0 cif bear.h263".
91 bear.m2ts -- created using "avconv -i bear.ogv -f mpegts bear.m2ts".
92 bear.mjpeg -- created using "avconv -i bear.ogv -f mjpeg bear.mjpeg".
93 bear.mpeg -- created using "avconv -i bear.ogv -f mpeg bear.mpeg".
94 bear.rm -- created using "avconv -i bear.ogv -f rm -b 192k bear.rm".
95 bear.swf -- created using "avconv -i bear.ogv -f swf -an bear.swf".
97 // VDA test files: test-25fps
99 Using ffmpeg SVN-r0.5.9-4:0.5.9-0ubuntu0.10.04.1 @ WebKit r122718, generated
101 ffmpeg -i third_party/WebKit/LayoutTests/media/content/test-25fps.mp4 \
102 -vcodec copy -vbsf h264_mp4toannexb -an test-25fps.h264
105 MD5s of RGB thumbnail rendered version of test-25fps.h264 decoded with Intel
106 VAAPI on Haswell, Ivy Bridge, Sandy Bridge and V4L2VDA on Exynos.
107 Written out by video_decode_accelerator_unittest.
108 These differ between implementations because color space-converted frames are
109 not specified to the last bit and GLES shader/texture filtering
113 ffmpeg git-2012-07-19-a8d8e86, libvpx ToT 7/19, chromium r147247,
115 ffmpeg -i test-25fps.h264 -vcodec libvpx -an test-25fps.webm && \
116 mkvextract tracks test-25fps.webm 1:test-25fps.vp8 && rm test-25fps.webm
119 MD5 of RGB thumbnail rendered version of test-25fps.vp8 decoded with V4L2VDA
120 on Exynos. Written out by video_decode_accelerator_unittest.
123 avconv 9.16-6:9.16-0ubuntu0.14.04.1, vpxenc v1.3.0
124 avconv -i test-25fps.h264 -c:v rawvideo -pix_fmt yuv420p test-25fps_i420.yuv
125 vpxenc test-25fps_i420.yuv -o test-25fps.vp9 --codec=vp9 -w 320 -h 240 --ivf \
126 --profile=0 --kf-min-dist=0 --kf-max-dist=150 --lag-in-frames=24 \
127 --drop-frame=0 --target-bitrate=140 --cq-level=23 --min-q=4 --max-q=56 \
128 --static-thresh=1000 --arnr-maxframes=7 --arnr-strength=5 --arnr-type=3 \
129 --cpu-used=1 --good --tile-columns=1 --passes=2 --threads=1 --fps=25/1 \
130 --end-usage=cq --auto-alt-ref=1 --bias-pct=50 --minsection-pct=0 \
131 --maxsection-pct=2000 --undershoot-pct=100
134 MD5 of RGB thumbnail rendered version of test-25fps.vp9. Written out by
135 video_decode_accelerator_unittest.
137 // VDA test files: bear
139 Using ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, generated with
140 bear.mp4 (https://chromiumcodereview.appspot.com/10805089):
141 ffmpeg -i bear.mp4 -vcodec copy -vbsf h264_mp4toannexb \
145 MD5s of RGB thumbnail rendered version of bear.h264 decoded with Intel
146 VAAPI on Ivy Bridge and Sandy Bridge and V4L2VDA on Exynos.
147 Written out by video_decode_accelerator_unittest.
148 These differ between implementations because color space-converted frames are
149 not specified to the last bit and GLES shader/texture filtering
152 // VDA test files: npot-video
154 Using ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, generated with
155 npot-video.mp4 (https://codereview.chromium.org/8342021):
156 ffmpeg -i npot-video.mp4 -vcodec copy -vbsf h264_mp4toannexb \
160 MD5s of RGB thumbnail rendered version of npot-video.h264 decoded with Intel
161 VAAPI on Ivy Bridge and Sandy Bridge and V4L2VDA on Exynos.
162 Written out by video_decode_accelerator_unittest.
163 These differ between implementations because color space-converted frames are
164 not specified to the last bit and GLES shader/texture filtering
167 // VDA test files: red-green
169 Using ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, generated with
170 red-green.mp4 (https://codereview.chromium.org/8342021):
171 ffmpeg -i red-green.mp4 -vcodec copy -vbsf h264_mp4toannexb \
175 MD5s of RGB thumbnail rendered version of red-green.h264 decoded with Intel
176 VAAPI on Ivy Bridge and Sandy Bridge and V4L2VDA on Exynos.
177 Written out by video_decode_accelerator_unittest.
178 These differ between implementations because color space-converted frames are
179 not specified to the last bit and GLES shader/texture filtering
183 bear_320x192_40frames.yuv
184 First 40 raw i420 frames of bear-1280x720.mp4 scaled down to 320x192 for
185 video_encode_accelerator_unittest.
188 pixel-1280x720.jpg - Single MJEPG encoded frame of 1280x720, captured on Chromebook Pixel. This image does not have Huffman table.
189 peach_pi-1280x720.jpg - Single MJPEG encoded frame of 1280x720, captured on Samsung Chromebook 2(13"). This image has Huffman table.
190 blank-1x1.jpg - 1x1 small picture to test special cases.
192 // MP4 files with non-square pixels.
193 media/test/data/bear-640x360-non_square_pixel-with_pasp.mp4
194 Size in TKHD is (639.2x360) and size in STSD is (470x360). A PASP box is
195 present with hSpacing=34 and vSpacing=25. Note that 470.0 * 34 / 25 = 639.2.
197 media/test/data/bear-640x360-non_square_pixel-without_pasp.mp4
198 Size in TKHD is (639.2x360) and size in STSD is (470x360). No PASP box is