如何在ASP.NET视频工作吗? [英] how to work with videos in ASP.NET?

查看:119
本文介绍了如何在ASP.NET视频工作吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我第一次做的使用ASP.NET视频画廊,
我相信,有在网络上这方面的文章很多,但我想看到一些建议和不同的观点:


  1. 什么是所使用的工具?

  2. 如何不让用户下载视频?

  3. 什么VIMEO,dimecasts.net的选择,那其他的选择有何区别?

  4. 流媒体?

  5. 任何有价值的信息将被AP preciated。


解决方案

尊敬的SAM你问太多不同的问题。我会尽量给一些答案,我所知道的。

首先,你需要选择你去的方式来显示您的视频。一种流行的方式是闪光灯。 YouTube的使用闪光灯。


  • 这样就可以使用的工具就是的转换的视频之一到Flash流媒体文件。有从Adobe一切准备就绪之一。其他工具是视频编辑,如果这是你问什么。视频编辑与asp.net或像拉斯维加斯视频等节目。


  • 如何不允许用户下载视频?,您服务从一个ASHX处理程序这段视频,这个处理程序只是从受保护的目录中读取视频文件并将其发送到视频播放器。就是要发挥的文件的ID您发送的ID在页面标题,或者从内部重定向到该页面来隐藏它,就像你可以,但专家用户可以找到它并下载它在最后。无论你有多可以通过尝试下载所有这些机器人避免你的页面的扫描。这一切并不容易,但没有那么难也。这个任务是一个充满问题和孤独的教程,和我说,我认为这几乎是不可能的,以避免在最终用户没有得到你的视频,如果他赢得它。


其他的保护您的视频方式就是争夺流头,然后在您的Flash播放器去code再次回来。这样,即使他们得到他们,他们不能在任何地方播放。

您需要知道的编程也会闪烁,可能使与视频Flash和使用JavaScript页​​面的沟通,并修改玩家您的需求。所有这一切它不是一件容易的事,但也有很多的资源和教程,可以帮助你。

因此​​,与在 Flash视频在谷歌启动。

this is my first time doing a gallery of videos using ASP.NET, I believe there are many articles on the net regarding this, but I would like to see some recommendation and different point of view :

  1. what are the tools used?
  2. how to not allow user to download a video?
  3. what the difference between vimeo,dimecasts.net choice , what about other choices?
  4. Streaming?
  5. any valuable information will be appreciated.

解决方案

Dear sam you ask too many different question. I will try to give some answer to what I know.

First you need to select the way you go to show your video. One popular way is the flash. YouTube use flash.

  • So the tools that you can use is the one that convert the video to flash streaming file. There is all ready one from adobe. Other tools is video editing if this is what you asking for. Video editing with asp.net or with other programs like vegas video.

  • How to not allow a user to download a video ?, you serve this video from an ashx handler, this handler just read the video file from a protected directory and send it to the video player. The id of the file that is going to play you send the id on the page header, or from inside redirect to that page to hide it as much as you can, but expert users can find it and download it at the end. How ever you can avoid the scanning of your page by a robot that try to download them all. All this is not that easy but not that hard also. This task is a full question and a tutorial alone, and as I say I think that is near impossible to avoid at the end the user not get your video if he won it to.

Other way to protect your video is to scramble the streaming header, and then on your flash player decode it again back. That way even if they get them ,they can not play it anywhere.

You need to know to programming also flash and probably make communication with the video flash and your pages using Javascript, and modify the player to your needs. All of that its not an easy task, but there are many resources and tutorial that can help you.

So start with the flash video on google.

这篇关于如何在ASP.NET视频工作吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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