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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 bear-a_enc-a.webm - bear-320x240-audio-only.webm encrypted using key ID [1] and
key [2]. | 118 bear-a_enc-a.webm - bear-320x240-audio-only.webm encrypted using key ID [1] and
key [2]. |
119 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]. | 119 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]. |
120 | 120 |
121 bear-1280x720-hls.ts: produced using Apple's mediafilesegmenter tool with bear-1
280x720.ts as input, with no encryption. | 121 bear-1280x720-hls.ts: produced using Apple's mediafilesegmenter tool with bear-1
280x720.ts as input, with no encryption. |
122 mediafilesegmenter -t 10 -start-segments-with-iframe -f 'output_clear/' bear-1
280x720.ts | 122 mediafilesegmenter -t 10 -start-segments-with-iframe -f 'output_clear/' bear-1
280x720.ts |
123 | 123 |
124 bear-1280x720-hls-sample-aes.ts: produced using Apple's mediafilesegmenter tool
also with bear-1280x720.ts as input, but with SAMPLE_AES encryption. | 124 bear-1280x720-hls-sample-aes.ts: produced using Apple's mediafilesegmenter tool
also with bear-1280x720.ts as input, but with SAMPLE_AES encryption. |
125 (Additional TS packets were constructed manually and prepended to convey the e
ncryption metadata, notably key id and IV). | 125 (Additional TS packets were constructed manually and prepended to convey the e
ncryption metadata, notably key id and IV). |
126 mediafilesegmenter -S -P -k 'key_iv.bin' -t 10 -start-segments-with-iframe -f
'output/' bear-1280x720.ts | 126 mediafilesegmenter -S -P -k 'key_iv.bin' -t 10 -start-segments-with-iframe -f
'output/' bear-1280x720.ts |
127 | 127 |
| 128 bear-1280x720-hls-with-CAT.ts: same as bear-1280x720-hls.ts but with an extra TS
packet prepended. This is the same as the first of the metadata packets in |
| 129 bear-1280x720-hls-sample-aes.ts. Its presence indicates that SAMPLE_AES encryp
tion may occur later in the stream, and causes the initial audio and video confi
gs |
| 130 to have an encryption_scheme (of AES-CBC). The actual data is unencrypted, whi
ch is indicated by the lack of key ID and IV. This ends up very similar to how |
| 131 clear leader of an otherwise encrypted stream can occur in MP4. |
| 132 |
128 [1] 30313233343536373839303132333435 | 133 [1] 30313233343536373839303132333435 |
129 [2] ebdd62f16814d27b68ef122afce4ae3c | 134 [2] ebdd62f16814d27b68ef122afce4ae3c |
130 [3] KeyIds and Keys are created by left rotating key ID [1] and key [2] using | 135 [3] KeyIds and Keys are created by left rotating key ID [1] and key [2] using |
131 std::rotate for every new crypto period. This is only for testing. The | 136 std::rotate for every new crypto period. This is only for testing. The |
132 actual key rotation algorithm is often much more complicated. | 137 actual key rotation algorithm is often much more complicated. |
133 [4] http://www.webmproject.org/docs/webm-encryption/#46-subsample-encrypted-bloc
k-format | 138 [4] http://www.webmproject.org/docs/webm-encryption/#46-subsample-encrypted-bloc
k-format |
134 | 139 |
135 // Container Tests (additional containers derived from bear.ogv) | 140 // Container Tests (additional containers derived from bear.ogv) |
136 bear.ac3 -- created using "avconv -i bear.ogv -f ac3 -b 192k bear.ac3". | 141 bear.ac3 -- created using "avconv -i bear.ogv -f ac3 -b 192k bear.ac3". |
137 bear.adts -- created using "avconv -i bear.ogv -f adts -strict experimental be
ar.adts". | 142 bear.adts -- created using "avconv -i bear.ogv -f adts -strict experimental be
ar.adts". |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 | 319 |
315 // Multi-track WebM file | 320 // Multi-track WebM file |
316 multitrack-3video-2audio.webm | 321 multitrack-3video-2audio.webm |
317 //Generated using following commands: | 322 //Generated using following commands: |
318 ffmpeg -f lavfi -i color=c=red:size=320x240 -t 5 -c:v libvpx red.webm | 323 ffmpeg -f lavfi -i color=c=red:size=320x240 -t 5 -c:v libvpx red.webm |
319 ffmpeg -f lavfi -i color=c=green:size=320x240 -t 5 -c:v libvpx green.webm | 324 ffmpeg -f lavfi -i color=c=green:size=320x240 -t 5 -c:v libvpx green.webm |
320 ffmpeg -f lavfi -i color=c=blue:size=160x120 -t 10 -c:v libvpx blue.webm | 325 ffmpeg -f lavfi -i color=c=blue:size=160x120 -t 10 -c:v libvpx blue.webm |
321 ffmpeg -f lavfi -i "sine=frequency=300:sample_rate=48000" -t 10 -c:v libvpx
a300hz.webm | 326 ffmpeg -f lavfi -i "sine=frequency=300:sample_rate=48000" -t 10 -c:v libvpx
a300hz.webm |
322 ffmpeg -f lavfi -i "sine=frequency=500:sample_rate=48000" -t 5 -c:v libvpx a
500hz.webm | 327 ffmpeg -f lavfi -i "sine=frequency=500:sample_rate=48000" -t 5 -c:v libvpx a
500hz.webm |
323 ffmpeg -i red.webm -i green.webm -i blue.webm -i a300hz.webm -i a500hz.webm
-map 0 -map 1 -map 2 -map 3 -map 4 multitrack-3video-2audio.webm | 328 ffmpeg -i red.webm -i green.webm -i blue.webm -i a300hz.webm -i a500hz.webm
-map 0 -map 1 -map 2 -map 3 -map 4 multitrack-3video-2audio.webm |
OLD | NEW |