@Immutable
@UnstableApi
public final class AssetInfo


Information about a test asset.

Summary

Constants

static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo

Baseline profile level 3.0 H.264 stream, which should be supported on all devices.

static final AssetInfo

Baseline profile level 3.0 H.264 stream, which should be supported on all devices.

static final AssetInfo

Baseline profile level 3.0 H.264 stream, which should be supported on all devices.

static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo

An MP4 file containing an edit list that makes its only sync sample a preroll sample (i.e., have a negative presentation timestamp).

static final AssetInfo
static final AssetInfo

This file contains an edit lists that adds one second to all video frames.

static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo

Test clip transcoded from with H264 and MP3.

static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo

This file has been edited to show a visual stopwatch to make it easier to know when frames were presented in the original video.

static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo
static final AssetInfo

Public fields

final int

Audio sample count, or LENGTH_UNSET.

final int

Total number of tracks, or LENGTH_UNSET.

final String

Asset uri string.

final long

Video duration in microseconds, or TIME_UNSET.

final @Nullable Format

Video Format, or null.

final int

Video frame count, or LENGTH_UNSET.

final @Nullable ImmutableList<Long>

Video frame timestamps in microseconds, or null.

Public methods

String

Constants

AMR_NB_3GP_ASSET

public static final AssetInfo AMR_NB_3GP_ASSET

AMR_WB_3GP_ASSET

public static final AssetInfo AMR_WB_3GP_ASSET

BT601_MOV_ASSET

public static final AssetInfo BT601_MOV_ASSET

BT601_MP4_ASSET

public static final AssetInfo BT601_MP4_ASSET

FLAC_STEREO_ASSET

public static final AssetInfo FLAC_STEREO_ASSET

H263_3GP_ASSET

public static final AssetInfo H263_3GP_ASSET

JPG_ASSET

public static final AssetInfo JPG_ASSET

JPG_PIXEL_MOTION_PHOTO_ASSET

public static final AssetInfo JPG_PIXEL_MOTION_PHOTO_ASSET

JPG_PORTRAIT_ASSET

public static final AssetInfo JPG_PORTRAIT_ASSET

JPG_SINGLE_PIXEL_ASSET

public static final AssetInfo JPG_SINGLE_PIXEL_ASSET

JPG_ULTRA_HDR_ASSET

public static final AssetInfo JPG_ULTRA_HDR_ASSET

MOV_WITH_PCM_AUDIO

public static final AssetInfo MOV_WITH_PCM_AUDIO

MP3_ASSET

public static final AssetInfo MP3_ASSET

MP4_ASSET

public static final AssetInfo MP4_ASSET

MP4_ASSET_1080P_5_SECOND_HLG10

public static final AssetInfo MP4_ASSET_1080P_5_SECOND_HLG10

MP4_ASSET_4K60_PORTRAIT

public static final AssetInfo MP4_ASSET_4K60_PORTRAIT

MP4_ASSET_720P_4_SECOND_HDR10

public static final AssetInfo MP4_ASSET_720P_4_SECOND_HDR10

MP4_ASSET_8K24

public static final AssetInfo MP4_ASSET_8K24

MP4_ASSET_AV1_2_SECOND_HDR10

public static final AssetInfo MP4_ASSET_AV1_2_SECOND_HDR10

MP4_ASSET_AV1_VIDEO

public static final AssetInfo MP4_ASSET_AV1_VIDEO

MP4_ASSET_BT2020_SDR

public static final AssetInfo MP4_ASSET_BT2020_SDR

MP4_ASSET_CHECKERBOARD_VIDEO

public static final AssetInfo MP4_ASSET_CHECKERBOARD_VIDEO

MP4_ASSET_COLOR_TEST_1080P_HLG10

public static final AssetInfo MP4_ASSET_COLOR_TEST_1080P_HLG10

MP4_ASSET_DOLBY_VISION_HDR

public static final AssetInfo MP4_ASSET_DOLBY_VISION_HDR

