| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 bear-320x240-v_frag-vp9-cenc.mp4 - Same as above, with video encrypted using key
ID [1] and key [2]. Generated with shaka-packager (https://github.com/google/sh
aka-packager): | 62 bear-320x240-v_frag-vp9-cenc.mp4 - Same as above, with video encrypted using key
ID [1] and key [2]. Generated with shaka-packager (https://github.com/google/sh
aka-packager): |
| 63 packager in=bear-vp9.webm,stream=video,out=be
ar-320x240-v_frag-vp9-cenc.mp4 --enable_fixed_key_encryption --key_id 3031323334
3536373839303132333435 --key ebdd62f16814d27b68ef122afce4ae3c | 63 packager in=bear-vp9.webm,stream=video,out=be
ar-320x240-v_frag-vp9-cenc.mp4 --enable_fixed_key_encryption --key_id 3031323334
3536373839303132333435 --key ebdd62f16814d27b68ef122afce4ae3c |
| 64 bear-320x240-16x9-aspect-av_enc-av.webm - bear-320x240-16x9-aspect.webm with aud
io & video encrypted using key ID [1] and key [2] | 64 bear-320x240-16x9-aspect-av_enc-av.webm - bear-320x240-16x9-aspect.webm with aud
io & video encrypted using key ID [1] and key [2] |
| 65 bear-320x240-av_enc-av.webm - bear-320x240.webm with audio & video encrypted usi
ng key ID [1] and key [2]. | 65 bear-320x240-av_enc-av.webm - bear-320x240.webm with audio & video encrypted usi
ng key ID [1] and key [2]. |
| 66 bear-320x240-av_enc-av_clear-1s.webm - Same as bear-320x240-av_enc-av.webm but w
ith no frames in the first second encrypted. | 66 bear-320x240-av_enc-av_clear-1s.webm - Same as bear-320x240-av_enc-av.webm but w
ith no frames in the first second encrypted. |
| 67 bear-320x240-av_enc-av_clear-all.webm - Same as bear-320x240-av_enc-av.webm but
with no frames encrypted. | 67 bear-320x240-av_enc-av_clear-all.webm - Same as bear-320x240-av_enc-av.webm but
with no frames encrypted. |
| 68 bear-640x360-av_enc-av.webm - bear-640x360.webm with audio & video encrypted usi
ng key ID [1] and key [2]. | 68 bear-640x360-av_enc-av.webm - bear-640x360.webm with audio & video encrypted usi
ng key ID [1] and key [2]. |
| 69 bear-320x240-av_enc-v.webm - bear-320x240.webm with video track encrypted using
key ID [1] and key [2]. | 69 bear-320x240-av_enc-v.webm - bear-320x240.webm with video 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]. | 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_fullsample_enc-v.webm - bear-vp9.webm VP9 video only encrypte
d using key ID [1] and key [2] with full sample encryption. |
| 73 bear-320x240-v-vp9_subsample_enc-v.webm - bear-vp9.webm VP9 video only encrypted
using key ID [1] and key [2] with subsample encryption [4]. |
| 73 bear-320x240-opus-a_enc-a.webm - bear-opus.webm encrypted using key ID [1] and k
ey[2]. | 74 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]. | 75 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]. | 76 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]. | 77 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]. | 78 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. | 79 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. | 80 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-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. |
| 91 [4] http://www.webmproject.org/docs/webm-encryption/#46-subsample-encrypted-bloc
k-format |
| 90 | 92 |
| 91 // Container Tests (additional containers derived from bear.ogv) | 93 // Container Tests (additional containers derived from bear.ogv) |
| 92 bear.ac3 -- created using "avconv -i bear.ogv -f ac3 -b 192k bear.ac3". | 94 bear.ac3 -- created using "avconv -i bear.ogv -f ac3 -b 192k bear.ac3". |
| 93 bear.adts -- created using "avconv -i bear.ogv -f adts -strict experimental be
ar.adts". | 95 bear.adts -- created using "avconv -i bear.ogv -f adts -strict experimental be
ar.adts". |
| 94 bear.aiff -- created using "avconv -i bear.ogv -f aiff bear.aiff". | 96 bear.aiff -- created using "avconv -i bear.ogv -f aiff bear.aiff". |
| 95 bear.asf -- created using "avconv -i bear.ogv -f asf bear.asf". | 97 bear.asf -- created using "avconv -i bear.ogv -f asf bear.asf". |
| 96 bear.avi -- created using "avconv -i bear.ogv -f avi -b 192k bear.avi". | 98 bear.avi -- created using "avconv -i bear.ogv -f avi -b 192k bear.avi". |
| 97 bear.eac3 -- created using "avconv -i bear.ogv -f eac3 bear.eac3". | 99 bear.eac3 -- created using "avconv -i bear.ogv -f eac3 bear.eac3". |
| 98 bear.flac -- created using "avconv -i bear.ogv -f flac bear.flac". | 100 bear.flac -- created using "avconv -i bear.ogv -f flac bear.flac". |
| 99 bear.flv -- created using "avconv -i bear.ogv -f flv bear.flv". | 101 bear.flv -- created using "avconv -i bear.ogv -f flv bear.flv". |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 | 253 |
| 252 // Multi-track WebM file | 254 // Multi-track WebM file |
| 253 media/test/data/multitrack-3video-2audio.webm | 255 media/test/data/multitrack-3video-2audio.webm |
| 254 //Generated using following commands: | 256 //Generated using following commands: |
| 255 ffmpeg -f lavfi -i color=c=red:size=320x240 -t 5 -c:v libvpx red.webm | 257 ffmpeg -f lavfi -i color=c=red:size=320x240 -t 5 -c:v libvpx red.webm |
| 256 ffmpeg -f lavfi -i color=c=green:size=320x240 -t 5 -c:v libvpx green.webm | 258 ffmpeg -f lavfi -i color=c=green:size=320x240 -t 5 -c:v libvpx green.webm |
| 257 ffmpeg -f lavfi -i color=c=blue:size=160x120 -t 10 -c:v libvpx blue.webm | 259 ffmpeg -f lavfi -i color=c=blue:size=160x120 -t 10 -c:v libvpx blue.webm |
| 258 ffmpeg -f lavfi -i "sine=frequency=300:sample_rate=48000" -t 10 -c:v libvpx
a300hz.webm | 260 ffmpeg -f lavfi -i "sine=frequency=300:sample_rate=48000" -t 10 -c:v libvpx
a300hz.webm |
| 259 ffmpeg -f lavfi -i "sine=frequency=500:sample_rate=48000" -t 5 -c:v libvpx a
500hz.webm | 261 ffmpeg -f lavfi -i "sine=frequency=500:sample_rate=48000" -t 5 -c:v libvpx a
500hz.webm |
| 260 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 | 262 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 |