简体   繁体   English

Silverlight播放器是否支持H264 / MultiView编码(3D)视频?

[英]Does the Silverlight player support H264/MultiView Coding (3D) Videos?

Given that the Player Framework allegedly supports 3D MVC encoded video via the Media Foundation , which MediaElement.js's Silverlight Player uses, Does the later support playing stereoscopic 3D video? 假设播放器框架据称通过Media Foundation支持MediaElement.js的Silverlight Player使用的3D MVC编码视频,那么后者是否支持播放立体3D视频?

Regards, 问候,

Quick Answer: 'Absolutely' 快速解答:“绝对”

I will take a quick hack at this question, only because I use Media Foundation a great deal, and I believe your question is mostly focused on Media Foundation's support for 3D video. 我将很快解决这个问题,只是因为我大量使用Media Foundation,并且我相信您的问题主要集中在Media Foundation对3D视频的支持上。

I have not used Silverlight's player, nor have I utilized the 3D video capabilities of Media Foundation, however as I am dealing with video streams in general, I constantly see API documentation which confirms the 3D support. 我没有使用Silverlight的播放器,也没有使用Media Foundation的3D视频功能,但是由于我通常处理的是视频流,所以我经常看到确认3D支持的API文档。 There is much more than the links below, but should provide sufficient evidence. 除了下面的链接外,还有很多其他内容,但应提供足够的证据。

A couple enums: 几个枚举:

MFVideo3DFormat MFVideo3DFormat
MFVideo3DSampleFormat MFVideo3DSampleFormat

A few attributes: 一些属性:

MF_ENABLE_3DVIDEO_OUTPUT MF_ENABLE_3DVIDEO_OUTPUT
MF_MT_VIDEO_3D MF_MT_VIDEO_3D
MF_MT_VIDEO_3D_FIRST_IS_LEFT MF_MT_VIDEO_3D_FIRST_IS_LEFT
MF_MT_VIDEO_3D_FORMAT MF_MT_VIDEO_3D_FORMAT
MF_MT_VIDEO_3D_LEFT_IS_BASE MF_MT_VIDEO_3D_LEFT_IS_BASE
MF_MT_VIDEO_3D_NUM_VIEWS MF_MT_VIDEO_3D_NUM_VIEWS
MFSampleExtension_3DVideo MFSampleExtension_3DVideo
MFSampleExtension_3DVideo_SampleFormat MFSampleExtension_3DVideo_SampleFormat

A quick look at IMFMediaEngineEx , you see the a couple notable methods: 快速浏览IMFMediaEngineEx ,您会看到几个值得注意的方法:

IsStereo3D IsStereo3D
SetStereo3DFramePackingMode SetStereo3DFramePackingMode
SetStereo3DRenderMode SetStereo3DRenderMode

When receiving samples from a source or transform, each sample has a stream id, and a media type. 从源或转换接收样本时,每个样本都具有流ID和媒体类型。 You discover these upfront, so that you can efficiently handle them when processing samples (according to the stream id). 您可以预先发现这些内容,以便在处理样本时(根据流ID)可以有效地处理它们。 For instance closed captioning is delivered on a separate stream, in which case you can ignore them if the user does not wish to display CC. 例如,隐藏式字幕在单独的流上传送,在这种情况下,如果用户不希望显示CC,则可以忽略它们。 And the same is true for ancillary audio tracks (other languages, director commentary, etc). 辅助音轨(其他语言,导演评论等)也是如此。

I hope this helps. 我希望这有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM