mirror of
https://github.com/samsonjs/media.git
synced 2026-04-24 14:37:45 +00:00
For each item, AudioGraphInput now pads the input audio track with silence to the duration given in onMediaItemChanged. Possibly resolves Issue: androidx/media#921 . PiperOrigin-RevId: 634753721
77 lines
4 KiB
XML
77 lines
4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright 2024 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<resources>
|
|
<string-array name="preset_descriptions">
|
|
<item>720p H264 video and AAC audio</item>
|
|
<item>1080p H265 video and AAC audio</item>
|
|
<item>360p H264 video and AAC audio</item>
|
|
<item>360p VP8 video and Vorbis audio</item>
|
|
<item>4K H264 video and AAC audio (portrait, no B-frames)</item>
|
|
<item>8k H265 video and AAC audio</item>
|
|
<item>Short 1080p H265 video and AAC audio</item>
|
|
<item>Long 180p H264 video and AAC audio</item>
|
|
<item>H264 video and AAC audio (portrait, H > W, 0°)</item>
|
|
<item>H264 video and AAC audio (portrait, H < W, 90°)</item>
|
|
<item>SEF slow motion with 240 fps</item>
|
|
<item>480p DASH (non-square pixels)</item>
|
|
<item>HDR (HDR10) H265 limited range video (encoding may fail)</item>
|
|
<item>HDR (HLG) H265 limited range video (encoding may fail)</item>
|
|
<item>720p H264 video with no audio</item>
|
|
<item>London JPG image (plays for 5 secs at 30 fps)</item>
|
|
<item>Tokyo JPG image (portrait, plays for 5 secs at 30 fps)</item>
|
|
<item>Pixel 7 shorter audio track</item>
|
|
</string-array>
|
|
<string-array name="preset_uris">
|
|
<item>https://storage.googleapis.com/exoplayer-test-media-1/mp4/android-screens-10s.mp4</item>
|
|
<item>https://storage.googleapis.com/exoplayer-test-media-0/android-block-1080-hevc.mp4</item>
|
|
<item>https://html5demos.com/assets/dizzy.mp4</item>
|
|
<item>https://html5demos.com/assets/dizzy.webm</item>
|
|
<item>https://storage.googleapis.com/exoplayer-test-media-1/mp4/portrait_4k60.mp4</item>
|
|
<item>https://storage.googleapis.com/exoplayer-test-media-1/mp4/8k24fps_4s.mp4</item>
|
|
<item>https://storage.googleapis.com/exoplayer-test-media-1/mp4/1920w_1080h_4s.mp4</item>
|
|
<item>https://storage.googleapis.com/exoplayer-test-media-0/BigBuckBunny_320x180.mp4</item>
|
|
<item>https://storage.googleapis.com/exoplayer-test-media-1/mp4/portrait_avc_aac.mp4</item>
|
|
<item>https://storage.googleapis.com/exoplayer-test-media-1/mp4/portrait_rotated_avc_aac.mp4</item>
|
|
<item>https://storage.googleapis.com/exoplayer-test-media-1/mp4/slow-motion/slowMotion_stopwatch_240fps_long.mp4</item>
|
|
<item>https://storage.googleapis.com/exoplayer-test-media-1/gen/screens/dash-vod-single-segment/manifest-baseline.mpd</item>
|
|
<item>https://storage.googleapis.com/exoplayer-test-media-1/mp4/samsung-s21-hdr-hdr10.mp4</item>
|
|
<item>https://storage.googleapis.com/exoplayer-test-media-1/mp4/Pixel7Pro_HLG_1080P.mp4</item>
|
|
<item>https://storage.googleapis.com/exoplayer-test-media-1/mp4/sample_video_track_only.mp4</item>
|
|
<item>https://storage.googleapis.com/exoplayer-test-media-1/jpg/london.jpg</item>
|
|
<item>https://storage.googleapis.com/exoplayer-test-media-1/jpg/tokyo.jpg</item>
|
|
<item>https://storage.googleapis.com/exoplayer-temp/audio-blip/metronome_selfie_pixel.mp4</item>
|
|
</string-array>
|
|
<integer-array name="preset_durations">
|
|
<item>10024000</item>
|
|
<item>23823000</item>
|
|
<item>25000000</item>
|
|
<item>25000000</item>
|
|
<item>3745000</item>
|
|
<item>4421000</item>
|
|
<item>3923000</item>
|
|
<item>596459000</item>
|
|
<item>3687000</item>
|
|
<item>2235000</item>
|
|
<item>47987000</item>
|
|
<item>128270000</item>
|
|
<item>4236000</item>
|
|
<item>5167000</item>
|
|
<item>1001000</item>
|
|
<item>5000000</item>
|
|
<item>5000000</item>
|
|
<item>2170000</item>
|
|
</integer-array>
|
|
</resources>
|