Open GoogleCodeExporter opened 9 years ago
1. run a few times java -cp $XUGGLE_HOME/share/java/jars/xuggle-xuggler.jar com.xuggle.xuggler.demos.GetContainerInfo /media/data/_video/test1.mkv 2. some times is gets NullPointerException. Expected output. The container info with no exceptions: vadym@ubuntu:~$ java -cp $XUGGLE_HOME/share/java/jars/xuggle-xuggler.jar com.xuggle.xuggler.demos.GetContainerInfo /media/data/_video/test1.mkv [matroska @ 0x84da4a0]Unknown entry 0x5387 file "/media/data/_video/test1.mkv": 2 streams; duration (ms): 2836; start time (ms): 0; file size (bytes): 5225745; bit rate: 0; stream 0: type: CODEC_TYPE_VIDEO; codec: CODEC_ID_H264; duration: unknown; start time: 0; language: unknown; timebase: 1/1000; coder tb: 1001/60000; width: 1920; height: 1080; format: YUV420P; frame-rate: ; stream 1: type: CODEC_TYPE_AUDIO; codec: CODEC_ID_AAC; duration: unknown; start time: 0; language: unknown; timebase: 1/1000; coder tb: 1/1000; sample rate: 44100; channels: 2; format: FMT_S16 What operating system and JVM version are you using. Linux ubuntu 2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:48:22 UTC 2010 i686 GNU/Linux x86. jdk1.6.0_22 Attach relevant log/output files. vadym@ubuntu:~$ java -cp $XUGGLE_HOME/share/java/jars/xuggle-xuggler.jar com.xuggle.xuggler.demos.GetContainerInfo /media/data/_video/test1.mkv [matroska @ 0xa009140]Unknown entry 0x5387 file "/media/data/_video/test1.mkv": 2 streams; duration (ms): 2836; start time (ms): 0; file size (bytes): 5225745; bit rate: 0; stream 0: type: CODEC_TYPE_VIDEO; codec: CODEC_ID_H264; duration: unknown; start time: 0; language: unknown; Exception in thread "main" java.lang.NullPointerException at com.xuggle.ferry.JNIReference.<init>(JNIReference.java:101) at com.xuggle.ferry.JNIReference.createReference(JNIReference.java:158) at com.xuggle.ferry.JNIReference.createReference(JNIReference.java:169) at com.xuggle.ferry.RefCounted.<init>(RefCounted.java:110) at com.xuggle.ferry.RefCounted.<init>(RefCounted.java:79) at com.xuggle.xuggler.IRational.<init>(IRational.java:47) at com.xuggle.xuggler.IStream.getTimeBase(IStream.java:242) at com.xuggle.xuggler.demos.GetContainerInfo.main(GetContainerInfo.java:92)
Original issue reported on code.google.com by vadym.vi...@gmail.com on 22 Nov 2010 at 8:39
vadym.vi...@gmail.com
Attachments:
Original issue reported on code.google.com by
vadym.vi...@gmail.com
on 22 Nov 2010 at 8:39Attachments: