Remove Test File Index in packager_test.py

Instead of using the test file's index in a list to create the output
name, use the original filename and the descriptor.

This caused some problems with file name collisions when some tests
were using the same name. That was fixed by changing the names. This
will go away once they are transitioned to use DiffDir like the other
tests.

Change-Id: I0a4c480406705ca63fcea61c86c67d4a5f739295
This commit is contained in:
Aaron Vaage 2018-03-02 09:02:38 -08:00
parent 6a8d2aa443
commit b2ce6322b6
246 changed files with 186 additions and 193 deletions

View File

@ -134,8 +134,7 @@ class PackagerAppTest(unittest.TestCase):
trick_play_factor=None, trick_play_factor=None,
drm_label=None, drm_label=None,
skip_encryption=None, skip_encryption=None,
test_file=None, test_file=None):
test_file_index=None):
"""Get a stream descriptor as a string. """Get a stream descriptor as a string.
@ -158,15 +157,12 @@ class PackagerAppTest(unittest.TestCase):
skip_encryption: If set to true, the stream will not be encrypted. skip_encryption: If set to true, the stream will not be encrypted.
test_file: Specify the input file to use. If the input file is not test_file: Specify the input file to use. If the input file is not
specify, a default file will be used. specify, a default file will be used.
test_file_index: Specify the index of the input out of a group of input
files.
Returns: Returns:
A string that makes up a single stream descriptor for input to the A string that makes up a single stream descriptor for input to the
packager. packager.
""" """
input_file_name = test_file or 'bear-640x360.mp4' input_file_name = test_file or 'bear-640x360.mp4'
input_file_path = os.path.join(self.test_data_dir, input_file_name) input_file_path = os.path.join(self.test_data_dir, input_file_name)
@ -179,10 +175,11 @@ class PackagerAppTest(unittest.TestCase):
if language: if language:
stream.Append('lang', language) stream.Append('lang', language)
if test_file_index is None: # Use the input file name (no extension) and pair it with the
output_file_name = 'output_%s' % descriptor # descriptor to create the root of the output file_name.
else: output_file_name = '%s-%s' % (
output_file_name = 'output_%d_%s' % (test_file_index, descriptor) os.path.splitext(input_file_name)[0],
descriptor)
if hls: if hls:
stream.Append('playlist_name', descriptor + '.m3u8') stream.Append('playlist_name', descriptor + '.m3u8')
@ -213,7 +210,7 @@ class PackagerAppTest(unittest.TestCase):
seg_template = '%s-$Number$.%s' % (output_file_path, segment_ext) seg_template = '%s-$Number$.%s' % (output_file_path, segment_ext)
stream.Append('segment_template', seg_template) stream.Append('segment_template', seg_template)
else: else:
output_file_path = '%s.%s' % (output_file_path, base_ext) output_file_path += '.' + base_ext
stream.Append('output', output_file_path) stream.Append('output', output_file_path)
self.output.append(output_file_path) self.output.append(output_file_path)
@ -230,14 +227,10 @@ class PackagerAppTest(unittest.TestCase):
if test_files_count == 0: if test_files_count == 0:
for stream in streams: for stream in streams:
out.append(self._GetStream(stream, **kwargs)) out.append(self._GetStream(stream, **kwargs))
elif test_files_count == 1:
for stream in streams:
out.append(self._GetStream(stream, test_file=test_files[0], **kwargs))
else: else:
for index, file_name in enumerate(test_files): for file_name in test_files:
for stream in streams: for stream in streams:
out.append(self._GetStream( out.append(self._GetStream(stream, test_file=file_name, **kwargs))
stream, test_file_index=index, test_file=file_name, **kwargs))
return out return out

View File

@ -5,7 +5,7 @@
<AdaptationSet id="0" contentType="audio" subsegmentAlignment="true"> <AdaptationSet id="0" contentType="audio" subsegmentAlignment="true">
<Representation id="0" bandwidth="68215" codecs="mp4a.40.5" mimeType="audio/mp4" audioSamplingRate="44100"> <Representation id="0" bandwidth="68215" codecs="mp4a.40.5" mimeType="audio/mp4" audioSamplingRate="44100">
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
<BaseURL>output_audio.mp4</BaseURL> <BaseURL>bear-640x360-aac_he-silent_right-audio.mp4</BaseURL>
<SegmentBase indexRange="756-823" timescale="44100"> <SegmentBase indexRange="756-823" timescale="44100">
<Initialization range="0-755"/> <Initialization range="0-755"/>
</SegmentBase> </SegmentBase>

View File

