运动矢量提取从编码视频文件 [英] Motion Vector extraction from encoded video file

查看:593
本文介绍了运动矢量提取从编码视频文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图从编码的mp4文件中提取运动矢量数据。在上一篇文章中,我发现
的答案是 http://www.princeton。 edu /〜jiasic / cos435 / motion_vector.c 。但是我无法运行代码没有错误。文件中必须包含哪些其他文件?我是新手。所以任何帮助将不胜感激。

解决方案

我已经修改了mplayer(ffmpeg)的源代码来提取任何压缩的运动矢量视频,我已经上传了可用于提取运动矢量的修改后的mplayer代码。 http: //www.cs.umd.edu/~bharat/modmplayer.zip



如果您使用修改过的,您需要执行以下操作来提取运动矢量版本的mplayer



./ mplayer -nosound -fps 200 -vo null -lavdopts vismv = 1 path_of_video_file 2> path_of_output_file.txt



预编译的可执行文件和一些有用的文件在输出文件夹


中可用

I am trying to extract motion vector data from an encoded mp4 file. In a previous post I found an answer http://www.princeton.edu/~jiasic/cos435/motion_vector.c . But I am not able to run the code without errors . What are the other files that have to be included in the file ? I am a newbie here . So any help would be appreciated .

解决方案

I had modified the source code of mplayer (ffmpeg) to extract motion vectors for any compressed video, I have uploaded the modified mplayer code which can be used for extracting motion vectors here http://www.cs.umd.edu/~bharat/modmplayer.zip

You need to do the following to extract motion vectors if you use the modified version of mplayer

./mplayer -nosound -fps 200 -vo null -lavdopts vismv=1 path_of_video_file 2> path_of_output_file.txt

Pre-compiled executable and some useful files are available in the outputs folder

这篇关于运动矢量提取从编码视频文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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