shaka-packager/packager/media/test/data
Kongqun Yang ec904f3f79 Add a new test to exercise emulation prevention after encryption
Also added a few more command line flags for end to end test:
- no-remove_temp_files_after_test: do not remove test artifacts after
  test
- encryption_key, encryption_iv: allow injecting encryption key/iv from
  command line

Change-Id: I62084790e10fe6a385b90cb96d9515d8436b2a49
2017-03-28 13:18:33 -07:00
..
4ch.wav Move source code into packager directory 2014-10-02 12:32:14 -07:00
9ch.ogg Move source code into packager directory 2014-10-02 12:32:14 -07:00
README Add a new test to exercise emulation prevention after encryption 2017-03-28 13:18:33 -07:00
avc-byte-stream-frame.h264 Move source code into packager directory 2014-10-02 12:32:14 -07:00
avc1-unit-stream-frame.h264 Allow generating avc3 / hev1 from TS and Wvm files 2017-03-23 13:53:14 -07:00
avc3-unit-stream-frame.h264 Allow generating avc3 / hev1 from TS and Wvm files 2017-03-23 13:53:14 -07:00
bear-320x180.mp4 Reduce test file sizes and remove unused test files 2015-10-12 20:16:03 +00:00
bear-320x240-16x9-aspect-av_enc-av.webm Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear-320x240-16x9-aspect.webm Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear-320x240-altref.webm Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear-320x240-audio-only.webm Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear-320x240-av_enc-av.webm Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear-320x240-av_enc-av_clear-1s.webm Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear-320x240-av_enc-av_clear-all.webm Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear-320x240-cues-in-front.webm Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear-320x240-live.webm Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear-320x240-multitrack.webm Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear-320x240-video-only.webm Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear-320x240-vp9-opus.webm Handle preroll and codec_delay when tranmuxing opus 2016-05-16 14:51:51 -07:00
bear-320x240-vp9.webm Update end to end test with vpx packaging 2016-01-13 19:34:50 +00:00
bear-320x240.webm Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear-640x360-av_enc-av.webm Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear-640x360-av_frag.mp4 Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear-640x360-hevc.mp4 Update hevc test file to have more than one key frames 2016-03-03 17:34:24 -08:00
bear-640x360-hevc.ts Add support for H.265 in MPEG2-TS demuxer. 2016-05-03 15:08:04 -07:00
bear-640x360-non_square_pixel-with_pasp.mp4 Generate tkhd and pasp boxes properly with non-square pixels 2015-08-07 21:46:08 +00:00
bear-640x360-non_square_pixel-without_pasp.mp4 Generate tkhd and pasp boxes properly with non-square pixels 2015-08-07 21:46:08 +00:00
bear-640x360-trailing-moov.mp4 Reduce test file sizes and remove unused test files 2015-10-12 20:16:03 +00:00
bear-640x360-v_frag-cenc-aux.mp4 Implement SampleEncryption box parsing and generation 2016-01-05 01:56:06 +00:00
bear-640x360-v_frag-cenc-senc.mp4 Implement SampleEncryption box parsing and generation 2016-01-05 01:56:06 +00:00
bear-640x360-vp9-altref.webm Fix WebM not encrypted when clear lead is set to 0 2016-09-28 18:17:09 +00:00
bear-640x360.mp4 Reduce test file sizes and remove unused test files 2015-10-12 20:16:03 +00:00
bear-640x360.ts Add end to end test for transport stream 2016-04-29 17:21:08 -07:00
bear-640x360.webm Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear-640x360.wvm Reduce test file sizes and remove unused test files 2015-10-12 20:16:03 +00:00
bear-640x360_ptswraparound.ts Add end to end test for transport stream 2016-04-29 17:21:08 -07:00
bear-1280x720.mp4 Reduce test file sizes and remove unused test files 2015-10-12 20:16:03 +00:00
bear-mpeg2-aac-only_frag.mp4 Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear-multi-configs.wvm Added support for multiple audio & video configurations in WVM parser. 2015-10-13 10:42:49 -07:00
bear-vp8-webvtt.webm Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear-vp8a.webm Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear-vp9-blockgroup.webm Fix WebM keyframe detection in BlockGroup 2016-08-18 23:20:40 +00:00
bear.ac3 Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear.adts Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear.aiff Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear.asf Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear.avi Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear.eac3 Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear.flac Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear.flv Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear.h261 Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear.h263 Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear.h264 Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear.m2ts Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear.mjpeg Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear.mpeg Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear.ogv Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear.rm Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear.swf Move source code into packager directory 2014-10-02 12:32:14 -07:00
bear_no_iframe_start.h264 Move source code into packager directory 2014-10-02 12:32:14 -07:00
fake_prng_data.bin Move source code into packager directory 2014-10-02 12:32:14 -07:00
hev1-unit-stream-frame.h265 Allow generating avc3 / hev1 from TS and Wvm files 2017-03-23 13:53:14 -07:00
hevc-byte-stream-frame.h265 Add H.265 byte to unit stream converter. 2016-04-13 10:21:52 -07:00
hvc1-unit-stream-frame.h265 Allow generating avc3 / hev1 from TS and Wvm files 2017-03-23 13:53:14 -07:00
id3_test.mp3 Move source code into packager directory 2014-10-02 12:32:14 -07:00
no_audio_video.webm Move source code into packager directory 2014-10-02 12:32:14 -07:00
no_streams.webm Move source code into packager directory 2014-10-02 12:32:14 -07:00
nonzero-start-time.webm Move source code into packager directory 2014-10-02 12:32:14 -07:00
sintel-1024x436.mp4 Add a new test to exercise emulation prevention after encryption 2017-03-28 13:18:33 -07:00
subtitle-english.vtt VOD text support 2015-11-11 12:26:25 -08:00
ten_byte_file Move source code into packager directory 2014-10-02 12:32:14 -07:00
test-25fps.h264 Move source code into packager directory 2014-10-02 12:32:14 -07:00
vp8-I-frame-160x240 Move source code into packager directory 2014-10-02 12:32:14 -07:00
vp8-I-frame-320x120 Move source code into packager directory 2014-10-02 12:32:14 -07:00
vp8-I-frame-320x240 Move source code into packager directory 2014-10-02 12:32:14 -07:00
vp8-I-frame-320x480 Move source code into packager directory 2014-10-02 12:32:14 -07:00
vp8-I-frame-640x240 Move source code into packager directory 2014-10-02 12:32:14 -07:00
vp8-corrupt-I-frame Move source code into packager directory 2014-10-02 12:32:14 -07:00
webm_content_encodings Move source code into packager directory 2014-10-02 12:32:14 -07:00
webm_ebml_element Move source code into packager directory 2014-10-02 12:32:14 -07:00
webm_info_element Move source code into packager directory 2014-10-02 12:32:14 -07:00
webm_vorbis_track_entry Move source code into packager directory 2014-10-02 12:32:14 -07:00
webm_vp8_track_entry Move source code into packager directory 2014-10-02 12:32:14 -07:00

