ashish-codeware / xuggle

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

problems with Xuggler LGPL 3.3 - "Eliza" - linux - bug on AVI codec? #224

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

I've installed  Xuggler LGPL 3.3 - "Eliza" on debian linux

If I try:

java -cp $XUGGLE_HOME/share/java/jars/xuggle-xuggler.jar
com.xuggle.xuggler.Configuration

it displays the configuration but it stops somewhere when retrieving
the info on some part of the code (AVI codec I guess)... this is the
error:
....
CODEC_TYPE_AUDIO CODEC_ID_PCM_ZORK (pcm_zork): PCM Zork
Exception in thread "main" java.lang.IllegalArgumentException: No enum
class com.xuggle.xuggler.ICodec$ID with value 136
    at com.xuggle.xuggler.ICodec$ID.swigToEnum(ICodec.java:861)
    at com.xuggle.xuggler.ICodec.getID(ICodec.java:325)
    at
com.xuggle.xuggler.Configuration.printSupportedCodecs(Configuration.java:92)
    at com.xuggle.xuggler.Configuration.printHelp(Configuration.java:42)
    at com.xuggle.xuggler.Configuration.main(Configuration.java:26)

Trying different codecs..I've identified that it happens when I
request for AVI codec: (the value is the same for the CODEC ID)

java -cp $XUGGLE_HOME/share/java/jars/xuggle-xuggler.jar
com.xuggle.xuggler.GetSupportedCodecs avi

Exception in thread "main" java.lang.IllegalArgumentException: No enum
class com.xuggle.xuggler.ICodec$ID with value 136
    at com.xuggle.xuggler.ICodec$ID.swigToEnum(ICodec.java:861)
    at
com.xuggle.xuggler.IContainerFormat.getOutputCodecID(IContainerFormat.java:701)
    at
com.xuggle.xuggler.IContainerFormat.getOutputCodecsSupported(IContainerFormat.ja
va:175)
    at com.xuggle.xuggler.GetSupportedCodecs.main(GetSupportedCodecs.java:32)

For example with mp4 codec I get:

java -cp $XUGGLE_HOME/share/java/jars/xuggle-xuggler.jar
com.xuggle.xuggler.GetSupportedCodecs mp4

Container Format:
com.xuggle.xuggler.IContainerFormat@135772432[oname:mp4;olongname:MP4
format;omimetype:application/mp4;oextensions:mp4;]

Total codecs supported: 26
Supported Codecs:
com.xuggle.xuggler.ICodec@135913912[type=CODEC_TYPE_VIDEO;id=CODEC_ID_MPEG4;name
=mpeg4;]
com.xuggle.xuggler.ICodec@135872128[type=CODEC_TYPE_VIDEO;id=CODEC_ID_H264;name=
libx264;]
com.xuggle.xuggler.ICodec@135916824[type=CODEC_TYPE_AUDIO;id=CODEC_ID_AAC;name=a
ac;]
com.xuggle.xuggler.ICodec@135747864[type=CODEC_TYPE_VIDEO;id=CODEC_ID_MPEG2VIDEO
;name=mpeg2video;]
com.xuggle.xuggler.ICodec@135917176[type=CODEC_TYPE_AUDIO;id=CODEC_ID_MP3;name=l
ibmp3lame;]
com.xuggle.xuggler.ICodec@135916896[type=CODEC_TYPE_AUDIO;id=CODEC_ID_MP2;name=m
p2;]
com.xuggle.xuggler.ICodec@135916696[type=CODEC_TYPE_VIDEO;id=CODEC_ID_MPEG1VIDEO
;name=mpeg1video;]
com.xuggle.xuggler.ICodec@135907584[type=CODEC_TYPE_VIDEO;id=CODEC_ID_MJPEG;name
=mjpeg;]
com.xuggle.xuggler.ICodec@135883496[type=CODEC_TYPE_AUDIO;id=CODEC_ID_AC3;name=a
c3;]
com.xuggle.xuggler.ICodec@135911016[type=CODEC_TYPE_AUDIO;id=CODEC_ID_VORBIS;nam
e=vorbis;]
com.xuggle.xuggler.ICodec@135911040[type=CODEC_TYPE_SUBTITLE;id=CODEC_ID_DVD_SUB
TITLE;name=dvdsub;]

Thanks,

BR

Hugo

What is the expected output? What do you see instead?

What operating system and JVM version are you using.
Debian linux (lenny)
sun-java6-jdk package

java version "1.6.0_12"
Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode, sharing)

Attach relevant log/output files.

Original issue reported on code.google.com by hfla...@gmail.com on 10 Nov 2009 at 12:44

GoogleCodeExporter commented 9 years ago
Should be fixed in tip of tree.

Original comment by art.cla...@gmail.com on 16 Nov 2009 at 6:55