@ -4,7 +4,7 @@
<Period id="0"> <Period id="0">
<AdaptationSet id="0" contentType="video" width="640" height="360" frameRate="30000/1001" subsegmentAlignment="true" par="16:9"> <AdaptationSet id="0" contentType="video" width="640" height="360" frameRate="30000/1001" subsegmentAlignment="true" par="16:9">
<Representation id="0" bandwidth="882064" codecs="avc1.64001e" mimeType="video/mp4" sar="1:1"> <Representation id="0" bandwidth="882064" codecs="avc1.64001e" mimeType="video/mp4" sar="1:1">
<BaseURL>output_video.mp4</BaseURL> <BaseURL>bear-640x360-video.mp4</BaseURL>
<SegmentBase indexRange="823-890" timescale="30000"> <SegmentBase indexRange="823-890" timescale="30000">
<Initialization range="0-822"/> <Initialization range="0-822"/>
</SegmentBase> </SegmentBase>
@ -13,7 +13,7 @@
<AdaptationSet id="1" contentType="audio" lang="pt-BR" subsegmentAlignment="true"> <AdaptationSet id="1" contentType="audio" lang="pt-BR" subsegmentAlignment="true">
<Representation id="1" bandwidth="126510" codecs="mp4a.40.2" mimeType="audio/mp4" audioSamplingRate="44100"> <Representation id="1" bandwidth="126510" codecs="mp4a.40.2" mimeType="audio/mp4" audioSamplingRate="44100">
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
<BaseURL>output_audio.mp4</BaseURL> <BaseURL>bear-640x360-audio.mp4</BaseURL>
<SegmentBase indexRange="757-824" timescale="44100"> <SegmentBase indexRange="757-824" timescale="44100">
<Initialization range="0-756"/> <Initialization range="0-756"/>
</SegmentBase> </SegmentBase>

View File

@ -4,7 +4,7 @@
<Period id="0"> <Period id="0">
<AdaptationSet id="0" contentType="video" width="640" height="360" frameRate="30000/1001" subsegmentAlignment="true" par="16:9"> <AdaptationSet id="0" contentType="video" width="640" height="360" frameRate="30000/1001" subsegmentAlignment="true" par="16:9">
<Representation id="0" bandwidth="882064" codecs="avc1.64001e" mimeType="video/mp4" sar="1:1"> <Representation id="0" bandwidth="882064" codecs="avc1.64001e" mimeType="video/mp4" sar="1:1">
<BaseURL>output_video.mp4</BaseURL> <BaseURL>bear-640x360-video.mp4</BaseURL>
<SegmentBase indexRange="823-890" timescale="30000"> <SegmentBase indexRange="823-890" timescale="30000">
<Initialization range="0-822"/> <Initialization range="0-822"/>
</SegmentBase> </SegmentBase>
@ -13,7 +13,7 @@
<AdaptationSet id="1" contentType="audio" lang="pt-BR" subsegmentAlignment="true"> <AdaptationSet id="1" contentType="audio" lang="pt-BR" subsegmentAlignment="true">
<Representation id="1" bandwidth="126510" codecs="mp4a.40.2" mimeType="audio/mp4" audioSamplingRate="44100"> <Representation id="1" bandwidth="126510" codecs="mp4a.40.2" mimeType="audio/mp4" audioSamplingRate="44100">
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
<BaseURL>output_audio.mp4</BaseURL> <BaseURL>bear-640x360-audio.mp4</BaseURL>
<SegmentBase indexRange="757-824" timescale="44100"> <SegmentBase indexRange="757-824" timescale="44100">
<Initialization range="0-756"/> <Initialization range="0-756"/>
</SegmentBase> </SegmentBase>

View File

@ -4,7 +4,7 @@
<Period id="0"> <Period id="0">
<AdaptationSet id="0" contentType="video" width="640" height="360" frameRate="30000/1001" subsegmentAlignment="true" par="16:9"> <AdaptationSet id="0" contentType="video" width="640" height="360" frameRate="30000/1001" subsegmentAlignment="true" par="16:9">
<Representation id="0" bandwidth="882064" codecs="avc1.64001e" mimeType="video/mp4" sar="1:1"> <Representation id="0" bandwidth="882064" codecs="avc1.64001e" mimeType="video/mp4" sar="1:1">
<BaseURL>output_video.mp4</BaseURL> <BaseURL>bear-640x360-video.mp4</BaseURL>
<SegmentBase indexRange="823-890" timescale="30000"> <SegmentBase indexRange="823-890" timescale="30000">
<Initialization range="0-822"/> <Initialization range="0-822"/>
</SegmentBase> </SegmentBase>
@ -13,7 +13,7 @@
<AdaptationSet id="1" contentType="video" width="640" height="360" frameRate="30000/30030" subsegmentAlignment="true" par="16:9"> <AdaptationSet id="1" contentType="video" width="640" height="360" frameRate="30000/30030" subsegmentAlignment="true" par="16:9">
<EssentialProperty schemeIdUri="http://dashif.org/guidelines/trickmode" value="0"/> <EssentialProperty schemeIdUri="http://dashif.org/guidelines/trickmode" value="0"/>
<Representation id="1" bandwidth="156160" codecs="avc1.64001e" mimeType="video/mp4" sar="1:1" maxPlayoutRate="30" codingDependency="false"> <Representation id="1" bandwidth="156160" codecs="avc1.64001e" mimeType="video/mp4" sar="1:1" maxPlayoutRate="30" codingDependency="false">
<BaseURL>output_video-trick_play_factor_1.mp4</BaseURL> <BaseURL>bear-640x360-video-trick_play_factor_1.mp4</BaseURL>
<SegmentBase indexRange="823-890" timescale="30000"> <SegmentBase indexRange="823-890" timescale="30000">
<Initialization range="0-822"/> <Initialization range="0-822"/>
</SegmentBase> </SegmentBase>
@ -22,7 +22,7 @@
<AdaptationSet id="2" contentType="audio" subsegmentAlignment="true"> <AdaptationSet id="2" contentType="audio" subsegmentAlignment="true">
<Representation id="2" bandwidth="126510" codecs="mp4a.40.2" mimeType="audio/mp4" audioSamplingRate="44100"> <Representation id="2" bandwidth="126510" codecs="mp4a.40.2" mimeType="audio/mp4" audioSamplingRate="44100">
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
<BaseURL>output_audio.mp4</BaseURL> <BaseURL>bear-640x360-audio.mp4</BaseURL>
<SegmentBase indexRange="757-824" timescale="44100"> <SegmentBase indexRange="757-824" timescale="44100">
<Initialization range="0-756"/> <Initialization range="0-756"/>
</SegmentBase> </SegmentBase>

