Warning: Unable to determine the number of frames in this file
2014-10-21 15:48
585 查看
之前通过下面的代码读取,没有错误:
在我运行程序之前
在我点击运行中断后:
这个L***是一个什么东西?
我想大概就是这个L*** Splitter影响了Matlab,因此只需关闭它既可。找了好久发现在在完美解码的设置里面可以关掉:
这个分离器对***I格式默认的是L***,需要改回system既可。然后在运行matlab,就不会产生Warning: Unable to determine the number of frames in this file了,
参考:
【1】matlab VideoReader Warning: Unable to determine the&nb http://blog.sina.com.cn/s/blog_6051d8810101js31.html
【2】Thread Subject: Video info for non-***I's http://www.mathworks.com/matlabcentral/newsreader/view_thread/139245
videoObj = VideoReader('..\..\dataset\smoke-detection\ForestSmoke\Smoke_Manavgat_Raw.avi'); numFrames = get(videoObj, 'NumberOfFrames');后来在安装了一堆其他软件之后,特别是安装完美解码之后,就产生Warning: Unable to determine the number of frames in this file的警告,参考[1][2]给出了一种解决方法:
frame=read(obj,inf); obj.NumberOfFrames是通过读取最后一帧图像来确定的,但是当视频有点长的时候,确定这最后一帧就会特别慢。
在我运行程序之前
在我点击运行中断后:
这个L***是一个什么东西?
我想大概就是这个L*** Splitter影响了Matlab,因此只需关闭它既可。找了好久发现在在完美解码的设置里面可以关掉:
这个分离器对***I格式默认的是L***,需要改回system既可。然后在运行matlab,就不会产生Warning: Unable to determine the number of frames in this file了,
参考:
【1】matlab VideoReader Warning: Unable to determine the&nb http://blog.sina.com.cn/s/blog_6051d8810101js31.html
【2】Thread Subject: Video info for non-***I's http://www.mathworks.com/matlabcentral/newsreader/view_thread/139245
相关文章推荐
- matlab:Warning: Unable to determine the number of frames in this file.
- Unable to determine the principal end of an association between the types '***. The principal end of this association must be explicitly configured using either the relationship fluent API or data annotations.
- Some text formatting may have changed in this file because the maximum number of fonts was exceeded解决办法
- 奇葩问题:This file could not be checked in because the original version of the file on the server was moved or deleted. A new version of this file has been saved to the server, but your check-in comments were not saved
- Determine whether the concatenation of a and b in this order is a square number.
- "Your computer could not be joined to the domain. You have exceeded the maximum number of computer accounts you are allowed to create in this domain. Contact your system administrator to have this limit reset or increased."
- 关于“This file has been modified outside of the source editor. Do you want to reload it?”错误的处理
- Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap"
- We are already in the process of making 11 connections and the number of simultaneous builds has been throttled to 10
- strip: Unable to recognise the format of the input file
- IsolatedStoreExceptio:Unable to determine application identity of the caller
- ORA-30926: unable to get a stable set of rows in the source tables
- TFS2010问题:unable to determine the workspace for this solution
- VC6编辑时提示This file has been modified outside of the source of editor.Do you want to reload it?解决方法
- java.lang.unsupportedclassversionerror bad version number in .class file unable to load class
- FIX: Unable to find a version of the runtime to run this application.
- Unable to See the Legal Entity List of Value in the Bank Account Owner Field [ID 415529.1]
- the connection to the VMware USB Arbitration Service was unsuccessful.Please check the status of this service in the Microsogt M
- 让人哭笑不得的“Unable to load one or more of the types in the assembly”问题的解决!
- xxxx.accessor: The reference to 'xxxx' was not found in the list of this projects references