WP7:从图像序列渲染视频

发布于 2024-12-15 09:55:00 字数 369 浏览 4 评论 0原文

我目前正在开发 Windows Phone 7 应用程序。我想做的是从一系列图像中渲染一个视频文件(avi、wmv,等等......)。所以,我只需要像视频文件的帧写入器之类的东西(例如创建游戏内视频:将每个 X 帧写入视频流)。

我搜索了整个互联网和 stackoverflow,但我没有找到任何东西。据我所知,Windows Phone 7 堆栈中有很多 API 和接口来处理音频和视频,所以我认为必须有一个解决方案。

顺便说一句:我已经看过 C# Slicer 和 ffmpeg。 Slicer 不适用于 Windows Phone 7,我无法移植它,而且 Microsoft 也不允许使用 ffmpeg,因为此解决方案需要集成一个不允许的非托管库。

我希望你能帮助我。

I am currently developing a Windows Phone 7 application. What I want to do, is to render a video file (avi, wmv, whatever...) from a sequence of images. So, I just need something like a frame writer for video files (e.g. create an in-game video: write every X frame to video stream).

I searched the whole internet and also stackoverflow but I didn't find anything. As far as I know, there are a lot of APIs and interfaces in the Windows Phone 7 stack to handle audio and video, so I think there must be a solution for this somehow.

BTW: I alread had a look at C# Slicer and ffmpeg. Slicer isn't available for Windows Phone 7 and I wasn't able to port it and ffmpeg isn't allowed by Microsoft, because this solution would need to integrate an unmanaged library which isn't allowed.

I hope you can help me.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

西瓜 2024-12-22 09:55:00

您会考虑在服务器上执行此操作吗?您可以将图像上传到主机,调用 ffmpeg 创建电影,然后将电影推送回手机。它甚至可能比让手机进行编码更快(当然,假设您没有数千个用户同时访问主机!)

Would you consider doing this operation on a server? You could upload the images to your host, invoke ffmpeg to create the movie, then push the movie back to the phone. It might even be faster than having the phone do the encoding (assuming you don't have thousands of users hitting the host at the same time, of course!)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文