README

// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

bear-320x240.webm - WebM encode of bear.1280x720.mp4 resized to 320x240.
bear-320x240-vp9-opus.webm - Same as above, but with vp9 and opus codec.
no_streams.webm - Header, Info, & Tracks element from bear-320x240.webm slightly corrupted so it looks
                  like there are no tracks.
nonzero-start-time.webm - Has the same headers as bear-320x240.webm but the first cluster of this file
                          is the second cluster of bear-320x240.webm. This creates the situation where
                          the media data doesn't start at time 0.
bear-320x240-live.webm - bear-320x240.webm remuxed w/o a duration and using clusters with unknown sizes.
                         ffmpeg -i bear-320x240.webm -acodec copy -vcodec copy -f webm pipe:1 > bear-320x240-live.webm
vp8-I-frame-160x240 - The first I frame of a 160x240 reencode of bear-320x240.webm.
vp8-I-frame-320x120 - The first I frame of a 320x120 reencode of bear-320x240.webm.
vp8-I-frame-320x240 - The first I frame of bear-320x240.webm.
vp8-I-frame-320x480 - The first I frame of a 320x480 reencode of bear-320x240.webm.
vp8-I-frame-640x240 - The first I frame of a 640x240 reencode of bear-320x240.webm.
vp8-corrupt-I-frame - A copy of vp8-I-frame-320x240 w/ all bytes XORed w/ 0xA5.

// Transport streams.
bear-640x360.ts - AVC + AAC encode, multiplexed into an MPEG2-TS container.
bear-640x360_ptswraparound.ts - Same as bear-640x360.ts, with a timestamp wrap-around in the middle, created with the below command:
                                ffmpeg -itsoffset 95442 -i bear-640x360.ts -c:v copy -c:a copy -muxdelay 0 bear-640x360_ptswraparound.ts
