shaka-packager/packager/media/test/data
Cosmin Stejerean 94db9c9db3
fix: adaptation set IDs were referenced by lowest representation ID (#1394)
After change to add forced command line ordering adaptation set IDs in
places were referenced by their sort index (the minimum representation
index they contained).

Instead always refer to adaptation sets by their own ID, and use the
index only as an optional sort key.

Fixes #1393
2024-05-10 17:24:04 -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
BigBuckBunny_10s.ismv fix: Fix handling of non-interleaved multi track FMP4 files (#1214) 2023-08-21 16:34:32 -07:00
README feat: This patch adds support for DTS:X Profile 2 audio in MP4 files. (#1303) 2024-02-14 23:03:03 -08:00
av1-I-frame-320x240 Implemented AV1 bitstream parser 2018-09-28 18:45:44 +00: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-vp9-altref.webm Add support for WebM colour element 2017-05-02 20:22:17 +00: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-aac_he-silent_right.mp4 Fix AAC-HE not correctly signaled in codec string 2017-04-13 23:40:23 +00:00
bear-640x360-aac_lc-silent_right.mp4 Fix AAC-HE not correctly signaled in codec string 2017-04-13 23:40:23 +00:00
bear-640x360-ac3.ts Add end to end test for ac3 2018-01-18 17:23:20 -08: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-ec3.mp4 Fix SAMPLE-AES EC3 encryption 2018-01-24 03:02:49 +00:00
bear-640x360-hevc-hdr10.mp4 [HLS] Support HDR signaling, i.e. VIDEO-RANGE attribute 2019-10-04 22:50:20 +00: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-no_edit_list.mp4 Adjust timestamps in mp4 if there is an initial composition offset 2018-07-26 23:20:21 +00: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-additional-mdat.mp4 Handle additional unused 'mdat' properly 2017-12-01 00:28:30 +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.mp4 fix: adaptation set IDs were referenced by lowest representation ID (#1394) 2024-05-10 17:24:04 -07: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-640x360_ptszero_dtswraparound.ts fix: PTS diverge DTS when DTS close to 2pow33 and PTS more than 0 (#1050) 2022-10-27 14:21:03 -07:00
bear-1280x720-hevc.mp4 fix: adaptation set IDs were referenced by lowest representation ID (#1394) 2024-05-10 17:24:04 -07:00
bear-1280x720.mp4 Reduce test file sizes and remove unused test files 2015-10-12 20:16:03 +00:00
bear-alac.mp4 feat: Add support for ALAC codec (#1299) 2024-02-26 13:39:30 -08:00
bear-av1.mp4 Add support for AV1 2018-08-31 19:16:04 +00:00
bear-av1.webm Add support for AV1 2018-08-31 19:16:04 +00:00
bear-dtsx.mp4 feat: This patch adds support for DTS:X Profile 2 audio in MP4 files. (#1303) 2024-02-14 23:03:03 -08:00
bear-english.ttml [DASH] Fix TTML text input passthrough (regression) 2018-09-19 23:27:48 +00:00
bear-english.vtt [DASH] Fix TTML text input passthrough (regression) 2018-09-19 23:27:48 +00:00
bear-flac.mp4 Add support for FLAC codec 2018-05-02 00:16:51 +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 Fix avc3 codec string problem 2017-04-28 19:24:11 +00:00
bear-visualy-impaired-eng-audio-pmt.xml feat: Parse MPEG-TS PMT ES language and maximum bitrate descriptors (#369) (#1311) 2024-02-08 11:58:26 -08:00
bear-visualy-impaired-eng-audio.ts feat: Parse MPEG-TS PMT ES language and maximum bitrate descriptors (#369) (#1311) 2024-02-08 11:58:26 -08: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
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
sparks_dovi_5.mp4 Replace Dolby Vision test content 2019-10-09 21:34:53 +00:00
sparks_dovi_8.mp4 Support Dolby Vision backward compatible profiles 2020-02-11 05:24:09 +00: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.
bear-320x240-vp9-altref.webm - Same as above, but enabled altref:
  ffmpeg -i bear-320x180.mp4 -c:v libvpx-vp9 -pass 1 -threads 8 -speed 4 \
    -frame-parallel 1 -an -f webm /dev/null
  ffmpeg -i bear-320x180.mp4 -c:v libvpx-vp9 -pass 2 -threads 8 -speed 1 \
    -frame-parallel 1 -auto-alt-ref 1 -lag-in-frames 25 -an -f webm \
    bear-320x240-vp9-altref.webm
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.
bear-eng-visualy-impaired-audio.ts - Audio stream from bear-640x360.ts marked as english with commentary for visually impaired viewer using the below commands:
  tsp -I file bear-640x360.ts \
    -P filter --video --negate
    -P inject --replace --pid 4096 --xml bear-visualy-impaired-eng-audio-pmt.xml \
    -O file bear-visualy-impaired-eng-audio.ts
  (xml template can be obtained by command "tsp -I file bear-640x360.ts -P tables --pid 4096 --tid 2 --max 1 --xml pmt.xml -O drop")

// 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-ec3.mp4  - Same content, but audio encoded with E-AC3.
bear-640x360-hevc.mp4  - Same content, but video encoded with HEVC.
bear-640x360-hevc-hdr10.mp4  - Same content, but video encoded with HEVC with HDR10 using the below command:
  ffmpeg -i bear-640x360-hevc.mp4 -c:a copy -c:v libx265 -tag:v hvc1 -crf 22 \
  -pix_fmt yuv420p10le \
  -x265-params "colorprim=bt2020:transfer=smpte2084:colormatrix=bt2020nc" \
  bear-640x360-hevc-hdr10.mp4
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-trailing-moov-additional-mdat.mp4  - Same content, but with moov box in the end and an additional unused mdat, which should be ignored.
bear-640x360-av_frag.mp4  - Same content, but in fragmented mp4.
bear-640x360-aac_lc-silent_right.mp4  - Audio only, stereo, but right channel is silent, with AAC-LC profile.
bear-640x360-aac_he-silent_right.mp4  - Same as above, but with AAC-HE profile.
bear-flac.mp4 - Unfragmented audio-only 44.1kHz FLAC in MP4 file, created using:
  ffmpeg -i bear-1280x720.mp4 -map 0:0 -acodec flac -strict -2 bear-flac.mp4
  Note, "-strict -2" was required because current ffmpeg libavformat version
  57.75.100 indicates that flac in MP4 support is experimental.
bear-640x360-no_edit_list.mp4  - Same content, but with EditLists removed.

// 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.

// First 6 seconds of Sparks, generated from Netflix open content:
// http://download.opencontent.netflix.com/?prefix=TechblogAssets/Sparks/Sparks_DolbyVision_P3D65_PQ_5994fps_4096x2160_LtRt_IMF_20170214/
sparks_dovi_5.mp4  - Dolby Vision profile 5
sparks_dovi_8.mp4  - Dolby Vision profile 8

// DTS:X Profile 2 5.1 channel audio
bear-dtsx.mp4:
  Generated using ffmpeg and proprietary encoder:
    ffmpeg -i bear.aiff -i bear.aiff -i bear.aiff \
        -filter_complex "[0:a][1:a][2:a]concat=n=3:v=0:a=1[out]" \
        -ar 48000 -map "[out]" -y bear.wav
    dtsx-ott-enc -w -o bear-dtsx.mp4 -c 5.1 bear.wav bear.wav bear.wav