WPD_CONTENT_TYPE_VIDEO

An object that describes its type as WPD_CONTENT_TYPE_VIDEO represents a video file.

This type of object supports the following properties.

Property Name Required or Optional
WPD_OBJECT_ID Required, read-only. A client cannot set this property, even at creation time.
WPD_OBJECT_PARENT_ID Required.
WPD_OBJECT_NAME Required if the object represents a file.
WPD_OBJECT_PERSISTENT_UNIQUE_ID Required, read-only. A client cannot set this property, even at creation time.
WPD_OBJECT_FORMAT Required.
WPD_OBJECT_CONTENT_TYPE Required.
WPD_OBJECT_ISHIDDEN Required if the object is hidden.
WPD_OBJECT_ISSYSTEM Required if the object is a system object (represents a system file).
WPD_OBJECT_SIZE Required if the object has at least one resource.
WPD_OBJECT_ORIGINAL_FILE_NAME Required if the object represents a file.
WPD_OBJECT_NON_CONSUMABLE Recommended if the object is not meant for consumption by the device.
WPD_OBJECT_REFERENCES Required if the object has references to other objects.
WPD_OBJECT_KEYWORDS Optional.
WPD_OBJECT_SYNC_ID Optional.
WPD_OBJECT_IS_DRM_PROTECTED Required if the object is protected by DRM technology.
WPD_OBJECT_DATE_CREATED Optional.
WPD_OBJECT_DATE_MODIFIED Recommended.
WPD_OBJECT_DATE_AUTHORED Optional.
WPD_OBJECT_BACK_REFERENCES Recommended if the object is referenced by another object.
WPD_OBJECT_CONTAINER_FUNCTIONAL_OBJECT_ID Optional.
WPD_OBJECT_GENERATE_THUMBNAIL_FROM_RESOURCE Optional.
WPD_OBJECT_CAN_DELETE Required if the object cannot be deleted.
WPD_OBJECT_LANGUAGE_LOCALE Optional.
WPD_MEDIA_TOTAL_BITRATE Recommended.
WPD_MEDIA_BITRATE_TYPE Optional.
WPD_MEDIA_COPYRIGHT Optional.
WPD_MEDIA_SUBSCRIPTION_CONTENT_ID Recommended, if this object represents content from an online subscription service.
WPD_MEDIA_USE_COUNT Recommended.
WPD_MEDIA_SKIP_COUNT Optional.
WPD_MEDIA_LAST_ACCESSED_TIME Optional.
WPD_MEDIA_PARENTAL_RATING Optional.
WPD_MEDIA_META_GENRE Optional.
WPD_MEDIA_COMPOSER Optional.
WPD_MEDIA_EFFECTIVE_RATING Optional.
WPD_MEDIA_SUB_TITLE Optional.
WPD_MEDIA_RELEASE_DATE Recommended.
WPD_MEDIA_SAMPLE_RATE Optional.
WPD_MEDIA_STAR_RATING Recommended.
WPD_MEDIA_USER_EFFECTIVE_RATING Recommended.
WPD_MEDIA_TITLE Required.
WPD_MEDIA_DURATION Required.
WPD_MEDIA_BUY_NOW Recommended.
WPD_MEDIA_ENCODING_PROFILE Optional.
WPD_MEDIA_WIDTH Required.
WPD_MEDIA_HEIGHT Required.
WPD_MEDIA_ARTIST Recommended.
WPD_MEDIA_SOURCE_URL Recommended.
WPD_MEDIA_DESTINATION_URL Optional.
WPD_MEDIA_DESCRIPTION Optional.
WPD_MEDIA_GENRE Optional.
WPD_MEDIA_TIME_BOOKMARK Optional.
WPD_MEDIA_BYTE_BOOKMARK Optional.
WPD_MEDIA_GUID Optional.
WPD_MEDIA_SUB_DESCRIPTION Optional.
WPD_VIDEO_AUTHOR Optional.
WPD_VIDEO_RECORDEDTV_STATION_NAME Optional.
WPD_VIDEO_RECORDEDTV_CHANNEL_NUMBER Optional.
WPD_VIDEO_RECORDEDTV_REPEAT Optional.
WPD_VIDEO_BUFFER_SIZE Optional.
WPD_VIDEO_CREDITS Optional.
WPD_VIDEO_KEY_FRAME_DISTANCE Optional.
WPD_VIDEO_QUALITY_SETTING Optional.
WPD_VIDEO_SCAN_TYPE Required.
WPD_VIDEO_BITRATE Required.
WPD_VIDEO_FOURCC_CODE Required if the codec is one supported by Microsoft Video for Windows (VFW), Microsoft DirectShow, and Windows Media Format.
WPD_VIDEO_FRAMERATE Optional.

 

Typical Resources

These objects typically include the following resources.

Resource Name Required or Optional Description
WPD_RESOURCE_DEFAULT Required. Contains the video (file) data.
WPD_RESOURCE_THUMBNAIL Recommended, if available. Contains the key frame or other nonblank sample frame for the video.

 

Requirements for Objects