本文介绍了编码器3崩溃/ SDK给出错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,我试图使用实时编码从usb网络摄像头流到ws2003上运行的windows media服务。当我尝试预先连接或开始编码编码器崩溃。
我试图使用sdk。使用实时样本,我改为使用凸轮而不是文件,并推送到服务器而不是广播。当我运行它时,我在行job上得到以下错误.StartEncoding();

bei System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode,IntPtr errorInfo)
bei System。 Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
bei ThrowHRESULT(Int32 hr)
bei MS.Internal.Expression.Encoder.Live.LiveEncode.StartEncoding(String strOutputFileName,ProfileWrapper profile,IDictionary`2 metadata ,Int64 nBufferWindowInMillis)
bei Microsoft.Expression.Encoder.Live.LiveJob.StartEncoding()
在C:\ Programme \ Myicoft Expression \中的bei Live.Program.Main(String [] args)编码器3 \ SDK \Samples \Live \Program.cs:Zeile 68.
bei System.AppDomain._nExecuteAssembly(Assembly assembly,String [] args)
bei System.AppDomain.ExecuteAssembly( String assemblyFile,Evidence assemblySecurity,String [] args)
bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly( )bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext,ContextCallback callback,Object state)
bei System.Threading.ThreadHelper。 ThreadStart()

任何想法?

提前谢谢。

hello
i tried to use live encoding to stream from a usb webcam to windows media services running on ws2003. when i try to preconnect or start encoding the encoder crashes.
i tried to use the sdk. using the live sample, i changed to use the cam instead of a file and to push to a server instead of broadcasting. when i run it i get the following error on the line job.StartEncoding();

   bei System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   bei System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   bei ThrowHRESULT(Int32 hr)
   bei MS.Internal.Expression.Encoder.Live.LiveEncode.StartEncoding(String strOutputFileName, ProfileWrapper profile, IDictionary`2 metadata, Int64 nBufferWindowInMillis)
   bei Microsoft.Expression.Encoder.Live.LiveJob.StartEncoding()
   bei Live.Program.Main(String[] args) in C:\Programme\Microsoft Expression\Encoder 3\SDK\Samples\Live\Program.cs:Zeile 68.
   bei System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
   bei System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
   bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   bei System.Threading.ThreadHelper.ThreadStart()

any ideas?

thanks in advance.

推荐答案


这篇关于编码器3崩溃/ SDK给出错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-22 20:55