MP4_ASSET_H264_1080P_10SEC_VIDEO

public static final AssetInfo MP4_ASSET_H264_1080P_10SEC_VIDEO

MP4_ASSET_H264_4K_10SEC_VIDEO

public static final AssetInfo MP4_ASSET_H264_4K_10SEC_VIDEO

MP4_ASSET_PHOTOS_TRIM_OPTIMIZATION_VIDEO

public static final AssetInfo MP4_ASSET_PHOTOS_TRIM_OPTIMIZATION_VIDEO

MP4_ASSET_SEF

public static final AssetInfo MP4_ASSET_SEF

MP4_ASSET_SEF_H265

public static final AssetInfo MP4_ASSET_SEF_H265

MP4_ASSET_SRGB

public static final AssetInfo MP4_ASSET_SRGB

MP4_ASSET_WITH_INCREASING_TIMESTAMPS

public static final AssetInfo MP4_ASSET_WITH_INCREASING_TIMESTAMPS

MP4_ASSET_WITH_INCREASING_TIMESTAMPS_320W_240H_15S

public static final AssetInfo MP4_ASSET_WITH_INCREASING_TIMESTAMPS_320W_240H_15S

Baseline profile level 3.0 H.264 stream, which should be supported on all devices.

MP4_ASSET_WITH_INCREASING_TIMESTAMPS_320W_240H_5S

public static final AssetInfo MP4_ASSET_WITH_INCREASING_TIMESTAMPS_320W_240H_5S

Baseline profile level 3.0 H.264 stream, which should be supported on all devices.

MP4_ASSET_WITH_INCREASING_TIMESTAMPS_320W_240H_GAMMA22_1S

public static final AssetInfo MP4_ASSET_WITH_INCREASING_TIMESTAMPS_320W_240H_GAMMA22_1S

Baseline profile level 3.0 H.264 stream, which should be supported on all devices.

MP4_ASSET_WITH_SHORTER_AUDIO

public static final AssetInfo MP4_ASSET_WITH_SHORTER_AUDIO

MP4_LONG_ASSET_WITH_AUDIO_AND_INCREASING_TIMESTAMPS

public static final AssetInfo MP4_LONG_ASSET_WITH_AUDIO_AND_INCREASING_TIMESTAMPS

MP4_LONG_ASSET_WITH_INCREASING_TIMESTAMPS

public static final AssetInfo MP4_LONG_ASSET_WITH_INCREASING_TIMESTAMPS

MP4_ONLY_PREROLL_SYNC_SAMPLE_EDIT_LIST

public static final AssetInfo MP4_ONLY_PREROLL_SYNC_SAMPLE_EDIT_LIST

An MP4 file containing an edit list that makes its only sync sample a preroll sample (i.e., have a negative presentation timestamp).

MP4_PORTRAIT_ASSET

public static final AssetInfo MP4_PORTRAIT_ASSET

MP4_POSITIVE_SHIFT_EDIT_LIST

public static final AssetInfo MP4_POSITIVE_SHIFT_EDIT_LIST

This file contains an edit lists that adds one second to all video frames.

MP4_REMOTE_10_SECONDS

public static final AssetInfo MP4_REMOTE_10_SECONDS

MP4_REMOTE_1280W_720H_30_SECOND_HIGHMOTION

public static final AssetInfo MP4_REMOTE_1280W_720H_30_SECOND_HIGHMOTION

MP4_REMOTE_1280W_720H_30_SECOND_ROOF_ONEPLUSNORD2

public static final AssetInfo MP4_REMOTE_1280W_720H_30_SECOND_ROOF_ONEPLUSNORD2

MP4_REMOTE_1280W_720H_32_SECOND_ROOF_REDMINOTE9

public static final AssetInfo MP4_REMOTE_1280W_720H_32_SECOND_ROOF_REDMINOTE9

MP4_REMOTE_1280W_720H_5_SECOND_HIGHMOTION