View File

@ -4,7 +4,7 @@
<Period id="0"> <Period id="0">
<AdaptationSet id="0" contentType="video" width="640" height="360" frameRate="30000/1001" subsegmentAlignment="true" par="16:9"> <AdaptationSet id="0" contentType="video" width="640" height="360" frameRate="30000/1001" subsegmentAlignment="true" par="16:9">
<Representation id="0" bandwidth="882064" codecs="avc1.64001e" mimeType="video/mp4" sar="1:1"> <Representation id="0" bandwidth="882064" codecs="avc1.64001e" mimeType="video/mp4" sar="1:1">
<BaseURL>output_video.mp4</BaseURL> <BaseURL>bear-640x360-video.mp4</BaseURL>
<SegmentBase indexRange="823-890" timescale="30000"> <SegmentBase indexRange="823-890" timescale="30000">
<Initialization range="0-822"/> <Initialization range="0-822"/>
</SegmentBase> </SegmentBase>
@ -13,13 +13,13 @@
<AdaptationSet id="1" contentType="video" width="640" height="360" maxFrameRate="30000/30030" par="16:9"> <AdaptationSet id="1" contentType="video" width="640" height="360" maxFrameRate="30000/30030" par="16:9">
<EssentialProperty schemeIdUri="http://dashif.org/guidelines/trickmode" value="0"/> <EssentialProperty schemeIdUri="http://dashif.org/guidelines/trickmode" value="0"/>
<Representation id="1" bandwidth="103866" codecs="avc1.64001e" mimeType="video/mp4" sar="1:1" frameRate="30000/60060" maxPlayoutRate="60" codingDependency="false"> <Representation id="1" bandwidth="103866" codecs="avc1.64001e" mimeType="video/mp4" sar="1:1" frameRate="30000/60060" maxPlayoutRate="60" codingDependency="false">
<BaseURL>output_video-trick_play_factor_2.mp4</BaseURL> <BaseURL>bear-640x360-video-trick_play_factor_2.mp4</BaseURL>
<SegmentBase indexRange="823-878" timescale="30000"> <SegmentBase indexRange="823-878" timescale="30000">
<Initialization range="0-822"/> <Initialization range="0-822"/>
</SegmentBase> </SegmentBase>
</Representation> </Representation>
<Representation id="2" bandwidth="156160" codecs="avc1.64001e" mimeType="video/mp4" sar="1:1" frameRate="30000/30030" maxPlayoutRate="30" codingDependency="false"> <Representation id="2" bandwidth="156160" codecs="avc1.64001e" mimeType="video/mp4" sar="1:1" frameRate="30000/30030" maxPlayoutRate="30" codingDependency="false">
<BaseURL>output_video-trick_play_factor_1.mp4</BaseURL> <BaseURL>bear-640x360-video-trick_play_factor_1.mp4</BaseURL>
<SegmentBase indexRange="823-890" timescale="30000"> <SegmentBase indexRange="823-890" timescale="30000">
<Initialization range="0-822"/> <Initialization range="0-822"/>
</SegmentBase> </SegmentBase>
@ -28,7 +28,7 @@
<AdaptationSet id="2" contentType="audio" subsegmentAlignment="true"> <AdaptationSet id="2" contentType="audio" subsegmentAlignment="true">
<Representation id="3" bandwidth="126510" codecs="mp4a.40.2" mimeType="audio/mp4" audioSamplingRate="44100"> <Representation id="3" bandwidth="126510" codecs="mp4a.40.2" mimeType="audio/mp4" audioSamplingRate="44100">
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
<BaseURL>output_audio.mp4</BaseURL> <BaseURL>bear-640x360-audio.mp4</BaseURL>
<SegmentBase indexRange="757-824" timescale="44100"> <SegmentBase indexRange="757-824" timescale="44100">
<Initialization range="0-756"/> <Initialization range="0-756"/>
</SegmentBase> </SegmentBase>

View File

