From 8bf40e7355ab4822c4451c74786004153e4bd369 Mon Sep 17 00:00:00 2001 From: ibaker Date: Thu, 15 Jun 2023 15:39:57 +0100 Subject: [PATCH] Add a demo app sample of SubRip muxed into MKV I created this by: 1. Downloading https://storage.googleapis.com/exoplayer-test-media-1/mkv/android-screens-lavf-56.36.100-aac-avc-main-1280x720.mkv 2. Crafting a `test.srt` file with a text editor 3. Muxing them together: ``` $ mkvmerge -o android-screens-with-subrip.mkv \ android-screens-lavf-56.36.100-aac-avc-main-1280x720.mkv \ test.srt ``` Tested in the demo app, the subtitle track is selected by default (default behaviour for Matroska spec afaict). PiperOrigin-RevId: 540577912 --- demos/main/src/main/assets/media.exolist.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/demos/main/src/main/assets/media.exolist.json b/demos/main/src/main/assets/media.exolist.json index f37103c8fc..117ebd346e 100644 --- a/demos/main/src/main/assets/media.exolist.json +++ b/demos/main/src/main/assets/media.exolist.json @@ -638,6 +638,10 @@ { "name": "MPEG-4 Timed Text", "uri": "https://storage.googleapis.com/exoplayer-test-media-1/mp4/dizzy-with-tx3g.mp4" + }, + { + "name": "SubRip muxed into MKV", + "uri": "https://storage.googleapis.com/exoplayer-test-media-1/mkv/android-screens-with-subrip.mkv" } ] },