问题描述
我正在尝试从WME9转换大约8台服务器 到EE4。目前我正在使用Osprey 450e采集卡。我已为每个频道分配了一个批处理文件。
I'm in the process of trying to convert about 8 servers from WME9 to EE4. Currently I'm using Osprey 450e capture Cards. I have assigned a batch file to each channel.
请参阅下面的示例。 问题是如何使用SDK创建一个单独的多个脚本来为EE4中的音频和视频运行实时流。 EE4将推送到Windows媒体服务器。
see the sample below. The question is how to create one let alone multiple scripts to run live stream for the audio and video in EE4 using SDK. EE4 will push to Windows media Server.
@echo
REM流启动程序
REM CHANNEL 3
REM CHANNEL 3
REM创建时间:2009年6月2日
REM created on: 02 June 2009
REM卡1端口1C
REM Card 1 Port 1C
REM Osprey 450e
REM Osprey 450e
REM @echo设备启动
REM @echo device startup
:START
cscript.exe wmcmd.vbs -vdevice 9 -adevice 2 -author ch03 -description Channel_03 -broadcast 20102 -loadprofile system.prx -duration 9999999
cscript.exe wmcmd.vbs -vdevice 9 -adevice 2 -author ch03 -description Channel_03 -broadcast 20102 -loadprofile system.prx -duration 9999999
goto START
goto START
提前感谢您的帮助。
推荐答案
遗憾的是,EE4没有可用的命令行选项,因此您可以运行的唯一脚本就是启动应用程序本身。我建议你看看一个或多个sdk样本,并根据你的需要修改它们,然后通过脚本启动
。
unfortunately, EE4 doesn't have a command line option available, so the only scripts you could run would be to launch the application itself. I would suggest taking a look at one or more of the sdk samples and modifying them to your needs and then having them launched through a script.
问候
-Matt
这篇关于从WME9批处理文件转换为使用SDK for EE4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!