@ -4,7 +4,7 @@
<Period id="0"> <Period id="0">
<AdaptationSet id="0" contentType="video" width="640" height="360" frameRate="30000/1001" subsegmentAlignment="true" par="16:9"> <AdaptationSet id="0" contentType="video" width="640" height="360" frameRate="30000/1001" subsegmentAlignment="true" par="16:9">
<Representation id="0" bandwidth="882064" codecs="avc1.64001e" mimeType="video/mp4" sar="1:1"> <Representation id="0" bandwidth="882064" codecs="avc1.64001e" mimeType="video/mp4" sar="1:1">
<BaseURL>output_video.mp4</BaseURL> <BaseURL>bear-640x360-video.mp4</BaseURL>
<SegmentBase indexRange="823-890" timescale="30000"> <SegmentBase indexRange="823-890" timescale="30000">
<Initialization range="0-822"/> <Initialization range="0-822"/>
</SegmentBase> </SegmentBase>
@ -13,7 +13,7 @@
<AdaptationSet id="1" contentType="audio" subsegmentAlignment="true"> <AdaptationSet id="1" contentType="audio" subsegmentAlignment="true">
<Representation id="1" bandwidth="126510" codecs="mp4a.40.2" mimeType="audio/mp4" audioSamplingRate="44100"> <Representation id="1" bandwidth="126510" codecs="mp4a.40.2" mimeType="audio/mp4" audioSamplingRate="44100">
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
<BaseURL>output_audio.mp4</BaseURL> <BaseURL>bear-640x360-audio.mp4</BaseURL>
<SegmentBase indexRange="757-824" timescale="44100"> <SegmentBase indexRange="757-824" timescale="44100">
<Initialization range="0-756"/> <Initialization range="0-756"/>
</SegmentBase> </SegmentBase>

View File

@ -4,9 +4,9 @@
#EXT-X-TARGETDURATION:2 #EXT-X-TARGETDURATION:2
#EXT-X-PLAYLIST-TYPE:VOD #EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:0.952, #EXTINF:0.952,
output_audio-1.ts bear-640x360-audio-1.ts
#EXTINF:0.998, #EXTINF:0.998,
output_audio-2.ts bear-640x360-audio-2.ts
#EXTINF:0.813, #EXTINF:0.813,
output_audio-3.ts bear-640x360-audio-3.ts
#EXT-X-ENDLIST #EXT-X-ENDLIST

View File

@ -4,9 +4,9 @@
#EXT-X-TARGETDURATION:2 #EXT-X-TARGETDURATION:2
#EXT-X-PLAYLIST-TYPE:VOD #EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:1.001, #EXTINF:1.001,
output_video-1.ts bear-640x360-video-1.ts
#EXTINF:1.001, #EXTINF:1.001,
output_video-2.ts bear-640x360-video-2.ts
#EXTINF:0.734, #EXTINF:0.734,
output_video-3.ts bear-640x360-video-3.ts
#EXT-X-ENDLIST #EXT-X-ENDLIST

View File

@ -3,14 +3,14 @@
## Generated with https://github.com/google/shaka-packager version <tag>-<hash>-<test> ## Generated with https://github.com/google/shaka-packager version <tag>-<hash>-<test>
#EXT-X-TARGETDURATION:2 #EXT-X-TARGETDURATION:2
#EXT-X-PLAYLIST-TYPE:VOD #EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-MAP:URI="output_audio.mp4",BYTERANGE="726@0" #EXT-X-MAP:URI="bear-640x360-ac3-audio.mp4",BYTERANGE="726@0"
#EXTINF:0.975, #EXTINF:0.975,
#EXT-X-BYTERANGE:23728@794 #EXT-X-BYTERANGE:23728@794
output_audio.mp4 bear-640x360-ac3-audio.mp4
#EXTINF:0.975, #EXTINF:0.975,
#EXT-X-BYTERANGE:23730 #EXT-X-BYTERANGE:23730
output_audio.mp4 bear-640x360-ac3-audio.mp4
#EXTINF:0.836, #EXTINF:0.836,
#EXT-X-BYTERANGE:20354 #EXT-X-BYTERANGE:20354
output_audio.mp4 bear-640x360-ac3-audio.mp4
#EXT-X-ENDLIST #EXT-X-ENDLIST

View File

@ -3,14 +3,14 @@
## Generated with https://github.com/google/shaka-packager version <tag>-<hash>-<test> ## Generated with https://github.com/google/shaka-packager version <tag>-<hash>-<test>
#EXT-X-TARGETDURATION:2 #EXT-X-TARGETDURATION:2
#EXT-X-PLAYLIST-TYPE:VOD #EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-MAP:URI="output_video.mp4",BYTERANGE="823@0" #EXT-X-MAP:URI="bear-640x360-ac3-video.mp4",BYTERANGE="823@0"
#EXTINF:1.001, #EXTINF:1.001,
#EXT-X-BYTERANGE:99313@891 #EXT-X-BYTERANGE:99313@891
output_video.mp4 bear-640x360-ac3-video.mp4
#EXTINF:1.001, #EXTINF:1.001,
#EXT-X-BYTERANGE:121807 #EXT-X-BYTERANGE:121807
output_video.mp4 bear-640x360-ac3-video.mp4
#EXTINF:0.734, #EXTINF:0.734,
#EXT-X-BYTERANGE:79662 #EXT-X-BYTERANGE:79662
output_video.mp4 bear-640x360-ac3-video.mp4
#EXT-X-ENDLIST #EXT-X-ENDLIST

