是否可以从 Windows Phone 7 上以前录制的视频中抓取快照?
我想知道是否可以从以前录制的视频中抓取快照。这些视频是在应用程序本身中录制的。
顺便说一句,我想从独立存储中保存的视频文件中获取快照,而无需播放视频。
是否可以?如果是这样,我该怎么办?
干杯, 拉斐尔
I'd like to know if it's possible to grab snapshots from previously recorded videos. Those videos are recorded in the app itself.
By the way, I'd like to grab the snapshot from a video file saved in IsolatedStorage without having to play the video.
Is it possible? If so, how can I do it?
Cheers,
Rafael
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不知道官方平台有这样做的功能。但是,如果视频文件位于应用程序的独立存储中,您也许能够:
I am not aware of an official platform feature to do this. However, if the video file is within your app's isolated storage, you might be able to:
我通过在录制视频时创建缩略图解决了这个问题(captureSource.CaptureImageAsync())。为此,我使用了用于录制视频的相同 CaptureSource 实例。
I solved the problem by creating the thumbnail while recording the video (captureSource.CaptureImageAsync()). To do that, I used the same instance of the CaptureSource I'm using to record the video.