编码非方形像素电影,如何检测MediaItem是非方形像素 [英] Encode a non square pixel movie, how to detect MediaItem is non-square pixel

查看:122
本文介绍了编码非方形像素电影,如何检测MediaItem是非方形像素的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用以下内容信息对非正方形像素的mov文件进行编码(保持纵横比与soruce相同):

I am trying to Encode(keeping aspect ratio same as soruce) a non-square pixel mov file with following content information:

width:720 px

width: 720 px

身高:576px

编解码器:DVCP

它的宽高比是16:9,但按尺寸我们得到5:4 ,我想知道是否有任何方法可以通过代码检查MediaItem使用非方形像素,并且我必须在编码时应用不同的宽高比。

its aspect ratio is 16:9 but by dimensions we get 5:4, i want to know if there is any way that i can check by code that MediaItem is using non-square pixel and i have to apply different aspect ratio while encoding.

我必须编码并在Silverlight播放器中播放。

I have to encode and play in Silverlight player.

请帮助。 

Kindly help. 

推荐答案

MediaItem有一个属性OriginalAspectRartio拥有我认为你想要的信息。

MediaItem has a property OriginalAspectRartio that has the info i think you want.

Brian

 


这篇关于编码非方形像素电影,如何检测MediaItem是非方形像素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