View File

@ -4,11 +4,11 @@
#EXT-X-TARGETDURATION:2 #EXT-X-TARGETDURATION:2
#EXT-X-PLAYLIST-TYPE:VOD #EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:0.975, #EXTINF:0.975,
output_audio-1.ts bear-640x360-ac3-audio-1.ts
#EXT-X-DISCONTINUITY #EXT-X-DISCONTINUITY
#EXT-X-KEY:METHOD=SAMPLE-AES,URI="data:text/plain;base64,MTIzNDU2Nzg5MDEyMzQ1Ng==",IV=0x3334353637383930,KEYFORMAT="identity" #EXT-X-KEY:METHOD=SAMPLE-AES,URI="data:text/plain;base64,MTIzNDU2Nzg5MDEyMzQ1Ng==",IV=0x3334353637383930,KEYFORMAT="identity"
#EXTINF:0.975, #EXTINF:0.975,
output_audio-2.ts bear-640x360-ac3-audio-2.ts
#EXTINF:0.836, #EXTINF:0.836,
output_audio-3.ts bear-640x360-ac3-audio-3.ts
#EXT-X-ENDLIST #EXT-X-ENDLIST

View File

@ -4,11 +4,11 @@
#EXT-X-TARGETDURATION:2 #EXT-X-TARGETDURATION:2
#EXT-X-PLAYLIST-TYPE:VOD #EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:1.001, #EXTINF:1.001,
output_video-1.ts bear-640x360-ac3-video-1.ts
#EXT-X-DISCONTINUITY #EXT-X-DISCONTINUITY
#EXT-X-KEY:METHOD=SAMPLE-AES,URI="data:text/plain;base64,MTIzNDU2Nzg5MDEyMzQ1Ng==",IV=0x3334353637383930,KEYFORMAT="identity" #EXT-X-KEY:METHOD=SAMPLE-AES,URI="data:text/plain;base64,MTIzNDU2Nzg5MDEyMzQ1Ng==",IV=0x3334353637383930,KEYFORMAT="identity"
#EXTINF:1.001, #EXTINF:1.001,
output_video-2.ts bear-640x360-ac3-video-2.ts
#EXTINF:0.734, #EXTINF:0.734,
output_video-3.ts bear-640x360-ac3-video-3.ts
#EXT-X-ENDLIST #EXT-X-ENDLIST

View File

@ -4,9 +4,9 @@
#EXT-X-TARGETDURATION:2 #EXT-X-TARGETDURATION:2
#EXT-X-PLAYLIST-TYPE:VOD #EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:0.975, #EXTINF:0.975,
output_audio-1.ts bear-640x360-ac3-audio-1.ts
#EXTINF:0.975, #EXTINF:0.975,
output_audio-2.ts bear-640x360-ac3-audio-2.ts
#EXTINF:0.836, #EXTINF:0.836,
output_audio-3.ts bear-640x360-ac3-audio-3.ts
#EXT-X-ENDLIST #EXT-X-ENDLIST

View File

@ -4,9 +4,9 @@
#EXT-X-TARGETDURATION:2 #EXT-X-TARGETDURATION:2
#EXT-X-PLAYLIST-TYPE:VOD #EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:1.001, #EXTINF:1.001,
output_video-1.ts bear-640x360-ac3-video-1.ts
#EXTINF:1.001, #EXTINF:1.001,
output_video-2.ts bear-640x360-ac3-video-2.ts
#EXTINF:0.734, #EXTINF:0.734,
output_video-3.ts bear-640x360-ac3-video-3.ts
#EXT-X-ENDLIST #EXT-X-ENDLIST

View File

@ -4,8 +4,8 @@
#EXT-X-TARGETDURATION:2 #EXT-X-TARGETDURATION:2
#EXT-X-PLAYLIST-TYPE:EVENT #EXT-X-PLAYLIST-TYPE:EVENT
#EXTINF:0.952, #EXTINF:0.952,
output_audio-1.ts bear-640x360-audio-1.ts
#EXTINF:0.998, #EXTINF:0.998,
output_audio-2.ts bear-640x360-audio-2.ts
#EXTINF:0.813, #EXTINF:0.813,
output_audio-3.ts bear-640x360-audio-3.ts

View File

@ -4,8 +4,8 @@
#EXT-X-TARGETDURATION:2 #EXT-X-TARGETDURATION:2
#EXT-X-PLAYLIST-TYPE:EVENT #EXT-X-PLAYLIST-TYPE:EVENT
#EXTINF:1.001, #EXTINF:1.001,
output_video-1.ts bear-640x360-video-1.ts
#EXTINF:1.001, #EXTINF:1.001,
output_video-2.ts bear-640x360-video-2.ts
#EXTINF:0.734, #EXTINF:0.734,
output_video-3.ts bear-640x360-video-3.ts

View File

