从图像WPF C#创建视频 [英] Video Creation From Images WPF C#

查看:132
本文介绍了从图像WPF C#创建视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我想从图像创建视频.我尝试使用AviManager,但视频尺寸巨大,并且无法在BsPlayer中播放视频.它在GomPlayer中播放,但是在1秒内显示所有内容(将fps选择为25,并且大约有100张图像).此外,没有时间录像.因此,我尝试寻找另一种方法.我愿意接受所有建议.

感谢您的帮助.

Hi people,
I want to create a video from images. I try to AviManager, but the video has huge size and video is not played in BsPlayer. It is played in GomPlayer but show everything in 1 second ( fps is selected as 25 and there is about 100 images). In Addition, there is no time video. So I try to find another way. I''m open to all suggestions.

Thanks advance for help.

推荐答案

以下是CP的其中之一:
用于AviFile库的简单C#包装器 [ ^ ]
Here is one from CP:
A Simple C# Wrapper for the AviFile Library[^]


我发现了以下.NET项目,该项目从图像文件生成视频.
希望对您有帮助
从图像生成视频
I found the following .NET project that generates a video from image files.
I hope that it helps
Generate Video from images


This overview[^] mentions the command
ffmpeg -f image2 -i image%d.jpg video.mpg to convert images to video. It will be customizable to use arbitrary codecs, convert frame sizes, set frame rates and so on.

You will have to provide the images stored in a filesystem and adequatly named (with consequtive numbers in the filename).

Ignore this answer if your images are in memory instead of saved to a disk.


这篇关于从图像WPF C#创建视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