Xuggler crash JVM during mp4 video conversion

305 views
Skip to first unread message

Surendra Jnawali

unread,
Mar 6, 2014, 6:06:46 AM3/6/14
to xuggle...@googlegroups.com
Hello All,
Work environment(Windows 64 bit, tomcat, maven dependency (xuggler version 5.4)

I have a program that is converting video well. My program converting any video format to mp4 format well. But when I tried to convert mp4 to other format(avi or flv), exception occurred as given below.

# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006ee76520, pid=5744, tid=2404
#
# JRE version: Java(TM) SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [xuggle161455890081250537.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:\intellij-wspace\myswipr\hs_err_pid5744.log

Program
String inputFile = "C:/Testing Video/forward_unto_dawn.mp4";
String outputFile = "e:/temp112.avi";
int WIDTH = 100;
int HEIGHT = 100;
IContainer container = IContainer.make();
int result = container.open(inputFile, IContainer.Type.READ, null);
if (result < 0)
throw new YSException("VID001");//Custom Exception class
long duration = container.getDuration();
long fileSize = container.getFileSize();
long bitRate = container.getBitRate();
System.out.println("Number of streams: " + numStreams);
System.out.println("Duration (ms): " + duration);
System.out.println("File Size (bytes): " + fileSize);
System.out.println("Bit Rate: " + bitRate);

//Converting Program are custom listener. Being huge couldn't post
//JVM crashed when container.open(.............)/

juangon

unread,
Aug 5, 2016, 1:30:27 PM8/5/16
to xuggler-users
Hi Surendra.

Could you finally find a fix for this issue?

Thanks!
Reply all
Reply to author
Forward
0 new messages