public static final AssetInfo MP4_REMOTE_1280W_720H_5_SECOND_HIGHMOTION

MP4_REMOTE_1440W_1440H_31_SECOND_ROOF_SAMSUNGS20ULTRA5G

public static final AssetInfo MP4_REMOTE_1440W_1440H_31_SECOND_ROOF_SAMSUNGS20ULTRA5G

MP4_REMOTE_1440W_1440H_5_SECOND_HIGHMOTION

public static final AssetInfo MP4_REMOTE_1440W_1440H_5_SECOND_HIGHMOTION

MP4_REMOTE_1920W_1080H_30_SECOND_HIGHMOTION

public static final AssetInfo MP4_REMOTE_1920W_1080H_30_SECOND_HIGHMOTION

MP4_REMOTE_1920W_1080H_5_SECOND_HIGHMOTION

public static final AssetInfo MP4_REMOTE_1920W_1080H_5_SECOND_HIGHMOTION

MP4_REMOTE_1920W_1080H_60_FPS_30_SECOND_ROOF_ONEPLUSNORD2

public static final AssetInfo MP4_REMOTE_1920W_1080H_60_FPS_30_SECOND_ROOF_ONEPLUSNORD2

MP4_REMOTE_1920W_1080H_60_FPS_30_SECOND_ROOF_REDMINOTE9

public static final AssetInfo MP4_REMOTE_1920W_1080H_60_FPS_30_SECOND_ROOF_REDMINOTE9

MP4_REMOTE_2400W_1080H_34_SECOND_ROOF_SAMSUNGS20ULTRA5G

public static final AssetInfo MP4_REMOTE_2400W_1080H_34_SECOND_ROOF_SAMSUNGS20ULTRA5G

MP4_REMOTE_256W_144H_30_SECOND_ROOF_ONEPLUSNORD2_DOWNSAMPLED

public static final AssetInfo MP4_REMOTE_256W_144H_30_SECOND_ROOF_ONEPLUSNORD2_DOWNSAMPLED

MP4_REMOTE_256W_144H_30_SECOND_ROOF_REDMINOTE9_DOWNSAMPLED

public static final AssetInfo MP4_REMOTE_256W_144H_30_SECOND_ROOF_REDMINOTE9_DOWNSAMPLED

MP4_REMOTE_3840W_2160H_30_SECOND_ROOF_ONEPLUSNORD2

public static final AssetInfo MP4_REMOTE_3840W_2160H_30_SECOND_ROOF_ONEPLUSNORD2

MP4_REMOTE_3840W_2160H_30_SECOND_ROOF_REDMINOTE9

public static final AssetInfo MP4_REMOTE_3840W_2160H_30_SECOND_ROOF_REDMINOTE9

MP4_REMOTE_3840W_2160H_32_SECOND_HIGHMOTION

public static final AssetInfo MP4_REMOTE_3840W_2160H_32_SECOND_HIGHMOTION

MP4_REMOTE_3840W_2160H_5_SECOND_HIGHMOTION

public static final AssetInfo MP4_REMOTE_3840W_2160H_5_SECOND_HIGHMOTION

MP4_REMOTE_426W_240H_30_SECOND_ROOF_ONEPLUSNORD2_DOWNSAMPLED

public static final AssetInfo MP4_REMOTE_426W_240H_30_SECOND_ROOF_ONEPLUSNORD2_DOWNSAMPLED

MP4_REMOTE_426W_240H_30_SECOND_ROOF_REDMINOTE9_DOWNSAMPLED

public static final AssetInfo MP4_REMOTE_426W_240H_30_SECOND_ROOF_REDMINOTE9_DOWNSAMPLED

MP4_REMOTE_640W_360H_30_SECOND_ROOF_ONEPLUSNORD2_DOWNSAMPLED

public static final AssetInfo MP4_REMOTE_640W_360H_30_SECOND_ROOF_ONEPLUSNORD2_DOWNSAMPLED

