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

来源:互联网 发布:win10 linux安装教程 编辑:程序博客网 时间:2024/05/30 22:52

在使用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);


阅读全文
0 0
原创粉丝点击