您的位置:首页 > 大数据 > 人工智能

【Xuggle】Failed to write core dump. Minidumps are not enabled by default on client versions

2017-09-25 09:10 609 查看
在使用Xuggle时有时

//开始读流

        int t=container.open(filename, IContainer.Type.READ, null);

这句话会遇到如题的错误,其详细内容如下:

# A fatal error has been detected by the Java Runtime Environment:

#

#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006ee76520, pid=5800, tid=0x0000000000002208

#

# JRE version: Java(TM) SE Runtime Environment (8.0_131-b11) (build 1.8.0_131-b11)

# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.131-b11 mixed mode windows-amd64 compressed oops)

# Problematic frame:

# C  [xuggle2165333844474291922.dll+0x736520]

#

# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows

#

# An error report file with more information is saved as:

# D:\Java Projects\xuggle\xuggleDecoder\hs_err_pid5800.log

#

# If you would like to submit a bug report, please visit:

#   http://bugreport.java.com/bugreport/crash.jsp

# The crash happened outside the Java Virtual Machine in native code.

# See problematic frame for where to report the bug.

#

解决办法如下:

将container.open中的第三个参数IContainerFormat设置为指定格式,如我的视频时H.264编码的,那么我这样写:

IContainerFormat containerFormat=IContainerFormat.make();

        

containerFormat.setInputFormat("h264");

 int t=container.open(filename, IContainer.Type.READ, containerFormat);
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