DVD_SUBPICTURE_CODING enumeration (strmif.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Indicates what kind of content the subpicture stream contains.

Syntax

typedef enum tagDVD_SUBPICTURE_CODING {
  DVD_SPCoding_RunLength = 0,
  DVD_SPCoding_Extended = 1,
  DVD_SPCoding_Other = 2
} DVD_SUBPICTURE_CODING;

Constants

 
DVD_SPCoding_RunLength
Value: 0
Indicates that the subpicture uses run length encoding.
DVD_SPCoding_Extended
Value: 1
Indicates that subpicture uses extended encoding.
DVD_SPCoding_Other
Value: 2
Indicates that the subpicture uses some other encoding scheme.

Remarks

Most subpicture streams contain language-related content such as movie subtitles, but subpictures can also be used for the bouncing ball in karaoke or other non-language-related purposes.

Requirements

Requirement Value
Header strmif.h (include Dshow.h)

See also

DVD_SubpictureAttributes

DirectShow Enumerated Types