@ -6,7 +6,7 @@
#EXT-X-DISCONTINUITY-SEQUENCE:1 #EXT-X-DISCONTINUITY-SEQUENCE:1
#EXT-X-KEY:METHOD=SAMPLE-AES,URI="data:text/plain;base64,MTIzNDU2Nzg5MDEyMzQ1Ng==",IV=0x3334353637383930,KEYFORMAT="identity" #EXT-X-KEY:METHOD=SAMPLE-AES,URI="data:text/plain;base64,MTIzNDU2Nzg5MDEyMzQ1Ng==",IV=0x3334353637383930,KEYFORMAT="identity"
#EXTINF:0.998, #EXTINF:0.998,
output_audio-2.ts bear-640x360-audio-2.ts
#EXT-X-KEY:METHOD=SAMPLE-AES,URI="data:text/plain;base64,MjM0NTY3ODkwMTIzNDU2MQ==",IV=0x3334353637383930,KEYFORMAT="identity" #EXT-X-KEY:METHOD=SAMPLE-AES,URI="data:text/plain;base64,MjM0NTY3ODkwMTIzNDU2MQ==",IV=0x3334353637383930,KEYFORMAT="identity"
#EXTINF:0.813, #EXTINF:0.813,
output_audio-3.ts bear-640x360-audio-3.ts

View File

@ -6,7 +6,7 @@
#EXT-X-DISCONTINUITY-SEQUENCE:1 #EXT-X-DISCONTINUITY-SEQUENCE:1
#EXT-X-KEY:METHOD=SAMPLE-AES,URI="data:text/plain;base64,MjM0NTY3ODkwMTIzNDU2MQ==",IV=0x3334353637383930,KEYFORMAT="identity" #EXT-X-KEY:METHOD=SAMPLE-AES,URI="data:text/plain;base64,MjM0NTY3ODkwMTIzNDU2MQ==",IV=0x3334353637383930,KEYFORMAT="identity"
#EXTINF:1.001, #EXTINF:1.001,
output_video-2.ts bear-640x360-video-2.ts
#EXT-X-KEY:METHOD=SAMPLE-AES,URI="data:text/plain;base64,MzQ1Njc4OTAxMjM0NTYxMg==",IV=0x3334353637383930,KEYFORMAT="identity" #EXT-X-KEY:METHOD=SAMPLE-AES,URI="data:text/plain;base64,MzQ1Njc4OTAxMjM0NTYxMg==",IV=0x3334353637383930,KEYFORMAT="identity"
#EXTINF:0.734, #EXTINF:0.734,
output_video-3.ts bear-640x360-video-3.ts

View File

@ -4,6 +4,6 @@
#EXT-X-TARGETDURATION:2 #EXT-X-TARGETDURATION:2
#EXT-X-MEDIA-SEQUENCE:1 #EXT-X-MEDIA-SEQUENCE:1
#EXTINF:0.998, #EXTINF:0.998,
output_audio-2.ts bear-640x360-audio-2.ts
#EXTINF:0.813, #EXTINF:0.813,
output_audio-3.ts bear-640x360-audio-3.ts

View File

@ -4,6 +4,6 @@
#EXT-X-TARGETDURATION:2 #EXT-X-TARGETDURATION:2
#EXT-X-MEDIA-SEQUENCE:1 #EXT-X-MEDIA-SEQUENCE:1
#EXTINF:1.001, #EXTINF:1.001,
output_video-2.ts bear-640x360-video-2.ts
#EXTINF:0.734, #EXTINF:0.734,
output_video-3.ts bear-640x360-video-3.ts

View File

@ -4,11 +4,11 @@
#EXT-X-TARGETDURATION:2 #EXT-X-TARGETDURATION:2
#EXT-X-PLAYLIST-TYPE:VOD #EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:0.952, #EXTINF:0.952,
output_audio-1.ts bear-640x360-audio-1.ts
#EXT-X-DISCONTINUITY #EXT-X-DISCONTINUITY
#EXT-X-KEY:METHOD=SAMPLE-AES,URI="skd://www.license.com/getkey?KeyId=31323334-3536-3738-3930-313233343536",KEYFORMATVERSIONS="1",KEYFORMAT="com.apple.streamingkeydelivery" #EXT-X-KEY:METHOD=SAMPLE-AES,URI="skd://www.license.com/getkey?KeyId=31323334-3536-3738-3930-313233343536",KEYFORMATVERSIONS="1",KEYFORMAT="com.apple.streamingkeydelivery"
#EXTINF:0.998, #EXTINF:0.998,
output_audio-2.ts bear-640x360-audio-2.ts
#EXTINF:0.813, #EXTINF:0.813,
output_audio-3.ts bear-640x360-audio-3.ts
#EXT-X-ENDLIST #EXT-X-ENDLIST

View File

