如何将长宽比设置为显示的avi文件 [英] How to set aspect ratio to the shown avi files

查看:76
本文介绍了如何将长宽比设置为显示的avi文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在html中嵌入avi视频,但是avi文件的比例适合嵌入框.

I want to embed a avi video in html, but the avi file''s ratio is fit the embed boxes.
How can I set the vedio s ratio?

推荐答案

您认真吗?您是说遇到视频时显示的宽高比不正确(一维压缩或拉伸,因此比例被扭曲了),并且想在ASP.NET中即时修复它吗?为什么?

以防万一:您不是在谈论视频屏幕尺寸,这通常是用户在客户端尺寸上要更改的主题.您正在谈论纵横比,框架的垂直和水平尺寸之间的比例.当电影被母带或母带母带重新制作时,这件事应该是固定的.并且在将视频交付给Web用户之前,应该在视频源中是正确的.

通过离线重新采样视频来更好地解决问题.我通常使用VirtualDub,请参见 http://en.wikipedia.org/wiki/VirtualDub [ http ://www.virtualdub.org/ [ ^ ]免费GNU通用公共许可证下的应用程序.

—SA
Are you serious? Do you mean you came across with the video with incorrect aspect ratio (compresses or stretched in one dimension, so proportions are mangled) and want to fix it on-the-fly in ASP.NET? Why?

Just in case: you''re not talking about the video screen size which is quite usually a subject to change by the user on the client size. You''re talking about aspect ratio, proportion between vertical and horizontal sized of the frame. This thing is supposed to be fixed when a movie is mastered or re-mastered. And it''s supposed to be correct in the video source before it is delivered to the Web user.

Better fix the problem by re-sampling the video off-line. I usually use VirtualDub, see http://en.wikipedia.org/wiki/VirtualDub[^], http://www.virtualdub.org/[^] a free application under GNU General Public License.

—SA


这篇关于如何将长宽比设置为显示的avi文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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