在服务器上保存视频的方法 [英] Approach to save video on server

查看:651
本文介绍了在服务器上保存视频的方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 我是丹麦人Shamshad.这一次,我正在ASP.NET中开发一个社交网站.
我有一个问题,我应该如何在有限的空间中存储视频.
我应该带什么伙伴.
请尽快解决我的问题.

Hi I am Danish Shamshad.This time I am developing a social networking site in ASP.NET.
I have a problem that how should I store videos in limited space.
What formate I should take.
Please solve my problem as soon as possible.

推荐答案

无论做什么,都希望使用巨大的磁盘空间.视频格式不是一个简单的问题.至少有两个单独的相对独立的级别:容器的格式和压缩视频流的格式.您可以结合使用,但有一些限制.

我不确定您选择的格式是否会自由.如果处理用户提交的视频剪辑,则需要将其重新压缩以符合您的要求.可能要花几个小时.

很难估算出质量可接受的视频需要多少磁盘空间.

您可能会遇到一些尝试使用例如免费的VirtualDub http://en.wikipedia.org/wiki/重新压缩某些视频的经验. VirtualDub [ ^ ].格式几乎仅限于AVI容器.

另一个好东西是Windows Media, http://en.wikipedia.org/wiki/Windows_Media [ http://en.wikipedia.org/wiki/Video_format#Video_formats [ http://en.wikipedia.org/wiki/FFmpeg [ ^ ])和Xvid(http://en.wikipedia.org/wiki/Xvid [ http的可能性://en.wikipedia.org/wiki/FFmpeg_hosting_service [^ ]).对于绝对是最好的",我没有足够的能力.我不确定这样的问题是否有效.

—SA
Whatever you do, expect to use huge disk space. The video format is not a simple question. There are at least two separate relatively independent levels: format of the container and the format of compressed video stream. You can combine them, with some limitations.

I''m not sure you will be free in your selection of formats. If you deal with video clips submitted by the users, you will need to re-compress it to your requirements. It can takes hours and hours.

It''s very hard to estimate how much disk space you need for a video with acceptable quality.

You may get some experience trying to re-compress some video using for example, free VirtualDub http://en.wikipedia.org/wiki/VirtualDub[^]. The formats are pretty much limited to AVI container.

Another good thing is Windows Media, http://en.wikipedia.org/wiki/Windows_Media[^]. You can download encoder for free and play with different compression parameters. I think that the video quality in terms of quality per megabyte is very impressive for well-built WMV files.

For more information, please read this:
http://en.wikipedia.org/wiki/Video_format#Video_formats[^].

Along with Windows Media, I found that pretty good compression is provided by ffMPEG (http://en.wikipedia.org/wiki/FFmpeg[^]) and Xvid (http://en.wikipedia.org/wiki/Xvid[^], also consider the possibilities of FFmpeg hosting service http://en.wikipedia.org/wiki/FFmpeg_hosting_service[^]). I''m not competent enough about what would be "absolutely the best". I''m not sure if such question can be valid.

—SA


这篇关于在服务器上保存视频的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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