需要视频处理工具
我有一个 2giga mpeg 文件,里面有人们跑步、慢跑、散步等。 我将在图像分类项目中使用它,但我需要根据每个人的每个动作来分割视频。
例如; 视频中有 25 个人按照
第一个人的 顺序重复这些动作 - 运行 - 步行
第二人
- 跑步 -走着
走着……
我想要的是为每个人提供 2 个不同的 mpeg 文件 例如; 第一人称运行.mpeg firstperson_waves.mpeg
所以我需要一个工具将大文件拆分为这些文件。 分裂应因时间而定。
例如; 选择t1:行动开始 选择 t2:行动结束 从大文件中为时间间隔 t1 和 t2 创建一个新视频,
当然我将为每个视频选择时间间隔。
操作系统:Winxp pro
如果可以用matlab完成,你能描述一下吗? 有什么帮助吗???
I have a 2giga mpeg file of people runnig,jogging,walking etc. in it. I will use it in a image classification project but I need to segmentate the video depending on per person an per action.
for example;
there are 25 people in video which repeat these actions in order
1st person
-runs
-walks
2nd person
-runs
-walks
and goes on....
and what I want is to have 2 different mpeg file for each person
such as;
firstperson_runs.mpeg
firstperson_waves.mpeg
so I need a tool to split big file into these files. Splitting shall be due to time.
such as;
pick t1:start of action
pick t2:end of action
create a new video from big file for the interval t1 and t2
of course I will select time intervals for each video.
OS:Winxp pro
if it can be done by matlab ,can you describe it?
any help???
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我想有很多工具可以在没有 MATLAB 的情况下完成此操作,但如果您真的想使用 MATLAB,我会在 MathWorks File Exchange 上查看这些提交内容:
编辑:
正如M456,也可以使用内置函数MMREADER 用于为您的电影文件创建多媒体阅读器对象(并随后阅读使用 READ 方法从中选择电影帧) 。 不过,我不知道这个函数是在哪个版本的MATLAB中引入的。它在7.7和7.8版本(分别是R2008b和R2009a)中,但在7.1版本中没有。
I imagine there are a number of tools available to do this without MATLAB, but if you really want to use MATLAB I would check out these submissions on The MathWorks File Exchange:
EDIT:
As mentioned by M456, you can also use the built-in function MMREADER for creating a multimedia reader object for your movie file (and subsequently reading selected movie frames from it with the READ method). However, I don't know which version of MATLAB this function was introduced in. It is in versions 7.7 and 7.8 (R2008b and R2009a, respectively), but it is not in version 7.1.
Matlab可以做这样的视频分割操作。 有两个内置函数(aviread 和 mmreader)用于读取视频文件。 两者都会创建包含视频各个帧的对象。 您可以将它们另存为单独的帧或使用avifile制作新视频。
Matlab can do such video split operations. There are two built in functions (aviread and mmreader) for reading video files. Both will create objects which contain the individual frames of the video. You can save these as separate frames or make a new video out of by using avifile.