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

在使用Xuggle库进行视频处理时遇到'Failed to write core dump. Minidumps are not enabled by default on client versions'错误。错误详细信息涉及到Java运行环境和xuggle2165333844474291922.dll。解决方案是通过设置IContainerFormat输入格式,例如对于H.264编码的视频,设定为'h264',从而避免该异常。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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


评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值