@ -4,11 +4,11 @@
#EXT-X-TARGETDURATION:2 #EXT-X-TARGETDURATION:2
#EXT-X-PLAYLIST-TYPE:VOD #EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:1.001, #EXTINF:1.001,
output_video-1.ts bear-640x360-video-1.ts
#EXT-X-DISCONTINUITY #EXT-X-DISCONTINUITY
#EXT-X-KEY:METHOD=SAMPLE-AES,URI="skd://www.license.com/getkey?KeyId=31323334-3536-3738-3930-313233343536",KEYFORMATVERSIONS="1",KEYFORMAT="com.apple.streamingkeydelivery" #EXT-X-KEY:METHOD=SAMPLE-AES,URI="skd://www.license.com/getkey?KeyId=31323334-3536-3738-3930-313233343536",KEYFORMATVERSIONS="1",KEYFORMAT="com.apple.streamingkeydelivery"
#EXTINF:1.001, #EXTINF:1.001,
output_video-2.ts bear-640x360-video-2.ts
#EXTINF:0.734, #EXTINF:0.734,
output_video-3.ts bear-640x360-video-3.ts
#EXT-X-ENDLIST #EXT-X-ENDLIST

View File

@ -4,17 +4,17 @@
#EXT-X-TARGETDURATION:2 #EXT-X-TARGETDURATION:2
#EXT-X-PLAYLIST-TYPE:VOD #EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:1.000, #EXTINF:1.000,
output_video-1.ts sintel-1024x436-video-1.ts
#EXT-X-DISCONTINUITY #EXT-X-DISCONTINUITY
#EXT-X-KEY:METHOD=SAMPLE-AES,URI="data:text/plain;base64,MTIzNDU2Nzg5MDEyMzQ1Ng==",IV=0x3334353637383930,KEYFORMAT="identity" #EXT-X-KEY:METHOD=SAMPLE-AES,URI="data:text/plain;base64,MTIzNDU2Nzg5MDEyMzQ1Ng==",IV=0x3334353637383930,KEYFORMAT="identity"
#EXTINF:1.000, #EXTINF:1.000,
output_video-2.ts sintel-1024x436-video-2.ts
#EXTINF:1.875, #EXTINF:1.875,
output_video-3.ts sintel-1024x436-video-3.ts
#EXTINF:0.917, #EXTINF:0.917,
output_video-4.ts sintel-1024x436-video-4.ts
#EXTINF:1.000, #EXTINF:1.000,
output_video-5.ts sintel-1024x436-video-5.ts
#EXTINF:0.208, #EXTINF:0.208,
output_video-6.ts sintel-1024x436-video-6.ts
#EXT-X-ENDLIST #EXT-X-ENDLIST

View File

@ -4,11 +4,11 @@
#EXT-X-TARGETDURATION:2 #EXT-X-TARGETDURATION:2
#EXT-X-PLAYLIST-TYPE:VOD #EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:0.952, #EXTINF:0.952,
output_audio-1.ts bear-640x360-audio-1.ts
#EXT-X-DISCONTINUITY #EXT-X-DISCONTINUITY
#EXT-X-KEY:METHOD=SAMPLE-AES,URI="data:text/plain;base64,MTIzNDU2Nzg5MDEyMzQ1Ng==",IV=0x3334353637383930,KEYFORMAT="identity" #EXT-X-KEY:METHOD=SAMPLE-AES,URI="data:text/plain;base64,MTIzNDU2Nzg5MDEyMzQ1Ng==",IV=0x3334353637383930,KEYFORMAT="identity"
#EXTINF:0.998, #EXTINF:0.998,
output_audio-2.ts bear-640x360-audio-2.ts
#EXTINF:0.813, #EXTINF:0.813,
output_audio-3.ts bear-640x360-audio-3.ts
#EXT-X-ENDLIST #EXT-X-ENDLIST

View File

@ -4,11 +4,11 @@
#EXT-X-TARGETDURATION:2 #EXT-X-TARGETDURATION:2
#EXT-X-PLAYLIST-TYPE:VOD #EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:1.001, #EXTINF:1.001,
output_video-1.ts bear-640x360-video-1.ts
#EXT-X-DISCONTINUITY #EXT-X-DISCONTINUITY
#EXT-X-KEY:METHOD=SAMPLE-AES,URI="data:text/plain;base64,MTIzNDU2Nzg5MDEyMzQ1Ng==",IV=0x3334353637383930,KEYFORMAT="identity" #EXT-X-KEY:METHOD=SAMPLE-AES,URI="data:text/plain;base64,MTIzNDU2Nzg5MDEyMzQ1Ng==",IV=0x3334353637383930,KEYFORMAT="identity"
#EXTINF:1.001, #EXTINF:1.001,
output_video-2.ts bear-640x360-video-2.ts
#EXTINF:0.734, #EXTINF:0.734,
output_video-3.ts bear-640x360-video-3.ts
#EXT-X-ENDLIST #EXT-X-ENDLIST

View File

