在客户端将独立存储/RAW 格式转换为 WMV
目前我们正在尝试创建一个可以通过网络摄像头进行捕获的项目
视频和音频并将其存储在缓存中。
我们已经能够成功地将视频捕获为“独立存储”或“原始”文件格式。下一步是创建一个 silverlight 友好格式,例如可用于重播的 WMV 版本 8 或 9。
截至目前,我们已经能够成功从 链接 捕获视频并将其编码为 AVI 格式以供重播模式。不幸的是,我们无法获得允许直接编码为 WMV 格式的客户端版本代码片段或 API。
任何指示方向将不胜感激。
TIA
Currently we're trying to create a project which has access via web cam to capture
the Video and Audio and store it on Cache.
We have been able to successfully capture the Video into the "Isolated Storage" or "Raw" File format. The next step is to create a silverlight friendly format like WMV version 8 or 9 which can be used for Replay.
Asof now we have been able to successfully get a project from Link
to capture the video and encode it into AVI format for replay mode. Unfortunately we've not been able to get a client version code snippet or API that allows encoding into WMV format directly.
Any pointers in the direction would be most appreciated.
TIA
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
目前还没有从 SL 编码视频/音频原始格式的简单解决方案,我认为 SL5 也不具备该功能。
当我也有这个问题时,我找到的唯一解决方案是 StreamCoders 的 SilverSuite 产品,但它对于我的需求来说太贵了。您可能会在那里看看:
http://www.streamcoders.com/products/silversuite.html< /a>
另一种解决方案是将原始数据上传到服务器并在那里执行编码,问题是原始数据文件的大小太大,甚至不合适。
我尝试压缩原始文件,对于 45 秒的视频/音频,文件大小约为 320 MB,压缩后约为 210 MB。对于我的需求来说,这仍然太高了。
到目前为止,除了 StreamCoders 产品之外,我还没有看到从客户端编码原始文件有多大希望。
祝你好运
For the moment there is no easy solution for encoding video/audio raw format from SL, and I think SL5 does not have that capabilities as well.
The only solution I found when I had that question too, was from StreamCoders's SilverSuite product, but it was too pricey for my needs. You might have a look there:
http://www.streamcoders.com/products/silversuite.html
Another solution would be to upload the raw data to a server and perform the encoding there, problem is the size of the raw data file are so big that it make it even not suitable.
I tried to zip the raw file, for a 45 second video/audio I had ~ 320 MB file size and ~ 210 after zipping. That was still way too high for my need.
So far I've not see much hope encoding raw file from the client side apart from the StreamCoders products.
Good luck
我们一直在开发与纯 Silverlight 浏览器解决方案相同的应用程序,并转向浏览器外解决方案,其中 -
我们捕获 RAW 独立存储格式并使用可从以下网址获取的 AVIDLL 将其转换为 AVI -
然后使用 FFMpeg.exe 将仍然较大的 AVI 视频(RAW->AVI)转换为 WMV 文件
统计:
时间线统计:
与上传到服务器的 RAW 文件相比,考虑到 RAW 文件很大,转换它会是一个相当耗时的过程。
任何有助于改变转换或执行直接转换为 WMV 所需时间的优化都可以使解决方案变得更好。
干杯!
We have been developing the same application as a Pure Silverlight Browser solution and moved towards an out of browser solution where -
We capture the RAW Isolated Storage Format and convert it into AVI using AVIDLL available from the following urls -
And later convert the AVI video (RAW->AVI) which is still large into a WMV file using FFMpeg.exe
Statistics on SIZE:
Statistics on TIMELINE:
Comparing this with the RAW file upload to the server and converting it would be quite a time consuming process considering that the RAW file size is large.
Any optimizations which could help change the time taken to convert or perform a direct conversion to WMV could make the solution better.
Cheers !