Share via


PhotoImportVideoSegment Class

Definition

Represents an imported video segment.

public ref class PhotoImportVideoSegment sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PhotoImportVideoSegment final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PhotoImportVideoSegment
Public NotInheritable Class PhotoImportVideoSegment
Inheritance
Object Platform::Object IInspectable PhotoImportVideoSegment
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Video segments are produced by some video recorders that split long video files in multiple segments. The reasons might be file format limitations, file size limitations on the storage media file system, or some inherited arbitrary convention, such as the 20mn standard duration of a 35mm movie reel. The naming of the main (“first”) segment and the subsequent (“continuation”) segments depends on the video recorder. The correlation between the segments can be made on based on the full path + the video type + the last four digits, looking for digits in the first four characters to decide which one it the main file. The last continuation is typically smaller than the main file, and the timestamps may also reflect the chronological sequence. Video segments can have siblings.

Properties

Date

Gets the date of the imported video segment.

Name

Gets the name of the imported video segment.

Sibling

Gets the sibling file associated with the imported video segment.

Sidecars

Gets the sidecar file associated with the imported video segment.

SizeInBytes

Gets the size of the imported video segment, in bytes.

Applies to