问题标签 [audiovideoplayback]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
http - CIFS/SMB 与 HTTP/RTSP 流共享视频文件
我正在为多个客户端设计一个视频管理系统,其中录制服务器应该将视频剪辑录制到其本地驱动器,然后每当客户端想要播放这些录制的视频时,它都应该与客户端共享。对此似乎有两种方法:
- 使用 Windows 文件共享协议(如 SMB/CIFS)将驱动器共享给所有客户端 - Windows 最多允许 20 个客户端,一旦驱动器被共享,它将被每个客户端映射为本地驱动器,客户端可以查看要访问的任何文件被回放
- 使用流服务器并根据客户端请求,流式传输(HTTP/RTSP 流式传输)客户端所需的特定文件(单独的线程来侦听并将所需文件流式传输到每个客户端),在这种情况下,服务器管理将变得乏味,因为客户数量增加
谁能让我知道每种方法的优缺点,以便我可以为此设计一个有效的架构?我见过的大多数视频管理软件似乎都在使用第二种方法,这样做有什么特别的优势吗?
问候, 索拉布·甘地
arm - 根据应用程序用例确定 CPU 频率
我确实理解术语 CPU 负载。它表明 CPU 在执行有用任务时的占用情况。我会定期测量 CPU 执行最低优先级任务(例如空闲任务)的时间量,这将告诉我 CPU 的负载情况。
过去我经常看到系统软件架构师能够确定应用程序的 CPU 带宽要求。
例如,可以说音频编解码器需要 130Mhz 才能运行(而 CPU 本身将以 260Mhz 运行)。
有时,要求会被表述为只需要一定百分比(例如 10%)CPU 的程序。换句话说,如果 CPU 以 260Mhz 运行,那么相关程序将只需要 26Mhz。
确定上述计算要求的理念/技术是什么?
c# - 通过 Microsoft.DirectX.AudioVideoPlayback 显示对视频播放的控制
我有一个播放本地视频的 C# Windows 窗体应用程序。我想在播放视频时覆盖一个带有控件的小表单。该视频归一个面板所有,我尝试创建另一个面板,其中包含按钮和文本框等控件,并尝试将整个面板向前推进并将视频发送回去,但视频仍位于顶部。
有任何想法吗?
c# - 使用 Microsoft.DirectX.AudioVideoPlayback 播放视频时出错;汇编版本错误
我正在尝试使用程序集Microsoft.DirectX.AudioVideoPlayback在基于 c# windows 窗体的应用程序上嵌入视频,但出现以下错误
我正在使用 Visual Studio 2010 .NET 4.0 版 Microsoft DirectX SDK 也安装了库更新版本的链接或任何替代方案?
代码:
c++ - 使用 Media Foundation 进行无缝视频播放
我一直在尝试使用 Microsoft 媒体基础和 C++ 实现无缝视频播放。我已经成功创建了一个播放列表,并且有循环播放的视频,但它远非无缝。根据文件格式,视频之间的间隔从 300 毫秒到 1.5 到 2 秒不等。Media Foundations 中的 Sequencer Source 应该提供无缝视频播放,但到目前为止我还没有看到这样的结果。有没有人使用 Media Foundation 实现了无缝视频播放,如果可以,请告诉我。如果不可能,您能指出我继续搜索的方向吗?
c# - Activemovie窗口弹出Microsoft.DirectX.AudioVideoPlayback in C#
我创建了一个简单的 Windows 窗体,它使用 Microsoft.DirectX.AudioVideoPlayback 显示视频。当视频加载到面板时,它会在几毫秒内弹出一个 activemovie 窗口。我怎么能解决它,因为每次开始播放视频都很烦人会抛出这个 activemovie 窗口。这就像应用程序有延迟。
这是我的代码:
当我按下播放视频的按钮时,它上面是一个打印屏幕。我裁剪它,我只给你看这张照片中的面板。
c# - 使用直接 x sdk 在 c# 项目中构建时项目冻结
我必须为我的团队项目使用直接 x sdk。但 Microsoft.DirectX.AudioVideoPlayback 存在问题。
如果项目中有一些关于directX sdk的api或说明,整个项目将被冻结。整个项目在使用directX sdk之前没有问题。
在调试模式下,其他指令顺利通过。但是当我访问具有 directx sdk 的方法时出现问题。
例如 method1 顺利通过,但在 method2 项目被冻结。
我正在使用 Visual Studio 2013 C#。我成功安装并添加了有关 Microsoft.DirectX.AudioVideoPlayback 的参考
c# - C# DirectX 音频/视频播放“VFW_E_UNSUPPORTED_STREAM”
我正在尝试使用 DirectX 为 MP4 创建一个视频播放器,它可以在我的计算机上运行,但我在上网本上尝试了我的应用程序,这个错误代码以try{...}catch(Exception e){...}
.
这是我的一些代码。
感谢您提供的任何帮助。
.net - Could not load file or assembly X or one of its dependencies. is not a valid Win32 application. (HRESULT: 0x800700C1)
OS: Windows 8.1 64
I tried to play multiple sounds in VB.Net with DirectX, there are no errors in my code. The problem is whenever the event is fired I get this error
System.BadImageFormatException was unhandled Message: An unhandled exception of type 'System.BadImageFormatException' occurred in System.Windows.Forms.dll Additional information: Could not load file or assembly 'Microsoft.DirectX.AudioVideoPlayback.dll' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
Then I set Target CPU to x86 and I got this error
System.IO.FileLoadException was unhandled Message: An unhandled exception of type 'System.IO.FileLoadException' occurred in System.Windows.Forms.dll Additional information: Mixed mode assembly is built against version 'v1.1.4322' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.
So far I have tried uninstalling-reinstalling DirectX SDK, Installing everything that has to do with DirectX and different sound files (.wav).
Also I had to browse to load the .dlls, I couldn't find them under Reference Manager>Assemblies but now I cant even load them through browse so I use Imports Microsoft.DirectX.AudioVideoPlayback
It will let me Import the rest .dlls except(Reference Manager wont even open them):
the ones that I need. Is there a way to clean re-install them?
Target Framework: .Net Framework 4.5
CODE:
Let me know if you need to know anything else.
UPDATE:
I changed the Target Framework
to .Net Framework 3.5
and it works fine but only if the CPU Target
is set to x86
! Why is that?
c# - DirectX AudioVideoPlayback 视频背景透明度
我正在使用 DirectX AudioVideoPlayback 在我的表单上播放视频。源代码非常简单
视频本身bottle.mp4设计了可以具有透明背景的方式
以下是我的问题:
- 如何放置我的自定义背景图像而不是绿色视频背景?
- 我怎样才能使这个背景透明?所以我可以看到瓶子和它后面的桌面
- 是否有必要拥有 h.264 (.mp4) 格式的视频,这也适用于 .wmv 文件吗?
谢谢。