Chromium Code Reviews| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 48 | 48 |
| 49 Vorbis test data from bear.ogv (44100 Hz, 16 bits, stereo) | 49 Vorbis test data from bear.ogv (44100 Hz, 16 bits, stereo) |
| 50 vorbis-extradata - Vorbis extradata section | 50 vorbis-extradata - Vorbis extradata section |
| 51 vorbis-packet-0 - timestamp: 0ms, duration: 0ms | 51 vorbis-packet-0 - timestamp: 0ms, duration: 0ms |
| 52 vorbis-packet-1 - timestamp: 0ms, duration: 0ms | 52 vorbis-packet-1 - timestamp: 0ms, duration: 0ms |
| 53 vorbis-packet-2 - timestamp: 0ms, duration: 0ms | 53 vorbis-packet-2 - timestamp: 0ms, duration: 0ms |
| 54 vorbis-packet-3 - timestamp: 2902ms, duration: 0ms | 54 vorbis-packet-3 - timestamp: 2902ms, duration: 0ms |
| 55 | 55 |
| 56 // 10-bit test file(s) | 56 // 10-bit test file(s) |
| 57 bear-320x180-hi10p.mp4 | 57 bear-320x180-hi10p.mp4 |
| 58 bear-320x240-vp9_profile2.webm - VP9 encoded video with profile 2 (10-bit, 4:2:0 ). | |
| 58 | 59 |
| 59 // Encrypted Files | 60 // Encrypted Files |
| 60 bear-1280x720-a_frag-cenc.mp4 - A fragmented MP4 version of the audio track of b ear-1280x720.mp4 encrypted (ISO CENC) using key ID [1] and key [2]. | 61 bear-1280x720-a_frag-cenc.mp4 - A fragmented MP4 version of the audio track of b ear-1280x720.mp4 encrypted (ISO CENC) using key ID [1] and key [2]. |
| 61 bear-1280x720-a_frag-cenc-key_rotation.mp4 - A fragmented MP4 version of the aud io track of bear-1280x720.mp4 encrypted (ISO CENC) using key ID [1] and key [2] with key rotation [3]. | 62 bear-1280x720-a_frag-cenc-key_rotation.mp4 - A fragmented MP4 version of the aud io track of bear-1280x720.mp4 encrypted (ISO CENC) using key ID [1] and key [2] with key rotation [3]. |
| 62 bear-1280x720-a_frag-cenc_clear-all.mp4 - Same as bear-1280x720-a_frag-cenc.mp4 but no fragments are encrypted. | 63 bear-1280x720-a_frag-cenc_clear-all.mp4 - Same as bear-1280x720-a_frag-cenc.mp4 but no fragments are encrypted. |
| 63 bear-1280x720-v_frag-cenc.mp4 - A fragmented MP4 version of the video track of b ear-1280x720.mp4 encrypted (ISO CENC) using key ID [1] and key [2]. | 64 bear-1280x720-v_frag-cenc.mp4 - A fragmented MP4 version of the video track of b ear-1280x720.mp4 encrypted (ISO CENC) using key ID [1] and key [2]. |
| 64 bear-1280x720-v_frag-cenc-key_rotation.mp4 - A fragmented MP4 version of the vid eo track of bear-1280x720.mp4 encrypted (ISO CENC) using key ID [1] and key [2] with key rotation [3]. | 65 bear-1280x720-v_frag-cenc-key_rotation.mp4 - A fragmented MP4 version of the vid eo track of bear-1280x720.mp4 encrypted (ISO CENC) using key ID [1] and key [2] with key rotation [3]. |
| 65 bear-1280x720-v_frag-cenc_clear-all.mp4 - Same as bear-1280x720-v_frag-cenc.mp4 but no fragments are encrypted. | 66 bear-1280x720-v_frag-cenc_clear-all.mp4 - Same as bear-1280x720-v_frag-cenc.mp4 but no fragments are encrypted. |
| 66 bear-1280x720-a_frag-cenc_missing-saiz-saio.mp4 - An invalid file similar to bea r-1280x720-a_frag-cenc.mp4 but has no saiz and saio boxes. To save space, it has only one encrypted sample. | 67 bear-1280x720-a_frag-cenc_missing-saiz-saio.mp4 - An invalid file similar to bea r-1280x720-a_frag-cenc.mp4 but has no saiz and saio boxes. To save space, it has only one encrypted sample. |
| 67 bear-320x240-v_frag-vp9.mp4 - Bear video with VP9 codec in MP4 container. Genera ted with shaka-packager 1e2da22c8809c17cc4dfdb45924ec45e42058393 (https://github .com/google/shaka-packager): | 68 bear-320x240-v_frag-vp9.mp4 - Bear video with VP9 codec in MP4 container. Genera ted with shaka-packager 1e2da22c8809c17cc4dfdb45924ec45e42058393 (https://github .com/google/shaka-packager): |
| 68 packager in=bear-vp9.webm,stream=video,out=bear-32 0x240-v_frag-vp9.mp4 | 69 packager in=bear-vp9.webm,stream=video,out=bear-32 0x240-v_frag-vp9.mp4 |
| 69 bear-320x240-v_frag-vp9-cenc.mp4 - Same as above, with video encrypted using key ID [1] and key [2]. Generated with shaka-packager 1e2da22c8809c17cc4dfdb45924ec 45e42058393 (https://github.com/google/shaka-packager): | 70 bear-320x240-v_frag-vp9-cenc.mp4 - Same as above, with video encrypted using key ID [1] and key [2]. Generated with shaka-packager 1e2da22c8809c17cc4dfdb45924ec 45e42058393 (https://github.com/google/shaka-packager): |
| 70 packager in=bear-vp9.webm,stream=video,out=be ar-320x240-v_frag-vp9-cenc.mp4 --enable_fixed_key_encryption --key_id 3031323334 3536373839303132333435 | 71 packager in=bear-vp9.webm,stream=video,out=be ar-320x240-v_frag-vp9-cenc.mp4 --enable_fixed_key_encryption --key_id 3031323334 3536373839303132333435 |
| 71 --key ebdd62f16814d27b68ef122afce4ae 3c --clear_lead 0 | 72 --key ebdd62f16814d27b68ef122afce4ae 3c --clear_lead 0 |
| 72 --pssh 0000003470737368010000001077E FECC0B24D02ACE33C1E52E2FB4B00000001303132333435363738393031323334350000000000000 0467073736800000000EDEF8BA979D64ACEA3C827DCD51D21ED00000026121030313233343536373 8393031323334351A00221030313233343536373839303132333435 | 73 --pssh 0000003470737368010000001077E FECC0B24D02ACE33C1E52E2FB4B00000001303132333435363738393031323334350000000000000 0467073736800000000EDEF8BA979D64ACEA3C827DCD51D21ED00000026121030313233343536373 8393031323334351A00221030313233343536373839303132333435 |
| 73 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] | 74 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] |
| 74 bear-320x240-av_enc-av.webm - bear-320x240.webm with audio & video encrypted usi ng key ID [1] and key [2]. | 75 bear-320x240-av_enc-av.webm - bear-320x240.webm with audio & video encrypted usi ng key ID [1] and key [2]. |
| 75 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. | 76 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. |
| 76 bear-320x240-av_enc-av_clear-all.webm - Same as bear-320x240-av_enc-av.webm but with no frames encrypted. | 77 bear-320x240-av_enc-av_clear-all.webm - Same as bear-320x240-av_enc-av.webm but with no frames encrypted. |
| 78 bear-320x240-v-vp9_profile2_subsample_cenc-v.webm - Encrypted Bear video with VP 9 codec (profile 2) in WebM container, using key ID [1] and key [2]. Generated w ith shaka-packager 4ba5bec66054cfd4af13c07ac62a97f1a1a2e5f9 (https://github.com/ google/shaka-packager): | |
| 79 packager in=bear-320x240-vp9_profile2.webm,stream= video,out=bear-320x240-v-vp9_profile2_subsample_cenc-v.webm --enable_fixed_key_e ncryption --key_id 30313233343536373839303132333435 | |
|
kqyang
2017/05/16 17:13:01
nit: align "packager" "Encrypted" above
Haoming Chen
2017/05/16 20:49:09
Done.
| |
| 80 --key ebdd62f16814d27b68ef122afce4ae 3c --clear_lead 0 | |
| 81 --pssh 0000003470737368010000001077E FECC0B24D02ACE33C1E52E2FB4B00000001303132333435363738393031323334350000000000000 0467073736800000000EDEF8BA979D64ACEA3C827DCD51D21ED00000026121030313233343536373 8393031323334351A00221030313233343536373839303132333435 | |
| 82 bear-320x240-v-vp9_profile2_subsample_cenc-v.mp4 - Same as above, in MP4 contain er. Generated with shaka-packager 4ba5bec66054cfd4af13c07ac62a97f1a1a2e5f9 (http s://github.com/google/shaka-packager): | |
| 83 packager in=bear-320x240-vp9_profile2.webm,st ream=video,out=bear-320x240-v-vp9_profile2_subsample_cenc-v.mp4 --enable_fixed_k ey_encryption --key_id 30313233343536373839303132333435 | |
| 84 --key ebdd62f16814d27b68ef122afce4ae 3c --clear_lead 0 | |
| 85 --pssh 0000003470737368010000001077E FECC0B24D02ACE33C1E52E2FB4B00000001303132333435363738393031323334350000000000000 0467073736800000000EDEF8BA979D64ACEA3C827DCD51D21ED00000026121030313233343536373 8393031323334351A00221030313233343536373839303132333435 | |
| 77 bear-640x360-av_enc-av.webm - bear-640x360.webm with audio & video encrypted usi ng key ID [1] and key [2]. | 86 bear-640x360-av_enc-av.webm - bear-640x360.webm with audio & video encrypted usi ng key ID [1] and key [2]. |
| 78 bear-320x240-av_enc-v.webm - bear-320x240.webm with video track encrypted using key ID [1] and key [2]. | 87 bear-320x240-av_enc-v.webm - bear-320x240.webm with video track encrypted using key ID [1] and key [2]. |
| 79 bear-320x240-av_enc-a.webm - bear-320x240.webm with audio track encrypted using key ID [1] and key [2]. | 88 bear-320x240-av_enc-a.webm - bear-320x240.webm with audio track encrypted using key ID [1] and key [2]. |
| 80 bear-320x240-v_enc-v.webm - bear-320x240-video-only.webm encrypted using key ID [1] and key [2]. | 89 bear-320x240-v_enc-v.webm - bear-320x240-video-only.webm encrypted using key ID [1] and key [2]. |
| 81 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. | 90 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. |
| 82 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]. | 91 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]. |
| 83 bear-320x240-opus-a_enc-a.webm - bear-opus.webm encrypted using key ID [1] and k ey[2]. | 92 bear-320x240-opus-a_enc-a.webm - bear-opus.webm encrypted using key ID [1] and k ey[2]. |
| 84 bear-320x240-opus-av_enc-av.webm - bear-vp9-opus.webm with audio & video encrypt ed using key ID [1] and key[2]. | 93 bear-320x240-opus-av_enc-av.webm - bear-vp9-opus.webm with audio & video encrypt ed using key ID [1] and key[2]. |
| 85 bear-320x240-opus-av_enc-v.webm - bear-vp9-opus.webm with video track encrypted using key ID [1] and key[2]. | 94 bear-320x240-opus-av_enc-v.webm - bear-vp9-opus.webm with video track encrypted using key ID [1] and key[2]. |
| 86 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]. | 95 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]. |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 288 | 297 |
| 289 // Multi-track WebM file | 298 // Multi-track WebM file |
| 290 media/test/data/multitrack-3video-2audio.webm | 299 media/test/data/multitrack-3video-2audio.webm |
| 291 //Generated using following commands: | 300 //Generated using following commands: |
| 292 ffmpeg -f lavfi -i color=c=red:size=320x240 -t 5 -c:v libvpx red.webm | 301 ffmpeg -f lavfi -i color=c=red:size=320x240 -t 5 -c:v libvpx red.webm |
| 293 ffmpeg -f lavfi -i color=c=green:size=320x240 -t 5 -c:v libvpx green.webm | 302 ffmpeg -f lavfi -i color=c=green:size=320x240 -t 5 -c:v libvpx green.webm |
| 294 ffmpeg -f lavfi -i color=c=blue:size=160x120 -t 10 -c:v libvpx blue.webm | 303 ffmpeg -f lavfi -i color=c=blue:size=160x120 -t 10 -c:v libvpx blue.webm |
| 295 ffmpeg -f lavfi -i "sine=frequency=300:sample_rate=48000" -t 10 -c:v libvpx a300hz.webm | 304 ffmpeg -f lavfi -i "sine=frequency=300:sample_rate=48000" -t 10 -c:v libvpx a300hz.webm |
| 296 ffmpeg -f lavfi -i "sine=frequency=500:sample_rate=48000" -t 5 -c:v libvpx a 500hz.webm | 305 ffmpeg -f lavfi -i "sine=frequency=500:sample_rate=48000" -t 5 -c:v libvpx a 500hz.webm |
| 297 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 | 306 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 |