Add 30 second high motion clips to AndroidTestUtil.

30 second clips at higher resolutions are useful for testing encoder
behaviour compared to shorter clips.

PiperOrigin-RevId: 444505865
This commit is contained in:
samrobinson 2022-04-26 10:59:07 +01:00 committed by Ian Baker
parent d194ba93ac
commit c87d03e78e
2 changed files with 11 additions and 2 deletions

View File

@ -103,7 +103,7 @@ public final class AndroidTestUtil {
.setFrameRate(57.39f) .setFrameRate(57.39f)
.build(); .build();
// The 4 HIGHMOTION files are H264 and AAC. // The 7 HIGHMOTION files are H264 and AAC.
public static final String MP4_REMOTE_1280W_720H_5_SECOND_HIGHMOTION = public static final String MP4_REMOTE_1280W_720H_5_SECOND_HIGHMOTION =
"https://storage.googleapis.com/exoplayer-test-media-1/mp4/1280w_720h_highmotion.mp4"; "https://storage.googleapis.com/exoplayer-test-media-1/mp4/1280w_720h_highmotion.mp4";
public static final String MP4_REMOTE_1440W_1440H_5_SECOND_HIGHMOTION = public static final String MP4_REMOTE_1440W_1440H_5_SECOND_HIGHMOTION =
@ -112,6 +112,12 @@ public final class AndroidTestUtil {
"https://storage.googleapis.com/exoplayer-test-media-1/mp4/1920w_1080h_highmotion.mp4"; "https://storage.googleapis.com/exoplayer-test-media-1/mp4/1920w_1080h_highmotion.mp4";
public static final String MP4_REMOTE_3840W_2160H_5_SECOND_HIGHMOTION = public static final String MP4_REMOTE_3840W_2160H_5_SECOND_HIGHMOTION =
"https://storage.googleapis.com/exoplayer-test-media-1/mp4/3840w_2160h_highmotion.mp4"; "https://storage.googleapis.com/exoplayer-test-media-1/mp4/3840w_2160h_highmotion.mp4";
public static final String MP4_REMOTE_1280W_720H_30_SECOND_HIGHMOTION =
"https://storage.googleapis.com/exoplayer-test-media-1/mp4/1280w_720h_30s_highmotion.mp4";
public static final String MP4_REMOTE_1920W_1080H_30_SECOND_HIGHMOTION =
"https://storage.googleapis.com/exoplayer-test-media-1/mp4/1920w_1080h_30s_highmotion.mp4";
public static final String MP4_REMOTE_3840W_2160H_32_SECOND_HIGHMOTION =
"https://storage.googleapis.com/exoplayer-test-media-1/mp4/3840w_2160h_32s_highmotion.mp4";
/** /**
* Log in logcat and in an analysis file that this test was skipped. * Log in logcat and in an analysis file that this test was skipped.
* *

View File

@ -49,7 +49,10 @@ public class BitrateAnalysisTest {
AndroidTestUtil.MP4_REMOTE_1280W_720H_5_SECOND_HIGHMOTION, AndroidTestUtil.MP4_REMOTE_1280W_720H_5_SECOND_HIGHMOTION,
AndroidTestUtil.MP4_REMOTE_1440W_1440H_5_SECOND_HIGHMOTION, AndroidTestUtil.MP4_REMOTE_1440W_1440H_5_SECOND_HIGHMOTION,
AndroidTestUtil.MP4_REMOTE_1920W_1080H_5_SECOND_HIGHMOTION, AndroidTestUtil.MP4_REMOTE_1920W_1080H_5_SECOND_HIGHMOTION,
AndroidTestUtil.MP4_REMOTE_3840W_2160H_5_SECOND_HIGHMOTION); AndroidTestUtil.MP4_REMOTE_3840W_2160H_5_SECOND_HIGHMOTION,
AndroidTestUtil.MP4_REMOTE_1280W_720H_30_SECOND_HIGHMOTION,
AndroidTestUtil.MP4_REMOTE_1920W_1080H_30_SECOND_HIGHMOTION,
AndroidTestUtil.MP4_REMOTE_3840W_2160H_32_SECOND_HIGHMOTION);
private static final ImmutableList<Integer> INPUT_BITRATE_MODES = private static final ImmutableList<Integer> INPUT_BITRATE_MODES =
ImmutableList.of(BITRATE_MODE_VBR, BITRATE_MODE_CBR); ImmutableList.of(BITRATE_MODE_VBR, BITRATE_MODE_CBR);