问题描述
大家好,
我想使用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
推荐答案
它给出了类似错误内存异常.
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.
这篇关于如何将大型视频上传到服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!