bear-640x360-hevc.ts - HEVC + AAC encode, multiplexed into an MPEG2-TS container.

// ISO-BMFF streams.
bear-1280x720.mp4 - AVC + AAC encode, mulitplexed into an ISOBMFF container.
bear-640x360.mp4  - Same as above, but in a different resolution.
bear-640x360-hevc.mp4  - Same content, but encoded with HEVC.
bear-320x180.mp4  - Same as above, but in a different resolution.
bear-640x360-trailing-moov.mp4  - Same content, but with moov box in the end.
bear-640x360-av_frag.mp4  - Same content, but in fragmented mp4.

// Non square pixels.
bear-640x360-non_square_pixel-with_pasp.mp4 - A non-square pixel version of the video track of bear-640x360.mp4 with PixelAspectRatio box.
bear-640x360-non_square_pixel-without_pasp.mp4 - A non-square pixel version of the video track of bear-640x360.mp4 without PixelAspectRatio box.

// Encrypted Files.
bear-640x360-v_frag-cenc-aux.mp4 - A fragmented MP4 version of the video track of bear-640x360.mp4
                                   encrypted (ISO CENC) using key ID [1] and key [2] and with sample
                                   encryption auxiliary information in the beginning of mdat box.
bear-640x360-v_frag-cenc-senc.mp4 - Same as above, but with sample encryption information stored in
                                    senc box.

[1] 30313233343536373839303132333435
[2] ebdd62f16814d27b68ef122afce4ae3c

// Container Tests (additional containers derived from bear.ogv)
bear.ac3    -- created using "avconv -i bear.ogv -f ac3 -b 192k bear.ac3".
bear.adts   -- created using "avconv -i bear.ogv -f adts -strict experimental bear.adts".
bear.aiff   -- created using "avconv -i bear.ogv -f aiff bear.aiff".
bear.asf    -- created using "avconv -i bear.ogv -f asf bear.asf".
bear.avi    -- created using "avconv -i bear.ogv -f avi -b 192k bear.avi".
bear.eac3   -- created using "avconv -i bear.ogv -f eac3 bear.eac3".
bear.flac   -- created using "avconv -i bear.ogv -f flac bear.flac".
bear.flv    -- created using "avconv -i bear.ogv -f flv bear.flv".
bear.h261   -- created using "avconv -i bear.ogv -f h261 -s:0 cif bear.h261".
bear.h263   -- created using "avconv -i bear.ogv -f h263 -s:0 cif bear.h263".
bear.m2ts   -- created using "avconv -i bear.ogv -f mpegts bear.m2ts".
bear.mjpeg  -- created using "avconv -i bear.ogv -f mjpeg bear.mjpeg".
bear.mpeg   -- created using "avconv -i bear.ogv -f mpeg bear.mpeg".
bear.rm     -- created using "avconv -i bear.ogv -f rm -b 192k bear.rm".
bear.swf    -- created using "avconv -i bear.ogv -f swf -an bear.swf".

// VDA test files: test-25fps
test-25fps.h264:
  Using ffmpeg SVN-r0.5.9-4:0.5.9-0ubuntu0.10.04.1 @ WebKit r122718, generated
  with:
  ffmpeg -i third_party/WebKit/LayoutTests/media/content/test-25fps.mp4 \
      -vcodec copy -vbsf h264_mp4toannexb -an test-25fps.h264

// VDA test files: bear
bear.h264:
  Using ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, generated with
  bear.mp4 (https://chromiumcodereview.appspot.com/10805089):
  ffmpeg -i bear.mp4 -vcodec copy -vbsf h264_mp4toannexb \
      -an bear.h264

bear_no_i_frame_start.h264
   Derived from bear.h264. Consists of 29-non-I-frames, followed by a single I-frame, and 29 non-I-frames.

avc-byte-stream-frame.h264 - Single IDR frame extracted from test-25fps.h264 in Annex B byte stream format.
avc-unit-stream-frame.h264 - Single IDR frame from avc-byte-stream-frame.h264 converted to unit stream format.

hevc-byte-stream-frame.h265 - Several video frames with SPS/PPS/VPS manually extracted from an H.265 stream, in Annex B byte stream format.
hevc-byte-stream-frame.h265 - hevc-byte-stream-frame.h265 converted to unit stream format.

sintel-1024x436.mp4 - First 6 seconds of Sintel stream.