@ -9,7 +9,7 @@
</ContentProtection> </ContentProtection>
<Representation id="0" bandwidth="79930" codecs="opus" mimeType="audio/mp4" audioSamplingRate="48000"> <Representation id="0" bandwidth="79930" codecs="opus" mimeType="audio/mp4" audioSamplingRate="48000">
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
<BaseURL>output_audio.mp4</BaseURL> <BaseURL>bear-320x240-vp9-opus-audio.mp4</BaseURL>
<SegmentBase indexRange="975-1042" timescale="1000000"> <SegmentBase indexRange="975-1042" timescale="1000000">
<Initialization range="0-974"/> <Initialization range="0-974"/>
</SegmentBase> </SegmentBase>
@ -21,7 +21,7 @@
<cenc:pssh>AAAANHBzc2gBAAAAEHfv7MCyTQKs4zweUuL7SwAAAAExMjM0NTY3ODkwMTIzNDU2AAAAAA==</cenc:pssh> <cenc:pssh>AAAANHBzc2gBAAAAEHfv7MCyTQKs4zweUuL7SwAAAAExMjM0NTY3ODkwMTIzNDU2AAAAAA==</cenc:pssh>
</ContentProtection> </ContentProtection>
<Representation id="1" bandwidth="210205" codecs="vp09.00.10.08.01.02.02.02.00" mimeType="video/mp4" sar="427:320"> <Representation id="1" bandwidth="210205" codecs="vp09.00.10.08.01.02.02.02.00" mimeType="video/mp4" sar="427:320">
<BaseURL>output_video.mp4</BaseURL> <BaseURL>bear-320x240-vp9-opus-video.mp4</BaseURL>
<SegmentBase indexRange="1063-1130" timescale="1000000"> <SegmentBase indexRange="1063-1130" timescale="1000000">
<Initialization range="0-1062"/> <Initialization range="0-1062"/>
</SegmentBase> </SegmentBase>

View File

@ -8,7 +8,7 @@
<cenc:pssh>AAAANHBzc2gBAAAAEHfv7MCyTQKs4zweUuL7SwAAAAExMjM0NTY3ODkwMTIzNDU2AAAAAA==</cenc:pssh> <cenc:pssh>AAAANHBzc2gBAAAAEHfv7MCyTQKs4zweUuL7SwAAAAExMjM0NTY3ODkwMTIzNDU2AAAAAA==</cenc:pssh>
</ContentProtection> </ContentProtection>
<Representation id="0" bandwidth="885590" codecs="avc1.64001e" mimeType="video/mp4" sar="1:1"> <Representation id="0" bandwidth="885590" codecs="avc1.64001e" mimeType="video/mp4" sar="1:1">
<BaseURL>output_video.mp4</BaseURL> <BaseURL>bear-640x360-video.mp4</BaseURL>
<SegmentBase indexRange="1091-1158" timescale="30000"> <SegmentBase indexRange="1091-1158" timescale="30000">
<Initialization range="0-1090"/> <Initialization range="0-1090"/>
</SegmentBase> </SegmentBase>
@ -17,7 +17,7 @@
<AdaptationSet id="1" contentType="audio" subsegmentAlignment="true"> <AdaptationSet id="1" contentType="audio" subsegmentAlignment="true">
<Representation id="1" bandwidth="126510" codecs="mp4a.40.2" mimeType="audio/mp4" audioSamplingRate="44100"> <Representation id="1" bandwidth="126510" codecs="mp4a.40.2" mimeType="audio/mp4" audioSamplingRate="44100">
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
<BaseURL>output_audio-skip_encryption.mp4</BaseURL> <BaseURL>bear-640x360-audio-skip_encryption.mp4</BaseURL>
<SegmentBase indexRange="757-824" timescale="44100"> <SegmentBase indexRange="757-824" timescale="44100">
<Initialization range="0-756"/> <Initialization range="0-756"/>
</SegmentBase> </SegmentBase>

View File

@ -8,7 +8,7 @@
<cenc:pssh>AAAANHBzc2gBAAAAEHfv7MCyTQKs4zweUuL7SwAAAAExMjM0NTY3ODkwMTIzNDU2AAAAAA==</cenc:pssh> <cenc:pssh>AAAANHBzc2gBAAAAEHfv7MCyTQKs4zweUuL7SwAAAAExMjM0NTY3ODkwMTIzNDU2AAAAAA==</cenc:pssh>
</ContentProtection> </ContentProtection>
<Representation id="0" bandwidth="885590" codecs="avc1.64001e" mimeType="video/mp4" sar="1:1"> <Representation id="0" bandwidth="885590" codecs="avc1.64001e" mimeType="video/mp4" sar="1:1">
<BaseURL>output_video.mp4</BaseURL> <BaseURL>bear-640x360-video.mp4</BaseURL>
<SegmentBase indexRange="1091-1158" timescale="30000"> <SegmentBase indexRange="1091-1158" timescale="30000">
<Initialization range="0-1090"/> <Initialization range="0-1090"/>
</SegmentBase> </SegmentBase>
@ -21,7 +21,7 @@
</ContentProtection> </ContentProtection>
<Representation id="1" bandwidth="129185" codecs="mp4a.40.2" mimeType="audio/mp4" audioSamplingRate="44100"> <Representation id="1" bandwidth="129185" codecs="mp4a.40.2" mimeType="audio/mp4" audioSamplingRate="44100">
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
<BaseURL>output_audio.mp4</BaseURL> <BaseURL>bear-640x360-audio.mp4</BaseURL>
<SegmentBase indexRange="967-1034" timescale="44100"> <SegmentBase indexRange="967-1034" timescale="44100">
<Initialization range="0-966"/> <Initialization range="0-966"/>
</SegmentBase> </SegmentBase>

Some files were not shown because too many files have changed in this diff Show More