Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(274)

Side by Side Diff: media/test/data/README

Issue 2783703002: Declare intent to use sample-aes later in the stream. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 bear-a_enc-a.webm - bear-320x240-audio-only.webm encrypted using key ID [1] and key [2]. 92 bear-a_enc-a.webm - bear-320x240-audio-only.webm encrypted using key ID [1] and key [2].
93 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]. 93 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].
94 94
95 bear-1280x720-hls.ts: produced using Apple's mediafilesegmenter tool with bear-1 280x720.ts as input, with no encryption. 95 bear-1280x720-hls.ts: produced using Apple's mediafilesegmenter tool with bear-1 280x720.ts as input, with no encryption.
96 mediafilesegmenter -t 10 -start-segments-with-iframe -f 'output_clear/' bear-1 280x720.ts 96 mediafilesegmenter -t 10 -start-segments-with-iframe -f 'output_clear/' bear-1 280x720.ts
97 97
98 bear-1280x720-hls-sample-aes.ts: produced using Apple's mediafilesegmenter tool also with bear-1280x720.ts as input, but with SAMPLE_AES encryption. 98 bear-1280x720-hls-sample-aes.ts: produced using Apple's mediafilesegmenter tool also with bear-1280x720.ts as input, but with SAMPLE_AES encryption.
99 (Additional TS packets were constructed manually and prepended to convey the e ncryption metadata, notably key id and IV). 99 (Additional TS packets were constructed manually and prepended to convey the e ncryption metadata, notably key id and IV).
100 mediafilesegmenter -S -P -k 'key_iv.bin' -t 10 -start-segments-with-iframe -f 'output/' bear-1280x720.ts 100 mediafilesegmenter -S -P -k 'key_iv.bin' -t 10 -start-segments-with-iframe -f 'output/' bear-1280x720.ts
101 101
102 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
103 bear-1280x720-hls-sample-aes.ts. It's presence indicates that SAMPLE_AES encry ption may occur later in the stream, and causes the initial audio and video conf igs
kqyang 2017/04/07 23:33:43 s/It's/Its/
dougsteed 2017/04/26 20:34:14 Done.
104 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 upovery similar to how
servolk 2017/04/04 20:08:18 nit, typo: 'upovery'
dougsteed 2017/04/26 20:34:14 Done.
105 clear leader of an otherwise encrypted stream can occur in MP4.
106
102 [1] 30313233343536373839303132333435 107 [1] 30313233343536373839303132333435
103 [2] ebdd62f16814d27b68ef122afce4ae3c 108 [2] ebdd62f16814d27b68ef122afce4ae3c
104 [3] KeyIds and Keys are created by left rotating key ID [1] and key [2] using 109 [3] KeyIds and Keys are created by left rotating key ID [1] and key [2] using
105 std::rotate for every new crypto period. This is only for testing. The 110 std::rotate for every new crypto period. This is only for testing. The
106 actual key rotation algorithm is often much more complicated. 111 actual key rotation algorithm is often much more complicated.
107 [4] http://www.webmproject.org/docs/webm-encryption/#46-subsample-encrypted-bloc k-format 112 [4] http://www.webmproject.org/docs/webm-encryption/#46-subsample-encrypted-bloc k-format
108 113
109 // Container Tests (additional containers derived from bear.ogv) 114 // Container Tests (additional containers derived from bear.ogv)
110 bear.ac3 -- created using "avconv -i bear.ogv -f ac3 -b 192k bear.ac3". 115 bear.ac3 -- created using "avconv -i bear.ogv -f ac3 -b 192k bear.ac3".
111 bear.adts -- created using "avconv -i bear.ogv -f adts -strict experimental be ar.adts". 116 bear.adts -- created using "avconv -i bear.ogv -f adts -strict experimental be ar.adts".
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 285
281 // Multi-track WebM file 286 // Multi-track WebM file
282 media/test/data/multitrack-3video-2audio.webm 287 media/test/data/multitrack-3video-2audio.webm
283 //Generated using following commands: 288 //Generated using following commands:
284 ffmpeg -f lavfi -i color=c=red:size=320x240 -t 5 -c:v libvpx red.webm 289 ffmpeg -f lavfi -i color=c=red:size=320x240 -t 5 -c:v libvpx red.webm
285 ffmpeg -f lavfi -i color=c=green:size=320x240 -t 5 -c:v libvpx green.webm 290 ffmpeg -f lavfi -i color=c=green:size=320x240 -t 5 -c:v libvpx green.webm
286 ffmpeg -f lavfi -i color=c=blue:size=160x120 -t 10 -c:v libvpx blue.webm 291 ffmpeg -f lavfi -i color=c=blue:size=160x120 -t 10 -c:v libvpx blue.webm
287 ffmpeg -f lavfi -i "sine=frequency=300:sample_rate=48000" -t 10 -c:v libvpx a300hz.webm 292 ffmpeg -f lavfi -i "sine=frequency=300:sample_rate=48000" -t 10 -c:v libvpx a300hz.webm
288 ffmpeg -f lavfi -i "sine=frequency=500:sample_rate=48000" -t 5 -c:v libvpx a 500hz.webm 293 ffmpeg -f lavfi -i "sine=frequency=500:sample_rate=48000" -t 5 -c:v libvpx a 500hz.webm
289 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 294 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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698