From d629e45cfa00e1921ce72393e48a2714efd2fca8 Mon Sep 17 00:00:00 2001 From: huangdarwin Date: Thu, 14 Apr 2022 15:34:33 +0100 Subject: [PATCH] Transformer Demo: Add short test video Add a very short (1 second) video, so that some manual tests / prototyping, including tests for the start and end of a video, encoder selection, or changes applied to frames, can finish quickly. PiperOrigin-RevId: 441756901 --- .../androidx/media3/demo/transformer/ConfigurationActivity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/demos/transformer/src/main/java/androidx/media3/demo/transformer/ConfigurationActivity.java b/demos/transformer/src/main/java/androidx/media3/demo/transformer/ConfigurationActivity.java index 93d17b51bd..8c078a180d 100644 --- a/demos/transformer/src/main/java/androidx/media3/demo/transformer/ConfigurationActivity.java +++ b/demos/transformer/src/main/java/androidx/media3/demo/transformer/ConfigurationActivity.java @@ -65,6 +65,7 @@ public final class ConfigurationActivity extends AppCompatActivity { public static final String PERIODIC_VIGNETTE_OUTER_RADIUS = "periodic_vignette_outer_radius"; private static final String[] INPUT_URIS = { "https://html5demos.com/assets/dizzy.mp4", + "https://storage.googleapis.com/exoplayer-test-media-1/mp4/1920w_1080h_4s.mp4", "https://storage.googleapis.com/exoplayer-test-media-0/android-block-1080-hevc.mp4", "https://storage.googleapis.com/exoplayer-test-media-0/BigBuckBunny_320x180.mp4", "https://html5demos.com/assets/dizzy.webm", @@ -77,6 +78,7 @@ public final class ConfigurationActivity extends AppCompatActivity { }; private static final String[] URI_DESCRIPTIONS = { // same order as INPUT_URIS "MP4 with H264 video and AAC audio", + "Short MP4 with H265 video and AAC audio", "MP4 with H265 video and AAC audio", "Long MP4 with H264 video and AAC audio", "WebM with VP8 video and Vorbis audio",