Skip to content

[Question] Is there anyway to get the scan type (progressive/interlaced) #2491

Description

@v2k

AVPro Video Version

3.3.4 - ultra 3.2.6f1

Which platform is your question for?

No response

Your question

Wanting to know if the video loaded is interlaced/progressive; is this supported?

IMediaInfo (player.Info)

double GetDuration()
int GetDurationFrames(float overrideFrameRate = 0f)
int GetMaxFrameNumber(float overrideFrameRate = 0f)
int GetVideoWidth()
int GetVideoHeight()
float GetVideoFrameRate()
float GetVideoDisplayRate()
bool HasVideo()
bool HasAudio()
string GetPlayerDescription()
bool PlayerSupportsLinearColorSpace()
bool IsPlaybackStalled()
float[] GetTextureTransform()
long GetEstimatedTotalBandwidthUsed()
bool IsExternalPlaybackSupported()
bool GetDecoderPerformance(ref int, ref int, ref int)
PlaybackQualityStats GetPlaybackQualityStats()
Nothing here relates to scan type. GetPlayerDescription() (line 265) only returns a decode-path string like "DirectShow", "MF-MediaEngine-Software", "MF-MediaEngine-Hardware" — not scan/field info.

Related interface ITextureProducer (same file, lines 392-470) has geometry/orientation-adjacent members (RequiresVerticalFlip(), GetTexturePixelAspectRatio(), StereoPacking, GetAffineTransform(), GetYpCbCrTransform()) — none of these are scan-type/interlace flags; they're about stereo packing, DAR/SAR, and color transforms.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestquestionFurther information is requestedtriageNeeds triage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions