kringon / xuggle

Automatically exported from code.google.com/p/xuggle
0 stars 0 forks source link

Wrap Xuggle into Swing #278

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I am trying to customize the Xuggle to add more buttons and progress bar into 
it. I tried to wrap Xuggle into Swing, however, it does not work. For instance, 
the JFrame does not show up and just video plays. Some suggestions should be 
great. -Xiaotian

Original issue reported on code.google.com by xiaotian...@gmail.com on 18 Oct 2011 at 7:56

GoogleCodeExporter commented 8 years ago
Got it to work. 

Original comment by xiaotian...@gmail.com on 21 Oct 2011 at 6:27

GoogleCodeExporter commented 8 years ago
I got my application running fine against .mov, .mp3 and .flv. However, when I 
ran it against .avi file, it poped up following error:

JVMDUMP006I Processing dump event "systhrow", detail 
"java/lang/OutOfMemoryError" - please wait.
JVMDUMP032I JVM requested Snap dump using 
'C:\Users\xh2453\IBM\rationalsdp\workspace_70\TestWebAppl\Snap.20111025.134539.1
2108.0001.trc' in response to an event
JVMDUMP010I Snap dump written to 
C:\Users\xh2453\IBM\rationalsdp\workspace_70\TestWebAppl\Snap.20111025.134539.12
108.0001.trc
JVMDUMP032I JVM requested Heap dump using 
'C:\Users\xh2453\IBM\rationalsdp\workspace_70\TestWebAppl\heapdump.20111025.1345
39.12108.0002.phd' in response to an event
JVMDUMP010I Heap dump written to 
C:\Users\xh2453\IBM\rationalsdp\workspace_70\TestWebAppl\heapdump.20111025.13453
9.12108.0002.phd
JVMDUMP032I JVM requested Java dump using 
'C:\Users\xh2453\IBM\rationalsdp\workspace_70\TestWebAppl\javacore.20111025.1345
39.12108.0003.txt' in response to an event
JVMDUMP010I Java dump written to 
C:\Users\xh2453\IBM\rationalsdp\workspace_70\TestWebAppl\javacore.20111025.13453
9.12108.0003.txt
JVMDUMP013I Processed dump event "systhrow", detail 
"java/lang/OutOfMemoryError".
Exception in thread "main" java.lang.OutOfMemoryError: Failed to create a 
thread: retVal -1073741830, errno 12
at java.lang.Thread.startImpl(Native Method)
at java.lang.Thread.start(Thread.java:887)
at 
com.test.xuggle.fileconvert.DecodeAndPlayVideo$VideoAudio.setAudio(DecodeAndPlay
Video.java:473)
at 
com.test.xuggle.fileconvert.DecodeAndPlayVideo.playJavaSound(DecodeAndPlayVideo.
java:453)
at 
com.test.xuggle.fileconvert.DecodeAndPlayVideo.<init>(DecodeAndPlayVideo.java:23
3)
at com.test.xuggle.fileconvert.VideoPlayer.main(VideoPlayer.java:7)

Any suggestions? 

Original comment by xiaotian...@gmail.com on 25 Oct 2011 at 6:54