Asp.net 如何使用pc摄像机录制两分钟的视频,并使用iis服务器和记事本在vb.net中本地存储
我有一个表,其中有3列,一列有问题,另一列是录制视频,最后一列是上传。Asp.net 如何使用pc摄像机录制两分钟的视频,并使用iis服务器和记事本在vb.net中本地存储,asp.net,vb.net,iis,iis-7,Asp.net,Vb.net,Iis,Iis 7,我有一个表,其中有3列,一列有问题,另一列是录制视频,最后一列是上传。 我的问题是,当用户单击录制按钮时,我们录制了两分钟的视频 并将其保存到本地PC等。 我正在使用记事本、internet信息服务和aspx中的前端以及vb.net中的后端 我有这个代码检查它这是aspx文件扩展名,我存储在IIS服务器上并使用它 受保护的子按钮1\u单击(发件人作为对象,e作为事件参数) '在这里写一个用于录制视频的代码 端接头 #中央分区 { 位置:绝对位置; 高度:200px; 宽度:850px; 利润率
我的问题是,当用户单击录制按钮时,我们录制了两分钟的视频
并将其保存到本地PC等。
我正在使用记事本、internet信息服务和aspx中的前端以及vb.net中的后端
我有这个代码检查它这是aspx文件扩展名,我存储在IIS服务器上并使用它
受保护的子按钮1\u单击(发件人作为对象,e作为事件参数)
'在这里写一个用于录制视频的代码
端接头
#中央分区
{
位置:绝对位置;
高度:200px;
宽度:850px;
利润率:-100px0-200px;
最高:20%;
左:30%;
}
桌子{
边界塌陷:塌陷;
宽度:100%;
}
th,td{
文本对齐:左对齐;
填充:8px;
}
tr:n子(偶数){背景色:#f2f2}
th{
背景色:#4CAF50;
颜色:白色;
}
表,th,td{
边框:1px纯黑;
}
th{
显示:表格单元格;
垂直对齐:继承;
字体大小:粗体;
文本对齐:居中;
}
注册
回答问题:
问题记录视频下载
你叫什么名字?为什么我们要录取你
你为什么选择这所大学学习
你为什么选择这所大学学习
用于录制视频的Directx库在c#但在Asp.net应用程序中,无法在客户端计算机上使用Directx。因此,可选择使用闪光灯、银灯或HTML5。
所以我通过使用Jquery插件录制视频来解决我的问题 Video.js记录##
此插件用于录制我的视频并存储在我的电脑上。对于录制视频,它是在asp.net服务器端录制视频的非常好的插件。您好。我想如果你没有真正开始,我们就无法帮助你工作。您应该详细说明您已经尝试了什么以及您遇到了什么问题。我不知道在HTML中使用哪个标记来显示视频,在后端使用哪个类来存储视频
<%@ Page Language="VB" Debug="true" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Configuration" %>
<%@ Import Namespace="System.Data.SqlClient" %>
<%@ Import Namespace="System.Web.Security" %>
<%@ Import Namespace="AForge.Video" %>
<%@ Import Namespace="AForge.Video.DirectShow" %>
<script runat="server">
Protected Sub Button1_Click(sender As Object, e As EventArgs)
' here to write a code for record a video
End Sub
</script>
<!DOCTYPE html>
<html>
<head>
<Style>
#center_div
{
position: absolute;
height: 200px;
width: 850px;
margin: -100px 0 0 -200px;
top:20%;
left: 30%;
}
table {
border-collapse: collapse;
width: 100%;
}
th, td {
text-align: left;
padding: 8px;
}
tr:nth-child(even){background-color: #f2f2f2}
th {
background-color: #4CAF50;
color: white;
}
table, th, td {
border: 1px solid black;
}
th {
display: table-cell;
vertical-align: inherit;
font-weight: bold;
text-align: center;
}
</Style>
<title> Sign Up </title>
</head>
<body>
<div id="center_div">
<form runat="server" id="myform">
<fieldset>
<legend>Answers the Question:</legend>
<table>
<tr>
<th>Question</th><th>Record Videos</th><th>Upload</th>
</tr>
<tr>
<td class="label" Style="width:500px">What is Your Name and Why we Take Admission in our university </td><td Style="width:200px"> <asp:Button ID="Button9" runat="server" Text="Record" onClick="Button1_Click" /></td>
<td Style="width:200px"> <asp:Button ID="Button3" runat="server" Text="Upload" onClick="Button1_Click" /></td>
</tr>
<tr>
<td class="label" Style="width:500px">Why you Select this univeristy for Study </td><td Style="width:200px"> <asp:Button ID="Button10" runat="server" Text="Record" onClick="Button1_Click" /></td>
<td Style="width:200px"> <asp:Button ID="Button30" runat="server" Text="Upload" onClick="Button1_Click" /></td>
</tr>
<tr>
<td class="label" Style="width:500px">Why you Select this univeristy for Study </td><td Style="width:200px"> <asp:Button ID="Button101" runat="server" Text="Record" onClick="Button1_Click" /></td>
<td Style="width:200px"> <asp:Button ID="Button301" runat="server" Text="Upload" onClick="Button1_Click" /></td>
</tr>
</table>
<asp:Button ID="Button2" runat="server" Text="Submit" onClick="Button1_Click" />
<asp:Label ID = "Label2" runat = "server" text="" Style="color:red"> </asp:Label>
</form>
</div>
</body>
</html>