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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 bear-320x240-av_enc-a.webm - bear-320x240.webm with audio track encrypted using
key ID [1] and key [2]. | 70 bear-320x240-av_enc-a.webm - bear-320x240.webm with audio track encrypted using
key ID [1] and key [2]. |
71 bear-320x240-v_enc-v.webm - bear-320x240-video-only.webm encrypted using key ID
[1] and key [2]. | 71 bear-320x240-v_enc-v.webm - bear-320x240-video-only.webm encrypted using key ID
[1] and key [2]. |
72 bear-320x240-v-vp9_enc-v.webm - bear-vp9.webm VP9 video only encrypted using key
ID [1] and key [2]. | 72 bear-320x240-v-vp9_enc-v.webm - bear-vp9.webm VP9 video only encrypted using key
ID [1] and key [2]. |
73 bear-320x240-opus-a_enc-a.webm - bear-opus.webm encrypted using key ID [1] and k
ey[2]. | 73 bear-320x240-opus-a_enc-a.webm - bear-opus.webm encrypted using key ID [1] and k
ey[2]. |
74 bear-320x240-opus-av_enc-av.webm - bear-vp9-opus.webm with audio & video encrypt
ed using key ID [1] and key[2]. | 74 bear-320x240-opus-av_enc-av.webm - bear-vp9-opus.webm with audio & video encrypt
ed using key ID [1] and key[2]. |
75 bear-320x240-opus-av_enc-v.webm - bear-vp9-opus.webm with video track encrypted
using key ID [1] and key[2]. | 75 bear-320x240-opus-av_enc-v.webm - bear-vp9-opus.webm with video track encrypted
using key ID [1] and key[2]. |
76 bear-640x360-a_frag-cenc.mp4 - A fragmented MP4 version of the audio track of be
ar-640x360.mp4 encrypted (ISO CENC) using key ID [1] and key [2]. | 76 bear-640x360-a_frag-cenc.mp4 - A fragmented MP4 version of the audio track of be
ar-640x360.mp4 encrypted (ISO CENC) using key ID [1] and key [2]. |
77 bear-640x360-a_frag-cenc-key_rotation.mp4 - A fragmented MP4 version of the audi
o track of bear-640x360.mp4 encrypted (ISO CENC) using key ID [1] and key [2] wi
th key rotation [3]. | 77 bear-640x360-a_frag-cenc-key_rotation.mp4 - A fragmented MP4 version of the audi
o track of bear-640x360.mp4 encrypted (ISO CENC) using key ID [1] and key [2] wi
th key rotation [3]. |
78 bear-640x360-v_frag-cenc.mp4 - A fragmented MP4 version of the video track of be
ar-640x360.mp4 encrypted (ISO CENC) using key ID [1] and key [2] and with sampl
e encryption auxiliary information in the beginning of mdat box. | 78 bear-640x360-v_frag-cenc.mp4 - A fragmented MP4 version of the video track of be
ar-640x360.mp4 encrypted (ISO CENC) using key ID [1] and key [2] and with sampl
e encryption auxiliary information in the beginning of mdat box. |
79 bear-640x360-v_frag-cenc-senc.mp4 - Same as above, but with sample encryption in
formation stored in SampleEncryption ('senc') box. | 79 bear-640x360-v_frag-cenc-senc.mp4 - Same as above, but with sample encryption in
formation stored in SampleEncryption ('senc') box. |
| 80 bear-640x360-v_frag-cenc-senc-no-saiz-saio.mp4 - Same as above, but without saiz
and saio boxes. |
80 bear-640x360-v_frag-cenc-key_rotation.mp4 - A fragmented MP4 version of the vide
o track of bear-640x360.mp4 encrypted (ISO CENC) using key ID [1] and key [2] wi
th key rotation [3]. | 81 bear-640x360-v_frag-cenc-key_rotation.mp4 - A fragmented MP4 version of the vide
o track of bear-640x360.mp4 encrypted (ISO CENC) using key ID [1] and key [2] wi
th key rotation [3]. |
81 bear-a_enc-a.webm - bear-320x240-audio-only.webm encrypted using key ID [1] and
key [2]. | 82 bear-a_enc-a.webm - bear-320x240-audio-only.webm encrypted using key ID [1] and
key [2]. |
82 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]. | 83 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]. |
83 | 84 |
84 | 85 |
85 [1] 30313233343536373839303132333435 | 86 [1] 30313233343536373839303132333435 |
86 [2] ebdd62f16814d27b68ef122afce4ae3c | 87 [2] ebdd62f16814d27b68ef122afce4ae3c |
87 [3] KeyIds and Keys are created by left rotating key ID [1] and key [2] using | 88 [3] KeyIds and Keys are created by left rotating key ID [1] and key [2] using |
88 std::rotate for every new crypto period. This is only for testing. The | 89 std::rotate for every new crypto period. This is only for testing. The |
89 actual key rotation algorithm is often much more complicated. | 90 actual key rotation algorithm is often much more complicated. |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 media/test/data/bbb-320x240-2video-2audio.mp4 | 242 media/test/data/bbb-320x240-2video-2audio.mp4 |
242 Generated using following commands | 243 Generated using following commands |
243 // Download the source file with 1 video and 1 audio stream. | 244 // 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 | 245 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. | 246 // 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 | 247 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. | 248 // 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 | 249 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. | 250 // 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 | 251 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 |