如何将大型视频上传到服务器? [英] How to upload large size videos to a server?

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

问题描述

大家好,

我想使用C#将大型视频上传到服务器.当我上传视频时,出现内存不足的异常.我也想播放这些视频,但找不到流式播放方法.

如果您知道任何其他方式或您知道的任何链接,请发布它们.

谢谢与问候
vsrkraju

Hi All,

I want to upload large size videos to the server using C#. When I am uploading a video I get an out of memory exception. I also want to play these videos but I am unable to find how to do streaming.

If you know any alternative ways or any links you know please post them.

Thanks & Regards
v.s.r.k.raju

推荐答案

V.SivaRamaKriShnaRaju写道:
V.SivaRamaKriShnaRaju wrote:

它给出了类似错误内存异常.

it giving an error like out of memory exception.



喜欢内存不足,但不是内存不足?也许如果您向我们展示了您的代码,这可能会有所帮助?这些视频有多大?足以填满您的记忆吗?将它们放在服务器上之后,您可以将Windows Media Player实例指向该URL,并且视频应该从那里流传输,前提是它是兼容格式.

如果您需要更具体的帮助,则需要向我们提供一些有意义的信息.编辑您的帖子,不要按"answer"来发布更多问题.



LIKE out of memory, but not out of memory ? Perhaps if you showed us your code, it might help ? How big are the videos ? Big enough to fill your memory ? Once they are on a server, you can point a windows media player instance to the URL and the video should stream from there, assuming it''s a compatible format.

You need to give us some meaningful information if you want more specific help. Edit your post, don''t push ''answer'' to post more questions.


我想可以异步保存它,并且以块而不是整个形式保存可以解决此问题.那样.
I guess saving it asynchronously and as chunks instead of a whole will solve this problem.Give a try in that way.


这篇关于如何将大型视频上传到服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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