VideoFormat.Stride Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the array stride that is used in the video format.
Assembly: System.Windows (in System.Windows.dll)
In video, the stride represents the width, in bytes, of a row of the image. This value can be negative if the frame is rotated.
A stride with a negative value indicates that the image is upside down. You can flip the array in OnSample to get an image which is right-side up.
Show: