摘要:
安装好fms后,在Flash Media Server 2\applications目录下建立test文件夹,重新启动fms。 编写录制和回放的代码: 录制程序和界面: xml 代码 xml version="1.0" encoding="utf-8"?> ... 阅读全文
摘要:
0 && _inStream.time > 0) { t_hs_control.value =_inStream.time; t_lbl_playtime.text = formatTimes(_inStream.time) + ” / “+ formatTimes(_duration); } if(_inStream.time == _duration) { removeEventLis... 阅读全文
摘要:
一、添加引用 在解决方案上单击右键,选择“Add Reference...”,添加“System.Windows.Forms”,添加完后,Web.Config 中应该有类似下面的内容: 二、 设置 STA 模式 在 @ Page 指令中加上 AspCompat="true",以强制该网页在 STA(单线程单元) 模式下执行。结果类似如下: 三、写截图代码 Cod... 阅读全文
摘要:
Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/// /// @从视频文件截图,生成在视频文件所在文件夹 /// 在Web.Config 中需要两个前置配置项: /// 1.ffmpeg.exe文件的路径 /// /// 2.截图的尺寸... 阅读全文