MP4_REMOTE_640W_360H_30_SECOND_ROOF_REDMINOTE9_DOWNSAMPLED

public static final AssetInfo MP4_REMOTE_640W_360H_30_SECOND_ROOF_REDMINOTE9_DOWNSAMPLED

MP4_REMOTE_640W_480H_31_SECOND_ROOF_SONYXPERIAXZ3

public static final AssetInfo MP4_REMOTE_640W_480H_31_SECOND_ROOF_SONYXPERIAXZ3

MP4_REMOTE_7680W_4320H_31_SECOND_ROOF_SAMSUNGS20ULTRA5G

public static final AssetInfo MP4_REMOTE_7680W_4320H_31_SECOND_ROOF_SAMSUNGS20ULTRA5G

MP4_REMOTE_854W_480H_30_SECOND_ROOF_ONEPLUSNORD2_DOWNSAMPLED

public static final AssetInfo MP4_REMOTE_854W_480H_30_SECOND_ROOF_ONEPLUSNORD2_DOWNSAMPLED

MP4_REMOTE_854W_480H_30_SECOND_ROOF_REDMINOTE9_DOWNSAMPLED

public static final AssetInfo MP4_REMOTE_854W_480H_30_SECOND_ROOF_REDMINOTE9_DOWNSAMPLED

MP4_REMOTE_H264_MP3

public static final AssetInfo MP4_REMOTE_H264_MP3

Test clip transcoded from with H264 and MP3.

MP4_TRIM_OPTIMIZATION

public static final AssetInfo MP4_TRIM_OPTIMIZATION

MP4_TRIM_OPTIMIZATION_180

public static final AssetInfo MP4_TRIM_OPTIMIZATION_180

MP4_TRIM_OPTIMIZATION_270

public static final AssetInfo MP4_TRIM_OPTIMIZATION_270

MP4_TRIM_OPTIMIZATION_PIXEL

public static final AssetInfo MP4_TRIM_OPTIMIZATION_PIXEL

MP4_VIDEO_ONLY_ASSET

public static final AssetInfo MP4_VIDEO_ONLY_ASSET

MP4_VISUAL_TIMESTAMPS

public static final AssetInfo MP4_VISUAL_TIMESTAMPS

This file has been edited to show a visual stopwatch to make it easier to know when frames were presented in the original video.

MPEG4_MP4_ASSET

public static final AssetInfo MPEG4_MP4_ASSET

PNG_ASSET

public static final AssetInfo PNG_ASSET

PNG_ASSET_LINES_1080P

public static final AssetInfo PNG_ASSET_LINES_1080P

VORBIS_OGG_ASSET

public static final AssetInfo VORBIS_OGG_ASSET

WAV_192KHZ_ASSET

public static final AssetInfo WAV_192KHZ_ASSET

WAV_80KHZ_MONO_20_REPEATING_1_SAMPLES_ASSET

public static final AssetInfo WAV_80KHZ_MONO_20_REPEATING_1_SAMPLES_ASSET

WAV_96KHZ_ASSET

public static final AssetInfo WAV_96KHZ_ASSET

WAV_ASSET

public static final AssetInfo WAV_ASSET

WEBP_LARGE

public static final AssetInfo WEBP_LARGE

Public fields

audioSampleCount

public final int audioSampleCount

Audio sample count, or LENGTH_UNSET.

trackCount

public final int trackCount

Total number of tracks, or LENGTH_UNSET.

uri

public final String uri

Asset uri string.

videoDurationUs

public final long videoDurationUs

Video duration in microseconds, or TIME_UNSET.

videoFormat

public final @Nullable Format videoFormat

Video Format, or null.

videoFrameCount

public final int videoFrameCount

Video frame count, or LENGTH_UNSET.

videoTimestampsUs

public final @Nullable ImmutableList<LongvideoTimestampsUs

Video frame timestamps in microseconds, or null.

Public methods

toString

public String toString()