OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 bear-320x240.webm - WebM encode of bear.1280x720.mp4 resized to 320x240. | 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. | 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. | 7 bear-320x240-audio-only.webm - The audio track of bear-320x240.webm. |
8 bear-vp9.webm - VP9 video only WebM file. | 8 bear-vp9.webm - VP9 video only WebM file. |
9 bear-vp9-opus.webm - VP9 Video with Opus Audio. | 9 bear-vp9-opus.webm - VP9 Video with Opus Audio. |
10 bear-vp8-webvtt.webm - WebM VP8 video with WebVTT subtitle track. | 10 bear-vp8-webvtt.webm - WebM VP8 video with WebVTT subtitle track. |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 video_encode_accelerator_unittest. | 196 video_encode_accelerator_unittest. |
197 | 197 |
198 // VP9 parser test files: | 198 // VP9 parser test files: |
199 bear-vp9.ivf | 199 bear-vp9.ivf |
200 - Created using "avconv -i bear-vp9.webm -vcodec copy -an -f ivf bear-vp9.ivf"
. | 200 - Created using "avconv -i bear-vp9.webm -vcodec copy -an -f ivf bear-vp9.ivf"
. |
201 bear-vp9.ivf.context | 201 bear-vp9.ivf.context |
202 test-25fps.vp9.context | 202 test-25fps.vp9.context |
203 - Manually dumped from libvpx with bear-vp9.ivf and test-25fps.vp9. See | 203 - Manually dumped from libvpx with bear-vp9.ivf and test-25fps.vp9. See |
204 vp9_parser_unittest.cc for description of their format. | 204 vp9_parser_unittest.cc for description of their format. |
205 | 205 |
| 206 // WebM files for testing multiple tracks. |
| 207 green-a300hz.webm - WebM file containing 10 seconds of solid green video + 300Hz
sine wave audio |
| 208 red-a500hz.webm - WebM file containing 10 seconds of solid red video + 500Hz sin
e wave audio |
| 209 - Created with the following commands: |
| 210 ffmpeg -f lavfi -i color=c=red:size=320x240 -t 10 -c:v libvpx red.webm |
| 211 ffmpeg -f lavfi -i color=c=green:size=320x240 -t 10 -c:v libvpx green.webm |
| 212 ffmpeg -f lavfi -i "sine=frequency=300:sample_rate=48000" -t 10 -c:v libvpx
a300hz.webm |
| 213 ffmpeg -f lavfi -i "sine=frequency=500:sample_rate=48000" -t 10 -c:v libvpx
a500hz.webm |
| 214 ffmpeg -i green.webm -i a300hz.webm -map 0 -map 1 green-a300hz.webm |
| 215 ffmpeg -i red.webm -i a500hz.webm -map 0 -map 1 red-a500hz.webm |
| 216 |
206 // JPEG test files: | 217 // JPEG test files: |
207 pixel-1280x720.jpg - Single MJEPG encoded frame of 1280x720, captured on Chromeb
ook Pixel. This image does not have Huffman table. | 218 pixel-1280x720.jpg - Single MJEPG encoded frame of 1280x720, captured on Chromeb
ook Pixel. This image does not have Huffman table. |
208 peach_pi-1280x720.jpg - Single MJPEG encoded frame of 1280x720, captured on Sams
ung Chromebook 2(13"). This image has Huffman table. | 219 peach_pi-1280x720.jpg - Single MJPEG encoded frame of 1280x720, captured on Sams
ung Chromebook 2(13"). This image has Huffman table. |
209 blank-1x1.jpg - 1x1 small picture to test special cases. | 220 blank-1x1.jpg - 1x1 small picture to test special cases. |
210 | 221 |
211 // MP4 files with non-square pixels. | 222 // MP4 files with non-square pixels. |
212 media/test/data/bear-640x360-non_square_pixel-with_pasp.mp4 | 223 media/test/data/bear-640x360-non_square_pixel-with_pasp.mp4 |
213 Size in TKHD is (639.2x360) and size in STSD is (470x360). A PASP box is | 224 Size in TKHD is (639.2x360) and size in STSD is (470x360). A PASP box is |
214 present with hSpacing=34 and vSpacing=25. Note that 470.0 * 34 / 25 = 639.2. | 225 present with hSpacing=34 and vSpacing=25. Note that 470.0 * 34 / 25 = 639.2. |
215 | 226 |
(...skipping 25 matching lines...) Expand all Loading... |
241 media/test/data/bbb-320x240-2video-2audio.mp4 | 252 media/test/data/bbb-320x240-2video-2audio.mp4 |
242 Generated using following commands | 253 Generated using following commands |
243 // Download the source file with 1 video and 1 audio stream. | 254 // Download the source file with 1 video and 1 audio stream. |
244 wget http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p
_30fps_normal.mp4 | 255 wget http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p
_30fps_normal.mp4 |
245 // Generate a scaled down to 320x240 video + 2 channel AAC LC audio from the s
ource file. | 256 // Generate a scaled down to 320x240 video + 2 channel AAC LC audio from the s
ource file. |
246 ffmpeg -i bbb_sunflower_1080p_30fps_normal.mp4 -c:v libx264 -crf 36 -vf scale
=320:240 -c:a libfdk_aac -ac 2 -t 24 bbb1.mp4 | 257 ffmpeg -i bbb_sunflower_1080p_30fps_normal.mp4 -c:v libx264 -crf 36 -vf scale
=320:240 -c:a libfdk_aac -ac 2 -t 24 bbb1.mp4 |
247 // Generate a file with the original video scaled down to 320x240 and flipped
upside down and sine wave instead of audio. | 258 // Generate a file with the original video scaled down to 320x240 and flipped
upside down and sine wave instead of audio. |
248 ffmpeg -i bbb_sunflower_1080p_30fps_normal.mp4 -f lavfi -i "sine=frequency=500
:sample_rate=48000" -map 0:v -map 1:a -c:v libx264 -crf 36 -vf scale=320:240,vfl
ip -c:a libfdk_aac -ac 2 -t 24 bbb2.mp4 | 259 ffmpeg -i bbb_sunflower_1080p_30fps_normal.mp4 -f lavfi -i "sine=frequency=500
:sample_rate=48000" -map 0:v -map 1:a -c:v libx264 -crf 36 -vf scale=320:240,vfl
ip -c:a libfdk_aac -ac 2 -t 24 bbb2.mp4 |
249 // Combine the two files generated above into a single fragmented .mp4 file wi
th 2 video and 2 audio tracks. | 260 // Combine the two files generated above into a single fragmented .mp4 file wi
th 2 video and 2 audio tracks. |
250 ffmpeg -i bbb1.mp4 -i bbb2.mp4 -map 0:0 -map 0:1 -map 1:0 -map 1:1 -c:v copy -
c:a copy -movflags frag_keyframe+omit_tfhd_offset+separate_moof bbb-320x240-2vid
eo-2audio.mp4 | 261 ffmpeg -i bbb1.mp4 -i bbb2.mp4 -map 0:0 -map 0:1 -map 1:0 -map 1:1 -c:v copy -
c:a copy -movflags frag_keyframe+omit_tfhd_offset+separate_moof bbb-320x240-2vid
eo-2audio.mp4 |
OLD | NEW |