21 #ifndef _WSB_MEDIA_FILE_H_ 22 #define _WSB_MEDIA_FILE_H_ 189 #define WSB_CONTENT_TYPE_VIDEO_MP4 "video/mp4" 190 #define WSB_CONTENT_TYPE_VIDEO_M4V "video/m4v" 191 #define WSB_CONTENT_TYPE_AUDIO_MP4 "audio/mp4" 192 #define WSB_CONTENT_TYPE_VIDEO_MPEG2TS "video/MP2T" 193 #define WSB_CONTENT_TYPE_DASH "application/dash+xml" 194 #define WSB_CONTENT_TYPE_HLS "application/vnd.apple.mpegurl" 195 #define WSB_CONTENT_TYPE_DCF "application/vnd.oma.drm.dcf" 196 #define WSB_CONTENT_TYPE_DECE "video/vnd.dece.mp4" 197 #define WSB_CONTENT_TYPE_SUBTITLE_VTT "text/vtt" 198 #define WSB_CONTENT_TYPE_SUBTITLE_MP4 "application/mp4" 199 #define WSB_CONTENT_TYPE_SUBTITLE_TTML "application/ttml+xml" 204 #define WSB_MEDIA_FILE_METADATA_FILTER_MINIMAL_SET 1 205 #define WSB_MEDIA_FILE_METADATA_FILTER_BASIC_SET 2 206 #define WSB_MEDIA_FILE_METADATA_FILTER_EXTENDED_SET 4 207 #define WSB_MEDIA_FILE_METADATA_FILTER_LICENSE 8 208 #define WSB_MEDIA_FILE_METADATA_FILTER_ALL 0xFFFFFFFF 213 #define WSB_MEDIA_FILE_FLAG_PROGRESS_CAN_START 1 218 #define WSB_FILE_METADATA_NAME "Name" 219 #define WSB_FILE_METADATA_ARTIST "Artist" 220 #define WSB_FILE_METADATA_ALBUM_ARTIST "AlbumArtist" 221 #define WSB_FILE_METADATA_COMPOSER "Composer" 222 #define WSB_FILE_METADATA_WRITER "Writer" 223 #define WSB_FILE_METADATA_ALBUM "Album" 224 #define WSB_FILE_METADATA_GENRE_CODE "GenreCode" 225 #define WSB_FILE_METADATA_GENRE_NAME "GenreName" 226 #define WSB_FILE_METADATA_GROUPING "Grouping" 227 #define WSB_FILE_METADATA_DATE "Date" 228 #define WSB_FILE_METADATA_ENCODING_TOOL "Tool", 229 #define WSB_FILE_METADATA_COMMENT "Comment" 230 #define WSB_FILE_METADATA_LYRICS "Lyrics" 231 #define WSB_FILE_METADATA_COPYRIGHT "Copyright" 232 #define WSB_FILE_METADATA_TRACK_NUMBER "Track" 233 #define WSB_FILE_METADATA_DISC_NUMBER "Disc" 234 #define WSB_FILE_METADATA_COVER_ART "Cover" 235 #define WSB_FILE_METADATA_DESCRIPTION "Description" 236 #define WSB_FILE_METADATA_RATING "Rating" 237 #define WSB_FILE_METADATA_TEMPO "Tempo" 238 #define WSB_FILE_METADATA_COMPILATION "Compilation" 239 #define WSB_FILE_METADATA_IS_GAPLESS "IsGapless" 240 #define WSB_FILE_METADATA_TITLE "Title" 241 #define WSB_FILE_METADATA_STORE_FRONT "StoreFrontId" 242 #define WSB_FILE_METADATA_FILE_KIND "FileKind" 243 #define WSB_FILE_METADATA_SHOW_NAME "ShowName" 244 #define WSB_FILE_METADATA_SHOW_SEASON "ShowSeason" 245 #define WSB_FILE_METADATA_SHOW_EPISODE_NUM "ShowEpisodeNumber" 246 #define WSB_FILE_METADATA_SHOW_EPISONE_NAME "ShowEpisodeName" 247 #define WSB_FILE_METADATA_TV_NETWORK_NAME "TVNetworkName" 248 #define WSB_FILE_METADATA_IS_PODCAST "IsPodcast" 249 #define WSB_FILE_METADATA_PODCAST_URL "PodcastUrl" 250 #define WSB_FILE_METADATA_PODCAST_GUID "PodcastGuid" 251 #define WSB_FILE_METADATA_PODCAST_CATEGORY "PodcastCategory" 252 #define WSB_FILE_METADATA_KEYWORDS "Keywords" 253 #define WSB_FILE_METADATA_PURCHASE_DATE "PurchaseDate" 254 #define WSB_FILE_METADATA_ICON_URI "IconUri" 255 #define WSB_FILE_METADATA_INFO_URL "Info URL" 256 #define WSB_FILE_METADATA_COVER_ART_URI "CoverUri" 257 #define WSB_FILE_METADATA_LYRICS_URI "LyricsUri" 258 #define WSB_FILE_METADATA_DURATION "Duration" 259 #define WSB_FILE_METADATA_PERFORMER "Performer" 260 #define WSB_FILE_METADATA_AUTHOR "Author" 265 #define WSB_SLAS_ATTRIBUTE_NAME "SilentLicenseAcquisitionUrls" 266 #define WSB_RI_ATTRIBUTE_NAME "RightsIssuerUrls" 271 #if defined(__cplusplus) 290 WSB_EXPORT
const char*
459 const void* license_data,
474 WSB_EXPORT
const char*
487 WSB_EXPORT
const char*
593 WSB_EXPORT
const char*
620 #if defined(__cplusplus)
WSB_EXPORT void WSB_TrackInfo_Release(WSB_TrackInfo *track_info)
Releases the specified WSB_TrackInfo object.
WSB_EXPORT WSB_Result WSB_TrackInfo_GetContentProtection(WSB_TrackInfo *track_info, SHI_Attribute **content_protection)
Gets the content protection elements for the specified track.
WSB_Hdr10Info hdr10
Definition: WsbMediaFile.h:93
WSB_EXPORT const char * WSB_TrackInfo_GetContentId(WSB_TrackInfo *track_info)
Gets the content ID for the specified track.
Information about High Dynamic Range (HDR).
Definition: WsbMediaFile.h:90
WSB_Int32 pl_info_count
Definition: WsbMediaFile.h:83
WSB_Int32 level_id
Definition: WsbMediaFile.h:76
unsigned WSB_CONFIG_INT64_TYPE WSB_LargeSize
Definition: WsbTypes.h:50
struct SHI_Attribute SHI_Attribute
SHI_Attribute objects represent named values that can be arranged in a tree structure.
Definition: ShiAttributes.h:110
WSB_UInt32 reserved
Definition: WsbMediaFile.h:68
WSB_LargeSize available
number of bytes currently available
Definition: WsbMediaFile.h:164
WSB_Int32 profile_id
Definition: WsbMediaFile.h:75
WSB_DolbyVisionInfo dolby_vision
Definition: WsbMediaFile.h:94
WSB_UInt32 WSB_Ordinal
An unsigned integer that represents a position in a sequence (such as an index into a list of element...
Definition: WsbTypes.h:127
WSB_UInt32 WSB_Flags
Type used to represent a bit pattern signifying a combination of flags that can be on or off...
Definition: WsbTypes.h:93
Information about Dolby Vision.
Definition: WsbMediaFile.h:82
WSB_LargeSize total_size
total number of bytes in the file
Definition: WsbMediaFile.h:165
WSB_UInt32 WSB_Cardinal
An unsigned integer used to represent a quantity that can be counted (such as a number of elements in...
Definition: WsbTypes.h:121
Infomation about Dolby Vision profile and level.
Definition: WsbMediaFile.h:74
int WSB_Result
Signed integer value representing a function or method result (return value).
Definition: WsbTypes.h:83
WSB_EXPORT WSB_UInt32 WSB_TrackInfo_GetTrackId(WSB_TrackInfo *track_info)
Gets the track ID.
Information about HDR10.
Definition: WsbMediaFile.h:67
File progress information.
Definition: WsbMediaFile.h:162
WSB_EXPORT WSB_Result WSB_TrackInfo_GetMediaInfo(WSB_TrackInfo *track_info, WSB_MediaInfo *media_info)
Gets the media info for the specified track.
unsigned int WSB_UInt32
32-bit (or more) unsigned integer
Definition: WsbTypes.h:36
WSB_Flags flags
Definition: WsbMediaFile.h:163
struct SHI_Data SHI_Data
A SHI_Data object represents a typed data object.
Definition: EmbProcessor.h:231
signed int WSB_Int32
32-bit (or more) signed integer
Definition: WsbTypes.h:37
WSB_HdrType type
Definition: WsbMediaFile.h:91
WSB_UInt32 WSB_Size
An unsigned integer used to represent a measurable quantity (e.g., the size of a file).
Definition: WsbTypes.h:104
const WSB_DolbyVisionProfileLevelInfo * pl_infos
Definition: WsbMediaFile.h:84